The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
||||
|
||||
Here's what I use and it works perfectly.
PHP Code:
|
#12
|
|||
|
|||
Oh ya, I forgot about declaring global variable. This works too for single template.
Code:
if (THIS_SCRIPT == 'index') { global $specialtemplates; $specialtemplates[] = 'item'; } $specialtemplates[] = 'item1'; $specialtemplates[] = 'item2'; etc. |
#13
|
||||
|
||||
Quote:
|
#14
|
|||
|
|||
Ok. Thanks for all the info I am starting to like datastore!
|
#15
|
||||
|
||||
Quote:
I try to use it whenever I can. We just did a forumhome counter for my site that uses the datastore and saves on an unessessary query. It uses 1 query to update the datastore and no query to pull the info from the datstore. It works great. |
#16
|
|||
|
|||
Yup, I just helped a user on vB by changing his hack by storing data in datastore instead of a text file. Works great.
https://vborg.vbsupport.ru/showthrea...hreadid=115116 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|