WordPress.org

Ready to get started?Download WordPress

Forums

BP My Home
[resolved] make bp my home (2 posts)

  1. deepbevel
    Member
    Posted 3 years ago #

    Almost forgot to mention, the only thing still not working for me is the "Make BP my home the homepage for this web site" feature. It actually has never worked for me, and I've tested with many set ups.
    In my case it doesn't matter, because the S2 Member plug in allows me to make a default members log in page, which of course I set for "My Home". However I may want to try and remove the bp my home link to avoid confusion, with users wondering why the option has no effect.

    http://wordpress.org/extend/plugins/bp-my-home/

  2. imath
    Member
    Plugin Author

    Posted 3 years ago #

    Well, this is strange. Another plugin function may interfere..

    Even if i'm pretty sure you found how to remove the checkox in my-settings page of BP My Home, i suggest you to use this snippet in the functions.php file of your active theme :

    function hide_bp_my_home_set_as_home(){
    	global $bp;
    	if($bp->current_action == 'my-settings'){
    		?>
    		<script type="text/javascript">
    			jQuery("#user_home_page").parents("tr").hide();
    		</script>
    		<?php
    	}
    }
    
    add_action('wp_footer','hide_bp_my_home_set_as_home');

    this way, if i upgrade the plugin, you won't have to think about deleting lines 375 to 380 in bp-my-home/includes/bp-my-home-core.php

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags