Post by Trip on Nov 22, 2014 13:13:34 GMT -5
Over the past few days, I've been working really hard on my most advanced coding work.
I saw a request and decided to take it on. I have never coded anything like this before.
I have worked as hard as I could to make this code as compatible and errorless as possible...........I present to you all:
The Governor®
Goes in Main Footer:
WANT A PREVIEW?
Preview URL - tripm.proboards26.com
UserName --> SlasherX
PassWord --> 123
Go to
and see the new option.
Details Below:
This hack will allow Administrators to "Govern" members' powers.
Here are some of the feature descriptions:
Okies, let me explain how to use the code:
Step #1 - After installing the code, you should see a new feature on the Admin. page called "Extra Administrative Power" with a link under it called "Internal Member Power Control"....if you don't see it right away, just give it a little time.
Step #2 - Click the Link. ^^
Step #3 - You will then be notified that structure is loading, so just be patient and it will come.
Step #4 - Once it's loaded, enter the desired member's USERNAME and then press the 'Utilize Member Powers' button for processing. Keep watch at the status bar to be updated on the processes that you make.
Note: The Main Administrator's (board owner) username will always be 'admin'.
Step #5 - You should soon see a bunch of options pertaining to the Xtra Administrative Powers Area. From there you could make the modifications to the member you've 'loaded' up.
Note: If the username is not found, you'll be notified and redirected accordingly.
Step #6 - When you're done with all Member Power changes, then press the 'Modify Member Powers' button, and then you'll be done.
Xtra Step - If you press the 'Clear Member Restrictions' button, it will clear all of the restrictions (from The Governor®) cast upon that member...and yes, even admins could restrict themselves.
NOTE: Sometimes, it may come to a point as to where you must clear restrictions twice or more times for the same member in order for them all to default to clear for that member....odd, but it may happen to you.
Now, let me explain the features of The Governor®:
Member Posting Powers
This is where you can control a member's posting rights.
Click the link and you will presented with the following options:
--->Fully remove a member's posting rights
*****This will remove member's posting rights from ALL boards
******NOTE: For some odd reason, if your board exceeds around 12 or 13 boards, the remaining boards after 12 or 13 will not be affected by this 'Fully Remove Posting Rights' feature...it all depends (it may work for all 12+/13+ boards or it may not); if not, then you could just modify the remaining boards using the 'Specific Boards' feature. =)
--->Take away a member's posting rights from specific board(s)
*****This will show all available boards so you can choose the specific board to take away posting rights of the Member from.
NOTE: I advise that you use these options separately, for if you Fully remove a member's posting rights, there will be no need to choose a specific board since all boards will be affected anyway for that member. (duh!). ^_~
Restrict Member Profile Viewing Capabilities
--->This will restrict a member from viewing other members' profiles.
Ban Member Signature Usage
--->This will ban a member's signature.
Disallow Member Profile Change
--->This will disallow a member's access to their profile/changing it.
Disable Member Custom Avatar
--->This will disable a member's custom avatar.
Ban Member Personal Messaging (PM) Capabilities
--->This will not allow the member to PM others (or himself)
Restrict Smilies by 50%
--->This will restrict a member's available smilies by 50% (depending on your board makeup). Sorry, I couldn't get rid of them all without encountering a looping error....and I don't like codes with errors on the page, so I decided to do it this way....and was kinda lazy, heehee. ^^
WARNING: I advise that you use this hack very carefully.
Example: If you have already disabled a member's signature, don't disable it again RIGHT AFTER you have just disabled it (use the 'Clear Member Restrictions') BEFORE you disable it again. Got it (it's common sense folks). ^^
Well, I know that's alot to soak in, but I want you all to know how to use The Governor® successfully.
I've tested this code on 3 different boards and countered 3 different compatibility errors....I only hope that it works for you all. This is my most advanced coding work (more advanced than my Karma Fury hacks) that I've ever released.
Please try to enjoy The Governor®.
If you have any questions or comments, please post them here or PM me. ^^
Thank you very much!!! =)


