myfreeforum.org Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups  Who is OnlineWho is Online   Join! (free) Join! (free)  
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
For an excellent guide to using your myfreeforum forum, you can visit
howtodoit
The howtodoit "readonly" forum provides answers and walkthroughs for all common questions.
  • Welcome
  • Guest


phpbb3 and myff portals
Goto page 1, 2  Next
 
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs
Site Admin
Site Admin
Joined: 22 May 2005
Posts: 19285

View user's profile Send private message Send e-mail

A Blog by - admin (no pm's please)



Virtual Cash: 42280
Not sure how yet, but I think these are going to be very changed in the way they work with phpbb3, one way or another even if not immediately we will have portals, things like the shop are to good to lose, but the portals were designed around the phpbb2 template system and have been been "made" to work with the phpbb3 template system that we already run on our phpbb2 forums.

If we are to go phpbb3, then we don't want to start off with that sort of issue.

This may mean we start off with a release without portals and only add them when I am confident on the best way of doing things.


_________________

Family Friendly Shareware | | Web Design/Services | Free Forums
Author Message
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Wed Jan 09, 2008 10:16 pm    Post subject: Reply with quote

A bit of inspiration may just have struck on this issue which I will try out tomorrow. It would be rather good if this key feature did make the first release.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jan 10, 2008 7:46 pm    Post subject: Reply with quote

First attempt died badly... but with some more work I do now have a myff portal working in phpbb3 and in what seems to be a much happier marriage than our current way of integrating the phpbb3 template system and the portals. I may even backport at some stage, though if it ain't broke don't fix it!

Rewriting the portals for the new system is trivial structurally, but so many of our portals need a lot more than a structural change to work with phpbb3, in essence all our XPROFILE stuff needs now to map to phpbb3 profile fields.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Thu Jan 10, 2008 11:00 pm    Post subject: Reply with quote

Note to self   Current code could be muchly simplified, getting us back to basic code compatibility between portals on both phpbb2 and phpbb2 which can only help. I was so pleased to get anything working I missed the fact that I had over complicated things  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jan 11, 2008 10:34 am    Post subject: Reply with quote

Now satisfied with how the portals fit in.

But there is no means for people to set the portals or edit the templates yet.

There is a conundrum in this, in that I have quite a belief in software evolving to fit peoples needs, and I think this has worked well with phpbb2 developing into what we have here.

phpbb3 is different and should not necessarily totally follow all the patterns we have here, and in fact cannot do so sensibly as the architecture is very different.

So whilst it is important that we get in they key stubs, like establishing the portal system will work, it may be best not to hurry with making it available.

Then again the actual template editing is very tied into template operation on phpbb3, so it probably does make sense to get that done for portals, and when that it done it may seem a bit daft not to finish the job  
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jan 11, 2008 11:56 am    Post subject: Reply with quote

Close to being able to edit the portal templates.

But it is bugging me a lot that phpbb3 has a policy of :

Quote:

Here you can edit your template set directly. Please remember that these edits are permanent and cannot be undone once submitted. Please take care when editing your template set, remember to close all replacement variable terms {XXXX} and conditional statements.


There is no concept I can see like our editor user and template slots that allows any one prepared to take basic precautions to protect themselves
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Fri Jan 11, 2008 2:32 pm    Post subject: Reply with quote

portal template editing now in place, and a cache cleaning bug fixed.

I guess the next stage is to integrate portal setting and possibly web page editing into the admin panel. Must admit I am still far from totally understanding all the ways the phpbb3 admin panel is coded
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jan 12, 2008 10:22 am    Post subject: Reply with quote

Well portals and web page categories are at least showing in the admin panel now. Functionality should follow...
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jan 12, 2008 6:21 pm    Post subject: Reply with quote

but quite slowly...


It has taken some time to become familiar with  how the heck categories, sub categories and modules all hang together in the admin panel   What phpbb3 calls a module I was more inclined to call a menu item, though that was a mistaken idea

Getting from menus into the actual functions is going to be some work, I have a feeling that a lot of this is going to need rewriting almost from scratch.

This will not actually be much work with the portal admin functions, as the portals are all coded in XML, so a new portal in the admin panel is ever so easy, and once phpbb3 can do one portal, it will do them all with no work at all

The web page stuff will be more involved.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sat Jan 12, 2008 8:14 pm    Post subject: Reply with quote

I'm now reminded of  a "doomed" project I worked on (we rescued it from this particular doom, but it was still doomed anyway   ), this was a really complex mathematical modeling project, where some algorithms had been defined, but the software engineering design as given by the project manager was really no more than some proposed menu structures  
Menus do not a design make  

Anyhow I do now have my webpage and portal menus showing....

actually I fancy things may not be too bad, a lot of they way phpbb3 works at the template level is something we have need doing for ages with things like the QUIZ or SHOP portal, and some of the webpage code is already working in the image upload part of the template editor, so it may all fall into place quickly.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jan 13, 2008 7:04 pm    Post subject: Reply with quote

Well the list of portals is now showing in the admin panel, and the rest of the portal code is in place.

Much still to do, but at this rate we could be days away from the wind down to being able to release.

I am still not in a tearing rush to release though.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jan 13, 2008 8:43 pm    Post subject: Reply with quote

Individual portals displaying but not yet updating...

I do note one improvement over phpbb2 in the way templates work, the template now has easy access to the language constants, in phpbb2 every darn bit of text you wanted displayed had to be passed to the template, which was laborious and made the code a lot less concise.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Sun Jan 13, 2008 11:02 pm    Post subject: Reply with quote

And now the portals are updating, also spotted a small omission in what has been done so far, that left some things working in the office, but which would have messed up live.
Its a reminder that this is not that small a job, and less than a week work has been done so far.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Mon Jan 14, 2008 8:37 am    Post subject: Reply with quote

Portals admin now also live.

That did not take much more than 30 minutes to get in, as some of the patterns are now falling into place

User web pages are the next big issue.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
admin (no pm's please)
Site Admin
Site Admin

Virtual Cash: 42280

Joined: 22 May 2005
Posts: 19285

Add Karma

rated by 157 members
Add Comment
Show Comments

online/offline
PostPosted: Tue Jan 15, 2008 7:07 pm    Post subject: Reply with quote

back to portals and the main portal index page now displays, albeit barely populated as the search portals all need rewriting for phpbb3.

One issue proving a little tricky is the myriad levels of caching involved, both in the database and the file system.

As we are storing the cms templates in the file system, a template automatically gets the status of a template file that a user has their own copy of, and hence no longer gets changed if it is modified in the file system.

It maybe that I should kill off phpbb3s habit of doing this on the fly. It is one thing if the user has edited a template, but given all the other caching going on, I see little but trouble coming from this feature as it stands.
_________________

Family Friendly Shareware | | Web Design/Services | Free Forums

forum.myfreeforum.org
Back to top
View user's profile Private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    myfreeforum.org Forum Index -> Forum Blogs All times are GMT + 1 Hour
Goto page 1, 2  Next
Page 1 of 2
 
 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum

Card File  Gallery  Forum Archive
Powered by phpBB © 2001, 2005 phpBB Group
Create your own free forum | Buy a domain to use with your forum