Quote:
Originally Posted by Lynne
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));
|
This is prolly a dumb question but was the major one I had reading the original post of this article... Does the registration code go in the forum home template or in a plugin?
Also the variable is actually used in the forumhome_forumbit_level1_post template so would it need to be registered there or would registering it in the containing template be okay?