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.5.8, plugin conflict, WishList Member
- This topic has 14 replies, 3 voices, and was last updated 7 years ago by
Steven Zahm.
-
AuthorPosts
-
01/28/2016 at 12:36 pm #362770
Steven Zahm
Keymaster@ Sylvia
I’ve tried loggin in a few different ways, each, time the login fails. Can you double check the login details?
01/28/2016 at 2:09 pm #362781Sylvia Browder
GuestThis reply has been marked as private.01/28/2016 at 7:23 pm #362813Steven Zahm
KeymasterWell, I did track this down to Wishlist as I suspected. In their main
wpm.php
file they have this code:// Do not allow access to Dashboard for non-admins if ($wpm_current_user->ID && basename(dirname($_SERVER['PHP_SELF'])) . '/' . basename($_SERVER['PHP_SELF']) == 'wp-admin/index.php' && !(current_user_can('edit_post') || current_user_can('edit_posts')) && !current_user_can('level_8')) { header('Location:profile.php'); exit; }
This logic will let you get to the Connections Link admin profile page, but that is about it. This code runs early in the WP process. The
init
hook to be exact. Connections processes its actions add/edit and such on theadmin_init
action which comes well after theinit
action.On your site I made a tweak so the add/edit action happens on the
init
hook to but at priority9
this runs before WishList. This allows allows the add/edit actions to run it it seems to work fine but honestly I’m not sure if making this change will break something else in Connections.Ideally WishList would add a filter so exceptions could be added. But the code as it is is pretty the great wall, nothing is getting around it. Maybe you could communicate that to them???
What I can do… I can create a little code snippet for you that makes the Connections code run sooner and install it tomorrow. Right now, the code was changed in the files which is not a good way to do it because the next Connections update would overwrite the change. The code snippet would be update safe. Does that sound good?
01/29/2016 at 12:29 am #362822Sylvia Browder
GuestYes, that is fine.
Do you also think it would help if I updated to the newest version of Wishlist? I just don’t want to spend money if it isn’t necessary.
Thank you.
01/29/2016 at 10:11 am #362933Steven Zahm
Keymaster@ Sylvia
re: Do you also think it would help if I updated to the newest version of Wishlist?
No, it is unlikely an update to WishList will address the issue. They would have to specifically add a filter for other devs to add exceptions and I doubt they would do that unless there was a request for it. Maybe you could communicate that to them???
I installed the Code Snippets plugin on your site and added a new snippet which simply just makes the Connections admin functions run before WishList runs only if the current user would fail the check that WishList would run before doing the redirect. That way any negative impact should be marginal, seems to work fine.
Hope that helps!
If you have a moment, I would truely appreciate a review as they really do make a difference. Many thanks in advance!
https://wordpress.org/support/view/plugin-reviews/connections
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.