inherit
Handsome Devil
20992
0
Oct 26, 2012 20:34:21 GMT -8
ⓦ৹₪deⓡ
No animals were harmed in the feeding of this human.
925
March 2004
chickenturkeybacon
|
Post by ⓦ৹₪deⓡ on Oct 24, 2005 21:45:45 GMT -8
This code will make the Reply and Quote buttons reply to all the users the PM was sent to. So if the PM was sent to admin, user1, user2, and you. When you hit Reply or Quote, your To: field will automatically have all all 4 usernames already in it. Please do NOT PM me for requests or support. That's what the coding boards are for. Enjoy. ~Wonder<script> //Reply to All in PMs v1.0
//Copyright 10-25-2005 by ~Wonder //May be reposted anywhere as long as this header remains in tact
//Put in Global Footer if(location.href.match(/action\=pmview/)) { a=document.getElementsByTagName("a"); temp=""; for(i=0;i<a.length;i++) { a[i].href.match(/\[replyall\=(.+)\]/)?a[i].style.display="none":""; temp=RegExp.$1; } for(i=0;i<a.length;i++) { (a[i].href.match(/action\=pmsend&/) && temp.length>0)?a[i].href=a[i].href.replace(/&?to\=\w*/,"")+"&to="+temp:""; } } 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>
|
|