The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
Has anyone added the online/offline icon in the profile.php?do=buddylist part of the friends and contact? I'm looking though pages that do have the online status hook, should I just add that to the profile.php page? Is that the source for the Friends list?
I think it would be really useful to have the online/offline status icons there, see below. http://www.subsim.com/radioroom/friend_online.png Anyone have any ideas if there is a mod for this or where to start? How do you add the status icon to any page you want? cheers! Panz |
|
#2
|
||||
|
||||
|
Quote:
Code:
$user[onlinestatus] |
|
#3
|
||||
|
||||
|
Ok, can you be any more specific?
I suppose I can put it in the profile.php page, right? Just where in that file is the buddy list/friends list? Because when I just stick $user[onlinestatus] in Code:
if ($vbulletin->GPC['userlist'] == 'friend' AND (!($vbulletin->options['socnet'] & $vbulletin->bf_misc_socnet['enable_friends']) OR !($vbulletin->userinfo['permissions']['genericpermissions2'] & $vbulletin->bf_ugp_genericpermissions2['canusefriends'])))
{
$vbulletin->GPC['userlist'] = 'buddy';
}
$user[onlinestatus]
$show['friend_checkbox'] = false;
$userinfo = verify_id('user', $vbulletin->GPC['userid'], true, true, FETCH_USERINFO_ISFRIEND);
cache_permissions($userinfo);
Hmm... adding a semicolon brings the page back to life, $user[onlinestatus]; but still no status icon... |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|