View Full Version : datastore question
RagingPenguin
05-29-2008, 05:51 PM
After using build_datastore() to cache something (verified working by browsing db, what do I use to retrieve it?
MoT3rror
05-29-2008, 06:10 PM
You must add the name of the datastore object to the $specialtemplates array. Then you can retrieve it by $vbulletin->datastorename.
Opserty
05-29-2008, 06:25 PM
Either add it to the $specialtemplates array if you are using a custom script or if you are using plugins use a Plugin like this:
Hook location: init_startup
Plugin PHP Code:
$datastore_fetch[] = "'datastorename'"; // Remember to include the single quotes!
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.