View Full Version : [Release] Online/Offline Move
SaintDog
06-19-2002, 10:00 PM
Author: Sinecure
Description: This will teach you how to make your online/offline status a little more noticable then the default look. It will place Online or Offline under your username depending on your status.
imported_Niloc
06-24-2002, 12:21 AM
Thank You!
Shift
06-30-2002, 05:35 PM
Very nice! But Saint Dog, how did you get the usergroup to show up in the postbit, let alone to make the admin and mod's part a different color
Shift
06-30-2002, 05:46 PM
And sorry about the double post but how did you get the offline part to look faded?
Phrantic
07-04-2002, 07:57 PM
i figured this out myself already...thanks anyway
sphinx
07-07-2002, 11:08 AM
yep installed and working fine,just have to figure out the changing of the online offline colours
K33nny
07-07-2002, 03:10 PM
In the postbit templates there's templates for the online/offline stuff. You can put font tags around the text so it's differnt colors.
AllusionalChaos
07-07-2002, 04:24 PM
For it to change colors. In the postbit_online and postbit_offline templates, instead of it just being <b>Online!</b> and <b>Offline!</b> He added something like <font color="red"><B>Online!</b></font> and <font color="c0c0c0"><b>Offline!</b></font>
To display a usergroup in your postbit if you don't already have it.
(which the default template does)
goto your postbit template and where u want it put: $post[usertitle] will output the usergroup your in IF you don't have a custom title.
sphinx
07-07-2002, 06:49 PM
thanks for that appreciated
EmuMasta
07-07-2002, 08:23 PM
is there a way to make the online font glow a color orange?
imported_Triple H
07-07-2002, 11:17 PM
it is on the second page in this section..
I can't get it to work though..
It doesn't show up in my postbit template... but it shows up when someone sends me a private message along the bottom.... why is this?
AllusionalChaos
07-08-2002, 02:26 AM
Put this in your postbit_online template EmuMasta.
<normalfont color="#000000"><TABLE STYLE="filter:GLOW(color=orange,strength=2"><b>Online!</b></table>
Mr. X
07-10-2002, 02:22 AM
Excellent. I've wanted to do this for a while. Thanks! Heres what mine looks like now:
Trust
07-10-2002, 08:18 AM
Thx I need this for another hack....lets try :)
imported_Triple H
07-10-2002, 09:36 AM
could anyone help me?
GamerForums
07-11-2002, 02:56 PM
Sweet addition to my forums, thanks! :)
Photon
08-29-2002, 09:17 PM
w00t nice works fine :D
TvNut
08-30-2002, 07:22 PM
I have tried to add the online offline with no luck could someone lend a hand...? I am using 2.26
Thanks
jediguy
08-31-2002, 12:19 AM
Well...what's the problem, firstly?
TvNut
08-31-2002, 12:21 AM
Well I install everything as stated and it does not show up anywhere on the board....
Tony G
08-31-2002, 12:22 AM
Did you follow the postbit instructions properly? If it doesn't show up AT ALL thats where the problem would be.
TvNut
08-31-2002, 12:24 AM
Followed them to the T...does it work with 2.2.6?
Tony G
08-31-2002, 12:25 AM
Yes it should.
Can I have a link to your forum to see?
TvNut
08-31-2002, 12:31 AM
It is a private forum...here is my postbit
<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="175" valign="top" nowrap>
<a name="post$post[postid]"></a>
$post[firstnewinsert]
<normalfont><b>$post[username]</b></normalfont><br>
<smallfont>$post[usertitle]</smallfont><br>
$post[avatar]<p>
<smallfont>$onlinestatus<br>Registered: $post[joindate]<br>
Location: $post[field2]<br>
Posts: $post[posts]</smallfont></td>
<td bgcolor="$post[backcolor]" width="100%" valign="top">
<smallfont>$post[icon] <b>$post[title]</b></smallfont>
<p><normalfont>$post[message]</normalfont></p>
$post[attachment]
<p>$post[signature]</p>
<p>$post[editedby]</p>
<p align="right"><smallfont><a href="report.php?s=$session[sessionhash]&postid=$post[postid]">Report this post to a moderator</a> | $post[iplogged]</smallfont></p>
</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>
$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>
Tony G
08-31-2002, 12:45 AM
Well online status is there.
Can't understand what could be going wrong.
TvNut
08-31-2002, 12:47 AM
heres a kicker for u...it shows up in some sub forums but not others...OMG...I am so confused
Tony G
08-31-2002, 12:50 AM
Can you PM me the link then? It would really help..
But otherwise no idea.
Sorry.
Now comes the tricky part. Open up the postbit template.
About 3 quarters of the way down you will see a variable called $onlinestatus.
Cut it from there. Then scroll up until you see the following
What you mean by cut it there..just delete the $onlinestatus?
I can't get this to work at all..and when you read it,it aint that hard hmm..
What do i put into postbit_offline and online,can someone tell me that cause i deleted it..yeah stupid me
I want it to be like you guys have it here,taht would be awesome:)
Anyway help will be nice,i really want to use this.
Originally posted by Triple H
it is on the second page in this section..
I can't get it to work though..
It doesn't show up in my postbit template... but it shows up when someone sends me a private message along the bottom.... why is this?
i got the same ,very weird..using 2.2.6 version
Anyone can help plz?
SaintDog
09-09-2002, 08:24 PM
You will need to edit the PM template to make the "Online" part place like that of the postbit (being they are 2 different sections of the board, hence 2 different templates need to be edited). As for it not working with 2.2.6, check what version we are running ;). Unless you have hacked up your board with code hacks and something, it shoud work just fine.
Tony G
09-10-2002, 05:43 AM
All I did was edit my postbit_online and postbit_offline and it worked. I'm on 2.2.6 too so I don't see why it shouldn't work.
thanx you guys,so it can't be the version..then i have to edit the pm template,i know the one i must edit,but what must i place in then?
PurpleCow
08-07-2003, 03:26 AM
Hello,
This is how I did :
Opened showgroups.php
Replaced all occurances of postbit_online with online
Replaced all occurances of postbit_offline with offline
Saved it back to my forums root directory.
Then Added two new templates :
1. "online" with this code in it :
<smallfont>Status : <B>Online</B></smallfont>
2. "offline" with this code in it :
<smallfont>Status : <B>Offline</B></smallfont>
Then in the "postbit" template, I added this $onlinestatus , where i wanted.
What I actually want to appear in the postbit is
Status : Online for online users &
Status : Offline for offline users
And that is what my two new templates reflect.
But, I am getting an image in the postbit, instead of text, what i wanted. How can i get the text as i mentioned above ??
Thanks for help.
Cheers
vBulletin® v3.8.12 by vBS, Copyright ©2000-2024, vBulletin Solutions Inc.