BuddyBoss Home – Web › Support Forums › Plugins › BuddyBoss Reply by Email › Plugin conflict
- This topic has 12 replies, 4 contibutors, and was last updated 8 years, 10 months ago by Anonymous.
Question
December 3, 2015 at 11:48 am #53613@jasonvphase2solutionsI am running the Reply by Email plugin along with a plugin called Site Private (https://wordpress.org/plugins/site-private/). I am not receiving messages back from email with the Site Private plugin active. When I deactivate that plugin the Reply by Email plugin works fine. The Site Private is a very simple plugin with one file. See below for the code. What might be causing the issue here?
defined('ABSPATH') or exit; function siteprivate_redirect() { global $pagenow, $current_user, $current_blog, $bp; // get current user's information get_currentuserinfo(); // use WPMU function is_user_member_of_blog() to check site membership $userID = $current_user->ID; $blogID = $current_blog->blog_id; if ('wp-login.php' !== $pagenow && !current_user_can('subscriber') && !current_user_can('contributor') && !current_user_can('author') && !current_user_can('editor') && !current_user_can('administrator') ) { // auth_redirect(); wp_redirect( wp_login_url( $redirect ) ); exit(); } } add_action('plugins_loaded', 'siteprivate_redirect');
Answers
December 4, 2015 at 11:01 am #53680@adminzenoedI’m using WP Require Auth and I think this also seems to reject direct post if not logged in.. not so sure tho’.. I am sure BB team can help to allow http_post to ‘/wp-admin/admin-ajax.php?action=cloudmailin_incoming_service’ through…
December 4, 2015 at 12:18 pm #53688@
AnonymousHi @adminzenoed @jasonvphase2solutions
I have notified developer to cross check approach, there are several plugin which normally people use to lock down their site to build private community.
I hope solution will be plugin specific , every plugin use a different approach.
Regards
Varun DubeyDecember 9, 2015 at 12:28 pm #54087@
AnonymousHi @jasonvphase2solutions
Please add this plugin , it will fix the issue
Extract the zip and upload the php file inside your plugin folder just like hello.php
It is plugin specific solution only if your are using https://wordpress.org/plugins/site-private/Regards
Varun DubeyDecember 9, 2015 at 12:43 pm #54090@
AnonymousHi @adminzenoed
Please add this plugin , it will fix the issue
Extract the zip and upload the php file inside your plugin folder just like hello.php
It is plugin specific solution only if your are using WP Require AuthRegards
Varun DubeyDecember 27, 2015 at 10:03 am #55065@bradleyrfHey Varun,
I use Private Community for BP Lite to keep my site private. It’s no longer a free plugin but if you need a copy to create a workaround for me I can send you the version I have.Thanks for all you do.
December 27, 2015 at 12:52 pm #55075@
AnonymousHi @bradleyrf, Please sent them at [email protected]
Regards
Varun DubeyJanuary 8, 2016 at 2:25 am #55809@
AnonymousHi @bradleyrf, I have attach a plugin file please install it along with Reply by Email.
RegardsJanuary 8, 2016 at 2:26 am #55811@
AnonymousAdded fix for BP member Only
Regards
January 9, 2016 at 2:09 pm #55917@jasonvphase2solutionsThank you Varun! It works perfectly. One last question, if you are using a different login url, how should the plugin fix be modified. I’m using (https://wordpress.org/plugins/rename-wp-login/) and tested it with the fix and it didn’t work. When I deactivated rename-wp-login it worked fine. I’m thinking it has something to do with $pagenow.
Thanks again for your help. Much appreciated!
January 11, 2016 at 1:04 pm #56051@
AnonymousHi @jasonvphase2solutions
you can pass page slug instead of wp-login.php
RegardsJanuary 11, 2016 at 6:48 pm #56070@bradleyrf@vapvarun — I uploaded private-community-rbe-fix.php to the /plugins/buddyboss-reply-by-email folder.
When running a test from the dashboard, I’m able to send the test email. But when I reply to that email it never comes and I get the following error in the logs:
Failed incoming mail error: (From source doesn’t have permission with this token.
Plus a get a failed reply message in my inbox.
Thoughts?
January 12, 2016 at 12:22 pm #56117@
AnonymousHi @bradleyrf, you will need to install it as separate plugin and activate it
File will goes to /plugins/
Regards
- The question ‘Plugin conflict’ is closed to new replies.