![]() |
Quick User Delete In PostBit
My site gets spam bots alot and i'm always too lazy to go into the admincp and find the username and delete it. so i wrote this.
It injects a image into the postbit around the online/infraction images. Find this in "POSTBIT/postbit legacy" whichever you use. Code:
<if condition="$show['infractionlink']"><a href="infraction.php?$session[sessionurl]do=report&p=$post[postid]" rel="nofollow"><img class="inlineimg" src="$stylevar[imgdir_button]/infraction.gif" alt="<phrase 1="$post[username]">$vbphrase[add_infraction_for_x]</phrase>" border="0" /></a></if> Code:
<if condition="$bbuserinfo[userid] == YOURUSERID"> Only problem is it doesnt redirect you back to the thread, If anyone would like to tell me how to do that itd be great. |
Nice idea, cerjam. It's also good to hear I'm not the only one who finds constantly having to have to login to the Admin CP to ban users over and over again a hassle. ;)
|
Just curious, why do you want to delete the user instead of using an infraction to ban him. If you delete them they can reuse the same name/email address again.
|
Agreed.
|
Nice mod, although I wont be installing.
Not to take anything away from your mod. But since Ive installed this mod I have had ZERO spambots sign up since. https://vborg.vbsupport.ru/showthread.php?t=124828 |
Quote:
Not to mention if you delete them then you will loose that number on your total members but if you just ban then the number stays but the spammer is gone.:) |
thanks for your hack..but i agree with everybody else there are multiple hacks for spammer that you can install to stop this, which i have installed and it works great..
|
why waste the space in the memberlist for 300 banned spam bots? this is so much cleaner. and if nothing else, someone can learn to make a postbit hack from this
|
I wish there was a button like this to delete user + all his messages.
|
You can easily do that with a query.
PHP Code:
|
All times are GMT. The time now is 01:13 PM. |
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:
|