2011-07-01, 02:07 AM
Tutorial by: PJGIH/Darth Stabro
http://wb-dev.net
Open inc/plugins/myshoutbox.php
Search for
It should be around line 815.
If you want ONLY YOU to see the private shouts, replace the above line with this
Replace {your UID} your UID, obviously.
If you want all administrators to see private shouts, replace it with this:
If you want all super moderators to see private shouts, replace it with this:
To view private shouts, click "View Full Shout Box".
Tada!
Note: Be sure to let your users know you can do this, or they may complain about privacy issues.
http://wb-dev.net
Open inc/plugins/myshoutbox.php
Search for
if ($mybb->user['uid'] == intval($userID) || $mybb->user['uid'] == $row['uid'])
It should be around line 815.
If you want ONLY YOU to see the private shouts, replace the above line with this
if ($mybb->user['uid'] == intval($userID) || $mybb->user['uid'] == $row['uid'] || $mybb->user['uid'] == '{your UID}')
Replace {your UID} your UID, obviously.
If you want all administrators to see private shouts, replace it with this:
if ($mybb->user['uid'] == intval($userID) || $mybb->user['uid'] == $row['uid'] || $mybb->usergroup['cancp'] == 1)
If you want all super moderators to see private shouts, replace it with this:
if ($mybb->user['uid'] == intval($userID) || $mybb->user['uid'] == $row['uid'] || $mybb->usergroup['issupermod'])
To view private shouts, click "View Full Shout Box".
Tada!
Note: Be sure to let your users know you can do this, or they may complain about privacy issues.