inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jul 23, 2010 5:23:55 GMT -8
Thanks for getting to that wormo. But... Missed a couple parentheses. var nOrder = (admin)? iStaffMenu : ( (pb_username!="Guest" ) ? iMemberMenu : iGuestMenu); javascript:alert((0)? iStaffMenu : ( "Guest" !="Guest" ? 1 : 2)); Pretty sure they aren't necessary actually.
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Jul 23, 2010 6:45:26 GMT -8
Yea Chris, I guess they aren't necessary. That is just my habit. lol
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Jul 23, 2010 11:06:59 GMT -8
<-- joins MAEUP (mothers against extra unnecessary parentheses)!
we have punch and pie.
Thanks for finding that Sub!
|
|
inherit
156605
0
Jul 24, 2018 15:01:10 GMT -8
macflurry
11
July 2010
macflurry
|
Post by macflurry on Jul 25, 2010 14:46:09 GMT -8
|
|
inherit
The Final Cylon
31521
0
Mar 3, 2015 14:39:33 GMT -8
Trublu
Maybe the duck is in the hat.
12,323
October 2004
trublusvufan
|
Post by Trublu on Jul 30, 2010 6:55:01 GMT -8
Done and noted in the code thread, thanks macflurry.
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Aug 2, 2010 15:50:28 GMT -8
This patch is apparently no longer needed (h ttp://studiozero.proboards.com/index.cgi?action=display&board=code support&thread=13775&page=1#110870) Due to Proboards censoring code support to coderequests the URL cannot be properly hyperlinked.
|
|
inherit
King Oligochaete
126470
0
Feb 24, 2021 12:23:15 GMT -8
Wormopolis
Stop rating plugins with 1 star that dont deserve it.
20,002
June 2008
tbserialkillers
Wormo's Mini-Profile
|
Post by Wormopolis on Aug 9, 2010 15:50:38 GMT -8
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Aug 17, 2010 12:02:14 GMT -8
I wasn't sure what this code did and so i put it on my test forum...well it half does something but i don't think it works properly... I get an error on this line it says "lpp.split(">on ")[1] is undefined" gtd[2].innerHTML = lpp.split(">on ")[1].split(brr)[0]+"<br />"+lpp.split(brr+"in ")[1];
|
|
inherit
The Final Cylon
31521
0
Mar 3, 2015 14:39:33 GMT -8
Trublu
Maybe the duck is in the hat.
12,323
October 2004
trublusvufan
|
Post by Trublu on Aug 17, 2010 12:03:14 GMT -8
I wasn't sure what this code did and so i put it on my test forum...well it half does something but i don't think it works properly... I get an error on this line it says "lpp.split(">on ")[1] is undefined" gtd[2].innerHTML = lpp.split(">on ")[1].split(brr)[0]+"<br />"+lpp.split(brr+"in ")[1]; Are you referring to the same code Wormo was talking about, or something else?
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Aug 17, 2010 12:17:59 GMT -8
Sorry i had a total brain fart...edited my post
|
|
inherit
*this CT deserves an achievement*
136400
0
Jun 25, 2021 18:23:00 GMT -8
Trill
hola
6,232
January 2009
ghbraingle
|
Post by Trill on Aug 18, 2010 15:06:16 GMT -8
It seems like the patch that reconfigures the admin panel for CrossFury has broken with the implementation of the new Promotion section. I tried playing around with this code for a little bit, but couldn't get it to work both in IE and other browsers. If anyone could take a look at it, it would be appreciated.
|
|
inherit
153968
0
Nov 19, 2012 15:03:05 GMT -8
Thesealion
New Phone Who Dis?
4,124
April 2010
joemaggio
|
Post by Thesealion on Aug 18, 2010 15:36:44 GMT -8
Wow....soon it will be time to just get rid of most of the codes and start over...
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Aug 21, 2010 7:28:41 GMT -8
First CF Fix code should change to: <script> /* Patch - Remove ProBoards Blog from Admin Panel */ /* Top of Main Footer */ if(location.href.match(/action=(admin|\w+3)/i)){ var tbl=document.getElementsByTagName('table'); for(var r=tbl.length-1;r>0;r--){ if(tbl[r].rows.length==1 && tbl[r].rows[0].cells.length==4 && /Promote Your Forum/i.test(tbl[r].rows[0].cells[3].innerHTML)){ tbl[r].rows[0].deleteCell(3); tbl[r].rows[0].cells[2].width="33%"; tbl[r].rows[0].cells[1].width="34%"; tbl[r].rows[0].cells[0].width="33%"; } } } </script>The 2nd should probably be removed for now...
|
|
inherit
Official Code Helper
65613
0
1
Oct 22, 2024 1:56:19 GMT -8
Chris
"'Oops' is the sound we make when we improve"
9,017
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Aug 21, 2010 21:54:08 GMT -8
First CF Fix code should change to: <script> /* Patch - Remove ProBoards Blog from Admin Panel */ /* Top of Main Footer */ if(location.href.match(/action=(admin|\w+3)/i)){ var tbl=document.getElementsByTagName('table'); for(var r=tbl.length-1;r>0;r--){ if(tbl[r].rows.length==1 && tbl[r].rows[0].cells.length==4 && /Promote Your Forum/i.test(tbl[r].rows[0].cells[3].innerHTML)){ tbl[r].rows[0].deleteCell(3); tbl[r].rows[0].cells[2].width="33%"; tbl[r].rows[0].cells[1].width="34%"; tbl[r].rows[0].cells[0].width="33%"; } } } </script>The 2nd should probably be removed for now... Was there an announcement saying the blog would be removed from ACP because I'm confused as to why the addition of forum promotion would invalidate the test for the blog which is still in that cell
|
|
inherit
100824
0
May 13, 2012 5:37:49 GMT -8
Michael
14,585
March 2007
wrighty
|
Post by Michael on Aug 25, 2010 11:03:36 GMT -8
First CF Fix code should change to: <script> /* Patch - Remove ProBoards Blog from Admin Panel */ /* Top of Main Footer */ if(location.href.match(/action=(admin|\w+3)/i)){ var tbl=document.getElementsByTagName('table'); for(var r=tbl.length-1;r>0;r--){ if(tbl[r].rows.length==1 && tbl[r].rows[0].cells.length==4 && /Promote Your Forum/i.test(tbl[r].rows[0].cells[3].innerHTML)){ tbl[r].rows[0].deleteCell(3); tbl[r].rows[0].cells[2].width="33%"; tbl[r].rows[0].cells[1].width="34%"; tbl[r].rows[0].cells[0].width="33%"; } } } </script>The 2nd should probably be removed for now... Was there an announcement saying the blog would be removed from ACP because I'm confused as to why the addition of forum promotion would invalidate the test for the blog which is still in that cell I'm guessing that it's due to the blog not being the first cell or something ... not sure - either way, the change fixed it!
|
|