Matt
Graphics Admin
Great admin or greatest admin?
Posts: 4,891
|
Post by Matt on Apr 20, 2006 16:57:35 GMT -5
This code will show all the recipients of PMs sent after the code was installed.
Created By: Wonder
Main Footer
<script> //Show PM Recipients v1.0
//Copyright 01-10-2006 by ~Wonder //May be reposted anywhere as long as this header remains in tact
//Put in Main Footer if(location.href.match(/action\=pmview/)) { a=document.getElementsByTagName("a"); temp=""; for(i=0;i<a.length;i++) { if(a[i].href.match(/\[replyall\=(.+)\]/)) { a[i].style.display="none"; f=document.createElement("font"); f.innerHTML="<b>To:</b> "+RegExp.$1.replace(/,/g,", "); a[i].parentNode.parentNode.insertBefore(f,a[i].parentNode.parentNode.getElementsByTagName("hr")[0]); break; } } } if("undefined" != typeof(document.postForm) && "undefined" != typeof(document.postForm.to)) { document.postForm.onsubmit=addReplyAll; document.postForm.message.value=document.postForm.message.value.replace(/\[url\]http\:\/\/\[replyall\=.*?\]\[\/url\]/ig,""); } function addReplyAll() { if(document.postForm.nextaction.value=='post') { document.postForm.message.value+="[url]http://[replyall="+document.postForm.to.value+"][/url]"; disable(document.postForm); } } </script>
|
|