Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1 through 25 (of 607 total)
  • Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @profc
    Use this plugin. Download the zip file and upload to your plugins directory. Read the readme.txt and make the adjustments in the commented code in private-community-for-bp.php before activating the plugin.
    https://github.com/bphelp/private_community_for_bp

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @benjino
    This is a great community and I am sorry your issue cannot be resolved. Several people including myself has tried to help you but the issue is that your not comfortable with php. We have pointed you in the right direction but there comes a point when there is an expectation to do your part as well. Please don’t be offended as there are many new users that are in your predicament that are given the advise to hire a developer. I did not intend to offend you so please do not take it that way. If someone told me to wire a house with electricity I would be in your shoes in the beginning but my meticulous nature would kick in and I would study about how to wire a house with electric. Point is if I didn’t know any php I would study it so I did.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @benjino
    Then take @hnla ‘s advice. If you don’t know php then you have 3 choices,
    1.) learn some php
    2.) hire a developer
    3.) just don’t play around with anything above your skill level.

    Without trying to sound rude or condescending you have had more than enough help for your topic and nobody can spoon feed you how to get it done when you don’t even know where to start. My suggestion is start learning php because it will save you some cash. You don’t have to be an expert but learning the basics is essential if you want customizations beyond the “Out of the Box” experience. :-)

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @famous
    Use the last code because I made a slight change.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @famous
    Try this just make sure you follow the instructions in the commented code. Place it in bp-custom.php :

    
    /* Redirects to profile upon login, and upon logout redirects to activity page unless changed */
    function bp_help_redirect_to_profile(){
     global $bp_unfiltered_uri;
    
     $bphelp_my_front_page = 'activity';  // WARNING: make sure you replace 'activity' in this line to the same thing you set dashboard/settings/reading front page to.
    
     if ( !is_user_logged_in() && ( $bp_unfiltered_uri[0] != $bphelp_my_front_page ) ) 
      bp_core_redirect( get_option('home') );
    
     elseif( is_user_logged_in() && ( $bp_unfiltered_uri[0] == $bphelp_my_front_page ) )
    	bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile' );
    
    }
    	
    add_action( 'wp', 'bp_help_redirect_to_profile', 3 );
    
    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @famous
    Try this just make sure you follow the instructions in the commented code. Place it in bp-custom.php :

    
    /* Redirects to profile upon login, and upon logout redirects to activity page unless changed in line 6 */
    function bp_help_redirect_to_profile(){
     global $bp_unfiltered_uri;
    
     $bphelp_my_home_page = 'activity';  // WARNING: make sure you replace 'activity' in this line to the same thing you set dashboard/settings/reading front page to.
    
     if ( !is_user_logged_in() && ( $bp_unfiltered_uri[0] != $bphelp_my_home_page ) ) 
      bp_core_redirect( get_option('home') );
    
     elseif( is_user_logged_in() && ( $bp_unfiltered_uri[0] == 'activity') )
    	bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile' );
    
    }
    	
    add_action( 'wp', 'bp_help_redirect_to_profile', 3 );
    
    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @benjino
    This one works for me! Just add it to bp-custom.php or to your themes functions.php between opening and closing php tags.

    
    /* Add registration menu item to logged out visitors only */
    add_filter( 'wp_nav_menu_items', 'bphelp_custom_registration_nav_menu_item' );
    
    function bphelp_custom_registration_nav_menu_item($menu) { 	
    	if ( is_user_logged_in() )
    		return $menu;
    	else
    		$customreglink = '<li><a href="' . get_bloginfo('url') . '/register' . '">' . __('Register') . '</a></li>';
    		$menu = $menu . $customreglink;
    		return $menu;
    }
    
    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @henrywright-1
    Yes it will display your personal and friends activity only.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @wpgoddess
    Never get hung up on one theme because the one you may love the most may be junk as far as coding
    (Please don’t take offensive as it is not directed towards any individual). Try others, or hire a well known buddypress web designer like @karmatosed. I mainly do development so looking pretty is more a designers cup of tea but functionality is my thing!

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @luckyrajiv
    Try the plugin in the link I provided instead off editing core files. It is safer to use the plugin. Last time I checked it was working with BP 1.7.2 however I cant promise it will work when BP 1.8 is released and I do not have plans to further update it.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @programer2013
    Expanding on @henrywright-1 suggestion you can add the below code to bp-custom.php
    It will prohibit logged out visitors from viewing BP Pages and redirect to registration. Upon login it will direct them to their public profile.

    
    define( 'BP_DEFAULT_COMPONENT', 'profile' );
    function bp_help_restrict_login_and_redirect_to_profile() {
    global $bp;
    $bphelp_change_slug = 'register'; //* if you changed 'register' to 'sign-up' then change 'register' in this variable accordingly EXAMPLE: change 'register' to 'sign-up' *//
    
    if ( !is_user_logged_in() && !bp_is_register_page() && !bp_is_activation_page() )
      bp_core_redirect( get_option('home') . '/' . $bphelp_change_slug );
    
    elseif( is_user_logged_in() && bp_is_register_page() )
      bp_core_redirect( get_option('home') . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile' );
    
    }
    	
    add_action( 'wp', 'bp_help_restrict_login_and_redirect_to_profile', 3 );
    
    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @ljmac @luckyrajiv
    You can try this plugin but I quit updating it because I felt it was obsolete.
    https://github.com/bphelp/activity-privacy-component

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @luckyrajiv
    Try the snippets I provided in the below thread courtesy of @sbrajesh:
    http://buddypress.org/support/topic/redirect-to-profile-page/

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @ivevera
    That is the registration form in the screenshot. Do you mean its not functioning? Please supply more info on your installation as well as more details about your issue.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @tribblehunter
    Not sure I understand you correctly so I will offer some advice. Even if having multiple user profiles under one email was possible your site would become spam heaven so I would highly advise against this. Are you sure you don’t mean adding a new field group which is already possible?
    http://codex.buddypress.org/user/buddypress-components-and-features/extended-profiles/

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @ldjautobody
    If the user is already logged in it is default behavior for them to be redirected to the home page which makes sense, since someone who has the ability to login had already been through the registration and activation process. Hope this answers your question. :-)

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @boonebgorges
    Awesome job to the entire Development team!

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @synaptic
    I think it would be useful on some situations. If you are knowledgeable about how to approach it with coding then it is very feasible.

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @rcain
    Activity Stream Throttling done courtesy of BuddyDev:
    http://buddydev.com/plugins/bp-rate-limit-user-activity/

    Limit friendship request throttling done courtesy of BuddyDev:
    http://buddydev.com/plugins/bp-limit-friendship-request/

    Private Message Rate limit plugin includes throttling coming soon from BuddyDev

    Many captcha solutions have been out there for years.

    I covered a hidded registration form field in a plugin here:
    https://github.com/bphelp/bp-spam-killer

    I doubt this covers everything but the fight against spam is ongoing. So you have my support! :-)

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @wgbcworship
    Have you tried batch deactivating plugins except for BP and testing registration against each plugin after you re-activate them individually?

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @synaptic
    Nice snippets is this your site? I think it should also include the honeypot method which I made a very small plugin with here: https://github.com/bphelp/bp-spam-killer
    You could easily use those functions in bp-custom.php etc. I am also liking BuddyDev’s BuddyPress Rate Limit User Activity plugin which provides activity stream throttling based on a time interval. It is however a premium plugin. You can get it here:
    http://buddydev.com/plugins/bp-rate-limit-user-activity/
    I hate spam unless its on a sandwich so thank you for sharing! :-)

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @modemlooper
    That definitely would make a difference. Anyway thank you for your input!

    Avatar of bp-help
    bp-help
    Participant

    @bphelp

    @henrywright-1
    Yes by default. Not really sure why but you could write a function to exclude the current logged in user.

Viewing 25 replies - 1 through 25 (of 607 total)