J and Beyond 2013 | An International Joomla! Conference - May 31st - 2nd, 2013, Noordwijkerhout, The Netherlands
It is currently Mon May 20, 2013 10:40 pm

Google ICS import with same start & end time spans to 2 days  Topic is solved

Discuss JEvents 2.x for Joomla 1.5-2.5 here - club members can use the special club forum for faster response times.
Forum rules
When requesting support, please copy and paste the 'Version information for Support Forum' from the JEvents Control Panel into your post. If you cannot see this, please enable JEvents project news within it's configuration. Also, if you get a 500 Error, Enable Joomla! Maximum Error Reporting and view the page again, you should now have a more detailed error which will help us to resolve you issue quickly.

Re: Google ICS import with same start & end time spans to 2

Postby Tonyp » Tue Oct 23, 2012 8:25 pm

Hello,

What is the probably exactly?

The start and end time in that event is the same?

Regards
Tony
---------------------------------------

Do not forget if you like JEvents, why not join the CLUB! for priority support and lots of excellent plugin's. JEvents Club
User avatar
Tonyp
Contributor
Posts: 8744
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Google ICS import with same start & end time spans to 2

Postby jasondean » Tue Oct 23, 2012 8:31 pm

Yes the start and end times are the same. From the previous posts, this issues has happened to others. All 26 of the events in this file have identical start/end times. When imported into Jevents, the event is created but it spans 24 hours rather than no time. It should just enter an event with no duration.
jasondean
Posts: 5
Joined: Tue Oct 23, 2012 4:36 pm

Re: Google ICS import with same start & end time spans to 2

Postby Geraint » Wed Oct 24, 2012 8:31 am

To check - should these events be starting at 5.30pm EST and then have no end time?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Google ICS import with same start & end time spans to 2

Postby jasondean » Wed Oct 24, 2012 1:30 pm

Yes. The times are correct based upon the source information. If I had control of Pointstreak's site, I would set it differently (a two hour window instead of no duration).
jasondean
Posts: 5
Joined: Tue Oct 23, 2012 4:36 pm

Re: Google ICS import with same start & end time spans to 2

Postby Geraint » Wed Oct 24, 2012 2:19 pm

Can you try changing the file components/com_jevents/libraries/iCalImport.php at line c. 259 from
Code: Select all
$vevent["DTEND"] += 86400;
to
Code: Select all
$vevent["NOENDTIME"]  = 1;


Do these events then import correctly?
------------
JEvents club members can get priority forum support at the Support Forum. As well as access to a variety of custom JEvents addons and benefits.

Join the JEvents club today!
User avatar
Geraint
Posts: 30529
Joined: Fri Feb 15, 2008 6:14 pm

Re: Google ICS import with same start & end time spans to 2  Topic is solved

Postby gosnc » Wed Nov 07, 2012 8:08 pm

I was having this same issue with multi-day events being created when I was trying to import ics schedules provided by pro sports teams (nba, etc). These events usually don't have a specified end time.

I wanted to let you know that I tried your below change and it worked. Reimporting corrected the events to show only on the single day they occur. (edited to add that I am using JEvents v2.2.8)

==================

Can you try changing the file components/com_jevents/libraries/iCalImport.php at line c. 259 from

Code: Select all
$vevent["DTEND"] += 86400;

to
Code: Select all
$vevent["NOENDTIME"]  = 1;
gosnc
Posts: 1
Joined: Wed Nov 07, 2012 7:53 pm

Previous

Return to Jevents 2.x (Free Access)

Who is online

Users browsing this forum: No registered users

Main Menu

User Menu

Hosted By


Who is online

In total there are 0 users online :: 0 registered and 0 hidden (based on users active over the past 5 minutes)
Most users ever online was 94 on Tue Sep 01, 2009 12:33 am

Users browsing this forum: No registered users

Login Form