2 Sides, One Mind
Moderator
Draw your sword, cut the light, Cut the moon with all your might.
Posts: 272
|
Post by 2 Sides, One Mind on Feb 4, 2004 22:01:02 GMT -5
This goes in the forum footers:
<script type="text/javascript"> /* Created by Peter
This code cannot be reposted (independently or with other scripts) at anywhere other than SSDesigns or ProBoards, without express permission from its creator. This header must stay intact at all times.
http://ssdesigns.proboards17.com */
//change the message displayed here var Message = "No double posting allowed on these forums!!"
var table = document.getElementsByTagName("table") var isAd = document.getElementsByTagName("TD") if(isAd[5].innerHTML.match(/action=admin/i)){} else {StopThem()}
function StopThem(){ var Auser = document.getElementsByTagName("A") for(a=0;a<Auser.length;a++){ if(Auser[a].href.indexOf("=profile&username=")!=-1){ TheUser = Auser[a].href.split(/=profile/i) for(t=0;t<table.length;t++){ for(r=0;r<table[t].rows.length;r++){ for(c=0;c<table[t].rows[r].cells.length;c++){ if(table[t].width=="100%" && table[t].className.match("windowbg") && table[t].rows[r].cells[c].className.match("titlebg") && table[t].rows[r].cells[c].innerHTML.match(/Topic Summary/i)) { var rows = table[t].rows; var lastrow = rows[rows.length - 2] var Achec = lastrow.getElementsByTagName("A") for(ac=0;ac<Achec.length;ac++){ if(Achec[ac].href.indexOf("=viewprofile&username=")!=-1){ if(Achec[ac].href.indexOf(TheUser[1])!=-1){ var DisSub = document.getElementsByTagName("input") for (inp=0;inp<DisSub.length;inp++){ if(DisSub[inp].type=="submit"){DisSub[inp].disabled=true; document.postmodify.message.value=Message} }}}}}}}}}}} </script>
|
|
|
Post by iNjECTi0N on Feb 6, 2004 22:58:26 GMT -5
Thats a great code, Ped should use it.
Do you write these all up yourself, or do you just get them off of other sites?
|
|
2 Sides, One Mind
Moderator
Draw your sword, cut the light, Cut the moon with all your might.
Posts: 272
|
Post by 2 Sides, One Mind on Feb 6, 2004 23:00:24 GMT -5
Nope write them myself I go by the name A_Leon on SSDesgins
|
|
|
Post by iNjECTi0N on Feb 6, 2004 23:03:38 GMT -5
Ah, very good man.
I gotta try some of this stuff.
|
|
2 Sides, One Mind
Moderator
Draw your sword, cut the light, Cut the moon with all your might.
Posts: 272
|
Post by 2 Sides, One Mind on Feb 6, 2004 23:11:21 GMT -5
If you have paintshop pro 8 you can make a scriptsheet.
|
|