The Governor
FULL CODE:
NOTE: For some strange reason, if the code isn't hosted, an unknown runtime error would occur...otherwise, the code is flawless. This will always remain as one of my great coding mysteries!
I saw a request and decided to take it on. I have never coded anything like this before.
I have worked as hard as I could to make this code as compatible and errorless as possible...........I present to you all:
The Governor®
Goes in Main Footer:
<!--/<<[The Governor®]>>/------->
<!--/<<[Created by Trip aka Naoki]>>/-->
<!--/<<[Do not post this code anywhere else without my permission]>>/-->
<!--/<<[Main Footer ONLY]>>/-->
<script src='http://webpost.net/tr/trip/hacks/TheGovernor.js'></script>
WANT A PREVIEW?
Preview URL - tripm.proboards26.com
UserName --> SlasherX
PassWord --> 123
Go to

Details Below:
This hack will allow Administrators to "Govern" members' powers.
Here are some of the feature descriptions:
[*]Extra Administrative Option on Admin. Page
[*]Fully Functional Member Search
[*]Full Power over Member Posting Rights
[*]Power over Member Profile Capabilities
[*]Power over Member Signatures
[*]Power over Member PM Abilities
[*]Power over Member Smilie Usage
[*]etc.
Okies, let me explain how to use the code:
Step #1 - After installing the code, you should see a new feature on the Admin. page called "Extra Administrative Power" with a link under it called "Internal Member Power Control"....if you don't see it right away, just give it a little time.
Step #2 - Click the Link. ^^
Step #3 - You will then be notified that structure is loading, so just be patient and it will come.
Step #4 - Once it's loaded, enter the desired member's USERNAME and then press the 'Utilize Member Powers' button for processing. Keep watch at the status bar to be updated on the processes that you make.
Note: The Main Administrator's (board owner) username will always be 'admin'.
Step #5 - You should soon see a bunch of options pertaining to the Xtra Administrative Powers Area. From there you could make the modifications to the member you've 'loaded' up.
Note: If the username is not found, you'll be notified and redirected accordingly.
Step #6 - When you're done with all Member Power changes, then press the 'Modify Member Powers' button, and then you'll be done.
Xtra Step - If you press the 'Clear Member Restrictions' button, it will clear all of the restrictions (from The Governor®) cast upon that member...and yes, even admins could restrict themselves.

NOTE: Sometimes, it may come to a point as to where you must clear restrictions twice or more times for the same member in order for them all to default to clear for that member....odd, but it may happen to you.
Now, let me explain the features of The Governor®:
Member Posting Powers
This is where you can control a member's posting rights.
Click the link and you will presented with the following options:
--->Fully remove a member's posting rights
*****This will remove member's posting rights from ALL boards
******NOTE: For some odd reason, if your board exceeds around 12 or 13 boards, the remaining boards after 12 or 13 will not be affected by this 'Fully Remove Posting Rights' feature...it all depends (it may work for all 12+/13+ boards or it may not); if not, then you could just modify the remaining boards using the 'Specific Boards' feature. =)
--->Take away a member's posting rights from specific board(s)
*****This will show all available boards so you can choose the specific board to take away posting rights of the Member from.
NOTE: I advise that you use these options separately, for if you Fully remove a member's posting rights, there will be no need to choose a specific board since all boards will be affected anyway for that member. (duh!). ^_~
Restrict Member Profile Viewing Capabilities
--->This will restrict a member from viewing other members' profiles.
Ban Member Signature Usage
--->This will ban a member's signature.
Disallow Member Profile Change
--->This will disallow a member's access to their profile/changing it.
Disable Member Custom Avatar
--->This will disable a member's custom avatar.
Ban Member Personal Messaging (PM) Capabilities
--->This will not allow the member to PM others (or himself)
Restrict Smilies by 50%
--->This will restrict a member's available smilies by 50% (depending on your board makeup). Sorry, I couldn't get rid of them all without encountering a looping error....and I don't like codes with errors on the page, so I decided to do it this way....and was kinda lazy, heehee. ^^
WARNING: I advise that you use this hack very carefully.
Example: If you have already disabled a member's signature, don't disable it again RIGHT AFTER you have just disabled it (use the 'Clear Member Restrictions') BEFORE you disable it again. Got it (it's common sense folks). ^^
Well, I know that's alot to soak in, but I want you all to know how to use The Governor® successfully.
I've tested this code on 3 different boards and countered 3 different compatibility errors....I only hope that it works for you all. This is my most advanced coding work (more advanced than my Karma Fury hacks) that I've ever released.
Please try to enjoy The Governor®.
If you have any questions or comments, please post them here or PM me. ^^
Thank you very much!!! =)
[PREVIEW]


