Quote:
Originally Posted by craiovaforum
I managed to do this this way:
AdminCP->Plugins & Products->Plugin Manager
edit: Show First Post from hook location: postbit_display_complete
Modify the PHP code like this:
Code:
if ($this->forum['showfirstpost']==1 AND $post['postid']==$this->thread['firstpostid'] AND $vbulletin->GPC['pagenumber'] > 1){
$this->templatename = 'postbit_first';
}
This way, the plugin is used for all the pages except the first page, where it's used the normal vB postbit template.
|
Sadly this hack doesnt seem to work properly on latest 3.7.2, the mod itself works fine. postbit_first is never used this way, all pages use the normal postbit. Anyone knows whats the problem here with the
Code:
AND $vbulletin->GPC['pagenumber'] > 1
code?
EDIT: solved...
Code:
AND $_REQUEST['pagenumber'] > 1
works