Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
GTMember List Online Status Details »»
GTMember List Online Status
Version: 1.0.1, by Princeton Princeton is offline
Developer Last Online: Nov 2022 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 3.6.8 Rating:
Released: 06-14-2007 Last Update: 06-17-2007 Installs: 75
Uses Plugins Template Edits
 
No support by the author.

Simple plugin that will add the online status of user on memberlist.php. This is a NO TEMPLATE EDITS modification.

Show your support and click Mark As Installed, Nominate For MOTM, or Support Developer.

Instructions:
  1. Install via Products Manager
  2. That's it!
Currently, the default location for icon is on the right side. To change to left side, go into the Cache Template (memberlist_start) plugin and edit the following line:
PHP Code:
if ($online_status_icon_loc == 'right'
to
PHP Code:
if ($online_status_icon_loc == 'left'


History

  • v1.0.1 Plugin modified to choose left/right icon location
Recently Released Modifications:

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 06-17-2007, 03:44 AM
Roflstilzchen Roflstilzchen is offline
 
Join Date: Nov 2006
Posts: 31
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lifesupporters View Post
I do have one comment though, it would be nice to have an option to place the online status icon to either the left or the right of the username because my memberslist has so many different username lengths that the online/offline status icon looks like chicken pox.
that would be great, although it is a cool hack
Reply With Quote
  #23  
Old 06-18-2007, 12:10 PM
Princeton's Avatar
Princeton Princeton is offline
 
Join Date: Nov 2001
Location: Vineland, NJ
Posts: 6,693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

for those who wish to have the status icon on the left side just copy/paste the following code into the Cache Template (memberlist_start) plugin

PHP Code:
//$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('$userinfo[musername]</a>', '$userinfo[musername]</a> $userinfo[onlinestatus]', $vbulletin->templatecache['memberlist_resultsbit']);

$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('id=\"u$userinfo[userid]\">''id=\"u$userinfo[userid]\">$userinfo[onlinestatus]'$vbulletin->templatecache['memberlist_resultsbit']); 
Reply With Quote
  #24  
Old 06-19-2007, 08:00 AM
Lifesupporters Lifesupporters is offline
 
Join Date: Apr 2007
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
for those who wish to have the status icon on the left side just copy/paste the following code into the Cache Template (memberlist_start) plugin

PHP Code:
//$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('$userinfo[musername]</a>', '$userinfo[musername]</a> $userinfo[onlinestatus]', $vbulletin->templatecache['memberlist_resultsbit']);

$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('id=\"u$userinfo[userid]\">''id=\"u$userinfo[userid]\">$userinfo[onlinestatus]'$vbulletin->templatecache['memberlist_resultsbit']); 
Yup, worked like a charm, fantastic!
Reply With Quote
  #25  
Old 11-14-2007, 01:51 PM
BadgerDog BadgerDog is offline
 
Join Date: Oct 2006
Location: Toronto
Posts: 1,789
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Princeton View Post
for those who wish to have the status icon on the left side just copy/paste the following code into the Cache Template (memberlist_start) plugin

PHP Code:
//$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('$userinfo[musername]</a>', '$userinfo[musername]</a> $userinfo[onlinestatus]', $vbulletin->templatecache['memberlist_resultsbit']);

$vbulletin->templatecache['memberlist_resultsbit'] = str_replace('id=\"u$userinfo[userid]\">''id=\"u$userinfo[userid]\">$userinfo[onlinestatus]'$vbulletin->templatecache['memberlist_resultsbit']); 
Installed mod and also installed template "left" change... :up:

Works great ...

Thanks

Regards,
Badger
Reply With Quote
  #26  
Old 12-31-2007, 02:45 PM
puroeuro puroeuro is offline
 
Join Date: Jan 2005
Posts: 37
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how would one go about moving the online status to say the contact menu on the member list?
Reply With Quote
  #27  
Old 01-01-2008, 10:53 PM
TCE Killa TCE Killa is offline
 
Join Date: Dec 2007
Posts: 330
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great mod, thanks.
Reply With Quote
  #28  
Old 01-02-2008, 04:31 AM
LilSniper LilSniper is offline
 
Join Date: May 2007
Posts: 55
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice mod. Does it work for 3.6.7?
Reply With Quote
  #29  
Old 06-07-2008, 08:56 AM
Slowman Slowman is offline
 
Join Date: Dec 2006
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It working 3.7.1 ?
Reply With Quote
  #30  
Old 07-21-2008, 03:37 PM
vithorius's Avatar
vithorius vithorius is offline
 
Join Date: Feb 2008
Location: Portugal
Posts: 347
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is a nice Mod! :up:

Does it works with 3.7.x?


Thank you! :up:
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 05:31 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05446 seconds
  • Memory Usage 2,312KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (5)bbcode_php
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete