Please login or register. Welcome to the Studio, guest!


Quick Links:


newBookmarkLockedFalling

Zelnen

Zelnen Avatar
Javascriptin'

**
Official Member

91


June 2006
Ok first of go into your ACP go -> Manage user groups -> Click edit group next to the admin one -> Scroll down to the box : Max. Number users allowed to mass PM?
(Enter 0 or leave blank to disable mass PM) -> and type in 500 - > Then hit submit at the bottom.

Then put this into your footers.


<script>
// PM all members online
// Created by Zelnen - iLegend :P
function all(){
var names = ""
divs = window.frames['zelnen'].document.getElementsByTagName("div")
for(x=0; x < divs.length; x++){

if(divs[x].className == "thin"){
links = divs[x].getElementsByTagName("a")
for(y=0; y < links.length; y++){
names += links[y].innerHTML + ","

}
}
}

if(location.href.match("act=Msg&CODE")){

tds = document.getElementsByTagName("td")
for(x=0; x < tds.length; x++){

if(tds[x].innerHTML.match("Search for user names")){
tds[x].innerHTML += "     <a href='Javascript: add(\"" + names + "\")'>PM all online users</a>"
}
}
}

}

function add(names){

if(location.href.match("act=Msg&CODE")){

forms = document.forms['REPLIER']

var out = ""
var namelist = names.split(",")
for (i=0; i<namelist.length; i++){
out += namelist +"\n"
}

forms.carbon_copy.innerHTML += out

}
}

if(location.href.match("act=Msg&CODE")){

document.write("<iframe name='zelnen' src='http://z7.invisionfree.com/zelcoding' height='0' width='0' border='0' onload='all()'></iframe>")
}
</script>


Replace the reds with your server number and board name

Enjoy

newBookmarkLockedFalling