|
Post by Wormopolis on Nov 18, 2011 22:20:18 GMT -8
thought I lost ya... I didnt know if it ever worked or not.. and apparently I have to look some more...
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 19, 2011 4:01:03 GMT -8
Cheers mate
|
|
|
Post by Wormopolis on Nov 19, 2011 19:41:27 GMT -8
cant believe I missed seeing that
change
if (status.match(/warning/)) {
to
if (status.match(/warning/i)) {
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 20, 2011 6:24:58 GMT -8
Changed Still no luck
|
|
|
Post by Wormopolis on Nov 20, 2011 13:25:25 GMT -8
change
if (status.match(/warning/i)) {
to
if (ctitle.match(/warning/i)) {
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 20, 2011 13:36:25 GMT -8
Yay it worked lol Cheers Wormo
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 21, 2011 8:50:02 GMT -8
|
|
|
Post by Wormopolis on Nov 22, 2011 20:14:48 GMT -8
I'll do one at a time or things'll get messed up
find this
fontholder.innerHTML=warntext;
replace with
fontholder.innerHTML=warntext.replace(/warning level\s-\s/i,'');
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 22, 2011 20:59:28 GMT -8
Ok done that
|
|
|
Post by Wormopolis on Nov 22, 2011 21:16:44 GMT -8
this has to be done in parts... lets get a section ready for the custom ranking to show up first
replace
if (rImgs) { mainrow.cells[0].appendChild(brk.cloneNode(true)); fontholder=document.createElement('font'); fontholder.size=2; fontholder.innerHTML=rImgs; mainrow.cells[0].appendChild(fontholder); }
with
if (rImgs) { mainrow.cells[0].appendChild(brk.cloneNode(true)); fontholder=document.createElement('font'); fontholder.size=2; fontholder.innerHTML=rImgs; mainrow.cells[0].appendChild(fontholder); mainrow.cells[0].appendChild(document.createElement('hr')); nwspn = mainrow.cells[0].appendChild(document.createElement('span')); nwspn.className='CR'; }
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 22, 2011 21:37:37 GMT -8
Yep done that Unfortunately off too work now though il be back in 10 hours
|
|
|
Post by Wormopolis on Nov 22, 2011 23:53:27 GMT -8
to make that line match the others replace
mainrow.cells[0].appendChild(document.createElement('hr'));
with
mainrow.cells[0].appendChild(hrbar.cloneNode(true));
ok... now that we have a place for it, in the second code, find this line:
if (tds[wcp].width=='20%' && tds[wcp].className.match(/windowbg/) && (!onlyAffectEditedUsers || tds[wcp].innerHTML.match(/\[wCP:(\d+)\]/))) {
replace with
if (tds[wcp].width=='20%' && tds[wcp].className.match(/mptable/) && (!onlyAffectEditedUsers || tds[wcp].innerHTML.match(/\[wCP:(\d+)\]/))) {
and find this
if (tds[wcp].innerHTML.match(/\[wCP:(\d+)\]/)) { tds[wcp].innerHTML=tds[wcp].innerHTML.replace(/\[wCP:(\d+)\]/,rplstuff); } else { tds[wcp].innerHTML=tds[wcp].innerHTML.replace(/member is/,rplstuff+'member is'); }
replace with
if (tds[wcp].innerHTML.match(/\[wCP:(\d+)\]/)) tds[wcp].innerHTML=tds[wcp].innerHTML.replace(/\[wCP:(\d+)\]/,''); for (dest=tds[wcp].getElementsByTagName('span'), dd=0; dd<dest.length; dd++) { if (dest[dd].className=='CP') { dest[dd].innerHTML=rplstuff; break; } }
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 23, 2011 7:37:12 GMT -8
Ok done that What next ?
|
|
|
Post by Wormopolis on Nov 23, 2011 18:17:25 GMT -8
some brackets got deleted
put
} }
above
// -->
|
|
Deleted
Posts: 0
Deleted said great things
|
Post by Deleted on Nov 23, 2011 21:12:44 GMT -8
Ok i added those back
|
|