Quote:
Originally Posted by SoniaTel
how can i archive this
instead of online/offline image .. i want to display a text .. and how to place it as shown in the image
|
if its just for default vb style.
find and remove in postbit_legacy:
Code:
$post[onlinestatus]
then look for:
Code:
<div>
$vbphrase[posts]: $post[posts]
</div>
add this below or where ever you want:
Code:
$post[onlinestatus]
save.
then, open template postbit_onlinestatus and add this whole code replacing the old code:
Code:
<if condition="$onlinestatus==0">Status: <span class="smallfont">Offline</span></if>
<if condition="$onlinestatus==1">Status: <span class="smallfont" style="color:#fff;">Online</span></if>
<if condition="$onlinestatus==2">Status: <span class="smallfont" style="color:#cd7d88;">Invisible</span></if>
if you want to change the font colors online and offline, its highlighted in red above.
then save.
if you want no colors like i use, just default style colors for offline/online use this code in postbit_onlinestatus:
Code:
<if condition="$onlinestatus==0">Status: <span class="smallfont">Offline</span></if>
<if condition="$onlinestatus==1">Status: <span class="smallfont">Online</span></if>
<if condition="$onlinestatus==2">Status: <span class="smallfont">Invisible</span></if>
i have mine above Join Date: as seen in screenshot, if you want yours there...
search:
Code:
<if condition="$post['joindate']"><div class="postinfo">$vbphrase[join_date]: $post[joindate]</div></if>
add above:
Code:
$post[onlinestatus]

good luck mate