The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#3
|
||||
|
||||
![]() Quote:
Sorry i am a newbie with vBulletin coding as you can see and am trying to convert my old site so it works pretty much the same. I have edited my my code to look like this, but nothing appears: Code:
$image = $vbulletin->db->query("SELECT * FROM ".TABLE_PREFIX."dbtech_gallery_images WHERE roll_id = '$threadid'"); while ($row = $vbulletin->db->fetch_array($image)) { $imageresults = array(); $imageresults['imageid'] = $row['imageid']; $imageresults['title'] = $row['title']; $imageresults['filename'] = $row['filename']; } $templater = vB_Template::create('test'); $templater->register('displayres', $imageresults); $templatevalues['my_insertvar'] .= $templater->render(); vB_Template::preRegister('SHOWTHREAD', array('$templatevalues')); Code:
{vb:raw displayres.id} {vb:raw displayres.title} {vb:raw displayres.filename} |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|