PDA

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


Princeton
10-16-2006, 10:00 PM
This version is no longer supported.
Download newest version https://vborg.vbsupport.ru/showthread.php?t=149801 instead.

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

INSTRUCTIONS:
Download product-gtonline10162006.xml (https://vborg.vbsupport.ru/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
10-17-2006, 12:58 PM
Mod nice .... i like it .... *installed* :)

Dan
10-17-2006, 01:06 PM
Nice one joe :) I'll be using it.

KevNJ
10-17-2006, 01:28 PM
* clicks install *

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

Snake
10-17-2006, 03:10 PM
Thanks!

Ajavas
10-17-2006, 03:23 PM
Nice work!:up: Ajavas clicks ***Install***

PoetJA-1975
10-17-2006, 06:07 PM
INSTALLED - thanx

Jacquii.

SCRIPT3R
10-17-2006, 06:44 PM
nice.

Hornstar
10-18-2006, 04:41 AM
I think I installed this a while back, but its good to see it again, Clicks install.

Salvar
10-19-2006, 02:18 AM
Installed but it is doing nothing

kennethj
10-19-2006, 08:29 AM
Nice plug in - installed

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

Princeton
10-19-2006, 12:08 PM
thanks guys ... I'm glad it works. :up:

zbahadir
10-22-2006, 02:58 AM
thanks

Necrosaro420
10-22-2006, 03:05 PM
Installed the XML, but nothing happened? Any Ideas? Thanks

Necrosaro420
10-26-2006, 01:09 AM
Any ideas why they are not showing up? Thanks

Princeton
10-26-2006, 11:52 AM
custom style maybe??

manually add $userinfo[onlinestatus] to memberlist_resultsbit

FIND:
$userinfo[musername]</a>

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

iran.gs
10-26-2006, 07:45 PM
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
10-26-2006, 09:54 PM
Vey nice hack! Clicked Installed :D

Distance
01-17-2007, 09:23 PM
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
01-17-2007, 10:10 PM
Thank you! installed!!

stomph
01-22-2007, 01:38 PM
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
01-22-2007, 08:31 PM
thank you stomph :up:

jasbell
02-28-2007, 02:01 PM
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
02-28-2007, 02:08 PM
??

the online status is already displayed in forum posts

jasbell
02-28-2007, 02:40 PM
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
02-28-2007, 02:50 PM
the online status is already displayed in forum posts - vb default

https://vborg.vbsupport.ru/external/2010/01/8.gif online
https://vborg.vbsupport.ru/external/2010/06/1.gif offline

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

jasbell
02-28-2007, 02:55 PM
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
02-28-2007, 05:37 PM
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
03-01-2007, 02:53 PM
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
03-01-2007, 04:05 PM
/installed

Thanks!

jasbell
03-01-2007, 08:43 PM
Forget it...I am on crack. Works fine

Princeton
03-02-2007, 01:43 AM
jasbell,

LOL ... thanks for the update :D

jketron
03-02-2007, 01:49 AM
Very cool, installed

leducq
03-02-2007, 10:57 AM
Never mind, I figured it out. Thanks Installed!

rjmjr69
03-14-2007, 04:09 AM
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
03-14-2007, 11:09 AM
rjmjr69,
most likely image cannot be found ...

URL?

rjmjr69
03-14-2007, 06:40 PM
There were no images included to link to that I see....

But here is the url www.binarytechzone.com

Doctor Death
03-16-2007, 12:55 AM
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
04-01-2007, 04:27 PM
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:

sp?x
04-16-2007, 06:30 PM
Mhhh I#am using 3.6.5. There are no Users displayed in memberlist after install.

713JunctionP
06-01-2007, 04:33 PM
awesome mod. thanks! :up:

The Lord of Dip
06-01-2007, 10:42 PM
Nice job, installed. ;)

SoftDux
06-20-2007, 05:32 PM
How much extra load does this put on the server?

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

Amey
08-11-2007, 04:15 AM
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
11-14-2007, 03:16 PM
What is the difference between this mod and your other one?

https://vborg.vbsupport.ru/showthread.php?t=149801

Thanks :)

Regards,
Badger

Princeton
11-14-2007, 03:42 PM
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.