Quote:
Originally Posted by Lynne
PHP Code:
$uid = $vbulletin->GPC['uid'];
vB_Template::preRegister('FORUMHOME', array('uid' => $uid));
Now you can use {vb:raw uid} in the FORUMHOME template
|
hello Lynne
i have tried your code and it hasnt worked, ill post what i have in here:
hook: newpost_process
PHP Code:
$droled= "active";
$droled = $vbulletin->GPC['droled'];
vB_Template::preRegister('editpost', array('droled' => $droled));
thank you again for your time