Events Made Easy Forums Bug fixed or feature request implemented Redirect if event is privat

Tagged: ,

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #59690
    Anonymous
    Inactive

    Hi

    I have some events which are privat. If I link to this event (and the user isn’t logged in) it shows an empty page (a page without content).
    How can I redirect the user to an login page or show at least a message on the empty page?

    Best Regards
    Michael

    #59691
    Franky
    Keymaster

    This is a very good question. I’m moving this to feature requests and will add it to the following release (maybe with an option to activate/deactivate the redirect …)

    #59692
    Anonymous
    Inactive

    Great!

    #59693
    Franky
    Keymaster

    This is now implemented, so it will be in the next version.

    #59712
    Anonymous
    Inactive

    Hi Franky

    It’s implemented in the current version! Thanks. Would it be possible to redirect to a specific page?
    If you won’t provide a URL field in the backend setting, maybe you can guide me where to change the code.

    Best Regards
    Michael

    #59720
    Franky
    Keymaster

    The dev-version contains such an option now.

    #59721
    Anonymous
    Inactive

    Almost perfect!
    I have an additional suggestion:
    The shortcode [eme_events_page] leads to a page showing the event-list.
    Because I only have privat events the list is empty and the message for an empty list is shown.
    This message is the same as I don’t have any privat events.
    But I have privat events.
    So can we have different messages? One if there are definitely no events, one for no public events.

    Best Regards
    Michael

    #59724
    Franky
    Keymaster

    Don’t use that shortcode, use eme_events and the additional option “template_id_no_events”.

Viewing 8 posts - 1 through 8 (of 8 total)
  • The forum ‘Bug fixed or feature request implemented’ is closed to new topics and replies.
Scroll to Top