The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#4
|
||||
|
||||
![]()
I'd advise to move this part near the top:
Code:
// pre-cache templates used by all actions $globaltemplates = array( 'GTLIST' 'GT_listbit ); // pre-cache templates used by specific actions $actiontemplates = array(); // ######################### REQUIRE BACK-END ############################ require_once('./global.php'); Then, you'll also need to move this: Code:
while($row=mysql_fetch_object($GT)) { $who = $row->username; $gtname = $row->field5; eval('$gtbit = "' . fetch_template('GT_listbit') . '";'); } eval('print_output("' . fetch_template('GTLIST') . '");'); And lastly, it won't help doing two queries if they both have the same varname, as the second will overwrite the first. You might try to just use on query. I'll post an edited version if I have time later on, gotta go now ![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|