Events list on WP-Backend list from recent to oldest/Restrict access

Home Forums Calendar Products Events Calendar PRO Events list on WP-Backend list from recent to oldest/Restrict access

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #41362
    Kyle
    Participant

    Hi, great plugin as I’ve had a lot of success with it so far.

    But I’m having a couple problems.

    First, I want the events on the list to show from most recent to oldest by default instead of having to click the “Start Date” button everytime I look at the events list. Is there a way to do this?

    The other problem I am having is I’m trying to restrict access to view the calendar unless you are logged into the site. I tried a couple plugins to do this but the problem is that I can’t restrict it to the calendar because it isn’t on a wordpress page. It seems that your plugin created a page automatically and I can’t find it on the wordpress backend. Is there a workaround?

    Thanks,
    Kyle Janky

    #41549
    Jonah
    Participant

    Hi Kyle,

    This snippet should help with the events order: https://gist.github.com/jo-snips/5088084 – just add that to your theme’s functions.php file.

    For making the calendar private, you might want to check out these threads:

    /events and /events/month private

    Make entire calendar private?

    I hope that helps but let me know if you need anything else.

    – Jonah

    #42012
    Kyle
    Participant

    Hi Jonah,
    Thanks for the response. Unfortunately adding that to my functions.php file didn’t work. It deleted all of my events on the events list in the wp-admin. When I removed the code from functions.php, they came back. So I don’t know if there is a different solution?
    And with making the calendar private, I have no doubt that in those threads there was a solution, but they were pretty vaugue on how to do them and I am not an expert in php code. So maybe if I could get an easier answer?
    Thanks,

    Kyle

    #42068
    Jonah
    Participant

    Hi Kyle,

    Make sure you are following proper PHP standards, i.e. wherever you added it you might need to simply remove the opening PHP tag. The code should work, you just need to paste it in correctly. If you post your functions.php to http://snippi.com/ and share the snippet here I can take a look.

    Unfortunately there is no easy way to make the calendar private and we can’t help you with a solution because it would be too involved. You’ll need to either hire someone to help you or figure it out on your own. Sorry I can’t offer up more on that.

    – Jonah

    #42448
    Kyle
    Participant

    Thank you for the response. I hear ya, no problem. I did put my functions.php here http://snippi.com/s/s8fv7tq so if you could take a look at that and see if I’m doing something wrong.

    Is there any other threads on making the calendar private, or are those two the only ones? I will take a look through the history to see if I can find something else.

    Thanks for your help,

    Kyle

    #42452
    Kyle
    Participant

    Just found a way to make calendar only visible to those that are logged in. You can find the solution below. You just have to put this into all the view php files.
    http://snippi.com/s/xko5l2b

    #42472
    Jonah
    Participant

    Hi Kyle,

    Excellent to hear you figure this out and thanks for sharing your solution! I’m sure it will help others.

    Regards,
    Jonah

    #978788
    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 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Events list on WP-Backend list from recent to oldest/Restrict access’ is closed to new replies.