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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 2, 2011 17:39:59 GMT -8
I do have a vague memory of some low market browsers not supporting it but that was years ago, I guess that is why I've subconsciously avoided using it.
Elegant solution and no major editing.
I'll look into the compatibility aspect..
|
|
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:47:18 GMT -8
Danke. I'd say push it through as long as it's ie6+ and fx 1+. I mean, I guarantee Chrome and Opera have it anyways.
|
|
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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 2, 2011 17:54:35 GMT -8
Well according to w3School all 5 of the big boys support it so I vote Sí Edit:(maybe) I still am wary of the aforementioned IE bugs coming into play here, it could in fact be these very bugs that have plagued this code. A definite IE run testcase has to be constructed
|
|
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,018
December 2005
horace
RedBassett's Mini-Profile
|
Post by Chris on Feb 10, 2011 1:45:12 GMT -8
|
|
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 Feb 10, 2011 7:52:41 GMT -8
both links go to the discussion thread.
I will convert it to encapsulated.
|
|
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 12, 2011 11:24:46 GMT -8
Custom "Time Based" Welcome Greetings
Actually, there are a couple issues with this code I do not like. If I'm being picky, just let me know! var myOldString = "Welcome" +pb_username;This variable isn't even used and is not needed. var myNewString="";This is the wrong variable name. The variable used in the code is "newString". if (time < 12) { newString="Good Morning, "; } else if (time>12 && time<20){ newString="Good Afternoon, ";Since, the code checks the "hours" the second message will not be displayed until 1pm. That should be changed to time> =12 && time<20 Regards, SubDevo
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Feb 12, 2011 12:01:08 GMT -8
Good catch, and code updated.
Just a though, but instead of else if (time>=12 && time<20) all that is needed is else if (time<20)
|
|
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 12, 2011 12:42:49 GMT -8
Tis true Todge. I'm just concerned that if users add/change the times, I think they will get confused... Maybe should add the "=" to the "How To Add More Options:" section too. But, heck. If they are editing the code, they should know what they are doing! lol
EDIT: I just noticed that the custom message will only be added IF you are a member. replace("Hey, ",newString); Guests are left out... pfft oh well.
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Feb 12, 2011 15:42:30 GMT -8
Yup, I noticed that too..
I will make the change to the instructions too, I forgot about that bit.
Thanks.
|
|
inherit
163426
0
Sept 30, 2012 16:09:35 GMT -8
Zatch
79
February 2011
mysticmayhem
|
Post by Zatch on Feb 13, 2011 14:34:26 GMT -8
Two codes in the database seem to have been deleted, but not removed. Under "Additional Posting Hacks": Characters leftCharacters LeftAlso, the Add Colour Box code also realigned my forum's signatures. That might need a fix.
|
|
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 15, 2011 22:09:22 GMT -8
|
|
#00AF33
Official Code Helper
19529
0
1
Nov 19, 2012 14:18:28 GMT -8
Todge
**
17,324
January 2004
todge
|
Post by Todge on Feb 16, 2011 10:21:09 GMT -8
Two codes in the database seem to have been deleted, but not removed. Under "Additional Posting Hacks": Characters leftCharacters LeftAlso, the Add Colour Box code also realigned my forum's signatures. That might need a fix. The two offending links have been removed.. Thank you.
|
|
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 Feb 16, 2011 17:55:03 GMT -8
probably an oversight on the creators part. Did your fix clear up all of them?
|
|
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 16, 2011 18:06:18 GMT -8
It should. I tried on a test site (but with only one calendar entry). OP said it didn't remove one for the next day. Not sure why it wouldn't. I just changed to match innerHTML of the links if on the calendar page. So, it should take care of all of them. Hopefully, the OP will post to say yay or nay...
|
|
inherit
163426
0
Sept 30, 2012 16:09:35 GMT -8
Zatch
79
February 2011
mysticmayhem
|
Post by Zatch on Feb 19, 2011 9:08:56 GMT -8
Code Index > Additional Posting Hacks > Ultimate Quick Reply Mod (http://support.proboards.com/index.cgi?action=display&board=codedatabase&thread=358479) Another broken link.
|
|