PDA

View Full Version : Miscellaneous Hacks - GTOnline - Online Status on Member List


Princeton
17 Oct 2006, 13:29
This version is no longer supported.
Download newest version http://www.vbulletin.org/forum/showthread.php?t=149801 instead.

Simple plugin that will add the online status of members on memberlist.

INSTRUCTIONS:
Download product-gtonline10162006.xml (http://www.vbulletin.org/forum/attachment.php?attachmentid=54777&stc=1&d=1161091414).
Click BROWSE button in ADMINCP / PLUGIN & PRODUCTS / MANAGE PRODUCTS / ADD/IMPORT PRODUCT (link found at the bottom of the page) and find the product-gtonline10162006.xml file.
Click IMPORT button to upload the product-gtonline10162006.xml file.
Finished.

shadowevil
17 Oct 2006, 13:58
Mod nice .... i like it .... *installed* :)

Dan
17 Oct 2006, 14:06
Nice one joe :) I'll be using it.

KevNJ
17 Oct 2006, 14:28
* clicks install *

very nice feature suprised its not a default option from vb.

Snake
17 Oct 2006, 16:10
Thanks!

Ajavas
17 Oct 2006, 16:23
Nice work!:up: Ajavas clicks ***Install***

PoetJA-1975
17 Oct 2006, 19:07
INSTALLED - thanx

Jacquii.

SCRIPT3R
17 Oct 2006, 19:44
nice.

Hornstar
18 Oct 2006, 05:41
I think I installed this a while back, but its good to see it again, Clicks install.

Salvar
19 Oct 2006, 03:18
Installed but it is doing nothing

kennethj
19 Oct 2006, 09:29
Nice plug in - installed

like when you dont' need to edit templates . and no extra queries .

Princeton
19 Oct 2006, 13:08
thanks guys ... I'm glad it works. :up:

zbahadir
22 Oct 2006, 03:58
thanks

Necrosaro420
22 Oct 2006, 16:05
Installed the XML, but nothing happened? Any Ideas? Thanks

Necrosaro420
26 Oct 2006, 02:09
Any ideas why they are not showing up? Thanks

Princeton
26 Oct 2006, 12:52
custom style maybe??

manually add $userinfo[onlinestatus] to memberlist_resultsbit

FIND:
$userinfo[musername]</a>

REPLACE WITH:
$userinfo[musername]</a> $userinfo[onlinestatus]

iran.gs
26 Oct 2006, 20:45
Installed Excelent at first i did not see it till i read it what this is loooooooool in member's list.... very nice this was a great idea for me since i got so many members and new members, only one thing if they are invisible what will it show in members list ????????

Top Nurse
26 Oct 2006, 22:54
Vey nice hack! Clicked Installed :D

Distance
17 Jan 2007, 22:23
Hey this adds to the right hand side of the username, any way to have it on the left?

Also i couldnt find them template edits added to my templates.. yet still i could see there status.. hmm

sunnycher
17 Jan 2007, 23:10
Thank you! installed!!

stomph
22 Jan 2007, 14:38
Hey this adds to the right hand side of the username, any way to have it on the left?


To get the status on the left of the username, I changed the plugin 'GTOline: Template Changes On Member List' to this:

/*
// status right of username
$vbulletin->templatecache['memberlist_resultsbit'] = str_replace(
'$userinfo[musername]</a>',
'$userinfo[musername]</a> $userinfo[onlinestatus]',
$vbulletin->templatecache['memberlist_resultsbit']
);
*/
// status left of username
$vbulletin->templatecache['memberlist_resultsbit'] = str_replace(
'<a href=\"member.php',
'$userinfo[onlinestatus] <a href=\"member.php',
$vbulletin->templatecache['memberlist_resultsbit']
);

Princeton
22 Jan 2007, 21:31
thank you stomph :up:

jasbell
28 Feb 2007, 15:01
Will this show up next to the user names on the forum posts as well? Or is that a different hack? VBGeek has this on forum posts.

Princeton
28 Feb 2007, 15:08
??

the online status is already displayed in forum posts

jasbell
28 Feb 2007, 15:40
Sorry, I meant next to the name in a forum post. EX:

The Geek (Offline)
Princeton (Online)

