The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#5
|
||||
|
||||
![]() Quote:
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); Not sure how i would convert the results into an array? Could you give me a short example how i would make it like that so i could follow that procedure in future, have looked at loads of examples on the site here, but cannot for the life of me get it working. ![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|