The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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. |
#2
|
||||
|
||||
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).
|
#3
|
||||
|
||||
Sounds great.
Thanks for your help |
#4
|
||||
|
||||
No problem. I edited this myself so I knew where to go.
|
#5
|
|||
|
|||
What is the var , after editing ?
$onlinestatus ?? |
#6
|
||||
|
||||
$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 |
#7
|
|||
|
|||
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 .. |
#8
|
||||
|
||||
Can you post your postbit template?
Because I dont think you can turn off $onlinestatus... Satan |
#9
|
|||
|
|||
Yeah sure, here it goes:
Code:
<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> |
#10
|
||||
|
||||
I see that you have the
Code:
$onlinestatus 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 |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|