It is a lot simpler than the hellban hack (although not as extreme!) and does not have the problems of user being able to quote and view the post.
The user is unaware that they are banned. Nobody see's their posts either in the main thread view or when replying to a thread. Admins and mods see their original post with a notice they are banned. They see the thread as though they were a normal user. This fixes the problem of friends warning them they are banned.
Installed on vB 2.2.8, thanks - the installation took a bit of tweaking (just common sense, nothing too tricky) and it works fine. Installed the fix provided by Firefly, it fixed the newreply.php error.
1. The banned user's name still appears in the "Last Post By:" section on the front page.
2. Allowing banned members to post new threads results in threads being created with no first post - disaster!
It would be great if only threads that were started after the user's ban were invisible.
For example, we've had users who have made valuable contributions to the board, and then we've had to ban them for various reasons.
With this hack, all of the banned user's posts disappear! So, if they've started threads in the past, or they've posted in other threads, it'll all disappear.
This problem can be easily fixed, I'm going to add it to my board when I get a few spare minutes :banana:
Im staying away. In first and last of 3 attachments you provided, the newreply.php does not match with 2.28, dont want to risk problems. Your second attachment totally leaves the newreply.php changes out completely. From reading through here, theres a few other mistakes.
I would like to see an updated version with everything fixed for 2.28 if possible? Thanks either way.
Originally posted by dwh Probably a bit complex to solve...though only a line or three once u figure it out...I'll give u a hint...
you need to find where the select statement happens to get the list of threads (probably in functions.php or forumdisplay.php)...and make sure that in the join to the threadstarter...their usergroupid is included in the query...and if the usergroup id belongs to that user...exclude that thread...
Problem is...it will still show up in searches...and view new posts and today's posts etc...
But to fix that u just go with the same concept...except in search.php instead...
Hope this helps...
Basically I am using this to ban people who create accounts with the sole intent to send libelous comments. I need any threads that they have created to disappear so I have been trying to do what you are saying. I understand that basically you do the same hacks as in newreply.php, but in another file so that the threads will disappear, but I can't seem to find it. I just don't know the internal system enough for that. Does anyone know where to call the query for the permissions to view threads?
thanks to this hack, i got banned like this from a forum!!!! ++++ it pieces me off, didn't even realise til about 2 weeks later when i realize i can't see any new threads!!!!
thanks to this hack, i got banned like this from a forum!!!! ++++ it pieces me off, didn't even realise til about 2 weeks later when i realize i can't see any new threads!!!!
thanks to this hack, i got banned like this from a forum!!!! ++++ it pieces me off, didn't even realise til about 2 weeks later when i realize i can't see any new threads!!!!