PDA

View Full Version : Online/Offline Text Status


Tony G
06 Feb 2004, 10:19
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.)

Brad
06 Feb 2004, 10:24
You know I always have to do this one, thanks for porting it. :)

Tony G
16 May 2004, 08:00
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
16 May 2004, 08:28
Thanks. :)

chrisvonc
16 May 2004, 13:53
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
17 May 2004, 13:36
Think it would require hacking in order to show online status in the profile.

oldfan
27 Aug 2004, 03:06
works great, thanks

Chadi
13 Oct 2004, 02:59
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
13 Oct 2004, 08:19
There are instuctions there for the top column. Use the 'ootextpostbit.txt' instructions.

imported_TCB
03 Jan 2005, 16:57
So easy and so effective at the same time... Great one :D

G3MM4
07 Aug 2005, 18:28
This needs updating for 3.0.8.

Tony G
08 Aug 2005, 05:10
Hopefully I can get around to updating it soon. :) Sorry about the wait.

Blind Guardian
11 Aug 2005, 17:54
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
12 Aug 2005, 07:15
Did it work fine on 3.0.8, or did you have to change code around? And thanks for the comments. :)

Blind Guardian
12 Aug 2005, 23:30
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


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


With


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



postbit_onlinestatus
Replace everything with


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



postbit_legacy
Replace


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------


With


Code:
---------------
Code is only visible to licensed users, and only when logged into the forums.
---------------



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
14 Aug 2005, 07:58
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
26 Aug 2005, 02:25
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
26 Aug 2005, 05:26
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
19 Sep 2005, 12:07
thanks a ton
click installed

with this mod, i have learned a lot on how to modify my postpit legacy

Tony G
19 Sep 2005, 13:23
Thanks. I'm glad you learnt something about the templates. :)

Toky0
22 Sep 2005, 10:12
Thanks. I'm glad you learnt something about the templates. :)

Works fine for me on 3.5 RC3. Thanks Tony!

Quillz
04 Oct 2005, 23:20
Just installed! What a great hack.