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

Automatically adding events

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.

Automatically adding events

Postby stingray » Sat Mar 02, 2013 2:06 am

Hallo,

I installed JEvents and it works fine so far. I'm able to add new events and they show up in the calendar.

The problem is that I want to add a lot of events every month and I have the data for the events in a mysql DB table. For that reason I'd like to have a php-Skript, which automatically adds the events. I already wrote a script which inserts rows in the following DB tables
#__jevents_vevent
#__jevents_repetition
#__jevents_rrule
#__jevents_vevdetail
The entries look to me the same like entries inserted by the JEvents component, when I add a new event.
Unfortunately the events don't show up in the backend and the Calendar.

Are there more DB tables I have to take in account, or is there anything else I have to do?

Thank you
Cheers

Code: Select all
Joomla : 2.5.8
component_com_jevents : 2.2.8
stingray
Posts: 3
Joined: Sat Mar 02, 2013 1:47 am

Re: Automatically adding events

Postby Geraint » Sat Mar 02, 2013 6:44 am

------------
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: Automatically adding events

Postby stingray » Sat Mar 02, 2013 12:51 pm

Thank you for your reply

I already looked at the csv-import, but then I have to export from my database each time, download the file and upload and import with jevents again.
stingray
Posts: 3
Joined: Sat Mar 02, 2013 1:47 am

Re: Automatically adding events

Postby carcam » Sun Mar 03, 2013 9:44 am

If you can create an updated ical file automatically from your events, you will be able to set a cronjob in your JEvents server that will pull the events from the ical file each month.
carcam
Contributor
Posts: 3391
Joined: Wed Aug 06, 2008 7:50 pm
Location: Córdoba

Re: Automatically adding events

Postby Tonyp » Mon Mar 04, 2013 8:38 am

You might find this link helpful:

http://www.jevents.net/jevents-15-topme ... -and-icals

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


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