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

Future calendar

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.

Future calendar

Postby Hermancollado » Wed Dec 12, 2012 4:57 pm

I'm doing a science fiction web and I need to begin the calendar in the year 5960.
I've been trying it in the configuration panel filling this year in the section "First year to display in calendar", but it doesn'nt works.
Can I do this?

Sorry for my english.
Regards
Herman
Hermancollado
Posts: 3
Joined: Wed Dec 12, 2012 4:38 pm

Re: Future calendar

Postby Tonyp » Wed Dec 12, 2012 9:42 pm

Wow Herman,

This is a pretty big scope...

Try creating a Menu Item called Date Range.

Set the time to relative, and use Start to:

+3948y

End say:
+3949y

That should give you a 1 year list view span.

Also, set your JEvents Configuration. start and end dates .

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: 8718
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Future calendar

Postby Geraint » Thu Dec 13, 2012 8:53 am

I'm afraid JEvents will not be able to help you.

See http://en.wikipedia.org/wiki/Year_2038_problem

Because this problem existed on many servers until recently we have restricted the creation of events beyond this date. From what I can make out the issue has been resolved on 64bit servers but there are still restrictions on distant dates built in to the code to avoid problems.

Geraint
------------
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: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Future calendar

Postby Tonyp » Thu Dec 13, 2012 9:10 am

That's very interesting Geraint! Learn something new every day
---------------------------------------

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: 8718
Joined: Tue Oct 12, 2010 9:12 pm
Location: Isle of Man

Re: Future calendar

Postby Geraint » Thu Dec 13, 2012 10:49 am

We will be able to relax this constraint in JEvents 3.0 which requires PHP 5.3 and therefore more up to date servers.
------------
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: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Future calendar

Postby Hermancollado » Thu Dec 13, 2012 2:53 pm

Oh! What a pity!
JEvents was perfect for my project, but I need a future calendar.
You talk about a server´s problem with future dates, but I thinh that's not the problem because i downloaded another calendar modulecalled "Minicalendar" where I can select like the default year the year 5960, but it´s true that this module is too simple and hasn't got the utilities of JEvents calendar.

Thanks
Hermancollado
Posts: 3
Joined: Wed Dec 12, 2012 4:38 pm

Re: Future calendar

Postby Geraint » Thu Dec 13, 2012 3:11 pm

you could try making the changes for yourself and test them out.

Edit the file components/com_jevents/libraries/iCalRRule.php and search for the string 203 and you'll see several references to 2036 and 2037 - you could change these to 9036 and 9037

In the same file replace 2027 with 9027

and use the date range menu item as described by Tony.

Let us know how you get on.
------------
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: 30518
Joined: Fri Feb 15, 2008 6:14 pm

Re: Future calendar

Postby Hermancollado » Thu Dec 13, 2012 4:20 pm

I've made the changes in the file components/com_jevents/libraries/iCalRRule.php and I've changed in all the file all the:

2036 and 2037 to 9036 and 9037

In the same file replace 2027 with 9027.

Also I`ve done the menu item described by Tony.
It doesn´t works by now. Probably i've done something wrong in the configuration of JEvents or in the configuration of the menu item, may be.
I'm going to continue searching and I let you know.

Thanks for all
Hermancollado
Posts: 3
Joined: Wed Dec 12, 2012 4:38 pm


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