The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Better template eval'ing
PHP Code:
PHP Code:
|
#2
|
|||
|
|||
Okay, I added this to the beginning of the function:
PHP Code:
Is there some way to make a function always modify global variables instead of local ones while at the same time not having to type global $varname; for each one? |
#3
|
|||
|
|||
you can just do something like:
PHP Code:
|
#4
|
|||
|
|||
Hmm, good point, although I'd prefer something function-based for simplicity.
I searched on php.net for a way to basically ignore variable scope in functions and make every variable global but didn't get anything working. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|