View Full Version : Postbit Modifications...
Hi,
I was wondering how to get the Online or Offline status in the postbit.
I know if I add "$onlinestatus" in the postibt template, it will just show "online" or whatever text I use, but how do I get it to say "offline" in the postbit, like it's setup here at vbb.org?
Thanks. :)
[D]Vincent
08-10-2002, 04:40 AM
Login to Admin CP > Templates > Modify > Template Set you're using > Postbit[expand] > postbit_offline(for what the offline status is displayed as) and postbit_online(for what the online status is displayed as).
Sounds great.
Thanks for your help:)
[D]Vincent
08-10-2002, 05:22 AM
No problem. I edited this myself so I knew where to go.
What is the var , after editing ?
$onlinestatus ??
Chris M
08-31-2002, 01:42 PM
$onlinestatus shows your Online Status...
So it will either Show Online if you are Online, Away (if you have the Away hack installed), or Offline if you are Offline or Invisible...
Satan
oK, i see now ...
but i have this var @ my postbit
and it doesnt apear if its online or offline ..
thats the problem ..
i cant see,
looks like the var "$onlinestatus" is kinda off ...
so, i was regarding to see some help here ...
i will w8 .. ;)
Chris M
09-01-2002, 02:22 PM
Can you post your postbit template?
Because I dont think you can turn off $onlinestatus...
Satan
Yeah sure, here it goes:
<table bgcolor="{pagebgcolor}" width="{tablewidth}" cellpadding="0" cellspacing="0" border="0"><tr><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td><td width="100%"><!-- spacer -->
<table cellpadding="{tableouterborderwidth}" cellspacing="0" border="0" bgcolor="{tablebordercolor}" {tableouterextra} width="{contenttablewidth}" align="center"><tr><td>
<table cellpadding="4" cellspacing="{tableinnerborderwidth}" border="0" {tableinnerextra} width="100%">
<tr>
<td bgcolor="$post[backcolor]" width="120" valign="top">
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]<br>
<br>
<br> ? Points: $post[storep] $donate <br>
$onlinestatus<br>
</smallfont></td>
<td bgcolor="$post[backcolor]" width="100%" height="100%" valign="top">
<table width="100%" border="0" cellpadding="0" align="left" height="100%">
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top" height="20"><smallfont>$post[icon] <b>$post[title]</b></smallfont></td>
$ftpinfo
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="top"><p><normalfont>$post[message]</normalfont></p></td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" height="20"> $post[attachment]</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" colspan="2" align="left" valign="bottom" >$post[signature]</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" align="left" valign="top" height="8">$post[editedby]</td>
<td bgcolor="$post[backcolor]" align="right" valign="top" height="8"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged] <br><a href='timeonline.php?s=$session[sessionhash]&action=view_leader'>Time Online:</a> $post[onlinetime]</smallfont></td>
</tr>
</table>
</td>
</tr>
<tr>
<td bgcolor="$post[backcolor]" width="175" height="16" nowrap><smallfont>$post[foldericon]
$post[postdate] <font color="{timecolor}">$post[posttime]</font></smallfont></td>
<td bgcolor="$post[backcolor]" width="100%" valign="middle" height="16">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tr valign="bottom">
<td><smallfont>$onlinestatus
$post[profile] $post[pmlink] $post[useremail] $post[homepage] $post[search] $post[buddy]
<!-- $ post[icqicon] --> <!-- $ post[aimicon] --> <!-- $ post[yahooicon] -->
</smallfont></td>
<td align="right" nowrap><smallfont>
<a href="editpost.php?s=$session[sessionhash]&action=editpost&postid=$post[postid]"><img src="{imagesfolder}/edit.gif" border="0" alt="Edit/Delete Message"></a>
<a href="newreply.php?s=$session[sessionhash]&action=newreply&postid=$post[postid]"><img src="{imagesfolder}/quote.gif" border="0" alt="Reply w/Quote"></a>
</smallfont></td>
</tr>
</table>
</td>
</tr>
</table>
</td></tr></table>
<!-- spacer --></td><td width="10"><img width="10" height="1" src="{imagesfolder}/space.gif" alt=""></td></tr></table>
Chris M
09-01-2002, 03:21 PM
I see that you have the $onlinestatus variable there...
You should check that you have some content in the "postbit_online" and "postbit_offline" templates...If they are blank, just revert them and it should work...
Other than that, I dont know what could be wrong...
Satan
wel, did that m8
continue the same ... :|
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.