The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Grr stupid loop
Ok hi folks i got a wee prob.. im making a simple shoutbox for a friend norm a 5 min task...
However ive never integrated anything into vb aside throught the admin panel.. include style.css well anyway i was told that i should eval the output for this one so it would use vb`s style etc.. anyway i got a problem now.. ive tried including an eval in the loop so it can loop the results (my syntax is bad im too used to truebasic) well anyway my prob is ever since i used eval at the top of the code.. it seems the loop wont return anything in it.. which kinda figures as its evaling everything before the loop my question now is how the heck to i work around this? should i eval the output last? will it show say 5 results even tho its $name in the template? im a bit stuck.. and i realise someone will come along and point out the obvious put thank you if you can ive included the hack.. i just need the shout.php fixed up so its shows the results set by $last |
#2
|
||||
|
||||
Why do you have this in the bottom of shout.php?
Code:
?> <? } ?> |
#3
|
||||
|
||||
a mistake from earlier...
Code:
while($r = mysql_fetch_array($query)){ $id=$r['id']; $time=$r['time']; $message=$r['message']; $name=$r['name']; gettemplate('shoutbit'); echo "DOES THIS WORK AT ALL???"; ?> <? } ?> so Code:
?> <? |
#4
|
||||
|
||||
anyone else?
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|