Double Login

Home Forums Calendar Products Community Events Double Login

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #760050
    sidneyexchange
    Participant

    We just recently setup The Event Calendar and love it. So much better than last solution. Of course however we have noticed a few issues to discuss which I will post separately. We use a theme called ClassiPress which has it’s own login screen and recommends disabling the wordpress login. Looks like the events calendar however requires the wordpress login or else it makes the user login twice, once at wordpress, then in Classipress. Is there a way I can modify the login for The Event Calendar to go to the Classipress login instead of the wordpress login?

    #762230
    Brian
    Member

    Hi thanks for the love for the Events Calendar. I am going to try and help you out on this, but not sure how much we can do.

    The login you see on the Community Events Page is a WordPress login so once you are logged in there, you are logged into WordPress and can access the dashboard(unless blocked). That is needed so the plugin can track what events a person creates and I am not sure how your theme will replace that functionality.

    You can try modifying the Community Events Plugin, but I would not recommended it as the changes will be lost on updates and there is not much we can do to help with that customization.

    Another Option
    There is a setting in the Community Events to enable anyone to post an event from the form without logging in. If you did that and then used something in Classipress to wrap around the Community Events Form to check if they are signed in using Classipress login might be the best way to do this.

    You can follow our themer’s guide to move the community template to your theme and modify it there.

    https://theeventscalendar.com/support/documentation/events-calendar-themers-guide/

    Does that help? Let me know and I can answer some more questions too.

    Thanks

    #762720
    sidneyexchange
    Participant

    Hi there, thanks for the reply. The thing is, I think (I’m not a WordPress guru by any means) that the classipress login is just another version of the wordpress login as once you have logged in you can still access all wordpress backend (if you’re admin) so really it’s the same thing.

    Here’s what the login page looks like:
    http://sidneyexchange.com/login/

    Now when I disable the wordpress login in my them settings, then whenever I login via the events calendar, it then takes me to the above page where I have to login again.

    Here’s my events page login:
    http://sidneyexchange.com/events/community/add

    It doesn’t matter which login I use, I have the exact same wordpress access so really I just need the events login page to redirect to the classipress login page and all should be fine no? 🙂

    Thanks

    #763850
    Brian
    Member

    Ok I looked through out login check functions found in this file:

    /tribe-community-events/tribe-community-events.php

    The plugin does two checks if a user is logged in using the WordPress function:

    ‘is_user_logged_in()’

    And if Anonymous Submissions are accepted from the Community Events Settings.

    You could try editing that to get it to work with your theme’s login. I am not sure what using the theme’s login is not recognized by the WordPress function ‘is_user_logged_in()’.

    There are no hooks or filters to change that in the Community Events Plugin so you would have to edit it yourself, but that is not recommended as the changes will be overwritten on the next update of the plugin.

    The theme developer may have a better answer of how their login is setup and why it is not detecting a user with ‘is_user_logged_in()’

    Let me know if you have any more questions and we can try to help out, but we are limited on what else we can do to on this customization.

    Thanks

    *Moving this ticket to the community events forum as it is relevant to that plugin.

    #801581
    Brian
    Member

    Since I haven’t heard back from you here, I’m going to go ahead and close out this thread. Feel free to start a new thread if you have further issues. Thanks! 🙂

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Double Login’ is closed to new replies.