![]() |
Group Discussions Unknown Location
When I'm viewing deleted, moderated, or new group discussions, it gives me an unknown location in the activity instead of a Viewing Deleted and Viewing Moderated like with other deleted and moderated things. In this case, it should be Viewing Deleted Group Discussions and Viewing Moderated Group Discussions.
How can I fix this? |
You can add it with a couple of plugins. Look at this article: https://vborg.vbsupport.ru/showthread.php?t=228112 and scroll down to "Instructions to Add your Page to the Who's Online List (WOL):". Of course you'll use moderation.php as the file name. One thing that's not shown is that you can check the parameter values (in the online_location_process plugin) using the array $values, so that you'd want the code to be something like:
Code:
if ($filename == 'moderation.php' AND $values['do'] == 'viewdiscussions') |
Quote:
I also just noticed I get it when confirming deletion of something: http://i101.photobucket.com/albums/m...wnLocation.png |
Okay, so I added this plugin (credit goes to Joe for helping over on the official vBulletin site), which works:
Code:
if (strpos($userinfo['location'], 'moderation.php?do=viewdiscussions') !== false) I tried adding the deleted and moderated specifiers at the end: moderation.php?do=viewdiscussions&type=deleted and moderation.php?do=viewdiscussions&type=moderated. However, those didn't seem to do anything. Thanks! |
Anyone?
|
All times are GMT. The time now is 02:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|