The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Condition Question for Postbit
I am trying to accomplish a condition.
The condition will be about the post numbers. <if condition ="$post[postcount] even > <else /> </if> Hope i could explain. What i am trying to accomplish is to have 2 different layout on postbit template. If the postcount number is odd the layout will look like avatar ---------- thread information if the postcount is even thread information ---------- avatar |
#2
|
|||
|
|||
bump
also let me try to explain a little bit further. In showthread i want to heva two different kind of postbit's. one will have the avatar on left side with background color for example #ffffff and second post will have the avatar on right side with background color #f7f7f7 I attached a screenshot about what i am trying to accomplish. Any help will be really apreciated. |
#3
|
|||
|
|||
Have you tried using
PHP Code:
Not sure if it will work, though a previous modification I did required alternating bits and this worked for it. |
#4
|
|||
|
|||
Quote:
|
#5
|
|||
|
|||
No problem, glad it worked out for you .
|
#6
|
|||
|
|||
Helped Me too.
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|