Conflict with AWPCP

Home Forums Calendar Products Community Events Conflict with AWPCP

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #928555
    sledmass
    Participant

    Hello,

    I have been using Another WordPress Classifieds Plugin (AWPCP) for a few years and was just alerted of an issue that only takes place when Community Events is activated.

    It will not allow users to access their classifieds admin page, instead redirecting to our homepage.

    When Community Events is activated and a user (that is logged in) attempts to go to http://sledmass.com/wp-admin/admin.php?page=awpcp-panel, it redirects to the homepage sledmass.com.

    This does not impact the Admin.

    I have the latest versions of the plugins.

    Any thoughts?

    Thanks,
    Dan

    #928828
    Brian
    Keymaster

    Hi,

    Sorry for the conflict you are having with another plugin.

    We are limited on the support we can provide when conflicts arise, but I think if you change a setting this may fix it.

    In your site’s admin head to this tab:

    Events > Settings > Community Tab

    Under this section “Access Control”

    Do you have it check to block access? If so does unchecking that and all the roles help resolve the issue?

    Let me know.

    Thanks

    #934409
    sledmass
    Participant

    That didn’t work but I appreciate the assistance. Any other ideas?

    #934648
    Brian
    Keymaster

    It is hard to say what is causing the issue.

    If the Events Calendar Community Events is not set to blocking the admin with the access controls it is unclear what is causing the problem.

    Unfortunately, there is not much else we can do with 3rd Party Plugin conflicts.

    However, I did load up that plugin as I have used it once before.

    In the General Setting Tabs of AWPCP

    What is the setting for this field:

    Who can access AWPCP Admin Dashboard

    Also I tried to access this link on my test site:

    /wp-admin/admin.php?page=awpcp-panel

    And could not get it to work with or without Community Events Active.

    Does that come from an Add On Plugin to AWPCP?

    Let me know

    Thanks

    #936079
    sledmass
    Participant

    The folks at AWPCP discovered the problem (pasted below) which involves settings in Community Events and Theme My Login.

    When I uncheck Access Control for Subscribers in Community Events settings, it gives my low level users “Subscribers” access to edit Community Events items, which is not good. Specifically venues and organizers.

    Is there a way to limit Community Events access to the Subscribers without interfering with AWPCP?

    BTW, other users of Community Events are having the same problem according to the forums at AWPCP.

    You asked:
    1) Who can access AWPCP Admin Dashboard
    Registered Users “Subscribers” and higher.

    2) Does that come from an Add On Plugin to AWPCP?
    There is not an Add On to AWPCP, just the single plugin

    ————————————————————————————–

    Hi Dan,

    My developer looked into this and found the source of the issue:
    This issue is a configuration problem not related to AWPCP.

    The Theme My Login plugin is configured to Restrict Admin Access to Subscribers (and other roles), causing logged in users to be redirected tohttp://sledmass.com/your-profile/ when they attempt to access the User Panel (or any other admin section).

    The restriction in Theme My Login can be configured from: http://sledmass.com/wp-admin/admin.php?page=theme_my_login_themed_profiles.

    theme_my_login_themed_profiles_settings_ _snowmobile_association_of_massachusetts_ _wordpress

    The Community Events add-on of The Events Calendar plugin, is configured to block access to the admin dashboard to Subscribers (and other roles), causing logged in users to be redirected to the homepage when they try to access the user panel.

    The access control can be configured in http://sledmass.com/wp-admin/edit.php?post_type=tribe_events&page=tribe-events-calendar&tab=community (scroll down to the Access Control section).

    the_events_calendar_settings_ _snowmobile_association_of_massachusetts_ _wordpress

    Please let me know if you have any other questions or issues!

    Regards,
    -Dave
    AWPCP Owner

    Home

    #938514
    Brian
    Keymaster

    Hi,

    Sorry I missed this post. For some reason it did not change to the status that you responded.

    When I uncheck Access Control for Subscribers in Community Events settings, it gives my low level users “Subscribers” access to edit Community Events items, which is not good. Specifically venues and organizers.

    The plugin is designed to give anyone regardless of role access to create events on the front end so it is working as designed.

    If you would like to block a specific role to the community events pages you could follow our themer’s guide to wrap the form in a check for a specific capability or roles and only give users that have them access to it.

    This is our themer’s guide to editing templates safely in your theme:

    https://theeventscalendar.com/knowledgebase/themers-guide/

    And this is the file you can start by moving and editing:

    the-events-calendar-community-events\views\community\edit-event.php

    there are other templates in the same directory that you can move and edit too.

    Here is WordPress’s function to check for user roles or capabilities:

    http://codex.wordpress.org/Function_Reference/current_user_can

    #943595
    Brian
    Keymaster

    I am going to close this topic as we typically close threads if there is no activity after two weeks. Feel free to create a new thread and reference this one to save you time.

    Thanks

Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘Conflict with AWPCP’ is closed to new replies.