The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
having trouble with this
heres what im having trouble with .. i commented the part im having trouble with
i want this to be inside of the template, should i put this information inside of the plugin or what? i remember this worked for 3.5 but its not working for 3.8... could it be as simple as using css to get everything into the tables from the template? PHP Code:
|
#2
|
|||
|
|||
The way it's usually done, I think, would be to create a template for one battle vote, then fetch and eval the template in the loop, adding it to the end of a variable. Then put that variable in the page template. Like maybe:
Code:
while ($get = $db->fetch_array($result)) { eval('$battle_votes .= "' . fetch_template('battle_vote') . '";'); } ...and of course you'd use '$get' to put the values in the battle_vote template, and $battle_votes to include the entire thing in the battle_statistics template. |
#3
|
|||
|
|||
thanks im trying it...
edits.. it works but its only displaying one row edits.. its working now thanks for your help.. i created a battle statistics template, then a seperate template for votes, put the variable for the votes template into the battle statistics template |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|