The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
![]()
How would I generate/access the $stylevar array during a cron job?
Thanks |
#2
|
|||
|
|||
![]()
You don't, since a cronjob is not associated with a user or a session and is ment for batch purposes only, i guess there will be no style information loaded.
You would need to load the style information yourself. |
#3
|
||||
|
||||
![]() Quote:
|
#4
|
||||
|
||||
![]()
If everyone cares, I just had to use similar code to what global.php has (fetches info from database, then I beleive it was fetch_styleinfo and feed it the data from the database.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|