Viewing 15 replies - 1 through 15 (of 30 total)
  • Michael Beckwith

    (@tw2113)

    The BenchPresser

    What’s your website url please? I want to try and see if I can get so far in.

    Thread Starter wrowlands

    (@wrowlands)

    Our website is: https://rotarymeansbusiness.com/

    We have reverted back to version 4.1.2 since our site is live and there is much activity.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Well that doesn’t do me much good ??

    I promise you I am testing these things before I push out the update, and it’s working for me on my pretty vanilla installs. This makes me think there are other things that interject themselves with the overall process and make ours not work. I just can’t pinpoint them if it’s the case.

    I’m definitely not just throwing spaghetti at a wall and seeing what appears to stick ??

    Thread Starter wrowlands

    (@wrowlands)

    I have upgraded the plugin to version 4.2.2 so that you can test things out. Please let me know what you find. As you previously mentioned, it could be a conflict with a plugin.

    Thanks for your great help with this plugin. It is a valuable tool that helps with all the sploggers out in the world.

    Thread Starter wrowlands

    (@wrowlands)

    Here is some more feedback on the plugin. I have just registered another member using an email that I have that is not part of the membership. When I complete the registration, the new member goes straight in as a new member and is live in the site. The new member can post directly to the BuddyPress stream. Now when I sign in with my admin credentials and go to authorize the new member, the request goes into a loop that results in a 505 error.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    The fact that I was able to visit profiles/members/activity streams/etc without even being logged in indicates to me that for whatever reason, my template_redirect checks are failing right out of the gate for your site.

    All of the redirects on that hook depend on this line being true:

    $moderate = (bool) get_option( 'bprwg_privacy_network' );

    After that, there are 2 checks that would return early and not trigger the redirect:

    if ( bp_registration_buddypress_allowed_areas() ) {
    	return;
    }
    
    if ( bp_registration_bbpress_allowed_areas() ) {
    	return;
    }

    The two functions there are as follows:

    function bp_registration_bbpress_allowed_areas() {
    
    	if ( !function_exists( 'bbp_is_user_home' ) ) { return false; }
    
    	if ( bbp_is_user_home() || bbp_is_user_home_edit() ) {
    		return true;
    	}
    	return false;
    
    }
    
    function bp_registration_buddypress_allowed_areas() {
    
    	if ( !function_exists( 'bp_is_my_profile' ) ) { return false; }
    
    	global $bp;
    
    	if ( bp_is_my_profile() || bp_is_user_profile() || bp_is_user_profile_edit() || $bp->current_component == 'register' || $bp->current_component == 'activate' ) {
    		return true;
    	}
    
    	return false;
    }

    Without access to the site, I’m not sure where it’s failing, and possibly why.

    I really want this to work for you, as I know you’ve been extremely patient with me overall. So, I’m curious if you would be willing to let me into the WP Admin with an administrator account, so that I can see what’s going on on that side of the screen. This redirect not working for you is going to bother me.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    That said, you can revert back to 4.1.x for the time being if you want. I also understand any reluctance to let me in so far, if that ends up being the case.

    Thread Starter wrowlands

    (@wrowlands)

    Michael, please send me an email to [email protected] so that I have your email address. Once I have it I will make you an admin on the website. You can then work with the code from there.

    Thread Starter wrowlands

    (@wrowlands)

    Michael, I must say that since I have gone back and forth with the newer version of the plugin and older versions, our database got messed up. I had to revert to a back up of our database to fix things. I have now deactivated the plugin and deleted the files as it was causing basic problems in signing up new members. I signed up myself using other emails that I have and I simply could not authorize my new membership. At this point I must watch the site closely as we have no protection from sploggers.

    Michael – 4.1.3 has now suddenly stopped working for me on https://commons.digitalthoreau.org. It continues to hold new member requests, but when I click the dashboard link to review them for approval/denial, the request times out and I get a 504 bad gateway error.

    I currently have about 20 new member requests awaiting moderation but no way to view them.

    Is there an alternative way to get to them?

    I’m fearful of upgrading to 4.2 in light of my previous experience and what wrowlands is reporting. Any suggestions would be appreciated.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Gah. That’s not good regarding db issues. ??

    michael @ webdevstudios.com reaches me.

    Looking over the latest version of the code for instances where we interact with the db.

    There’s the get/update/delete_option() moments where we manage our saved options.
    There’s get/set/delete_user_meta and all those use WP functions.
    There’s some transient storing/fetching.
    A case of fetching all users that have our intended moderation meta key
    User deletion when appropriate

    Pretty much all of it uses WP functions.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    Paul, if you would be so kind, could you please start your own thread for your issue, and I’ll look into it there.

    Thread Starter wrowlands

    (@wrowlands)

    I have experienced the same issue that Paul was experiencing. I get both a 504 error and a 505 error when attempting to click on the link to approve/deny member requests. That was the main reason that I had to both deactivate the plugin and then delete all the files. I could not get any version of 4.* to work. I even attempted to go back to some version 3.* and get php errors that disrupts the website. It may have something to do with the upgrade of WordPress 4.0.1.

    Michael: I’ve opened a new thread for my issue, though it sounds like it’s probably the same issue Wayne is dealing with.

    Michael Beckwith

    (@tw2113)

    The BenchPresser

    wrowlands, has anything changed since last night? I would be impressed if something with a WP core security release caused that much issue with our plugin, but at times not much shocks me either.

Viewing 15 replies - 1 through 15 (of 30 total)
  • The topic ‘Version 4.2.2 is simply not working’ is closed to new replies.