PDA

View Full Version : Add a new field in datastore table?


mokujin
04-02-2009, 07:16 PM
Hello,
I would like to ask you if there is a way to add a field into datastore query?
I mean every page you load, there is the Datastore Setup query
like: https://vborg.vbsupport.ru/index.php?explain=1
SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache','usergroupcache','stylecache','languagecach e','products','pluginlist','cron','profilefield',' loadcache','noticecache')
And I want to add something into it.

Like:

SELECT *
FROM datastore
WHERE title IN ('','options','bitfields','attachmentcache','forum cache','usergroupcache','stylecache','languagecach e','products','pluginlist','cron','profilefield',' loadcache','noticecache','mycustomfield')

Thank you for reading and hope you will help me :)

Dismounted
04-03-2009, 05:07 AM
You must add it onto the $specialtemplates[] array. If you are going to do this on existing (vBulletin) files, you must add it to $datastore_fetch[].