The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Template Cache Problem
hi all,
I have a little problem with a template being cached when I dont want it to cache. I have added a vertical menu beside the whole forum (like many "left column" mods that we find here) To achieve this, I did: 1. I added a variable $ccvmenu in the header template. 2. I created a template called "CCV Menu". 3. I created a plugin in parse_templates hook with the code: Code:
eval('$ccvmenu = "' . fetch_template('CCV Menu') . '" ;' ); The menu contains a welcome message like: Welcome $bbuserinfo[username] The menu is working fine, I see "Welcome CCV_Pinto" when I enter in my forum, but when I click "Logout". The menu doesn't refresh immediately! It keeps with the "Welcome CCV_Pinto" message. I need to refresh the page to refresh the menu and then it appears the right message: "Welcome, unregistered" so, I want your advice to fix this little problem. I already tried forcing to fetch again the template at "logout_end", but I have probably done something wrong. I would like to hear your advices, thanks in advance |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|