![]() |
Fetching a column from the datastore in global_start messes up the forum time
I'm trying to fetch a column from the datastore in global_start using the following code:
PHP Code:
Anyone familiar with this issue? Thanks. |
Grab it from the init_startup hook instead, like so:
Code:
$datastore_fetch[] = "'your column name here'"; Make sure it has the single and double quotes like in the example. |
Quote:
By the way, a new var has been added, $new_datastore_fetch, which doesn't require single quotes. |
Have you tried the new variable?
|
Quote:
|
I tested it and it works fine without the single quotes. Thanks for pointing it out to me. I didn't know about the change. Actually, it is better to use the new way as it doesn't need to parse the extra quotes. These all work for it:
Code:
$new_datastore_fetch[] = 'your column name here'; |
All times are GMT. The time now is 05:02 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:
|