|
Post by 1[ZS]Stenaven on Sept 5, 2011 17:15:54 GMT -6
LOOK AT ALL THE CODING I HAD TO "DO"...<style type="text/css"> .dicebg {background-color: FFFFFF;border:solid 2px #000000;} .dicefont {color: 000000; font-weight:bold;} </style> <script> //Dice Rolls In Posts v1.1 //Copyright 4-23-2007 ~Wonder //May be reposted anywhere as long as this header remains in tact //Do you want the dice to line of horizontally(true) or vertically(false) diceAlignment=true; //Enter URL of the image you want to appear as the dice ubbc button UBBCdiceImage="http://img100.imageshack.us/img100/6118/diceicon9rx.gif"; //Enter the default # of sides defaultSides=6; //Enable dice in preview? true or false enablePreview=true; rs="";mainForm=""; if(document.postForm) { mainForm=document.postForm; if(location.href.match(/action\=modifypost/)){enablePreview=true;} mainForm.color.parentNode.innerHTML+="<a href=javascript:add(\"[dice="+defaultSides+"]\",\"\")><img src=\""+UBBCdiceImage+"\" alt=\"Insert Dice Roll\" border=\"0\"></a>"; mainForm.onsubmit=addRand; mainForm.message.value=mainForm.message.value.replace(/(\[rand\=\d+\])/ig,""); rs=RegExp.$1; rs=(/\[rand\=/.test(rs))?rs:""; if(location.href.match(/quote\=\d+/)) { mainForm.message.value=mainForm.message.value.replace(/(\[dice\=\d+\])/ig,""); rs=""; } } else if(location.href.match(/action\=display/)) { ta=document.getElementsByTagName("textarea"); if(ta.length>0 && ta[0].name=="message") { mainForm=ta[0].parentNode; mainForm.onsubmit=addRand; } } /////////////////////// if(location.href.match(/action\=(display|pmview|recent|userrecentposts|gotopost|search|calendarview)/) || (!location.href.match(/action\=/) && document.postForm && enablePreview)) { hr=document.getElementsByTagName("hr"); for(i=0;i<hr.length;i++) { if(typeof(hr .parentNode)!="undefined" && hr.parentNode.tagName=="TD" && typeof(hr.parentNode.lastChild)!="undefined" && typeof(hr.parentNode.lastChild.lastChild)!="undefined" && hr.parentNode.lastChild.lastChild!=null && hr.parentNode.lastChild.lastChild.nodeType!=1) { n=hr.parentNode.lastChild; rand=n.innerHTML.match(/\[rand\=\d+\]/); if(rand!=null) { n.innerHTML=n.innerHTML.replace(rand[0],""); rand=rand[0].replace(/[^\d]/g,""); dice=n.innerHTML.match(/\[dice\=\d+(\+\d+)?\]/ig); if(dice!=null) { for(k=0;k<dice.length;k++) { numb=dice[k].match(/\d+(\+\d+)?/); numb=numb[0].split("+"); addon=numb.length>1?parseInt(numb[1],10):0; numb=parseInt(numb[0],10); roll=Math.round((parseFloat(rand.substring(k,k+2)+"."+rand.substring(k+2,rand.length))/100)*(numb-1))+1+addon; n.innerHTML=n.innerHTML.replace(dice[k],"<table "+(diceAlignment?"style=\"display:inline\"":"")+" border=0 cellpadding=0 cellspacing=0><tr><td><table class=dicebg cellpadding=1 cellspacing=0><tr><td><center><font class=dicefont size=\"+1\"><b>"+roll+"</b><br><font size=\"1\">"+numb+" sides"+(addon>0?"+"+addon:"")+"</font></font></center></td></tr></table></td></tr></table> "); } } } } } } function addRand() { mainForm.message.value=mainForm.message.value.replace(/(\[rand\=\d+\])/ig,""); if((rs.length==0 && mainForm.message.value.match(/(\[dice\=\d+(\+\d+)?\])/)) && (enablePreview==true || (enablePreview==false && mainForm.nextaction.value=="post"))) { mainForm.message.value+="[rand="+(Math.random()+"").replace(/0\./,"")+(Math.random()+"").replace(/0\./,"")+(Math.random()+"").replace(/0\./,"")+( Math.random()+"").replace(/0\./,"")+"]"; } else { mainForm.message.value+=rs; } disable(mainForm); } </script>
<script type="text/javascript"> <!--
/*Colour Palette Square Picker - By iAlex - Open Source*/ if(document.postForm && document.postForm.color){ var iColor=document.postForm.color var iParent=iColor.parentNode.parentNode.parentNode; var iColorTr=iParent.cloneNode(true); iColorTr.childNodes[0].firstChild.innerHTML='Add Colors:'; iParent.parentNode.insertBefore(iColorTr, iParent.nextSibling); var iOpt=iColor.options; iOkay='<table><tr>'; for(i=1;i<iOpt.length;i++){ iOkay+='<td width="20" height="20" bgcolor="'+iOpt.item(i).value+'" onmouseover="this.style.cursor=\'pointer\';" onmousedown="javascript: aC(\''+iOpt.item(i).value+'\')"></td><td width="2"></td>'; } iOkay+='</tr></table>'; iColorTr.childNodes[1].innerHTML=iOkay iColor.style.display='none'; }
//--> </script>
<style type="text/css"><!-- /* Facebook Style Like/Dislike System v1.2 Copyright 12-08-2009 ~Wonder May not be reposted anywhere Place in Global Footer */ .likebg {background-color: #DADADA;} .likebg2 {background-color: #DADADA;} --></style> <script>
//Enter the URL of the image to the thumbs up icon likeimageurl="http://img192.imageshack.us/img192/2861/like.gif";
//Enter the URL of the image to the thumbs down icon dislikeimageurl="http://img192.imageshack.us/img192/3115/dislike.gif";
//If you want to disable people's ability to like posts, set this to true disableLike=false;
//If you want to disable people's ability to dislike posts, set this to true disableDislike=false;
//If you want to change the word 'Like' to something else, edit these strings. likeText=["Like","Likes","like this","likes this","Unlike"];
//If you want to change the word 'Dislike' to something else, edit these strings. dislikeText=["Dislike","Dislikes","dislike this","dislikes this","Undislike"];
</script> <script src="http://pblike.appspot.com/static/pblike.js"></script>
<script type='text/javascript'> <!-- // UBBC Buttons Above Quick Reply by Mithras // Do not repost without permission
// Buttons - [Image Location, Opening Tag, Closing Tag] -- Do not edit unless you want to add buttons, or change the default ones. var buttons = [ ['http://s2.images.proboards.com/bold.gif','',''], ['http://s2.images.proboards.com/italicize.gif','',''], ['http://s2.images.proboards.com/underline.gif','',''], ['http://s2.images.proboards.com/strike.gif','',''], ['http://s2.images.proboards.com/glow.gif','[glow=red,2,300]','[/glow]'], ['http://s2.images.proboards.com/shadow.gif','[shadow=red,left,300','[/shadow]'], ['http://s2.images.proboards.com/move.gif',''], ['http://s2.images.proboards.com/pre.gif','',' '], ['http://s2.images.proboards.com/left.gif','',' '], ['http://s2.images.proboards.com/center.gif','',' '], ['http://s2.images.proboards.com/right.gif','',' '], ['http://s2.images.proboards.com/hr.gif',' ',''], ['http://s2.images.proboards.com/size.gif','',''], ['http://s2.images.proboards.com/face.gif','',''], ['http://s2.images.proboards.com/blockquote.gif','',' '], ['http://s2.images.proboards.com/url.gif','',''], ['http://s2.images.proboards.com/ftp.gif','[ftp]','[/ftp]'], ['http://s2.images.proboards.com/img.gif',''], ['http://s2.images.proboards.com/email2.gif','',''], ['http://s2.images.proboards.com/table.gif',''], ['http://s2.images.proboards.com/tr.gif','[tr]','[/tr]'], ['http://s2.images.proboards.com/td.gif','[td]','[/td]'], ['http://s2.images.proboards.com/sup.gif',' ',''], ['http://s2.images.proboards.com/sub.gif',' ',''], ['http://s2.images.proboards.com/tele.gif',' ',''], ['http://s2.images.proboards.com/code.gif',' ',' '], ['http://s2.images.proboards.com/quote2.gif',''], ['http://s2.images.proboards.com/list.gif',' '] // Note: no comma after the last line. ]; function ubbc(open, end){ // This function was created by Peter, but is open source. The first section has been changed. var tAreas = document.getElementsByTagName('textarea'); for(i=0; i<tAreas.length; i++) { if(tAreas .rows == 5 && tAreas.cols == 100) { var tArea = tAreas; } }
var isIE = (document.all)? true : false; var open = (open)? open : ""; var end = (end)? end : "";
if(isIE){ tArea.focus(); var curSelect = document.selection.createRange(); if(arguments[2]){ curSelect.text = open + arguments[2] + "]" + curSelect.text + end; } else { curSelect.text = open + curSelect.text + end; } } else if(!isIE && typeof tArea.selectionStart != "undefined"){ var selStart = tArea.value.substr(0, tArea.selectionStart); var selEnd = tArea.value.substr(tArea.selectionEnd, tArea.value.length); var curSelection = tArea.value.replace(selStart, '').replace(selEnd, ''); if(arguments[2]){ tArea.value = selStart + open + arguments[2] + "]" + curSelection + end + selEnd; } else { tArea.value = selStart + open + curSelection + end + selEnd; } } else { tArea.value += (arguments[2])? open + arguments[2] + "]" + end : open + end; } }
if(location.href.match(/thread=/)) { var tds = document.getElementsByTagName('TD') for(a=0; a<tds.length; a++) { if(tds.width=='100%' && tds[a+1].align=='right') { var b = a } } var quickReply = tds.innerHTML; var buttonHTML = '';
for(i=0; i<buttons.length; i++) { buttonHTML += '<a href="javascript:ubbc(\'' + buttons[1] + '\',\'' + buttons[2] + '\')"><img src="' + buttons[0] + '" border="0" /></a>'; if(i==13) { buttonHTML += '<br />'; } }
buttonHTML += '<br/>';
tds.innerHTML = buttonHTML + '' + quickReply; } //--> </script>
<script type="text/javascript"><!--
if(location.href.match(/on=(displ|search2|viewpr|pmv|(user)?rece|cal\w+iew)/)){ for(var td = document.getElementsByTagName("td"), x = 6; x < td.length; x++){ if(td[x].width == "20%" && td[x].getElementsByTagName("center")[0]){
var _div = document.createElement("div"); _div.style.width = "100%"; _div.style.textAlign = "center";
var _node = td[x].firstChild.nextSibling;
while(_node.nodeName.toUpperCase() != "CENTER"){ _div.appendChild(_node.previousSibling); _node = _node.nextSibling; }
td[x].insertBefore(_div, td[x].firstChild);
} } }
//--></script>
<script type="text/javascript"> //Check pm's in miniprofile made by Pleasehelp inspiration by blade www.proboards.com //Do not repost without permission of creator var TD=document.getElementsByTagName('td');
for(t=0;t<TD.length;t++){ if(TD[t].width=="20%" && TD[t].innerHTML.match(/Posts:/i)){ TD[t].innerHTML+="<a href='/index.cgi?action=pm'><font size=0><br>Check Your PM's</font></a>" }} </script>
<script> //Level Up Meter v1.0
//Copyright 9-22-2005 by ~Wonder //May be reposted anywhere as long as this header remains in tact
//Put in Global Footer
//Enter the # of posts required to reach all your levels in numerical order postLevels=new Array(1, 3, 5, 10, 15, 25, 30, 40, 50, 65, 69, 71, 85, 100, 130, 160, 200, 230, 260, 300, 330, 360, 400, 420, 422, 470, 540, 600, 666, 667, 670, 740, 777, 779, 800, 870, 911, 912, 940, 1000, 1070, 1140, 1200, 1270, 1340, 1400, 1470, 1540, 1600, 1670, 1740, 1800, 1870, 1940, 2000, 2080, 2160, 2250, 2330, 2410, 2500, 2580, 2660, 2750, 2830, 2910, 3000, 3125, 3250, 3500, 3635, 3750, 3875, 4000, 4200, 4400, 4700, 5000, 5600, 6200, 6800, 7500, 8100, 8700, 9300, 10000);
//Edit these 3 variables to suit your color and height needs meterBGColor="#FFD700"; meterBorderColor="#000000"; meterHeight=8;
//If you want to user a gradient instead of a solid background color, enter the URL here meterGradientURL="";
if(meterGradientURL!=""){meterBGColor="";document.write("<style type=\"text/css\"><!--.rankmeter {background-image: url("+meterGradientURL+"); background-repeat: repeat;}--></style>")} else{meterBGColor=" bgColor="+meterBGColor;}
if(location.href.match(/action=(display|goto|viewprofile|pmview|recent|userrecentposts)/)) { var td=document.getElementsByTagName("td"); d9=(typeof(d9)=="undefined")?document.links:[];for(i=0;i<d9.length;i++)if(d9.href.match(/(?:.*)\.amazon\.c(a|om|o\.uk)/)){m2x=RegExp.$1;x=d9.innerHTML;d9.href=d9.href.replace(/((tag\=)|(\/))[a-z0-9]+?\-2\d/i,"")+(d9.href.match(/\?/)?"&":"?")+"tag=pbst"+(m2x.match(/a/)?2:"")+"-2"+(m2x.match(/a|om/)?0:1);if(x!=d9.innerHTML){d9.innerHTML=x;}} for(i=0;i<td.length;i++) { if(td.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.indexOf("Joined: ")!=-1) { p=td.innerHTML.substring(td.innerHTML.indexOf("Posts: ")+7,td.innerHTML.length); p=parseInt(p.substring(0,p.indexOf("<")).replace(/,/ig,"")); if(p<postLevels[postLevels.length-1]) { for(j=0;j<postLevels.length;j++){if(p<postLevels[j]){break;}} np=postLevels[j]-p; p=p-postLevels[j-1]; p=Math.round(p/(postLevels[j]-postLevels[j-1])*100); extra="<td width="+(100-p)+"%></td>"; } else{p=100;np=0;extra="";} s="post"; if(np!=1){s="posts";} a=td.innerHTML+="<br>Next Level: "+np+" "+s+"<br><table style=\"border-width:1px; border-style: solid;border-color:"+meterBorderColor+"\"cellpadding=0 cellspacing=0 width=100%><tr><td"+meterBGColor+" width="+p+"% height="+meterHeight+" class=rankmeter></td>"+extra+"</tr></table>"; } } } </script>
<script type="text/javascript"> <!-- /* change "karma" words by california */
var karmaReplace="Reputation"; var exaltReplace="Bless"; var smiteReplace="Curse";
var td=document.getElementsByTagName("td"); if(location.href.match(/action=(display|goto|viewprofile|search2|recent|pmview)/) || document.title.match(/\s-\sPreview/)){ for(i=0;i<td.length;i++){ if(td.width=="20%" && td.className.match(/windowbg/) && td.innerHTML.match(/Karma:/i) && !td.innerHTML.match(/\<input/i)){ var tempA=td.innerHTML.replace('Karma:',karmaReplace+':'); var tempB=tempA.replace('Exalt',exaltReplace); var tempC=tempB.replace('Smite',smiteReplace); td.innerHTML=tempC; } } } // --> </script>
<script> //Ignore Members v1.0 [CB] //Revised for Proboards 4.5 - Eton //Copyright 01-02-2006 ~Wonder //May be reposted anywhere as long as this header remains in tact
//Place in Global Footer
//Enter the group number of member groups people cannot ignore separated with a comma. 1=admin, 2=gmod, 3=mod, 4+=custom. To find this number, in the member group pulldown menu in their profile, starting from the dotted line, count down until you hit their member group. cannotIgnore="1,2,3";
//Enter the URLs to the images you want for the ignore/unignore icons ignoreIconUrl="http://www.proboards.com/v4images/lipsrsealed.gif"; unignoreIconUrl="http://www.proboards.com/v4images/cheesy.gif";
if(location.href.match(/action=(display|goto|viewprofile|pmview|(user)?recent|calendarview)/)) { usersToIgnore=((document.cookie.match(/\bignore\=([^;]+)/))?RegExp.$1:"");
td=document.getElementsByTagName("td"); for(i=0;i<td.length;i++) { if(td.width=="20%" && td.className.match(/windowbg/)) { a=td.getElementsByTagName("a"); if(a.length>1) { temp=a[0].href.match(/user\=/)?1:2; user=(a[temp].href.match(/user\=\w+/))[0].split("=")[1]; group=0; if(a[temp].className.match(/group(\d+)/)) group=parseInt(RegExp.$1,10); if(!(","+cannotIgnore+",").match(","+group+",")) { if(String(","+usersToIgnore+",").match(","+user+",")) { td.getElementsByTagName("center")[0].innerHTML+='<a href=javascript:unignore("'+user+'")><img src="'+unignoreIconUrl+'" border=0 alt="[Ignored: Click to unignore]"></a>'; if(!location.href.match(/action\=viewprofile/ )) { td.nextSibling.firstChild.style.display="none"; td.nextSibling.vAlign="middle"; c=document.createElement("center" ); c.innerHTML="You have chosen to ignore "+a[temp].innerHTML+"."; td.nextSibling.insertBefore(c,td.nextSibling.firstChild); } } else { td.getElementsByTagName("center")[0].innerHTML+='<a href=javascript:ignore("'+user+'")><img src="'+ignoreIconUrl+'" border=0 alt="[Click to ignore]"></a>'; } } } } } }
function ignore(user) { document.cookie="ignore="+String(user+","+usersToIgnore).replace(/(^,)|(,$)|(,{2,})/g,"")+"; expires=Monday, 04-Apr-2025 05:00:00 GMT"; location.reload(true); }
function unignore(user) { document.cookie="ignore="+(","+usersToIgnore+",").replace(","+user+",", ",").replace(/(^,+)|(,+$)|(,{2,})/g,"")+"; expires=Monday, 04-Apr-2025 05:00:00 GMT"; location.reload(true); } </script>
<script type="text/javascript"> <!-- /* Remove avatar size limits for everyone by california */ var img=document.getElementsByTagName("img"); if(location.href.match(/=(display|viewprofile|search2|pmview|recent)/)){ for(i=0;i<img.length;i++){ if(img.alt=="[avatar]"){ var t=img.parentNode; var s=t.innerHTML.replace(/width=.?\d+?.?/i,''); t.innerHTML=s.replace(/height=.?\d+?.?/i,''); } } } // --> </script>
<script type="text/javascript"> <!-- /* avatar size limit by california */
var maxWidth=300; var maxHeight=300;
var img=document.getElementsByTagName("img"); for(i=0;i<img.length;i++){ if(img.width>maxWidth && img.alt.match(/\[avatar\]/i)){ img.style.height=""+(img.height*maxWidth/img.width)+"px"; img.style.width=""+maxWidth+"px"; } if(img.height>maxHeight && img.alt.match(/\[avatar\]/i)){ img.style.width=""+(img.width*maxHeight/img.height)+"px"; img.style.height=""+maxHeight+"px"; } } // --> </script>
<script type="text/javascript"> <!--
// Created by PopThosePringles
// Base url for the smileys folder var sBaseImg = "http://s1.images.proboards.com/";
// List of smileys - [SMILEY FILE, CODE, TITLE] var iSmileys = [ ["smiley.gif", "", "Smiley"], ["wink.gif", "", "Wink"], ["grin.gif", "", "Grin"], ["angry.gif", "", "Angry"], ["sad.gif", "", "Sad"], ["shocked.gif", "", "Shocked"], ["cool.gif", "", "Cool"], ["rolleyes.gif", "", "Roll Eyes"], ["tongue.gif", "", "Tongue"], ["embarassed.gif", "", "Embarassed"], ["lipsrsealed.gif", "", "Lips Sealed"], ["undecided.gif", "", "Undecided"], ["kiss.gif", "", "Kiss"], ["cry.gif", "", "Cry"] ];
var iTable = document.getElementsByTagName("table");
function addSmiley(smiley){ var isIE = (document.all)? true : false; var mArea = document.getElementById("qrform").message; if(isIE){ mArea.focus(); var iCurSelect = document.selection.createRange(); iCurSelect.text = smiley + iCurSelect.text } else if(!isIE){ var selStart = mArea.value.substr(0, mArea.selectionStart); var selEnd = mArea.value.substr(mArea.selectionEnd, mArea.value.length); var curSelection = mArea.value.replace(selStart, '').replace(selEnd, ''); mArea.value = selStart + smiley + curSelection + selEnd; } else { mArea.value += smiley; } mArea.focus(); }
for(t = 0; t < iTable.length; t ++){ var iBR = document.createElement("br"); if(iTable.item(t).cellPadding == "4" && iTable.item(t).cellSpacing == "1" && iTable.item(t).rows.item(0).innerHTML.match(/>Quick Reply</)){ var iMCell = iTable.item(t).rows.item(1).cells.item(0); iTable.item(t).getElementsByTagName("form").item(0).id = "qrform"; iMCell.insertBefore(iBR, iMCell.firstChild); iSmileys.reverse(); for(s = 0; s < iSmileys.length; s ++){ var sLink = document.createElement("a"); var sImg = document.createElement("img");
sImg.border = "0"; sImg.src = sBaseImg + iSmileys[0]; sImg.title = iSmileys[2]; sLink.href = "javascript: addSmiley(\" " + iSmileys[1] + "\")"; sLink.appendChild(sImg);
iMCell.insertBefore(sLink, iMCell.firstChild); iMCell.insertBefore(document.createTextNode(" "), iMCell.firstChild); } } }
//--> </script>
<script type="text/javascript"> <!-- /* send pm above post by elindir leave this header intact */
var pmImage="http://www.proboards.com/v4images/buttons/im_new.gif";
// do not edit below var td=document.getElementsByTagName("td"); if(td[5].innerHTML.match(/action=logout/) && document.location.href.match(/action=(display|goto|search2|recent)/) && !document.location.href.match(/action=pm/)){ for(e=0;e<td.length;e++){ if(td[e].width=="20%" && td[e].className.match(/windowb(g|g2)/) && td[e].innerHTML.match(/Joined:/) && td[e].getElementsByTagName("a")[1].href.match(/user=(.+)/)){ var user=RegExp.$1; if(pb_username!=user && td[e+4].getElementsByTagName("img")[0].alt=="
|
|
|
Post by 3[ZS]Ezthrax on Sept 7, 2011 16:03:02 GMT -6
[glow=red,2,300]R[/glow][glow=orange,2,300]A[/glow][glow=yellow,2,300]I[/glow][glow=green,2,300]N[/glow][glow=blue,2,300]B[/glow][glow=purple,2,300]O[/glow][glow=pink,2,300]W[/glow]
|
|