The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
PM to use alternate postbit?
I wouldn't think this would be too hard to do, but I'm not sure how to go about doing it.
What I want is to make the page where you view a PM to use a postbit different from the postbit you'd see in a thread. Any suggestions on how this could be done? Thanks. |
#2
|
||||
|
||||
Try <if condition="THIS_SCRIPT == 'private'">
|
#3
|
|||
|
|||
I'm not too experienced in coding in vBulletin. Could you expand on that?
|
#4
|
||||
|
||||
In your postbit template use this:
<if condition="THIS_SCRIPT == 'private'"> here is code for postbit in private messages <else /> here is code for postbit on other pages </if> |
#5
|
|||
|
|||
Okay, so before I even begin working on this, let me make sure I know what I'm doing. I use the postbit_legacy postbit.
So in the postbit_legacy template, at the top I'm going to put in this: Code:
<if condition="THIS_SCRIPT == 'private'"> new postbit code <else /> what is currently in postbit_legacy </if> UPDATE: I did that, and it works. Thanks a lot. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|