PDA

View Full Version : Display option for tachy goes to coventry


firerock
08-18-2004, 11:18 AM
I tried this out on a troublesome poster yesterday.

A normal poster sees no message at all when they post, as if they had never posted at all.

A forum moderator sees "The administrator has decided <unsername> should be quiet for a while"

As do the admins.

Is there anyway of changing it so that only the admins see that message, and the forum moderators see what normal posters see?

I checked through the group options for forum moderators but couldn't see anything to do with it.

It looks like all moderators get to see the message, I only the admins to see it.

thanks.

kall
08-18-2004, 11:24 AM
Try Erwin's Warning System, Automatic Ban, Make Posts Invisible, Edit Signature/ Avatar/ Picture hack.

It may be a longer way round than another method, but I think that's what you want. I seem to recall it being able to be set for mods to not see the posts..

firerock
08-18-2004, 11:38 AM
ok thanks I'll take a look when I get home :) Give me something to do instead of watching some dumb friendly.

firerock
08-18-2004, 08:56 PM
could anyone say whether I have done this right or nor please :)

In the includes/function_showthread.php
part of the function construct_postbit

this is what it does currently

// hide users in Coventry from non-staff members
if ($tachyuser = in_coventry($post['userid']) AND !can_moderate($thread['forumid']))
{
return;
}



change to


// hide users in Coventry from non-staff members
if ($tachyuser = in_coventry($post['userid']) AND !$permissions['adminpermissions'])
{
return;
}


Basically trying to only show tachy messages if you are an admin, rather than anyone who can moderate. ???

firerock
08-20-2004, 01:13 PM
I suppose what I'm askign here is it sufficient to say this

!$permissions['adminpermissions']

To see if the person is admin level or not.
As I only want Admin people to see it not normal moderators.