PDA

View Full Version : GTOnline - Online Status on Member List


Princeton
01-19-2006, 10:00 PM
Simple plugin that will add the online status of user on memberlist.php.

INSTRUCTIONS:
Click BROWSE button in ADMINCP / PLUGIN SYSTEM / DOWNLOAD / UPLOAD PLUGINS and find the vbulletin onlinestatus plugin.xml (http://attachment.php?attachmentid=41296) file to upload
Click IMPORT button
Now, go to ADMINCP / STYLES & TEMPLATES and edit the memberlist_resultsbit template as stated below.
That's it.PayPal Donations Accepted (https://www.paypal.com/cgi-bin/webscr?cmd=_ext-enter&redirect_cmd=_xclick&business=paypal%40gtwebhost%2Ecom)

TEMPLATE EDIT
Find In memberlist_resultsbit:
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> Replace With:
$userinfo[onlinestatus]<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> Click https://vborg.vbsupport.ru/ (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=105812) for updates.

optrex
01-20-2006, 02:59 PM
Brilliant thanks ;)

Snake
01-20-2006, 04:08 PM
Yo thanks man! :)

Antivirus
01-20-2006, 05:18 PM
very nice princeton!

Princeton
01-20-2006, 06:29 PM
No problem...
If you want to be contacted on new updates (bug fixes etc) click INSTALL.

LBSources
01-20-2006, 06:35 PM
Thanks...

/me clicks install..

rabid dingo
01-22-2006, 12:20 PM
Awesome. Thanks!

notsonormal
01-23-2006, 06:57 AM
How would I only show the image if they are online?

Princeton
01-23-2006, 12:17 PM
How would I only show the image if they are online?

you could modify the 'postbit_onlinestatus' template ... add a THIS_SCRIPT==memberlist conditional or remove the 'offline' code

Guest210212002
01-23-2006, 08:11 PM
Quick question:

How do I replace the text with an image - just edit the phrase itself, or is there a cleaner way?

/me clicks install

Princeton
01-23-2006, 08:18 PM
uhh, what text? it should display the online image satusicon

Guest210212002
01-23-2006, 08:21 PM
uhh, what text? it should display the online image satusicon


http://www.sevenstring.org/forum/memberlist.php

Clearly I must be missing a statusicon or something.

If that doesn't work for some reason, screenie attached.

Princeton
01-23-2006, 08:29 PM
things to check (in order)
- if image exist
- value of $stylevar[imgdir_statusicon] (found in ADMINCP / STYLES & TEMPLATES / StyleVars)
- postbit_onlinestatus template

Guest210212002
01-23-2006, 09:09 PM
That was it, thank you sir. :) Apologies for the newbie question.

Princeton
01-23-2006, 09:22 PM
I'm glad it worked out :banana:

GrendelKhan{TSU
01-24-2006, 02:15 AM
simple goodness! thanks

* GrendelKhan{TSU clicks install :)

Princeton
01-30-2006, 09:24 PM
thank you

Gripemaster
02-02-2006, 03:09 PM
Nice addition...thank you *Clicks Install*

MissKalunji
02-19-2006, 04:43 AM
works perfectly!

http://www.dancehallareaz.com/forum/memberlist.php

Princeton
02-20-2006, 04:09 PM
I'm glad it "works perfectly". ;)

Renada
03-04-2006, 07:01 PM
Thank you so much :)
* Renada installs

Buddha
03-06-2006, 11:21 PM
is there a way to have it show a different image than the default on/offline images? i've been trying to get the same thing for the profile (memberinfo) page as well... for some reason, it's not working out for me.

i'd definitely use this as it's very nice, but i'd want to use a smaller image than what i am currently using for my on/offline gif.

thanks.

Princeton
03-06-2006, 11:49 PM
just replace your
user_online.gif
user_offline.gif
user_invisible.gif

