The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Strange php function problem
Not exactly sure why this code isn't working:
PHP Code:
PHP Code:
|
#2
|
|||
|
|||
Are you using this inside a Scheduled Task?
If yes, try passing $vbulletin as a parameter, instead of relying on global. |
#3
|
|||
|
|||
No, it's in a regular vbulletin page (well my custom page). It seems the only things not functioning are the eval lines.
|
#4
|
|||
|
|||
If that is your problem, then do a global of those fields you are evalling into. Otherwise they will not be available outside the function.
|
#5
|
|||
|
|||
Thank you. That worked.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|