![]() |
Ban User by ignore micro hack
I use this because hellban gave me some problems and i dident think editing the database would be needed for something that could be done with just two simple edits.
What this dose is put a user under forum wide ignore, so they wont really know they are banned, if its a spamer. he might just get bored and go away. frist get your functions.php file from the admin dir. find this bit of code PHP Code:
PHP Code:
if you want to just skip doing this in the CP you can run a SQL query. INSERT INTO usergroup VALUES("100","Banned","","0","1","1","1","1","0"," 1","0","0","0","1","1","1","1","0","0","1","1","1" ,"0","0","1","0","0","0","0","0","0","0","0","1 "); change *user gourp id here to 100. but i recomend doing this via the contral panel. remove everything from the postbit_ignore ------------ you can also make this effect only one use if you do not want to add anthor user gourp for whatever reason. Use this code insted PHP Code:
i know its quick and dirty. but it was my frist "hack" for vB and someone asked me to share so i will :laugh: |
very nice! i like it. it works very easily. great job!
|
so, they can still post.......but no one will see there posts?
|
hot dogg: yes.
|
Umm...but the banned users can still post new threads right that will show up as new threads but with no content in them?
|
Uhm I've already written this hack... https://vborg.vbsupport.ru/showthrea...threadid=36205
|
Will new threads still display in this situation?
My experience with the ignore feature is that you still see the threads, but their post shows a 'This user is on your ignore list...' instead of their post content. Mark |
Any chance of a VB3 version of this? Miserable Users is too obvious for my delinquits. I don't want them to have any idea their new fake account is banned.
|
Isn't this what the send to coventry feature of vb3 does ?
|
All times are GMT. The time now is 01:37 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|