Home › Forums › Calendar Products › Events Calendar PRO › wpml – recurring events
- This topic has 4 replies, 4 voices, and was last updated 9 years, 8 months ago by
Helen.
-
AuthorPosts
-
July 21, 2016 at 1:40 am #1142312
Helen
ParticipantReccuring events : http://www.abc-mallorca.com/event/bbq-sundays-portals-hotel/all/
doesn’t run if wpml is active. it si redirect to http://staging.abcmallorca.de/event/recurrent-event/2016-07-21/
(i have not tested them in the diffrent languages, but it doesn’t work at all for me
here you talk about a manual solution : https://theeventscalendar.com/support/forums/topic/wpml-recurring-events-2/
can you explain please ?
i have no problem to make edits in the db-
This topic was modified 9 years, 9 months ago by
Helen.
July 21, 2016 at 1:56 am #1142316Helen
Participantbasically this is what happens
When you create event with recurring option, it doesn’t create different posts for each event and brings you only to the main one that you created.http://www.abc-mallorca.com/event/bbq-sundays-portals-hotel/?lang=en%2Fall%…
To test i set this to recur every Sunday until certain period. Now only shows the first post which is passed.
In the Event calendar demo all is working:
http://wpshindig.com/event/startup-happy-hour/2016-07-01/July 21, 2016 at 12:35 pm #1142644Geoff B.
MemberGood afternoon Helen and welcome to the Events Calendar Support forum!
Thank you for reaching out to us.
I would love to help you with this topic.You are correct, at the time of writing, recurring events are not fully supported in WPML.
But there are some manual temporary workarounds available. That being said, the manual workaround unfortunately does not fix the “all” recurring events link.We apologize for any inconvenience this might be causing.
The good news is that we have worked hand in hand with the WPML team and we have finally found a way to fix this.
The code is undergoing the testing phase and, if all goes well, it looks like we should be able to release it shortly before September.You are on the right track in your analysis of part of the cause of the issue between WPML and the recurring events.
As requested, here is the breakdown of the temporary (yet imperfect fix) for this.Disclaimer: please make a DB backup AND make sure you can put it back in place if anything goes wrong before attempting anything.
- Actually the different posts for each recurring event do get created, they are just not seen by WPML because they are not added in the icl_translations database table. As such, according to WPML, they simply don’t exist.
- To fix this, you need to force the addition of all recurring events post in that table. This can be accomplished in a couple of ways:
- Head over to WPML > Support > Troubleshooting page and click on the 7 first buttons of the Cleanup section OR
- Deactivate and reactivate WPML (warning this latter method has caused complete loss of language assignment for some of our customers)
- Now head over to phpMyAdmin where you will need to:
- Look for post_tribe_events, more specifically the ones with an element_id matching the ones of the recurring events post_ids
- You will notice that all recurring events were assigned your site’s default language by default (even the translations)
- You need to manually edit the following columns for each of the translated recurring events
- trid: is an id shared by the original event (recurring or not) and it’s translated counterpart – this is what tells WPML which post is a translation of which
- language_code: the language of the event post
- source_language_code: should be your site’s default language. This is only a necessary column for the translated events
Let me know how that goes.
Best regards,
Geoff B.August 12, 2016 at 9:35 am #1151013Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
This topic was modified 9 years, 9 months ago by
-
AuthorPosts
- The topic ‘wpml – recurring events’ is closed to new replies.
