
05-01-2006, 12:47 PM
|
 |
|
|
Join Date: Mar 2006
Location: NY
Posts: 480
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by 350Chevy
Looks good.. One problem though, vBAdvanced CMPS v2.0.0 needed to be modified as well if you use it and would like it to show properly on your home page.
For those who use vbAdvanced and would like it to work for your home page do the following.
in /modules/onlineusers.php find:
Code:
SELECT session.userid, username, usergroupid, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
and replace it with:
Code:
SELECT session.userid, session.browser, username, usergroupid, (user.options & " . $vbulletin->bf_misc_useroptions['invisible'] . ") AS invisible, IF(displaygroupid=0, user.usergroupid, displaygroupid) AS displaygroupid
again in /modules/onlineusers.php find:
Code:
'username' => $vbulletin->userinfo['username'],
add after:
Code:
'browser' => $vbulletin->session->vars['browser'],
That should do it.
* Clicks install.
|
thanks so much! didn't see this post had been added...hoped to get an update email when this had been fixed! but thanks it worked perfect
|