• Resolved Wibbskii

    (@wibbskii)


    I want to hide some events from non-logged in members. I know that I can do it with private events but then it is only editors and admin that can se them. I want to have a member login and when members login they dont login to backend, the stay in frontend and can see the public events plus the members events.
    Anyone who have a solution to this?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Hi @wibbskii,

    You can place a filtered calenndar behind a members area on your website.

    You can create a members area using a 3rd party WordPress plugin.

    In that section, you can display filtered calendars using shortcodes, like this:

    Filtered by event tag name example:

    [ai1ec tag_name=”members”]

    Where it will display only events with the tag “members”

    https://time.ly/document/user-guide/using-calendar/display-multiple-calendars-site/

    On our front end public view, you would display a filtered calendar without showing the events tagged “members”. You should also not display the toolbar so they can’t see the filters, otherwise, they could choose the “members” filter manually:

    [ai1ec tag_name=”tag1, tag2, tag3″ display_filters=”false”]

    I tried this and it works. However from the detail page you can click next event and it will display the event you do not wish to be seen by the public. Our is for band members for our private events. Is there a way to remove or disable the Next Event (I think it is .nav#nav-below). Any help would be great as this is the only issue I am having.

    If you go to the https://ralphbutlerband.com/calendar-2/ and click on an event you will see the Next Event button. After a few clicks it will display the events not seen in the month or Agenda display.

    Hi @montibon,

    The “Next Post” link is specific to your WordPress theme. If you change themes, you’ll notice that not all themes have this feature. You may also be able to disable it in your theme settings. If not, you can easily hide it using custom CSS code.

    Place this code under Appearance > Customize > your theme’s CSS file > then save the file:

    .nav-previous,
    .nav-next
    {
    display: none !important;
    }

    • This reply was modified 6 years, 8 months ago by Sunny Lal.

    Thank you Sunny that help. I thought I was done but then I found another way to get to the private events. When you click on an event from Our Calendar (Calendar View) there are options to see the categories and tags. When clicking the band category it will then display the private band page I made along with the private events. https://ralphbutlerband.com/event/the-ritz-lobby/?instance_id=1126

    Can you tell me how to resolve this? Not sure if I am doing this right or if this is the correct plugin?

    Thank you for the help I really do appreciate it.

    Hi @montibon,

    In your shortcode to display the private calendar, you can hide the filter toolbar, using this shortcode insert:

    display_filters=”false”

    You display your band calendar like this:

    [ai1ec cat_name=”THE BAND″ display_filters=”false”]

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Hide some events for non logged in users’ is closed to new replies.