|
Quick User Delete In PostBit
This modification is in the archives.
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"> <a href="admincp/user.php?do=remove&u=$post[userid]" rel="nofollow"><img class="inlineimg" src="YOURDELETEUSERIMAGEURL" alt="<phrase 1="$post[username]">delete user</phrase>" border="0" /></a> </if> 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. Download No files for download. |
|||||||||
Similar Mods
| Moderators Functions Hard Delete (physical delete) By User Group | vBulletin 3.7 Add-ons |
| Add-On Releases Quick Ban + Quick Edit User from postbit - Instant action on Spammers! | vBulletin 3.7 Add-ons |