View Full Version : Online/Offline Text Status
Tony G
02-05-2004, 10:00 PM
Mod once again updates from RC versions to vBulletin 3.0.0/3.0.1. Although it will work on both vBulletin 3 RC's and vBulletin 3.0.0/3.0.1.
This mod will remove the online/offline images, and instead replace them with text (much like how location, or age is displayed) displaying if the user is online or offline.
There are two versions of this modification. Once is for the posbit template, which if the infomation on top and the post below. The other version is for the postbit legacy template, which is the infomation on the side in a column. So download the instructions from the type of postbit that applies to you. :)
Screenshots are included. The first one is offline on the postbit legacy. The second is online on the normal postbit. The third is online on the postbit legacy.
Enjoy, and report any faults with this mod!
(Also, if you use this mod please click install. Just gives me an idea on how popular the modification is! Thank you.)
You know I always have to do this one, thanks for porting it. :)
Tony G
05-16-2004, 06:00 AM
Updated this mod for vBulletin 3.0.0+
Also have included instructions for the postbit template as well as the postbit legacy template.
Enjoy. :)
neocorteqz
05-16-2004, 06:28 AM
Thanks. :)
chrisvonc
05-16-2004, 11:53 AM
Thank you! very easy and working good!
One question, how would one properly add this to the public profile? I tried a few things but none of them worked so I thought I would ask.
Thank you again :)
Tony G
05-17-2004, 11:36 AM
Think it would require hacking in order to show online status in the profile.
oldfan
08-27-2004, 01:06 AM
works great, thanks
Chadi
10-13-2004, 12:59 AM
Strange but I don't have that column on the left side in thread viewing on my site.
www.talkjesus.com
How would I enable this in 3.03?
Tony G
10-13-2004, 06:19 AM
There are instuctions there for the top column. Use the 'ootextpostbit.txt' instructions.
imported_TCB
01-03-2005, 02:57 PM
So easy and so effective at the same time... Great one :D
G3MM4
08-07-2005, 04:28 PM
This needs updating for 3.0.8.
Tony G
08-08-2005, 03:10 AM
Hopefully I can get around to updating it soon. :) Sorry about the wait.
Blind Guardian
08-11-2005, 03:54 PM
Installed, although I added in an if condition so it will only display on smod/admin posts (our server would probably keel over from enabling it on each of the 70,000 member's posts.)
Thanks.
Tony G
08-12-2005, 05:15 AM
Did it work fine on 3.0.8, or did you have to change code around? And thanks for the comments. :)
Blind Guardian
08-12-2005, 09:30 PM
Did it work fine on 3.0.8, or did you have to change code around? And thanks for the comments. :)
I installed on 3.0.3, so I'm assuming that question wasn't directed at myself.
I also discovered a slight problem in the way you set up the code, since the forum-leaders list uses the same template (SHOWGROUPS), so you get "Status: Online" and so on in the left-most column.
I shifted the code around a bit, did a small edit to showgroups_usergroupbit and it's not as hideous as before.
showgroups_usergroupbit
Replace
<td class="$bgclass">$user[onlinestatus]</td>
With
<td align="center" class="$bgclass">$user[onlinestatus]</td>
postbit_onlinestatus
Replace everything with
<if condition="$onlinestatus==0"><font color="#999999"><b>Offline</b></font></if>
<if condition="$onlinestatus==1"><font color="#009000"><b>Online</b></font></if>
<if condition="$onlinestatus==2"><font color="#999999"><b>Invisible</b></font></if>
postbit_legacy
Replace
<div>$post[onlinestatus]</div>
With
<div>Status: $post[onlinestatus]</div>
Basically, I removed the "Status:" from the actual onlinestatus template and made that specific to the postbit, then aligned the status on the forum-leaders page to account for the cell-stretching caused by "Invisible" being so much longer than "Online" and "Offline".
Note: You have to make sure you remove all the <div> tags from the onlinestatus template, otherwise it'll break the actual status onto another line in the postbit.
Tony G
08-14-2005, 05:58 AM
It was directed at you, I guess it still worked on 3.0.3.
I like the way you set up the mod, never thought of using that if condition.
snags204
08-26-2005, 12:25 AM
works in 3.08 fine...although it dosnt have that glow effect like the screenshot....anyone know how to get it like that?
Tony G
08-26-2005, 03:26 AM
XD that's no glow, just a bad quality JPEG file. :p
Thanks for letting me know, no need to make any changes to this now.
stan111
09-19-2005, 10:07 AM
thanks a ton
click installed
with this mod, i have learned a lot on how to modify my postpit legacy
Tony G
09-19-2005, 11:23 AM
Thanks. I'm glad you learnt something about the templates. :)
Toky0
09-22-2005, 08:12 AM
Thanks. I'm glad you learnt something about the templates. :)
Works fine for me on 3.5 RC3. Thanks Tony!
Quillz
10-04-2005, 09:20 PM
Just installed! What a great hack.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.