![]() |
GTOnline - Online Status on Member List
Simple plugin that will add the online status of user on memberlist.php.
INSTRUCTIONS:
TEMPLATE EDIT Find In memberlist_resultsbit: HTML Code:
<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> HTML Code:
$userinfo[onlinestatus]<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a> |
Brilliant thanks ;)
|
Yo thanks man! :)
|
very nice princeton!
|
No problem...
If you want to be contacted on new updates (bug fixes etc) click INSTALL. |
Thanks...
/me clicks install.. |
Awesome. Thanks!
|
How would I only show the image if they are online?
|
Quote:
|
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 |
uhh, what text? it should display the online image satusicon
|
Quote:
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. |
things to check (in order)
- if image exist - value of $stylevar[imgdir_statusicon] (found in ADMINCP / STYLES & TEMPLATES / StyleVars) - postbit_onlinestatus template |
That was it, thank you sir. :) Apologies for the newbie question.
|
I'm glad it worked out :banana:
|
simple goodness! thanks
[high]* GrendelKhan{TSU clicks install :)[/high] |
thank you
|
Nice addition...thank you *Clicks Install*
|
|
I'm glad it "works perfectly". ;)
|
Thank you so much :)
[high]* Renada installs[/high] |
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. |
just replace your
user_online.gif user_offline.gif user_invisible.gif |
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. |
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 |
yeah, tried to fool around with conditionals in the postbit_onlinestatus, but wasn't working... will keep at it though. thanks.
|
Pretty nifty, thanks! :)
Installed and running flawlessly.. |
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 |
Quote:
|
Great addition. ;)
|
I have installed the plugin and made the template mod and the online status is not showing up in my memberlist ????
|
need a link to site?
if you have DEBUG on ... check to see if "postbit_onlinestatus" template is called |
un-installed it... does not work on my vb 3.5.4 site
|
sorry, just tested on a new 3.5.4 install and everything worked just as advertised
|
Works fine for me on 3.5.4. Make sure the plug-in is enabled. ;)
|
thank you Boofo :up:
|
Very Nice. Thank you and "Clicks Install".
|
Quote:
|
very nice - Thanx very much for your sharing :) = Clicks Install
Jacquii. |
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 |
All times are GMT. The time now is 01:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|