|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
I have birthdays showing up on my calendar just fine, but they won't appear in my member profiles: See Sample It's also creating an error on the page. When I researched it, it was this line: [code][/code]Any ideas why? I figured it was the calendar hack, but LK says that the calendar hack doesn't touch this code...
|
|
|
|
Joined: May 2001
Posts: 1,042 Likes: 7
Moderator
|
Moderator
Joined: May 2001
Posts: 1,042 Likes: 7 |
Judging by the first member profile: http://www.catcherman.com/cgi-bin/ultimatebb.cgi?ubb=get_profile;u=00000001 Somehow the user has submitted an incorrect birthday. Have they tried reentering their birthday and resubmiting their profile?
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Yes, resubmitting the profile does not fix the problem.
They have no way of submitting the profile incorrectly. This is happening with multiple users too.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
https://ubbdev.com/ubb/ultimatebb.php?ubb=get_topic;f=33;t=000038
try that.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
It's not a time problem. The times are appearing just fine. It's a birthdate problem.
|
|
|
|
Joined: Jan 2003
Posts: 3,456 Likes: 2
Master Hacker
|
Master Hacker
Joined: Jan 2003
Posts: 3,456 Likes: 2 |
ok, I think I know how to fix it. Hop on one foot, spin around, send me a check for $50. It works for me EDIT: looking around, some have it working and some don't. http://www.catcherman.com/cgi-bin/ultimatebb.cgi?ubb=get_profile;u=00000142 have him update his profile, see if it shows in his profile then
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
I have tried that. I've even logged in as members myself and updated the profile. It's not just this member, it's lots of them... but not all. That's the strange part.
I'm hoping someone can shed some light on this.
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
Have you tried rebuilding your member stat files? I usually find that's a good place to start when something's wrong in profiles, especially since it doesn't seem to be a time problem.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Yes, I've gone through all of the maintenance procedures.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
bump.3 Here's what the HTML comes up as on the profile page: [/code]And this line:
</pre></div></div>Should look more like this shouldn't it?<br><br>[code] Why wouldn't the javascript have all that data?
|
|
|
|
Joined: Mar 2001
Posts: 7,394
Admin / Code Breaker
|
Admin / Code Breaker
Joined: Mar 2001
Posts: 7,394 |
Can you show us 00000452.cgi (from Members dir), except for the password which you'll censor? (line 2)
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
So, does this tell you anything?
|
|
|
|
Joined: Nov 2001
Posts: 1,704
Moderator / Da Masta
|
Moderator / Da Masta
Joined: Nov 2001
Posts: 1,704 |
I'm completely unsure of what I'm about to say, but does UBB recognise year values below 1972? It'd be strange to include the 60s if they couldn't be accepted, and really I see no reason why they shouldn't be... I'm out of ideas on this one, sorry.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Well, this one comes up: Born in 1970 But maybe you're onto something. Maybe there's a certain date it can't see past? I'm looking at other profiles now and will reply in a bit. I'd still like to figure this out. It's definitely a problem with $datestamp somewhere...
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Yes, it definitely is the date of birth that is causing the problem. Any date before 1970 causes the error to come up and not display the birthdate properly on the public profile page.
All birthdates show up fine in the Control Panel.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
bump - before the weekend hits.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Aye, this is a known problem with the date code... but there is code in there to completely bypass the Javascript time output if the date is prior to 1970. Now, whether that's actually in 6.5.0 or not is unknown... I know it's in 6.6.
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
Oh, so I should bypass the Jscript? There's a mod for that isn't there?
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Nope...
Go into ubb_lib_time - look at the DateFormatJSCalc subroutine. Is there a block of code in that subroutine complaining about not thinking about dates prior to 1970 and localtime()?
UBB.classic: Love it or hate it, it was mine.
|
|
|
|
Joined: May 2001
Posts: 283
Member
|
Member
Joined: May 2001
Posts: 283 |
This is all that is commented in the sub routine for DateFormatJSCalc:
# Yes, I realize that this makes no sense whatsoever. # It makes no sense on purpose, I assure you.
|
|
|
|
Joined: Jan 2000
Posts: 5,073
Admin Emeritus
|
Admin Emeritus
Joined: Jan 2000
Posts: 5,073 |
Okay... go get 6.6.0 from the Member Area and copy over the entirety of DateFormatJSCalc to your 6.5. Problem fixed.
UBB.classic: Love it or hate it, it was mine.
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,573
Posts293,925
Members13,849
|
Most Online5,166 Sep 15th, 2019
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|