vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - GTOnline - Online Status on Member List (https://vborg.vbsupport.ru/showthread.php?t=129307)

Princeton 10-16-2006 10:00 PM

GTOnline - Online Status on Member List
 
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:
  1. Download product-gtonline10162006.xml.
  2. 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.
  3. Click IMPORT button to upload the product-gtonline10162006.xml file.
  4. 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

Quote:

Originally Posted by Distance (Post 1161692)
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:

Code:

/*
// 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

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;

Code:

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

Code:

$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

Quote:

Originally Posted by stomph (Post 1164996)
To get the status on the left of the username, I changed the plugin 'GTOline: Template Changes On Member List' to this:

Code:

/*
// 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.


All times are GMT. The time now is 12:41 PM.

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.01957 seconds
  • Memory Usage 1,792KB
  • 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
  • (4)bbcode_code_printable
  • (2)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