The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi All,
I am having some trouble with a cron job not receiving vbulletin global variables. The cron job runs fine if activated manually from the ACP, but it fails to work as a standalone scheduled task. The file content looks like this <?php error_reporting(E_ALL & ~E_NOTICE); if (!is_object($vbulletin->db)) {exit;} if ($vbulletin->options['mysettingname'] == 1){ ... do something... } ... ?> Any call to "$vbulletin->options['mysettingname']" or to "vbphrase['myphrasename']" fails to work and even the function "construct_phrase(...)" fails to work and I ressorted to get the values directly from the "setting" and "phrase" tables in the database. Is there any type of memory limitation in vbulletin for a hack/mod amount of settings/phrases used that might prevent global variables to be passed? Any hint or insight is appreciated. ![]() I read the recommendations by Lynne and Marco, but to no avail. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|