![]() |
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 |
1 Attachment(s)
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. |
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. |
Quote:
|
No problem, glad it worked out for you :).
|
Helped Me too.
|
All times are GMT. The time now is 02:43 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|