Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.6.4, plugin conflict
- This topic has 6 replies, 2 voices, and was last updated 6 years, 4 months ago by
Steven Zahm.
-
AuthorPosts
-
05/02/2017 at 2:33 pm #421650
John Meirowsky
GuestI have noticed that there are frequently posted conflicts with access manager plugins. I have added code that was posted on one of the forums to fix a conflict with the User Access Manager (see below). Will this permanently resolve this issue or will there continue to be conflicts with Connections and the User Access Manager?
I ask because we are building a new site and if there’s a user access manager plugin that’s more stable, I’d be open to using it. If that plugin exists, please let me know.
05/03/2017 at 10:12 am #421741Steven Zahm
Keymaster@ John
re: I have noticed that there are frequently posted conflicts with access manager plugins.
Most of which are old. I can not recall anything recently. The only time there’s a real conflict is when such a plugin hijacks the core WP login process without implementing the required core actions and filters with the correct params being passed to them. This really only affect the Link extension. The s2member issue is a completely different issue.
re: User Access Manager?
I am not currently aware of any conflict with User Access Manager.
As far as I know, the s2member issue is present and is not something I can resolve. That plugin resets all custom roles and capabilities when it updates (at one time). This will break any and every plugin which relies on them, which there are many. For example, small plugins like Easy Digital Downloads, bbPress, BuddyPress and WooCommerce.
Hope that helps!
05/04/2017 at 10:26 am #421844John Meirowsky
GuestWe experienced some conflicts with plugins and Connections. We think we isolated it to the User Access Manager. The conflict was not allowing the Connections menu to appear in the sidebar menu. The content was still available and once we installed the top menu bar extension we were able to see the plugin again.
We believe it was a User Access Manager conflict because once we would try to access the features in the Connections menu, WordPress displayed an error saying “Sorry, you are not allowed to access this page.” We also got the same message when trying to access the settings function on the WordPress plugin menu.
We resolved the issue using the code that you posted with the conflict with the S2Member.
We are hoping that further updates made to the Connections plugin won’t interfere with this patch. Do you foresee any changes that would cause future conflicts with the User Access Manager plugin?
05/04/2017 at 11:41 am #421849Steven Zahm
Keymaster@ John
Hmm… the conflict is the other way around… You should report this to the User Access Manager dev. It should not be removing third party roles and capabilities.
Updates to Connections is not going to “break” UAM, but, perhaps updates to UAM may break Connections again requiring you to run that code snippet again.
Not sure if this helps or not, but I hope it does.
05/04/2017 at 12:13 pm #421850Steven Zahm
Keymaster@ John
I just searched the UAM code for core WP functions of
add_cap()
,remove_cap()
,add_role()
andremove_role()
which would be used to add remove roles and capabilities. Unless custom code instead of the WP API is being used, I do not see UAM being able to remove custom roles and capabilities. I also activated on my test site and insofar as I can tell there are no issues.The only thing I saw glancing thru its settings was an option to reset UAM back to its defaults. Did you by chance use this feature? If you did, maybe there might be something in it that does something to custom roles and capabilities. I would have to dig much deeper. But, before I do, I like to know if you used it or not. Because if you did not, then there’s really no reason to deep dive into its code.
05/04/2017 at 4:31 pm #421861John Meirowsky
GuestYes, I agree that the conflict is created by the UAM. However, I couldn’t seem to do anything to alter it. I tried resetting UAM. I also tried unactivating and uninstalling. The plugin seems to leave a record of its settings that I couldn’t wipe away.
I didn’t use any custom code to the UAM plugin so that also wasn’t the problem.
That’s a good suggestion to post a conflict with the UAM.
05/05/2017 at 10:28 am #421951Steven Zahm
Keymaster@ John
If you do run into this issue again, please, before fixing it, let me know so I can take a look. It would be interesting to figure exactly what the issue is and how it’s being caused. Thanks!
-
AuthorPosts
You must be logged in to reply to this topic.