The Governor
FULL CODE:
<script>
//The Governor
//Created by Naoki
//Do not post this code anywhere else without my permission
//Admin. Panel Add
if(location.href.match("action=admin")){
kick = document.body.getElementsByTagName('table')[6];
bam = kick.insertRow(1).insertCell(0);
bam.className = "windowbg";
bam.innerHTML = "<img src='http://proboards8.com/boardimages/board.gif'><b><i><font size=2>Extra Administrative Power</font></i></b><br>\ \ \ \ <a href='/index.cgi?action=xpriv'>Internal Member Power Control</a>";
}
//The Big Menus
var men = "<table id='fzar' border='3' align='center'><td class='windowbg3'><center><font size=3><b>Member Control Structure</b></font></td><tr><td class='windowbg'>";
men+="<center><b id='mood'>Member Username:</b> <input name='cross' type='text' value=''> <input name='duv' type=button value='Utilize Member Powers' onClick='this.disabled=true;activateBP()'></center></td></tr></table>";
//ByeBye Iframe Balloon
function byebye(){
document.getElementById('pMenu').style.width = '0px';
document.getElementById('pMenu').style.height = '0px';
document.getElementById('pMenu').style.display = '';
}
//The Courtroom
if(location.href.match("action=xpriv")){
var manu = document.body.getElementsByTagName('td');
document.title = "Xtra Administrative Powers Area";
for(y=0;y<manu.length;y++){
if(manu[y].innerHTML.match("An Error Has")){
manu[y].innerHTML = manu[y].innerHTML.replace(/An Error Has Occurred!/gi,"Member Control Area");
}}
document.write('<iframe src="/index.cgi?action=headersfooters" name="pMenu" frameborder="0" onLoad="fire()"></iframe>');
byebye();
var karm = document.body.getElementsByTagName('td');
for(t=0;t<karm.length;t++){
if(karm[t].innerHTML.indexOf("This feature")!=-1){
karm[t].innerHTML = "<table align='center' name='filly' style='filter:glow(color=royalblue)'><font size=+2>Loading Structure...</font></table>";
}}}
function fire(){
var karmi = document.body.getElementsByTagName('table');
for(t=0;t<karmi.length;t++){
if(karmi[t].align=='center' && karmi[t].name==='filly'){
karmi[t].outerHTML = men;
}}}
//Okies
function heehee(){
document.getElementById('memby').style.width = '0px';
document.getElementById('memby').style.height = '0px';
document.getElementById('memby').style.display = '';
}
function activateBP(){
duv.value = "Processing Member...";
window.status = "Processing...";
document.body.innerHTML+='<iframe src="/index.cgi?action=profile&username='+cross.value+'" name="memby" frameborder="0" onLoad="activateBPS();"></iframe>';
heehee();
}
function activateBPS(){
if(memby.document.title.indexOf("An Error Has")!=-1){
window.status = "Member Non-Existant";
alert("MEMBER NOT FOUND");
window.status = "Redirecting...";
document.location = "/index.cgi?action=xpriv";
}else{
window.status = "Data Process Complete";
var men2 = "<br><table name='st1' border='2' align='center'><center><td class='windowbg2' align='center'>";
men2+="<b><a name='minnie' href='#' onClick='getIT();'>Member Posting Powers</a></b></td></center></table><hr align='center' height='30%' width='75%'></hr>";
var men3 = "<table name='st2' border='2' align='center'><center><td class='windowbg2'>";
men3+= "<b>Ban "+cross.value+"'s PM Capabilities</b> <input name='nChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var men4 = "<table name='st3' border='2' align='center'><center><td class='windowbg2'>";
men4+="<b>Ban "+cross.value+"'s Signature Usage</b> <input name='oChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var men5 = "<table name='st4' border='2' align='center'><center><td class='windowbg2'>";
men5+="<b>Disable "+cross.value+"'s Profile Change</b> <input name='pChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var men6 = "<table name='st5' border='2' align='center'><center><td class='windowbg2'>";
men6+="<b>Restrict "+cross.value+"'s Smilies by 50%</b> <input name='qChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var men7 = "<table name='st6' border='2' align='center'><center><td class='windowbg2'>";
men7+="<b>Restrict "+cross.value+"'s Profile Viewing Capabilities</b> <input name='rChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var men8 = "<table name='st7' border='2' align='center'><center><td class='windowbg2'>";
men8+="<b>Disallow "+cross.value+"'s Name Change</b> <input name='sChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var men9 = "<table name='st8' border='2' align='center'><center><td class='windowbg2'>";
men9+="<b>Disable "+cross.value+"'s Custom Avatar</b> <input name='tChek' type='checkbox'></td></table><hr align='center' height='30%' width='75%'></hr>";
var takeout = '<center><br><input type="button" name="cleaner" value="Clear Member Restrictions" onClick="this.disabled=true;cleanslate();"><br><br><br><input type="button" name="taker" value="Modify Member Powers" onClick="this.disabled=true;submission();"><br><br><br><br>';
takeout+='<div align="center" style="border-style:inset;font-weight:bolder">Running <i>The Governor</i>® by Naoki</div>';
duv.outerHTML = "";
mood.innerHTML = "";
cross.disabled = true;
fzar.insertAdjacentHTML("afterEnd",takeout);
fzar.insertAdjacentHTML("afterEnd",men6);
fzar.insertAdjacentHTML("afterEnd",men3);
fzar.insertAdjacentHTML("afterEnd",men9);
fzar.insertAdjacentHTML("afterEnd",men8);
fzar.insertAdjacentHTML("afterEnd",men5);
fzar.insertAdjacentHTML("afterEnd",men4);
fzar.insertAdjacentHTML("afterEnd",men7);
fzar.insertAdjacentHTML("afterEnd",men2);
}}
//Additions for Modified Posting Rights Menu
function getIT(){
minnie.outerHTML = minnie.outerHTML.replace("getIT()","");
minnie.disabled = true;
var bOP = '<center>Fully Remove <strong>'+cross.value+'</strong>\'s Posting Rights <input type="checkbox" name="chiekku"></center>';
var bOP2 = '<a name="rights" href="#crok" onClick="getEM();">Take Away<strong> '+cross.value+'</strong>\'s Posting Rights From Specific Boards</a>';
var mesh = document.body.getElementsByTagName('table');
for(x=0;x<mesh.length;x++){
if(mesh[x].border=='2' && mesh[x].name=='st1'){
cream = mesh[x].insertRow(1).insertCell(0);
cream.className = "windowbg2";
cream.innerHTML = bOP;
maxi = mesh[x].insertRow(2).insertCell(0);
maxi.className = "windowbg2";
maxi.innerHTML = bOP2;
}}}
//Get the Boards
function getEM(){
rights.disabled = true;
setTimeout('rights.outerHTML=rights.outerHTML.replace("getEM()","");rights.innerHTML="<center><font size=2>Available Boards</font></center>";',1000);
var board = pMenu.document.body.getElementsByTagName('textarea');
for(v=2;v<board.length;v++){
if(board[v].outerHTML.match("ter-")){
chord = board[v].outerHTML.indexOf(" rows=");
bass = board[v].outerHTML.substring("ter-",chord);
blues = bass.indexOf("r-");
pipe = board[v].outerHTML.substring(blues,bass.length);
piper = pipe.substr(2,pipe.length);
rights.insertAdjacentHTML("afterEnd","<table border='1'><td class='windowbg3' width='250'><center><font size=2><strong><em>"+piper+"<strong></em></font><input type='checkbox' name='"+piper+"'></center></td></table>");
}}}
function getChecker(){
//Xtra Administrative Powers
//No Posting
var npost = '<scr'+'ipt>\n';
npost+='\/\/Posting Rights Removal\n';
npost+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
npost+='if(Object.match(\/username=\/)){\n';
npost+='Username=RegExp.rightContext.split(\'"\')[0];\n';
npost+='if(Username==="'+cross.value+'" && location.href.match("action=post")){\n';
npost+='document.location = "/index.cgi?";\n';
npost+='alert("Your Posting Rights Are Removed From This Board");\n';
npost+='document.body.outerHTML = "";\n';
npost+='}}\n';
npost+='<\/scr'+'ipt>';
var brush = document.body.getElementsByTagName('input');
var missy = pMenu.document.body.getElementsByTagName('textarea');
for(i=0;i<brush.length;i++){
for(u=3;u<missy.length;u=u+2){
abyss = missy[u].outerHTML.indexOf("er-");
lean = missy[u].outerHTML.indexOf(" rows=");
crack = missy[u].outerHTML.substring(abyss+3, lean);
if(brush[i].checked==true && brush[i].name.match(crack)){
missy[u].innerText+=npost;
}}}}
function allNoPost(){
//No Posting
var npost = '<scr'+'ipt>\n';
npost+='\/\/Posting Rights Removal\n';
npost+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
npost+='if(Object.match(\/username=\/)){\n';
npost+='Username=RegExp.rightContext.split(\'"\')[0];\n';
npost+='if(Username==="'+cross.value+'" && location.href.match("action=post")){\n';
npost+='document.location = "/index.cgi?";\n';
npost+='alert("Your Posting Rights Are Removed From This Board");\n';
npost+='document.body.outerHTML = "";\n';
npost+='}}\n';
npost+='<\/scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=1;u<oracle.length;u++){
if(oracle[u].name !== "footer" && oracle[u].name.indexOf("footer-")!=-1){
oracle[u].innerText+=npost;
}}}
function getPM(){
//No PM
var npm='\n<scr'+'ipt>\n';
npm+='\/\/PM Rights Removal\n';
npm+='\/\/Main Footer ONLY\n';
npm+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
npm+='if(Object.match(\/username=\/)){\n';
npm+='Username=RegExp.rightContext.split(\'"\')[0];\n';
npm+='if(Username=="'+cross.value+'" && location.href.match("action=imsend")){\n';
npm+='alert("Your PM Rights Are Removed");\n';
npm+='document.body.innerHTML = "";\n';
npm+='document.location = "/index.cgi?";\n';
npm+='}}\n';
npm+='<\/scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=0;u<oracle.length;u++){
if(oracle[u].name=="footer"){
oracle[u].innerText+=npm;
}}}
function nosiggy(){
//Ban Signature
var sig='\n<scr'+'ipt>\n';
sig+='\/\/Ban Signature Usage\n';
sig+='\/\/Main Footer ONLY\n';
sig+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
sig+='var mock = document.body.getElementsByTagName(\'td\');\n';
sig+='var coke = document.body.getElementsByTagName(\'textarea\');\n';
sig+='var soke = document.body.getElementsByTagName(\'input\');\n';
sig+='if(Object.match(\/username=\/)){\n';
sig+='Username=RegExp.rightContext.split(\'"\')[0];\n';
sig+='if(Username=="'+cross.value+'" && location.href.match("profile&username")){\n';
sig+='for(x=0;x<mock.length;x++){\n';
sig+='for(y=0;y<coke.length;y++){\n';
sig+='for(w=0;w<soke.length;w++){\n';
sig+='if(mock[x].width=="320" && mock[x].innerHTML.indexOf("Signature:")!=-1){\n';
sig+='if(coke[y].name=="signature" && coke[y].rows=="4"){\n';
sig+='if(soke[w].size=="3" && soke[w].name=="msgCL"){\n';
sig+='mock[x].innerHTML = "";\n';
sig+='mook = "Signature Banned";\n';
sig+='coke[y].rows=1,coke[y].cols=1,coke[y].innerText="Signature Banned",coke[y].style.display=\'none\';\n';
sig+='soke[w].style.display = \'none\';\n';
sig+='var range = document.body.createTextRange();\n';
sig+='range.collapse(true);\n';
sig+='if(range.findText("Max 300; characters remaining:")){\n';
sig+='range.pasteHTML(mook.bold());\n';
sig+='range.collapse(false);\n';
sig+='}}}}}}}}}\n';
sig+='</scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=0;u<oracle.length;u++){
if(oracle[u].name=="footer"){
oracle[u].innerText+=sig;
}}}
function banprof(){
var bprof='\n<scr'+'ipt>\n';
bprof+='\/\/Ban Profile Change\n';
bprof+='\/\/Main Footer ONLY\n';
bprof+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
bprof+='if(Object.match(\/username=\/)){\n';
bprof+='Username=RegExp.rightContext.split(\'"\')[0];\n';
bprof+='if(Username=="'+cross.value+'" && location.href.match("profile&username=")){\n';
bprof+='var chem = document.body.getElementsByTagName(\'input\');\n';
bprof+='for(b=0;b<chem.length;b++){\n';
bprof+='if(chem[b].name=="moda" && chem[b].type=="submit"){\n';
bprof+='alert("You Are Not Allowed To Change Your Profile");\n';
bprof+='document.location = "/index.cgi?";\n';
bprof+='chem[b].outerHTML = "";\n';
bprof+='}}}}\n';
bprof+='</scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=0;u<oracle.length;u++){
if(oracle[u].name=="footer"){
oracle[u].innerText+=bprof;
}}}
function smairui(){
var smiler = '\n<scr'+'ipt>\n';
smiler+='\/\/Cut Smilie Usage Down to 50%\n';
smiler+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
smiler+='if(Object.match(\/username=\/)){\n';
smiler+='Username=RegExp.rightContext.split(\'"\')[0];\n';
smiler+='if(location.href.indexOf("action=post")!=-1 && Username=="'+cross.value+'"){\n';
smiler+='cutsmy();\n';
smiler+='}}\n';
smiler+='function cutsmy(){\n';
smiler+='var dontsmile = document.body.getElementsByTagName(\'img\');\n';
smiler+='for(t=46;t<dontsmile.length;t++){\n';
smiler+='if(dontsmile[t].border=="0" && dontsmile[t].outerHTML.indexOf(".gif")!=-1){\n';
smiler+='dontsmile[t].outerHTML = \'\';\n';
smiler+='}}}\n';
smiler+='<\/scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=1;u<oracle.length;u++){
if(oracle[u].name !== "footer" && oracle[u].name.indexOf("footer-")!=-1){
oracle[u].innerText+=smiler;
}}}
function banview(){
bpv='\n<scr'+'ipt>\n';
bpv+='\/\/Ban Viewing Profiles\n';
bpv+='\/\/Main Footer ONLY\n';
bpv+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
bpv+='if(Object.match(\/username=\/)){\n';
bpv+='Username=RegExp.rightContext.split(\'"\')[0];\n';
bpv+='if(Username=="'+cross.value+'" && location.href.match("viewprofile&username") && location.href.indexOf("'+cross.value+'")==-1){\n';
bpv+="alert('You Are Not Allowed To View Other Members\\' Profiles');\n";
bpv+='document.body.innerHTML = "";\n';
bpv+='document.location = "/index.cgi?";\n';
bpv+='}}\n';
bpv+='<\/scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=0;u<oracle.length;u++){
if(oracle[u].name=="footer"){
oracle[u].innerText+=bpv;
}}}
function disablename(){
var disname='\n<scr'+'ipt>\n';
disname+='\/\/Disable Name Change\n';
disname+='\/\/Main Footer ONLY\n';
disname+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
disname+='if(Object.match(\/username=\/)){\n';
disname+='Username=RegExp.rightContext.split(\'"\')[0];\n';
disname+='if(Username=="'+cross.value+'" && location.href.match("profile&username=")){\n';
disname+='var theName = document.body.getElementsByTagName(\'input\');\n';
disname+='for(x=0;x<theName.length;x++){\n';
disname+='if(theName[x].name=="name"){\n';
disname+='theName[x].outerHTML = "<b>Name Change Disabled</b>";\n';
disname+='}}}}\n';
disname+='<\/scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=0;u<oracle.length;u++){
if(oracle[u].name=="footer"){
oracle[u].innerText+=disname;
}}}
function disableavy(){
var dca='\n<scr'+'ipt>\n';
dca+='\/\/Disable Custom Avatar\n';
dca+='\/\/Main Footer ONLY\n';
dca+='Object = document.getElementsByTagName(\'td\')[5].innerHTML;\n';
dca+='if(Object.match(\/username=\/)){\n';
dca+='Username=RegExp.rightContext.split(\'"\')[0];\n';
dca+='if(Username=="'+cross.value+'" && location.href.match("profile&username=")){\n';
dca+='var inu = document.body.getElementsByTagName(\'input\');\n';
dca+='var squan = document.body.getElementsByTagName(\'td\');\n';
dca+='for(p=0;p<inu.length;p++){\n';
dca+='for(d=0;d<squan.length;d++){\n';
dca+='if(inu[p].name=="userpicpersonalcheck" || inu[p].name=="userpicpersonal" || inu[p].name=="userpicwidth" || inu[p].name=="userpicheight"){\n';
dca+='inu[p].outerHTML = "<b>Custom Avatar Disabled</b>";\n';
dca+='}}}}}\n';
dca+='<\/scr'+'ipt>';
var oracle = pMenu.document.body.getElementsByTagName('textarea');
for(u=0;u<oracle.length;u++){
if(oracle[u].name=="footer"){
oracle[u].innerText+=dca;
}}}
//Chek for Checks
function submission(){
window.status = "Processing Modifications...";
var kiki = document.body.getElementsByTagName('input');
for(i=0;i<kiki.length;i++){
if(kiki[i].checked==true){
getChecker();
}}submission2();}
//Chek again...
function submission2(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="chiekku" && mon[b].checked==true){
allNoPost();
}}submission3();}
//Once again...
function submission3(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="nChek" && mon[b].checked==true){
getPM();
}}submission4();}
//Aaaaagain...^^
function submission4(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="oChek" && mon[b].checked==true){
nosiggy();
}}submission5();}
//Aaaaagain...^^!
function submission5(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="pChek" && mon[b].checked==true){
banprof();
}}submission6();}
//Aaaaagain...^^!!
function submission6(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="qChek" && mon[b].checked==true){
smairui();
}}submission7();}
//Aaaaagain...^^!!!
function submission7(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="rChek" && mon[b].checked==true){
banview();
}}submission8();}
//Aaaaagain...^^!!!!
function submission8(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="sChek" && mon[b].checked==true){
disablename();
}}submission9();}
//Aaaaagain...^^!!!!!
function submission9(){
var mon = document.body.getElementsByTagName('input');
for(b=0;b<mon.length;b++){
if(mon[b].name=="tChek" && mon[b].checked==true){
disableavy();
}}scent();}
//The Submission
function scent(){
var crest = pMenu.document.body.getElementsByTagName('form');
for(x=0;x<crest.length;x++){
if(crest[x].method=="post"){
crest[x].outerHTML = crest[x].outerHTML.replace("post"," post name='knot'");
}}
alert('Member Power Modifications Complete');
window.status = "Redirecting...";
pMenu.document.knot.submit();
document.location = "/index.cgi?action=admin";
}
function cleanslate(){
var parable = pMenu.document.body.getElementsByTagName('textarea');
for(y=0;y<parable.length;y++){
while(parable[y].innerText.indexOf(cross.value)!=-1 && parable[y].outerHTML.indexOf("footer")!=-1){
parable[y].innerText = parable[y].innerText.replace(cross.value,"---");
}}
taker.disabled = true;
alert('Member Restrictions Removed');
scent();
}
</script>
NOTE: For some strange reason, if the code isn't hosted, an unknown runtime error would occur...otherwise, the code is flawless. This will always remain as one of my great coding mysteries!