(REQ) Quick User Delete

ungovernable

New Member
http://www.vbulletin.org/forum/showthread.php?t=142681


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.

Codedisplayerror: (Update license status)

You cannot view code until you prove your license status


Add this under that part


Codedisplayerror: (Update license status)

You cannot view code until you prove your license status



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.
 

SpeedRazors

New Member
Find this in "POSTBIT/postbit legacy" whichever you use.
Code:
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>
Add this under that part

Code:
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.
 
Top