by Ace Mon 23 Nov - 15:06
Hello,
Yes it is. Create a new HTML page and use the following code:
- Code:
<script> var version_forum=0 </script>
<script>function killall(c,a,b){c=c.replace(/(^\s*|\s*$)/g,"");var e=["#page-body span.postdetails b a","#main-content .search .postbody h2.h3 a","#main-content .posthead h2 a","#main-content .postbody-head h3 a"][version_forum];a=a||0;b=b||9E15;$.get("/spa/"+encodeURIComponent(c),function(d){d=$(e,d).filter(function(){return/^\/t[1-9][0-9]*(p[1-9][0-9]*)?-[^#]*#[1-9][0-9]*$/.test($(this).attr("href"))}).each(function(){var a=+$(this).attr("href").substr($(this).attr("href").indexOf("#")+1);if(a>b){return b=0,!1}b=a;$.post("/post","p="+b+"&mode=delete&confirm=1")}).length;a+=d;b?0==d?0==a?alert(" There are no messages to be deleted "):alert(a+" message"+(1<a?"s":"")+" posted by "+c+" have been deleted"+(1<a?" ":"")):setTimeout(function(){killall(c,a,b)},500):alert("You are not authorized to use this tool")})};</script>
<input /><input type="button" onclick="killall(this.previousSibling.value)" value="Delete messages" />
var version_forum=
00 = phpbb2
1 = phpbb3
2 = punbb
3 = invision
Replace it with your forum version!Then, access this HTML page, type the username in it and press Delete. Depending on the volume of messages to be deleted, this code might take a while to process so just wait until the alert confirms that the messages have been deleted. Important to notice that you must be an administrator to erase every message (avoid conflicts with permissions).
I recommend you to erase this HTML page when you're done. And in case you need it in the future, just create it again.
Regards.