I just finally added the hack... and so my admins don't have to mess around with typing in URLs, I added a crude search form to the Admin CP home...
I've also hacked my config.php and pm.php so there's now a $canviewpms variable and it will regard that instead of the $superadministrators variable.
Find this...
PHP Code:
if (can_administer('canadminusers'))
{
print_label_row($vbphrase['quick_user_finder'], '
<form action="user.php" method="post" style="display:inline">
<input type="hidden" name="s" value="' . $session['sessionhash'] . '" />
<input type="hidden" name="do" value="find" />
<input type="text" class="bginput" name="user[username]" size="30" tabindex="1" />
<input type="submit" value=" ' . $vbphrase['find'] . ' " class="button" tabindex="1" />
<input type="submit" class="button" value="' . $vbphrase['exact_match'] . '" tabindex="1" name="user[exact]" />
</form>
', '', 'top', NULL, false
);
}
And before the closing curly brace, add this...
PHP Code:
print_label_row('Lookup PM (by userid)', '
<form action="/boards/admincp/pm.php" method="get" style="display:inline">
<input type="text" class="bginput" name="userid" size="30" tabindex="1" />
<input type="submit" value=" ' . $vbphrase['find'] . ' " class="button" tabindex="1" />
</form>
', '', 'top', NULL, false
);
The reason why I added it is a) we're covered in our ToS when it comes to these, b) I had a rather crude PM system when we had vB2.3.x, and c) We get complaints at least once or twice a month about abusive PMs, which is covered in point a.
If you want me to make this more viable (like have the vbphrase variable), let me know.