The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Plugin Query?
At the moment i have this as a plugin, it shows the first result ok, but sometimes i have more than 1 result and the rest are not appearing, any help appreciated:
Code:
$image = $vbulletin->db->query("SELECT * FROM ".TABLE_PREFIX."dbtech_gallery_images WHERE roll_id = '$threadid'"); while ($row = $vbulletin->db->fetch_array($image)) { $id = $row['imageid']; $title = $row['title']; $templater = vB_Template::create('test'); $templater->register('id', $id); $templater->register('title', $title); $templatevalues['my_insertvar'] .= $templater->render(); vB_Template::preRegister('SHOWTHREAD', $templatevalues); } Code:
{vb:raw title} {vb:raw id} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|