The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
Basicly I have a table with 2 columns. Loot and Looter, I want to use gitemstats on the loot column on a non vpage and display the tooltips. The item bbcode is working fine in my forums.
Ive got the BbCodeParser working on a non vb page. I cant figure out how to apply it to a loop tho, it gives the first record in the result and stops. Code:
<? $parser =& new vB_BbCodeParser($vbulletin, fetch_tag_list()); $pagetext = $parser->do_parse($row_something['loot'], $do_bbcode = true); ?> Code:
<? do { ?>
<tr>
<td><? echo $pagetext ?></td>
<td><? echo $row_something['looter']; ?></td>
</tr>
<? } while ($row_something = mysql_fetch_assoc($something2)); ?>
|
|
#2
|
|||
|
|||
|
Try something along the lines of:
PHP Code:
|
|
#3
|
|||
|
|||
|
excellent! thanks so much! its skipping the first record tho, from google'n i think i need an if in there somewhere?
edit: nevermind, i was calling $row_something = mysql_fetch_assoc($something2)) earlier up in the page...took it out and woot! Thanks again Opserty!!! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|