Quote:
Originally Posted by reesev
anyway to make it so non staff members do not see these notices? its really causing confusion but other then that it works fine. 
|
The same for me.
I changed the attached xml-File:
Code:
<phpcode><![CDATA[
if (can_moderate()) {
$postcount = $db->query_first("
SELECT COUNT(*) AS count
FROM " . TABLE_PREFIX . "moderation AS moderation
INNER JOIN " . TABLE_PREFIX . "post AS post ON (post.postid = moderation.primaryid)
WHERE moderation.type = 'reply'
");
$vbulletin->userinfo['poststomoderate'] = $postcount['count'];
$notifications['poststomoderate'] = array(
'phrase' => $vbphrase['moderated_posts'],
'link' => 'moderation.html?do=viewposts&type=moderated' . $vbulletin->session->vars['sessionurl_q'],
'order' => 10
);
}
]]></phpcode>
After this changes, only members with moderator-rights see the message.
This addition should be standard in vb.
Greetings,
Chriss