Buddha
03-07-2006, 10:36 AM
my apologies, i didn't explain myself properly.
in my postbit, i'd have user_online.gif (which let's say is 100px square).
then in memberinfo, i'd have user_online2.gif (which let's say is 125px square - different image completely).
then in who's online, i'd have user_online3.gif (which would only be 25px square - again, another image completely).

thank you.

Princeton
03-07-2006, 11:31 AM
to keep things simple we use the default "onlinestatus" template

if you want you can modify the "postbit_onlinestatus" template for each section via a condtional ... I don't recommend* it; but, that's up to you

*interface elements should be the same throughout the entire interface

Buddha
03-07-2006, 05:57 PM
yeah, tried to fool around with conditionals in the postbit_onlinestatus, but wasn't working... will keep at it though. thanks.

Oblivion Knight
03-07-2006, 06:19 PM
Pretty nifty, thanks! :)

Installed and running flawlessly..

derfelix
04-11-2006, 07:46 AM
Very nice... *clicks install*
A little Request though *hehe*

Would it be possible to add "sort order" by on/offline...
Example: It Would be cool to be able to sort users.. to have the online users first..

Thx for the great hack

Felix

Princeton
05-01-2006, 02:35 PM
Very nice... *clicks install*
A little Request though *hehe*

Would it be possible to add "sort order" by on/offline...
Example: It Would be cool to be able to sort users.. to have the online users first..

Thx for the great hack

Felix
not on the TODO list :D

Boofo
05-01-2006, 02:44 PM
Great addition. ;)

bada_bing
05-01-2006, 03:12 PM
I have installed the plugin and made the template mod and the online status is not showing up in my memberlist ????

Princeton
05-01-2006, 03:17 PM
need a link to site?

if you have DEBUG on ... check to see if "postbit_onlinestatus" template is called

bada_bing
05-01-2006, 03:22 PM
un-installed it... does not work on my vb 3.5.4 site

Princeton
05-01-2006, 04:44 PM
sorry, just tested on a new 3.5.4 install and everything worked just as advertised

Boofo
05-01-2006, 05:06 PM
Works fine for me on 3.5.4. Make sure the plug-in is enabled. ;)

Princeton
05-01-2006, 05:09 PM
thank you Boofo :up:

SHalliday
06-28-2006, 08:19 PM
Very Nice. Thank you and "Clicks Install".

ssslippy
06-28-2006, 09:35 PM
un-installed it... does not work on my vb 3.5.4 site
My issue was i forgot to rebuild my plugins via the plugin accelerator.

PoetJA-1975
10-10-2006, 01:17 AM
very nice - Thanx very much for your sharing :) = Clicks Install

Jacquii.

smoknz28
10-21-2006, 11:10 PM
Hi there....I notice that it has put a green, blue, or red dot on each side of the member's name vice only one online colored dot as you have pictured.

How can I fix this?

Mark
vBulletin 3.6.2

Despairing
10-23-2006, 09:04 PM
Installed and working half - the icon is at the other side. =/ Need help, please.

Despairing
11-03-2006, 02:05 PM
Installed and working half - the icon is at the other side. =/ Need help, please.
Can nobody help me? -.-
Here a screenshot: http://img1.myimg.de/hm560.png

I want that the status icons are in an own divide/column and that the divide/column for the status icons is left from the username divide/column (like in "showgroups").

PoetJA-1975
02-02-2007, 06:42 PM
works fine on 3.6.4
Thanx for the share!

Jacquii.

rjmjr69
02-06-2007, 01:17 AM
I'm having big troubles with this on 3.6.4 I've followed the rules exactly everything seems to b e fine but when I goto the members list everyone has TEXT stating their status Placed 2 times
I've uninstalled this redid the template and still same result anytime I look at the memberlist. I never see any icons always text and its always on twice. One in front of the username and one after it. And the status displays the username see the username 3 times and the status twice any ideas?

Justin Murad
07-17-2008, 08:36 PM
Works with 3.7.x ;)