Okay
  Public Ticket #2837531
recurring events
Closed

Comments

  • Hometeam started the conversation

    Is it possible to add recurring events that are scheduled for (example) the third Tuesday of every month ? rather than the specific numerical day ? This is a  common  feature on event platforms  but I have not been able to find a way to do that with Stachethemes and it is a critical feature for us.

  •  877
    Zhivko replied

    Hi,

    Yes, it's possible although the feature at the moment is hidden.

    Please check out this article on how to open the advanced repeat options:

    https://stachethemes.ticksy.com/article/13417/

    Then in the RRULE String field add:

    FREQ=MONTHLY;INTERVAL=1;BYDAY=3TU

    Stachethemes Developer

  • Hometeam replied

    This work-around has delivered faithfully since last August,  but this week suddenly all events built with recurring dates are no longer able to be edited. I built a test event effectively until I made it recurring and then it was inoperable. When selecting edit event it goes to the window with all the tabs but the tabs are not able to be opened.  

  •  877
    Zhivko replied

    Is it possible to provide me with wp-admin access to take a look? Perhaps it's javascript error.


    Stachethemes Developer

  • Hometeam replied

    Yes of course. Thank-you for your quick help . The site is a multisite but we use the event tool only in the one subsite  

    www.members.musicalliance.com 

    username:  [email protected]

    password:  Eku9#$0M6YL!b5h@ulBXEBe@

  •  877
    Zhivko replied

    The problem is coming from the Groundhogg plugin. It is loading its own moment.js library. 

    Since this library is included by default with Wordpress it shouldn't be loaded externally because it could cause conflicts like the one you're experiencing now.

    The correct way to include it is like this:

    wp_enqueue_script('moment');

    Do you think you can fix this by yourself?


    Stachethemes Developer

  • Hometeam replied

    Hi Zhiko, I spoke with Groundhogg. After describing the issue they replied:  

    That would indicate that Stachethemes is also not using the WordPress core bundled moment JS, and is probably using the same script handle as us. 

    Can you reach out to them to see if they can make their script handle unique? We can do it on our end, but not today, you'd have to wait till the next patch.
    Adrian Tobey
    [email protected]

  •  877
    Zhivko replied

    I think they misunderstood the problem.

    We're using the default 'moment' handle. I assume they are using different one and this causes the scripts to be loaded twice.

    The handle for the Moment.js library by default in Wordpress is 'moment'. It is already registered script just like 'jquery' handle and is build-in Wordpress so you don't have to load it from external source.

    Anyway... if you send me their plugin in a zip file I'll make the necessary changes to it and will send it back to you so you don't have to wait for their update.


    Stachethemes Developer

  • Hometeam replied

    You guys are the best ! Thank-you, it really should be them doing this so I want to appreciate you. 
    Just in case their extension manger is the problem I include it as well.

    Niels

  •  877
    Zhivko replied

    Hi,

    Here's the updated plugin.

    The guys from the Groundhogg made a small typo when deregistering/registering the moment library.

    The handle should be just 'moment', not 'moment-js'.  


    Stachethemes Developer

  • Hometeam replied

    Thank-you Zhivko, you've done it ! 

    I notified GroundHogg that you repaired "their" plugin. Be a good time to get some mileage out of them :>) 


    Very much appreciated. We are excited to read about your coming rebuild and new release. 


     Niels