![]() |
Different postbit display for first post in thread.
I would like to use the standard postbit for the first post in a thread, and then the legacy postbit for all posts to follow.
Is this possible? If so, can anyone help? I think this would be great for picture posting forums.... or for anyone else that would like to make the first post stand out more than the replies. Edit: I apologise... I posted this in the wrong spot. |
Moving to design and coding help. Hmm, don't know if this one is possible. Might require hacking.
|
Yep, you can do it using conditionals.
In the postbit template at the very top put this: HTML Code:
<if condition="$post['postcount'] == 1"> HTML Code:
<else /> Then after that grab all of the code from the postbit_legacy template and through in at the end of the postbit template then after it all put this: HTML Code:
</if> Just did it myself on my forums, example: http://forums.theglassprison.net/sho...=79&styleid=36 |
Looks great Ryan - good thinking :) [I hope you are OK with others being inspired by your wisdom ;)]
|
Quote:
|
All times are GMT. The time now is 11:12 AM. |
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:
|