See Example page @ The VB Geek. Click here (http://www.thevbgeek.com/showthread.php?t=2130&page=3)

Princeton
28 Feb 2007, 15:50
the online status is already displayed in forum posts - vb default

https://www.vbulletin.org/forum/external/2010/01/8.gif online
https://www.vbulletin.org/forum/external/2010/06/1.gif offline

he just doesn't show the image (edit postbit_onlinestatus)

jasbell
28 Feb 2007, 15:55
Ok. Sorry. (Newbie)

Also, I have a custom style and followed your instructions above:
custom style maybe??

manually add $userinfo[onlinestatus] to memberlist_resultsbit

FIND:
$userinfo[musername]</a>

REPLACE WITH:
$userinfo[musername]</a> $userinfo[onlinestatus]

I placed "$GARS_addon_member_top" above the $footer as suggested (just to see if it worked). When I go to /forums/memberlist.php I dont see this status.

Princeton
28 Feb 2007, 18:37
this modification has nothing to do with $GARS_addon_member_top

try a manual template edit

FIND IN memberlist_resultsbit;

$userinfo[musername]</a>

REPLACE WITH:

$userinfo[musername]</a> $userinfo[onlinestatus]

leducq
01 Mar 2007, 15:53
I am no programmer by any means, so forgive my ignorance, but can someone tell me in detail how I can get the status over the user name? I think it stretches the cell too wide for long user names because of the status image I use.
Thanks in advance.

Tralala
01 Mar 2007, 17:05
/installed

Thanks!

jasbell
01 Mar 2007, 21:43
Forget it...I am on crack. Works fine

Princeton
02 Mar 2007, 02:43
jasbell,

LOL ... thanks for the update :D

jketron
02 Mar 2007, 02:49
Very cool, installed

leducq
02 Mar 2007, 11:57
Never mind, I figured it out. Thanks Installed!

rjmjr69
14 Mar 2007, 05:09
Ok I only get TEXT for online and offline status I do not see any dots? And its on the right side of the name? I see the edit for that but why no buttons?

Princeton
14 Mar 2007, 12:09
rjmjr69,
most likely image cannot be found ...

URL?

rjmjr69
14 Mar 2007, 19:40
There were no images included to link to that I see....

But here is the url www.binarytechzone.com

Doctor Death
16 Mar 2007, 01:55
Any chance of an update? If so, a user-set option of left or right of username would be awesome. In the meantime, I will edit :)

Thanks, good mod.

Doctor Death
01 Apr 2007, 17:27
To get the status on the left of the username, I changed the plugin 'GTOline: Template Changes On Member List' to this:

/*
// status right of username
$vbulletin->templatecache['memberlist_resultsbit'] = str_replace(
'$userinfo[musername]</a>',
'$userinfo[musername]</a> $userinfo[onlinestatus]',
$vbulletin->templatecache['memberlist_resultsbit']
);
*/
// status left of username
$vbulletin->templatecache['memberlist_resultsbit'] = str_replace(
'<a href=\"member.php',
'$userinfo[onlinestatus] <a href=\"member.php',
$vbulletin->templatecache['memberlist_resultsbit']
);

Right on! Works great!!!

Recommend for any future versions the ability to swap out left and right via options as well as a different icon for on and offline.

I would also like to see version checking added to this to make it really perfect.

This is a great mod. Thanks again.:up:

spx
16 Apr 2007, 19:30
Mhhh I#am using 3.6.5. There are no Users displayed in memberlist after install.

713JunctionP
01 Jun 2007, 17:33
awesome mod. thanks! :up:

The Lord of Dip
01 Jun 2007, 23:42
Nice job, installed. ;)

SoftDux
20 Jun 2007, 18:32
How much extra load does this put on the server?

Princeton
21 Jun 2007, 14:06
How much extra load does this put on the server?
it works similar to how it displays on showthread.php .. no queries

Amey
11 Aug 2007, 05:15
custom style maybe??

manually add $userinfo[onlinestatus] to memberlist_resultsbit

FIND:
$userinfo[musername]</a>

REPLACE WITH:
$userinfo[musername]</a> $userinfo[onlinestatus]

This doesn't seem to work for me, any idea why? TIA.

BadgerDog
14 Nov 2007, 16:16
What is the difference between this mod and your other one?

http://www.vbulletin.org/forum/showthread.php?t=149801

Thanks :)

Regards,
Badger

Princeton
14 Nov 2007, 16:42
this "manual" version was changed after the fact (mistakenly) .. I don't even have the original .. either way, I recommend the other one

This version is no longer supported.