View Full Version : [Need Help] How to print category ID in SOCIALGROUPS template
Muhammad Rahman
10-26-2014, 02:57 PM
anyone can help how to print category ID in SOCIALGROUPS template ..
i try this, but not working .. :(
{vb:raw categoryid}
{vb:raw category.categoryid}
{vb:raw group.categoryid}
{vb:raw socialgroupcategory.socialgroupcategoryid}
Try {vb:raw group.socialgroupcategoryid}
Muhammad Rahman
10-26-2014, 10:47 PM
Try {vb:raw group.socialgroupcategoryid}
thanks ... but still not working to ..
--------------- Added 1414369357 at 1414369357 ---------------
FIX with plugin ..
Hook location 'group_complete' .
$templater = vB_Template::create('SOCIALGROUPS');
$page_templater->register('group', $group);
vB_Template::preRegister('SOCIALGROUPS',array('gro up' => $group));
$templater->render();
and print with {vb:raw group.categoryid}
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.