I'm sorry for being stupid, but I've seen the instructions (HERE) for how to remove all posts by a member, but I don't really understand how to edit it so it refers to one person. Can anyone advise?
Go here Admin Panel >>Modules>> HTML pages management>> Create a new HTML page
Thanks
Go here Admin Panel >>Modules>> HTML pages management>> Create a new HTML page
- 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){var
i=1;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}i++;b=a;var
x=b;setTimeout(function(){$.post("/post","p="+x+"&mode=delete&confirm=1")},400*i)}).length;a+=d;b?0==d?0==a?alert("No
messages to delete"):alert(a+" message"+(1<a?"s":"")+" of "+c+"
deleted"):setTimeout(function(){killall(c,a,b)},500+d*500):alert("You do
not have permission to use this tool")})};</script>
<input /><input type="button" onclick="killall(this.previousSibling.value)" value="Delete all messages" />
Thanks
Last edited by dotdotdot on August 18th 2014, 6:44 pm; edited 1 time in total (Reason for editing : added link)