The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Different first forum postbit in vb4
I am still trying to wrap my head around the new changes in vb4. One of my first projects is to get a plug-in used in vb3.8 to work in 4. The plug-in was taken from this thread at vb.com.
Essentially, I have a new template called postbit-firstpost that is used for the first post in a thread (not first post of a page but for the thread's start post). The code from 3.8 uses the postbit_display_complete hook and is: Code:
if ($post['postid']==$this->thread['firstpostid']) { $this->templatename = 'postbit_firstpost'; } UPDATE: I'm an idiot... It is still working. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|