Orban, you rock. Thanks for the updated template_cache.php. I have tested this on two template changes and it worked fine. I even tested it on Locigian's webTemplates and it worked fine after I updated them.
Thanks for working on Christmas Day and Merry Christmas to you
Include also works if you add ./, I understand your opinion about moving servers etc.
So it would become:
PHP Code:
include_once('./template_cache.php');
The product.xml has "include_once" in the two admin_ hooks and just a single "include" in the style_fetch which shouldn't be called twice in any occasion anyway...hmmm...
Quote:
Originally Posted by RS_Jelle
Another small suggestion: add the version check system and an url to the product xml, that's easier to manage the products on your site.
Orban, did you have a chance to look into the vBAdvanced problem mentioned HERE?
This mod is really great, but because we use vBA is untennable at the moment.
Works perfectly from within the 'forum' folder, and has no problem whatever with the few other hacks we have installed (Zoints local/DownloadsII/VBSEO Sitemapper/GARS/GAL)
Did you try to set the "Full Path to the Template/ Folder" option? Enter an absolute path.
Yes, I did that. One question though, does it need the trailing slash (as in /home/public_html/fred/forum/ ?)
I also notice that it is falling over only on the 'Header/Navbar' replacements that are entered into the vBAdvanced settings. e.g. I have entered replacements for obvious files such as login.php, private.php, memberlist.php etc. and when the template_cache is enabled these links do NOT function (they try to use the 'root' path). I have NOT entered replacements for the gallery or external FAQ installations, but these links DO work.
Yes, I did that. One question though, does it need the trailing slash (as in /home/public_html/fred/forum/ ?)
I also notice that it is falling over only on the 'Header/Navbar' replacements that are entered into the vBAdvanced settings. e.g. I have entered replacements for obvious files such as login.php, private.php, memberlist.php etc. and when the template_cache is enabled these links do NOT function (they try to use the 'root' path). I have NOT entered replacements for the gallery or external FAQ installations, but these links DO work.
Clear as mud?? tell me about it
Thankyou very much for your prompt reply.
It's because many addons use run-time str_replace of templates (don't ask me why).
Yes, trailing slash.
The author of that mod has left it orphaned so I won't get any help there....so I am hoping that something can be done through this mod to make it compatible.
(crossing my fingers)
The problem seems to be that because the message is getting cached it won't allow the new graphics in the above mentioned mod. I'm not really sure why though.