Quote:
Originally Posted by 409industries
Where does the PHP code go?
|
See ...
Admin Control Panel --> Plugins and Products (Sidebar Menu) --> Add New Plugin.
Product:
vbulletin
Hook Location:
postbit_display_complete
Title:
Postbit Post-Per-Page Counter <-- or whatever
Execution Order:
5
Plugin PHP Code:
PHP Code:
// Hook: postbit_display_complete
if (THIS_SCRIPT == 'showthread')
{
global $tbworld_postbit_postcount;
vB_Template::preRegister('postbit_legacy',array('tbworld_postbit_postcount' => ++$tbworld_postbit_postcount));
}
Plugin is Active :
Yes
This is just a simple counter that counts post per page.