The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Update "Who's Online" for VBA Gallery
Below this post is the codefor a mod that was already created by GrBear from vbadvanced.com. It will update users status in who's onlne to say they are in the gallery.
I want to know if this can be modified to work when the gallery is located at a subdomain. The original thread for this is located HERE and GrBear's code is below: FIND: Code:
else if (strpos($token, "/$modcpdir/") !== false) { if ($filename == '' OR $filename == 'index.php') { $userinfo['activity'] = 'modcplogin'; } else { $userinfo['activity'] = 'modcp'; } return $userinfo; } Code:
else if (strpos($token, "/gallery/") !== false) { $userinfo['activity'] = 'gallery'; return $userinfo; } |
#2
|
|||
|
|||
*bump*
|
#3
|
||||
|
||||
is that in the functions_online.php file?
|
#4
|
|||
|
|||
Yes it is inside the functions_online.php but I tried everything but couldn't find a way to get this working...
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|