vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   GTOnline - Online Status on Member List (https://vborg.vbsupport.ru/showthread.php?t=105812)

Princeton 01-19-2006 10:00 PM

GTOnline - Online Status on Member List
 
Simple plugin that will add the online status of user on memberlist.php.

INSTRUCTIONS:
  1. Click BROWSE button in ADMINCP / PLUGIN SYSTEM / DOWNLOAD / UPLOAD PLUGINS and find the vbulletin onlinestatus plugin.xml file to upload
  2. Click IMPORT button
  3. Now, go to ADMINCP / STYLES & TEMPLATES and edit the memberlist_resultsbit template as stated below.
  4. That's it.
PayPal Donations Accepted

TEMPLATE EDIT
Find In memberlist_resultsbit:
HTML Code:

<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
Replace With:
HTML Code:

$userinfo[onlinestatus]<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
Click https://vborg.vbsupport.ru/ 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

Quote:

Originally Posted by notsonormal
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

Quote:

Originally Posted by princeton
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

[high]* GrendelKhan{TSU clicks install :)[/high]

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 :)
[high]* Renada installs[/high]

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

Quote:

Originally Posted by derfelix
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

Quote:

Originally Posted by bada_bing
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


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
  • Page Generation 0.01419 seconds
  • Memory Usage 1,783KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete