Ross
eCreations Staff
Posts: 1,768
|
Post by Ross on May 11, 2007 13:28:18 GMT
Main Footer<script type="text/javascript"> <!-- /* PM Member Groups From Admin Panel Ross - freelancedev.net Please Do Not Repost */
var groups = new Array(); var g = 0; groups[g++] = ["Administrators", ["admin", "conall", "lisa", "lex", "mortem"]];
if(document.title.match(/-\sAdmin\sHome/)) { var d = document.getElementsByTagName("div"); for(i=0; i<d.length; i++){ if(d.item(i).style.paddingLeft == '35px' && d.item(i).innerHTML.match(/PM\sAll/i)) { for(g=0; g<groups.length; g++) { d.item(i).appendChild(document.createElement("br")); var a = document.createElement("a"); a.href = '?action=pmsend&to=' + groups[g][1].join(','); a.innerHTML = 'PM All ' + groups[g][0]; d.item(i).appendChild(a); } break; } } } //--> </script>Edit/Repeat the line in bold for each member group to add. The blue is the group name. The red are the usernames of the members of the group. Each name should be wrapped in quatation marks and seperated with a comma.
|
|