Quote:
Originally Posted by Saskia
You can easily do this by copying your regular postbit content to the top of the postbit_first and sort of do the following with a conditional around it:
Code:
<if condition="$post[postcount]==1">
Your regular postbit content here
<else />
the postbit_first content you want on all other pages
</if>
Good luck!
|
That's wrong

Because the postcount for that is always 1, since the forst post is only shown on every page, not copied.
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.
tthis way, you can edit the postbit_first template without affecting the first post on the first page.