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 - GTMember List Online Status (https://vborg.vbsupport.ru/showthread.php?t=149801)

Roflstilzchen 06-17-2007 03:44 AM

Quote:

Originally Posted by Lifesupporters (Post 1269888)
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 :)

Princeton 06-18-2007 12:10 PM

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']); 


Lifesupporters 06-19-2007 08:00 AM

Quote:

Originally Posted by Princeton (Post 1270913)
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!

BadgerDog 11-14-2007 01:51 PM

Quote:

Originally Posted by Princeton (Post 1270913)
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

puroeuro 12-31-2007 02:45 PM

how would one go about moving the online status to say the contact menu on the member list?

TCE Killa 01-01-2008 10:53 PM

Great mod, thanks.

LilSniper 01-02-2008 04:31 AM

Nice mod. Does it work for 3.6.7?

Slowman 06-07-2008 08:56 AM

It working 3.7.1 ?

vithorius 07-21-2008 03:37 PM

This is a nice Mod! :up:

Does it works with 3.7.x? :confused:


Thank you! :up:


All times are GMT. The time now is 04:33 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.01059 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (9)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