admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Wed Jan 09, 2008 10:16 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Thu Jan 10, 2008 7:46 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Thu Jan 10, 2008 11:00 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Fri Jan 11, 2008 10:34 am Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Fri Jan 11, 2008 11:56 am Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Fri Jan 11, 2008 2:32 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
|
| Back to top |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Sat Jan 12, 2008 6:21 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Sat Jan 12, 2008 8:14 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Sun Jan 13, 2008 7:04 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Sun Jan 13, 2008 8:43 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Sun Jan 13, 2008 11:02 pm Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Mon Jan 14, 2008 8:37 am Post subject: |
|
|
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 |
|
 |
admin (no pm's please) Site Admin

 Virtual Cash: 42910
Joined: 22 May 2005 Posts: 19348
Add Karma
 rated by 157 members
Add Comment
Show Comments
 |
Posted: Tue Jan 15, 2008 7:07 pm Post subject: |
|
|
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 |
|
 |