![]() |
Here's what I use and it works perfectly. ;)
PHP Code:
|
Oh ya, I forgot about declaring global variable. This works too for single template.
Code:
if (THIS_SCRIPT == 'index') $specialtemplates[] = 'item1'; $specialtemplates[] = 'item2'; etc. |
Quote:
|
Ok. Thanks for all the info :) I am starting to like datastore!
|
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. ;) |
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 |
All times are GMT. The time now is 02:30 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|