Quote:
Originally Posted by jimsflies
Hopefully someone can help here... I am beginning the daunting task of upgrading from vb3.8 to vb4. My forumhome uses a variable "$forumbitcounter" which is calculated in a plugin which contains the following code:
Code:
$forumbitcounter++;
What do I need to do to get this variable working on forumhome in vb4?
|
You need to then preregister it for use in the FORUMHOME template (I assume that is the template you are using it in?)
PHP Code:
vB_Template::preRegister('FORUMHOME', array('forumbitcounter' => $forumbitcounter));