PDA

View Full Version : Calendar event with same start and end date shows wrong date


Mike Sullivan
Tue 17th Jun '03, 4:33pm
In includes/functions_calendar.php, find:

$daterange = gmdate($vboptions['dateformat'], $info['from_date']);

Replace it with:

$daterange = gmdate($vboptions['dateformat'], $info['dateline_from']);

Freddie Bingham
Tue 17th Jun '03, 9:15pm
Just note the calendar has several issues since I had to rewrite part of it recently and I am working on them currently. You probably don't even notice them since who uses the calendar?

Semperfidelis
Wed 18th Jun '03, 1:30am
Just note the calendar has several issues since I had to rewrite part of it recently and I am working on them currently. You probably don't even notice them since who uses the calendar?
lol
First thing I noticed about the calendar was that even as the no 1 admin, I had no permission to view it !
Classic Stuff
:D

Faruk
Wed 18th Jun '03, 6:47am
That's the issue (fixed by now) of no default calendar being installed :)

Ghostsuit
Thu 17th Jul '03, 6:55am
Just note the calendar has several issues since I had to rewrite part of it recently and I am working on them currently. You probably don't even notice them since who uses the calendar? I'm trying to make major use of it ;)

Found another problem but not checked the bugs yet if it's not there will be submitting it ;)

ChuanSE
Wed 27th Aug '03, 9:42pm
I'm planning to use it for scheduled broadcasts & events on PureDJ board

Steve_C
Sat 6th Sep '03, 12:45pm
I'd make more use of it but it currently doesn't make sense in regards to how the Add Event works. It needs to have these options:

Add Single Event
Add Multiple Day Event
Add Recurring Event

nine45
Sat 31st Jan '04, 11:48pm
Which line is it on? I've searched the complete file and cannot find the line stated below



In includes/functions_calendar.php, find:

$daterange = gmdate($vboptions['dateformat'], $info['from_date']);

Replace it with:

$daterange = gmdate($vboptions['dateformat'], $info['dateline_from']);

Steve Machol
Sat 31st Jan '04, 11:54pm
Considering this was over 6 months ago, I'm sure this is no longer relevant to the latest versions of vB3.

nine45
Sat 31st Jan '04, 11:59pm
I've still got the error in the latest version, a member posted an event on the calendar for 27th March and it turned Sunday 28th into 27th and duplicated the event.



Considering this was over 6 months ago, I'm sure this is no longer relevant to the latest versions of vB3.

Steve Machol
Sun 1st Feb '04, 12:04am
Can you post exactly what they are doing so I can try and duplicate this problem?

nine45
Sun 1st Feb '04, 12:09am
The event name is: 4th Annual, Fort Wayne, Pipe & Tobacciana Show

And the body is one word called info that is an hyperlink to:
http://www.pipeshowsusa.com/fortwayne.htm



Can you post exactly what they are doing so I can try and duplicate this problem?

Steve Machol
Sun 1st Feb '04, 12:12am
Thanks but that's not enough info. I had no problem creating an event for March 27th on my RC3 test forum. The date remained the same. I need to know exactly what this person did in order to duplicate this problem. Can you duplicate it? If so, please provide the details so I can test this out.

nine45
Sun 1st Feb '04, 12:14am
Thanks for your patience, I will contact the member and ask him exactly what he has done

nine45
Sun 1st Feb '04, 12:25am
Here is the exact words that the member has sent me regarding the steps he has took:


"I had posted the two date event previous exited got my new info returned to the calendar and entered in the single event. I changed the date to the 27th in both boxes and exited"

Steve Machol
Sun 1st Feb '04, 12:31am
I'm not sure I understand what she did. Have you tried this to see if you can duplicate the problem? As I said I had no problem posting an event on March 27th. The date didn't change at all.

Let me know if you can duplicate this problem.

Hurricane_GS
Wed 4th Feb '04, 4:20pm
I am having an issue that the calendar events showing on the main page (Upcoming Events) shows like this:

February 648, 2004: Meeting

When I refresh the main page, it changes like:

February 603, 2004
and
February 604, 2004
and
February 605, 2004
and
February 606, 2004

(It seems to be syncing up with the seconds.)

Also, when I click on the event, it shows in the calendar the event like:

February 600, 2004 to February 600, 2005

:(

Any ideas?

VBulletin 3.0 RC3

Steve Machol
Wed 4th Feb '04, 6:54pm
Upload the original vbulletin-style.xml file from the RC3 zip file to the install directory. Make sure you upload in ASCII and overwrite the one on the server. Then use the Style Upload function to import this file. After this, run 'Find Updated Templates and revertt any templates it finds.

Hurricane_GS
Fri 13th Feb '04, 9:52am
Sorry Steve. That did not fix it. :( It just blew out all of my custom changes and left the date problem. :(

Steve Machol
Fri 13th Feb '04, 1:14pm
Have you tried upgrading to RC4? Make sure you overwrite all the vB files when you upgrade.

Hurricane_GS
Tue 17th Feb '04, 1:34pm
Yes, I am currently running RC4 with the 2 additional fixed files. I will install a fresh copy of VB 3 RC4 in a different location and see if it suffers the same fate.

Hurricane_GS
Tue 17th Feb '04, 2:11pm
Steve, I am an idiot! Sometimes the solution is so simple. I guess this is what I get for trying to customize too much! LOL!

The section in the configuration that is called "Format For Date" was defaulting to "m-d-Y" which was not pretty enough for me. So I changed it to "F js, Y" (Note the s in js) it was supposed to be "F jS, Y" which I realized when I installed a fresh copy.

So anyway, problem fixed (which was not really a problem, rather a typo.)

Thanks for your help. ;)