Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @azaleamollis

    Participant

    Thx for the answers guys, the encouragement is really appreciated.


    @henrywright

    He won’t be back I bet. He intentionally didn’t use the support forum to share what was his problem, he just wanted to ruin someone else’s work.


    @djsteveb

    My plugin does everything you mentioned, it has nice error messages that inform users how to choose an acceptable password and uses wordpress’s built-in js password strength checker, zxcvbn so I would be surprised if it failed.

    “and people are tired of being frustrated by technology”
    I can understand this, I’m also tired of being frustrated by not having a Porsche but I still don’t expect others to provide it for free :). Users should contribute to the development via the support forum first if they want to use open source stuff.

    @bp-help
    Yes, I know. I also got a feature request from someone who claimed the plugin worked well, but he/she still didn’t bother with leaving a good review. Just the feature request 🙂 I agree with you, it seems WP plugin development is not something that’s worth the time.

    How did you remove yours from the WP repo? Just delete the files? But what happens to people who currently use the plugin?

    @azaleamollis

    Participant

    I don’t know if there’s a good plugin for this but you can add a custom function to your bp-custom.php file that achieves the same result. You can read how to make a bp-custom.php file here in the BP Codex.

    When your bp-custom.php file is ready, you add this function to the file:

    
    <?php
    function restrict_bp_pages() {
    	
    	global $bp;
    	
    	if( bp_is_blog_page() || bp_is_register_page() || bp_is_activation_page() ) {
    		return;
    	}
    	
    	if( !is_user_logged_in() ) {
    		bp_core_redirect( $bp->root_domain .'/YOUR-LOGIN-SLUG' );
    	}	
    	
    }
    add_action( 'get_header', 'restrict_bp_pages' );

    You insert the slug of your login page in the place of YOUR-LOGIN-SLUG into the code above. E.g. if your login page is http://www.mypage.com/mylogin, your insert ‘/mylogin’. If you want to use your home page you leave out this part and only use bp_core_redirect( $bp->root_domain );.

    Then you upload the bp-custom.php file into the /wp-content/plugins/ folder on your server, and you’re ready.

Viewing 2 replies - 1 through 2 (of 2 total)
Skip to toolbar