Peter
New Member
God
Posts: 6
|
Post by Peter on Oct 27, 2004 10:23:47 GMT
<script> //Advanced IM reporter //Created by Webworldx - Proboards
var tSubject="Reporting User: " var tMessage="I am reporting this user for misconduct in the following thread: "
var URLtext = escape(location.href); URLtext = URLtext.replace(/&/g,"%26"); URLtext = URLtext.replace(/@/g,"%40"); URLtext = URLtext.replace(/\//g,"%2F"); URLtext = URLtext.replace(/\?/g,"%3F"); URLtext = URLtext.replace(/=/g,"%3D"); var tLocation = URLtext ;
if (location.href.indexOf("action=display") != -1) { tCat = document.getElementsByTagName('TD'); for (i=0;i<tCat.length;i++){ if (tCat[i].width=="20%" && tCat[i].innerHTML.match("Posts") && tCat[i].innerHTML.match("member is")){ tCat[i].innerHTML+='<center><a href="/index.cgi?action=imsend&to=admin&subject='+ tSubject + tCat[i].all(1).innerText + '&message=' + tMessage + tLocation + '">Report to Admin</a></center>' }}}
</script>
Report a user to admin, sets up a PM ready to send, includes user's Display Name in IM, aswell as the offending thread Board footers. Some people have reported Ad-Free text gets aligned left, although i've as of yet found no evidence for this. If you experience problems, please reply.
|
|