wpml – recurring events

Home Forums Calendar Products Events Calendar PRO wpml – recurring events

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1142312
    Helen
    Participant

    Reccuring 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.
    #1142316
    Helen
    Participant

    basically 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/

    #1142644
    Geoff B.
    Member

    Good 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.

    1. 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.
    2. 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:
      1. Head over to WPML > Support > Troubleshooting page and click on the 7 first buttons of the Cleanup section OR
      2. Deactivate and reactivate WPML (warning this latter method has caused complete loss of language assignment for some of our customers)
    3. Now head over to phpMyAdmin where you will need to:
      1. Look for post_tribe_events, more specifically the ones with an element_id matching the ones of the recurring events post_ids
      2. You will notice that all recurring events were assigned your site’s default language by default (even the translations)
      3. You need to manually edit the following columns for each of the translated recurring events
        1. 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
        2. language_code: the language of the event post
        3. 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.

    #1151013
    Support Droid
    Keymaster

    This 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.

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘wpml – recurring events’ is closed to new replies.