Home › Forums › Calendar Products › Community Events › Double Login
- This topic has 4 replies, 2 voices, and was last updated 11 years, 6 months ago by
Brian.
-
AuthorPosts
-
September 22, 2014 at 7:34 pm #760050
sidneyexchange
ParticipantWe 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?
September 23, 2014 at 12:45 pm #762230Brian
MemberHi 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
September 23, 2014 at 6:35 pm #762720sidneyexchange
ParticipantHi 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/addIt 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
September 24, 2014 at 7:38 am #763850Brian
MemberOk 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.
October 10, 2014 at 1:51 pm #801581Brian
MemberSince 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! 🙂
-
AuthorPosts
- The topic ‘Double Login’ is closed to new replies.
