Post by CHAE SOON-JA on Aug 6, 2013 15:58:44 GMT -5
I know nobody uses them but me, but it makes them pretty damn annoying to use with whatever is screwing with them right now. Anyway, I'm pretty sure I know what's wrong with it, so I've prepared two different solutions:
1. Remove the entire block of code from the global footers (I assume that's where it is).
There are actually two versions of this code present and they aren't both needed. Probably. The block of code that would need to be removed is below.
2. Change the line "var predictive = true;" to "var predictive = false;". It's found in the code below. Should also be located in the global footer. Probably.
1. Remove the entire block of code from the global footers (I assume that's where it is).
There are actually two versions of this code present and they aren't both needed. Probably. The block of code that would need to be removed is below.
<script type="text/javascript"><!--
/* Style UBBC Tags v2
Created by iPokemon
bytemecodes.proboards.com/
Do not redistribute or call as your own
Updated September 2nd 2011
Copyright 2011
version = 1*/
if(document.postForm) {
document.postForm.color.parentNode.innerHTML+='<a href="javascript:add(\'
/* Style UBBC Tags v2
Created by iPokemon
bytemecodes.proboards.com/
Do not redistribute or call as your own
Updated September 2nd 2011
Copyright 2011
version = 1*/
if(document.postForm) {
document.postForm.color.parentNode.innerHTML+='<a href="javascript:add(\'
\',\'[/style"]\')"><img src="http://i.imgur.com/b5MOz.png" border="0" /></a>';
}
if(pb_action.match(/(calendar|pm|pre)view|viewprofile|code|search2|display/i)){
var td = document.getElementsByTagName('td');
var matCH=/\
}
if(pb_action.match(/(calendar|pm|pre)view|viewprofile|code|search2|display/i)){
var td = document.getElementsByTagName('td');
var matCH=/\
/gi;
var matCH2=/\[\/style\]/gi;
var matCH3=/\[newclass=.(.+?)\](.+?)\[\/newclass\]/gi;
var matCH4=/\
var matCH2=/\[\/style\]/gi;
var matCH3=/\[newclass=.(.+?)\](.+?)\[\/newclass\]/gi;
var matCH4=/\
/gi;
var matCH5=/\[\/classy\]/gi;
var table = document.getElementsByTagName('table');
for(x=5;x<table.length;x++){
if(table[x].className == "code" && table[x].innerHTML.match(/(\[style|\[newclass|\[classy)/i)){
table[x].innerHTML=table[x].innerHTML.replace(/\[/,eval("<b></b>91;"))
table[x].innerHTML=table[x].innerHTML.replace(/\]/,eval("<b></b>93;"));
}
}
for(l=0;l<td.length;l++){
if(td[l].width=="80%"){
td[l].innerHTML = td[l].innerHTML.replace(matCH, '<div style="$1">').replace(matCH2, '</div>').replace(matCH3, '<style type="text/css"> .$1 {$2} </style>').replace(matCH4, '<div class="$1">').replace(matCH5, '</div>');
}
}
}
//--></script>
var matCH5=/\[\/classy\]/gi;
var table = document.getElementsByTagName('table');
for(x=5;x<table.length;x++){
if(table[x].className == "code" && table[x].innerHTML.match(/(\[style|\[newclass|\[classy)/i)){
table[x].innerHTML=table[x].innerHTML.replace(/\[/,eval("<b></b>91;"))
table[x].innerHTML=table[x].innerHTML.replace(/\]/,eval("<b></b>93;"));
}
}
for(l=0;l<td.length;l++){
if(td[l].width=="80%"){
td[l].innerHTML = td[l].innerHTML.replace(matCH, '<div style="$1">').replace(matCH2, '</div>').replace(matCH3, '<style type="text/css"> .$1 {$2} </style>').replace(matCH4, '<div class="$1">').replace(matCH5, '</div>');
}
}
}
//--></script>
2. Change the line "var predictive = true;" to "var predictive = false;". It's found in the code below. Should also be located in the global footer. Probably.
<script type="text/javascript">
/********
Style UBBC Tags v2.1.2
Coded by iPokemon
Special thanks to Eton Bones and Wormopolis
Eton: For helping with optimization
Wormopolis: For being an awesome guy and letting me bounce ideas off of him
Do not repost or claim as your own
*********/
/***** Edit Below Here *****/
var protectedClasses = [".class1","#id",".class3:hover"]; //user-defined protected classes
var showQuickReply = true; //show quick reply buttons; true = yes, false = no
var customClass = "windowbg2"; //post form or modify form
var customClass2 = "windowbg"; //quick reply area
var predictive = true; //true = convert old style tags when posting or modifying, false = leave old tags alone but make them work
/***** Edit Above Here *****/
/********
Style UBBC Tags v2.1.2
Coded by iPokemon
Special thanks to Eton Bones and Wormopolis
Eton: For helping with optimization
Wormopolis: For being an awesome guy and letting me bounce ideas off of him
Do not repost or claim as your own
*********/
/***** Edit Below Here *****/
var protectedClasses = [".class1","#id",".class3:hover"]; //user-defined protected classes
var showQuickReply = true; //show quick reply buttons; true = yes, false = no
var customClass = "windowbg2"; //post form or modify form
var customClass2 = "windowbg"; //quick reply area
var predictive = true; //true = convert old style tags when posting or modifying, false = leave old tags alone but make them work
/***** Edit Above Here *****/