The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Is there a mod to do this?
<a href="https://vborg.vbsupport.ru/showthread.php?t=71224&page=6&highlight=first+post " target="_blank">https://vborg.vbsupport.ru/showt...ght=first+post</a>
For 3.6? I would think it would be extremely easy to do and the chief first post accomplishes this but also allows others to choose how they post and all and I do not want that I just want to be able to choose in a specific forum the first post on every thread shows on every page. |
#2
|
||||
|
||||
Bump
|
#3
|
|||
|
|||
im pretty sure i saw one. Not sure if you could choose which forums to do it on though and i cant remember what it was. You may have to just go through page by page maybe stumble upon it.
|
#4
|
||||
|
||||
It's real easy to write your own plug-in for this.
- Create your own first post template - "postbit_myown" - Create a plugin using hook "postbit_display_complete" Code:
if ($this->forum['forumid']==xx AND $post['postid']==$this->thread['firstpostid']) { $this->templatename = 'postbit_myown'; } |
#5
|
||||
|
||||
Quote:
|
#6
|
||||
|
||||
If you want the exclusion of a forum then simply say "$this->forum['forumid']!=xx" where xx is the forum to exclude.
If should be easy to take the post number and divide by the posts per page and if the remainder is 1 then it is the first post on the page (I can't remember the php for that since I never use it, but you can find it in the php manual). Just add that calculation to the conditional and it should work fine. |
#7
|
|||
|
|||
this is a really good mod, with a lot of options.
https://vborg.vbsupport.ru/showthread.php?t=156141 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|