Status
Not open for further replies.

kesandal

Customer
Hello,

when I open the "What's going on" page and someone is browsing the Credits-Page i see written in bold letters:

Location unknown /credits.php

How can I change this to something different?
e.g. Viewing Credits

Best regards
Kesandal
 
kesandal This is a bug, I am sure Darkwaltz4 can get it sorted in a up-coming release, or do a hot patch!
 
Well, its not a bug persay - I simply never implemented any who's online locations for vbcredits.

Non-admins will see a standard "visiting homepage", whereas admins see what you do.
I might in the future, but its extremely low priority
 
kesandal Ok I have come up with a solution to this:

You need to create 2 new plugins in Plugins & Products

First one choose:

Product: DragonByte Tech: vBCredits II Deluxe

Hook Location: online_location_process

Title: online process

Execution Order: 5

Plugin PHP Code:
Code:
if ($filename == 'credits.php')
    $userinfo['activity'] = 'vBCredits';
Plugin is Active: Select Yes
Then Save
14dd02ac862b45.png


Second one choose:

Product: DragonByte Tech: vBCredits II Deluxe

Hook Location: online_location_unknown

Title: online unknown

Execution Order: 5

Plugin PHP Code:
Code:
if ($userinfo['activity'] == 'vBCredits')
{
    $userinfo['where'] = "<a href='credits.php'>vBCredits</a>";
    $userinfo['action'] = "Viewing vBCredits";
    $handled = true;
}
Plugin is Active: Select Yes
Then Save
14dd02c0c6a351.png


See online location now:
14dd02cbe5e2f4.png


Not all that hard to do
 
Status
Not open for further replies.

Legacy vBCredits II Deluxe

vBulletin 3.8.x vBulletin 4.x.x
Seller
DragonByte Technologies
Release date
Last update
Total downloads
845
Customer rating
0.00 star(s) 0 ratings
Back
Top