display onlinestaus on memberlist

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.
TEMPLATE EDIT
Find In memberlist_resultsbit:

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

Replace With:
PHP:
$userinfo[onlinestatus]<a href="member.php?$session[sessionurl]u=$userinfo[userid]">$userinfo[musername]</a>
 
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')

No query in the product installer so I think that's a negative.
 
Thank you , guys
although I tried it and it works greatly
But .....
it has a small thing that we have to remove first !!!
this :

<![CDATA[http://www.vbulletin.org/forum/misc.php?do=productcheck&pid=gtmemberlist_onlinestatus]]>

look deeply and tell me if I remove it , will it work as well ?
???
 
Back
Top