The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Display text in postbit ONLY if user is online
This is driving me nuts...
I have text that I only want to display in the postbit ONLY if the author is online. I have tried <if condition="$onlinestatus==1"> The text</if> <if condition="$post[onlinestatus]==1">The text</if> and numerous other random lines of code that do not do this for me. Please help? |
#2
|
||||
|
||||
Not sure why that didn't work, but let me check a few things and I'll get back to you.
|
#3
|
|||
|
|||
Thank you so much, even if you can't come up with anything.
|
#4
|
||||
|
||||
Ok, I could not get it to work in the postbit or postbit_legacy template, but here is what I did do to get it to work:
Edit your postbit_onlinestatus template add this at the end: Code:
<!-- Start Show Text In Postbit if User is Online --> <br /> <div class="smallfont"> <if condition="$onlinestatus==1"><b><font style="color: #486FA2;">See This text</font></b></if> <!-- /End Show Text In Postbit if User is Online --> Mark |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|