The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit mod.
Will i was just wondering, if someone could make a postbit mod for me.
I need this for vb 3.7 gold What i want is the first post to be the regular postbit BUT the rest of the posts to be postbit_legacy. If anyone can do that for me Sorry if this is in wrong section |
#2
|
|||
|
|||
bump,,
anyone? |
#3
|
||||
|
||||
Do a search on Chief First Post (I think that's what it's called - it does have Chief in the title).
|
#4
|
|||
|
|||
Thanks but thats not what im looking for,
I dont want people to be able to change it or anything, i want it at default to be the regular postbit for the first post and legacy for the rest |
#5
|
||||
|
||||
Gotta find a hack that changes the first post then only. You could modify the hack suggsted, but remove the selection altogether and fix to use a template of your choice, in this case it's the default postbit template.
|
#6
|
||||
|
||||
hook: postbit_display_complete:
Code:
if ($post['postid']==$this->thread['firstpostid']) { $this->templatename = 'postbit'; } |
#7
|
|||
|
|||
Confused, what do i do with that?
|
#8
|
||||
|
||||
Create a plugin using the hook 'postbit_display_complete' and put that code in there.
|
#9
|
|||
|
|||
not working
|
#10
|
||||
|
||||
Hmmm, don't know why. It works just fine on my forum. It only changes the template of the very first post, not the first post on every page of the thread.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|