Hellban / sent to Coventry ban

Looking for a MOD? Have a MOD request? Post here for help. (Note: This forum is community supported; phpBB does not have official MOD authors)
Scam Warning
Locked
seanosdelgardo
Registered User
Posts: 9
Joined: Thu Aug 23, 2012 3:47 pm

Hellban / sent to Coventry ban

Post by seanosdelgardo »

Can't seem to find any information on this on. Looking for a mod that works similar to the version on other forum software, so that you can add known 'irritants' on to the user list and no one other than themselves,mods and admins can see their posts.

If they think they are being ignored they'll go away.

Has this been done/already been created/due for release/being worked on ...... Or am I talking garbage ? ;)

Any feedback would be great.

Thanks.

Sean.
corleoner
Registered User
Posts: 189
Joined: Wed Jan 29, 2014 9:57 pm

Re: Hellban / sent to Coventry ban

Post by corleoner »

I like this idea a lot.
User avatar
HiFiKabin
Community Team Member
Community Team Member
Posts: 6673
Joined: Wed May 14, 2014 9:10 am
Location: Swearing at the PC, UK
Name: James
Contact:

Re: Hellban / sent to Coventry ban

Post by HiFiKabin »

I saw this a while ago and kept it for reference
stevemaury wrote:Here's a little ditty you can try. What it will do is make the troll the foe of all other users so, ordinarily they would see this instead of his posts:
This post was made by Troll who is currently on your ignore list. click here to display this post.
First, run this SQL to make the troll a foe of all users (only will apply to existing users until run again):

Code: Select all

INSERT INTO phpbb_zebra (user_id, zebra_id, foe) SELECT user_id, N, 1 FROM phpbb_users WHERE user_type <> 2 AND user_id != N AND user_id NOT IN(SELECT user_id FROM phpbb_zebra WHERE zebra_id = N AND foe = 1);
N is the user_id of the troll.

Then make this edit to remove the message (which will remove it for all foes of all users, but if they really want them to be foes, they shouldn't mind):

OPEN language/en/common.php

FIND:

Code: Select all

'POST_BY_FOE'        => 'This post was made by <strong>%1$s</strong> who is currently on your ignore list. %2$sDisplay this post%3$s.',
REPLACE WITH:

Code: Select all

'POST_BY_FOE'        => '',
Backup the zebra table first.

To undo this, run this SQL:

Code: Select all

DELETE FROM phpbb_zebra WHERE zebra_id = N;
and reverse the language file edit.

So, no one will see his posts and he will not know it.
Locked

Return to “[3.0.x] MOD Requests”