The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Ok, where is all this stuff coming from...
You'll notice the "asdf" and "fff" inserted. here is the code: about 90% of the way down admincp/template.php you'll find : I just added "asdf" and "fff" in there. PHP Code:
Ok. now here is where i say "omfg wtf." The only thing in that code is a foreach() and it's creating a default style, dropdown menu, expander, and list ????? where is all this stuff coming from? |
#2
|
|||
|
|||
Well a few lines higher you will find some page initialisation putted out.
'print_style' is a function that is part of 'include/adminfunctions_template.php' that will take care of the rest. |
#3
|
|||
|
|||
i did a ctrl+f and searched for "print_style" in 'include/adminfunctions_template.php'
didn't find anything. |
#4
|
|||
|
|||
First it should have been 'includes/adminfunctions_template.php', typo from me.
You will find the print_style function around line 1069 in adminfunctions_template.php (3.0.6). What editor are you using? |
#5
|
|||
|
|||
ah ok, found the function. i'm using "context" editor.
|
#6
|
||||
|
||||
print_style($styleid, $style);
print_style(number, name); basicly, its a function. |
#7
|
|||
|
|||
yea thanks guys, learning something new everyday ^_^
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|