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 Jan 11, 2011 11:30:17 GMT -8
Go for it I believe we had already done so with the file uploader actually, so it was just the "report posts" feature. Thanks again for getting that quickly resolved!
|
|
inherit
52689
0
Nov 1, 2012 0:38:41 GMT -8
Simie
1,078
July 2005
simie
|
Post by Simie on Jan 11, 2011 15:47:57 GMT -8
There are more requests for CFHeader than CFFooter. How many people forgot to install both parts? (Stats are from today and yesterday)
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Jan 11, 2011 21:22:33 GMT -8
There are more requests for CFHeader than CFFooter. How many people forgot to install both parts? (Stats are from today and yesterday) Could be stopped requests?
|
|
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 Jan 13, 2011 19:10:51 GMT -8
PM button next to Quote [CB] references the "user" cookie which is no longer visible to scripts, it should be modified to use pb_username instead.
|
|
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 Jan 13, 2011 22:00:39 GMT -8
updated. thank you Eton!
|
|
inherit
141494
0
Sept 20, 2019 9:07:14 GMT -8
Andrea
wow it's been a while...
3,388
June 2009
lookitsandrea
|
Post by Andrea on Jan 28, 2011 14:59:54 GMT -8
Hey guys. I ran across this when a member requested for a code like this. Unfortunately, the one we have now does not appear to be working. It's pretty old (from 2006). Just thought I'd throw it out there. Sticky/Announcement Link Color Change
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Jan 28, 2011 16:02:08 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 Jan 28, 2011 16:51:12 GMT -8
Updated, nice catch.
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Feb 1, 2011 15:22:18 GMT -8
support.proboards.com/index.cgi?board=codedatabase&action=display&n=1&thread=70404Code pukes if a sub-board name has a hyphen and a space following it. Like "Studies - Math" I quickly tested in a test site with a sub-board named "umm - what" and adding an extra hyphen in this line (the regexp for the split) seemed to fix the issue. Link.appendChild( document.createTextNode( Options[opl2].innerHTML.split(/ --\s/)[1].replace(/&/gi, '&') ) ); Need some more input/testing from Wormo/Eton/Todge if this change will indeed fix the issue and not cause any other problems. Regards, SubDevo
|
|
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 Feb 1, 2011 16:25:29 GMT -8
support.proboards.com/index.cgi?board=codedatabase&action=display&n=1&thread=70404Code pukes if a sub-board name has a hyphen and a space following it. Like "Studies - Math" I quickly tested in a test site with a sub-board named "umm - what" and adding an extra hyphen in this line (the regexp for the split) seemed to fix the issue. Link.appendChild( document.createTextNode( Options[opl2].innerHTML.split(/ --\s/)[1].replace(/&/gi, '&') ) ); Need some more input/testing from Wormo/Eton/Todge if this change will indeed fix the issue and not cause any other problems. Regards, SubDevo Wouldn't the problem then reoccur if it encountered a sub with a double dash followed by space in the name? /^-+\s/ might be a better solution. Six lines up from that line that is the exact regex being used to check the name but mysteriously it disappears when splitting. This might have to do with IE's behavior of automatically trimming trailing and leading spaces of option contents (which I just noticed FF3.x now also does, previous versions did not). Another peculiarity with using split in this fashion is a small and not widely known difference between IE and other browsers. If the split pattern occurs at the beginning of the string other browsers will return an array with the first element set to an empty string while IE will omit that first element. "- test".split(/-\s/) IE returns: ["subBoard"] FF returns ["","subBoard"] I would avoid split and just use a regex capture to get the name. Also be careful when editing that code since special care must be taken to ensure Proboards doesn't convert that HTML entity back into its ASCII equiv: .replace(/&/gi, '&')or just use option.text instead of option.innerHTML to avoid having to deal with entities.
|
|
inherit
134992
0
May 26, 2012 2:38:57 GMT -8
SubDevo
Creator of LSD...
3,861
December 2008
subdevo
|
Post by SubDevo on Feb 1, 2011 18:47:29 GMT -8
Yea, I just did a quick test after reading this thread. If someone doesn't want to fix this, then should there, at least, be a "warning" in the code instructions about this potential issue? Is CrAzY_J still around?
|
|
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 Feb 1, 2011 22:02:12 GMT -8
I've actually done several modifications in various support threads over the years to address unique issues in that code. If you notice the last edit to the code was to address a bug where it was displaying & amp; instead of & back when using double ampersands became vogue . I'm pretty sure there are at least 4 or 5 other issues that have been addressed but never applied to the database itself. I've never seen Crazy_J online
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Feb 2, 2011 8:36:41 GMT -8
I addressed it earlier in this thread, but CJ said we're free to update his codes as needed. If you want me to handle it, I will.
|
|
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 Feb 2, 2011 14:52:51 GMT -8
I addressed it earlier in this thread, but CJ said we're free to update his codes as needed. If you want me to handle it, I will. By all means do And while you're at it could you pop your head into this thread
|
|
inherit
16846
0
Nov 19, 2012 15:20:20 GMT -8
Chris
3,036
December 2003
cddude
|
Post by Chris on Feb 2, 2011 17:27:42 GMT -8
Eton: Shouldn't this code it?
I don't know the support for split's second parameter across all browsers. Do you?
also, I bookmarked that thread. If you make any head way, woot. Otherwise, I'll look tomorrow. >.<
|
|