The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Create custom variables?
I want to create a variable for VBulletin. It will request some SQL information and the parse it into a variable. So like:
Code:
$variablename = mysql_query("SELECT * FROM tablename");// Count rows |
#2
|
|||
|
|||
Put it in a plugin that is executed on each page. You might have to use a "global $myvariable;" in the plugin to bring it into scope.
|
#3
|
|||
|
|||
Yea, I found a tutorial on that in did it.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|