Invisible comments for distinct members
This is not as much of an add-on request as a request for general support on writing such an extension, as its use is probably not widely required.
I am running a forum for an exclusive school community, and am unable to kick members who do nothing but flaming - mainly because they would simply sign up with a new account and complain to those who I am running the forum for. Since for the past few weeks all comments made by those individuals were promptly deleted and/or follow up comments on the deletion I deem it a good idea if all of their comments would simply be invisible to everybody but themselves.
Essentially I need to create an add-on that ignores comments made by a specific user id (unless the session's user id is the same). I have no problem determining the ids, however no idea in what ways the filtering of comments would be possible.
I'd be endlessly grateful for any help on the issue.
0
This discussion has been closed.
Comments
I wonder how easy it would be to create a role that is always pre-moderated, while normal "nice" members don't get bothered by it?
I simply added this at suitable positions in the GetCommentCount, GetCommentList and ReCountComments methods:
if($this->Context->Session->UserID != $undesiredID) { $s->AddWhere('m', 'AuthUserID', '', $undesiredID, '!=', 'and'); }
I don't think I will develop it much further; the results are promising though.