The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Datastore inside plugin code
Hi again!
I'm basically through with my adminCP code of the plugin, while working on the code integration of the plugin itself, i got a little problem. Due to caching mechanisms, I used datastore to store some information via cronjob. If i want to access this information via adminCP file, it works with this code: PHP Code:
PHP Code:
Inside the plugin code which should actually display the plugin on the forumhome page, I can't access the cache var. $vbulletin->my_plugin is NULL. Obviously I have to tell vB that this cache should be loaded too. So I tried adding this line to my cache_template -hook: PHP Code:
Any advise how and where i have to add the cache identifyer to? |
#2
|
||||
|
||||
In global_state_check hook ;
PHP Code:
|
#3
|
||||
|
||||
Nice and simple. Thx Mr. Paul
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|