Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 1,126 through 1,150 (of 1,167 total)
  • @bphelp

    Participant

    when you made the custom menu did you click and select that menu and save it under “Theme Locations”? Its on the same screen in the dashboard that you created the custom menu to the top left.

    @bphelp

    Participant

    define(‘BP_DEFAULT_COMPONENT’,’groups’);
    you put this in bp-custom.php and that should set it. example:
    define(‘BP_DEFAULT_COMPONENT’,’profile’);
    or
    define(‘BP_DEFAULT_COMPONENT’,’activity’);

    @bphelp

    Participant

    Try this:
    http://www.mediafire.com/?u6oos92g344485f
    makes activity dependent on friendship but admin can see all activity.

    @bphelp

    Participant

    @mercime Any idea for a fix? Thank you!

    @bphelp

    Participant

    Untested but maybe this will work!
    `
    define(‘BP_DEFAULT_COMPONENT’,’groups’);
    global $bp;
    $bp->bp_nav[‘profile’][‘position’] = 20;
    $bp->bp_nav[‘forum’][‘position’] = 30;
    $bp->bp_nav[‘posts’][‘position’] = 40;
    $bp->bp_nav[‘activity’][‘position’] = 50;
    $bp->bp_nav[‘blogs’][‘position’] = 60;
    $bp->bp_nav[‘friends’][‘position’] = 70;
    $bp->bp_nav[‘messages’][‘position’] = 80;
    $bp->bp_nav[‘groups’][‘position’] = 10;
    $bp->bp_nav[‘settings’][‘position’] = 90;
    }
    add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 );

    add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’,9 );
    `

    @bphelp

    Participant

    @fatche@bluelf, @modemlooper removed this plugin from the repository unfortunetly! you could try creating a bp-custom.php file in yoursite/wp-content/plugins directory and add the following between opening and closing php tags:

    define(‘BP_DEFAULT_COMPONENT’,’groups’);
    global $bp;
    $bp->bp_nav[‘profile’][‘position’] = 20;
    $bp->bp_nav[‘forum’][‘position’] = 30;
    $bp->bp_nav[‘posts’][‘position’] = 40;
    $bp->bp_nav[‘activity’][‘position’] = 50;
    $bp->bp_nav[‘blogs’][‘position’] = 60;
    $bp->bp_nav[‘friends’][‘position’] = 70;
    $bp->bp_nav[‘messages’][‘position’] = 80;
    $bp->bp_nav[‘groups’][‘position’] = 10;
    $bp->bp_nav[‘settings’][‘position’] = 90;
    }
    add_action( ‘bp_init’, ‘tricks_change_bp_tag_position’, 999 );
    }
    add_action( ‘wp_head’, ‘tricks_change_bp_tag_position’,9 );

    The numbers in increments of ten correspond to the order in which they will be listed in the navigation.

    @bphelp

    Participant

    Sorry the code got stripped out. Here is another try!

    function bp_guest_redirect() {
    global $bp;
    if ( bp_is_activity_component() || bp_is_groups_component() /*|| bbp_is_single_forum()*/ || bp_is_forums_component() || bp_is_blogs_component() || bp_is_page( BP_MEMBERS_SLUG ) ) {
    // enter the slug or component conditional here
    if(!is_user_logged_in()) { // not logged in user
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    } // user will be redirect to any link to want
    }
    }
    add_filter(‘get_header’,’bp_guest_redirect’,1);

    @bphelp

    Participant

    Try this plugin:
    https://wordpress.org/extend/plugins/restricted-site-access/

    `
    Just place this between opening and closing php tags in the bp-custom.php file:

    `
    On the below line you can change the /register to the page you want them redirected too!
    wp_redirect( get_option(‘siteurl’) . ‘/register’ );
    For example:
    wp_redirect( get_option(‘siteurl’) . ‘/activity’ );

    @bphelp

    Participant

    For buddypress specific pages see this thread:
    https://buddypress.org/support/topic/private-community-with-public-wordpress/
    For post and pages you could try this plugin:
    https://wordpress.org/extend/plugins/wp-members/

    @bphelp

    Participant

    @bphelp

    Participant

    Great then I guess its been narrowed down to the theme. @musadiqmarhaban I hope the theme update works out for you! 🙂

    @bphelp

    Participant

    Yes use the buddypress default theme. That should have been a prerequisite to troubleshooting if it was just an isolated theme issue or a buddypress issue.

    @bphelp

    Participant

    Maybe you cant post php code here. I used pastebin earlier and posted a link to my replies. If this is the only solution to posting full php code on buddypress.org then just let me know and I will use links from pastebin when pasting it. Thank you guys!

    @bphelp

    Participant

    This is just a suggestion, but why don’t you try out the Responsive theme. and make a child theme of it and edit it to your hearts content. It will look nice!
    https://wordpress.org/extend/themes/responsive

    @bphelp

    Participant

    Okay after alot of trial and error I came up with this and it will do what you stated above. First I hope your using a child theme. If so go into the style.css and add this line:
    `
    li#members-all.selected {
    display: none !important;
    }
    `
    That will rid you of that “All Members” tab.
    Next follow my instructions in this link and adjust it to your version of buddypress because the directory structure is different but it shouldn’t be much of a problem. Here is the link:
    http://pastebin.com/FMvCEKmf

    @bphelp

    Participant

    Since it wouldn’t post here here is a link that explains it
    EDITED – http://pastebin.com/h8Czizx2

    @bphelp

    Participant

    It wont print all the code! How can I add php code here? So I can share the resolution?

    @bphelp

    Participant

    @mercime I tried the code you provided and it works good, only one tiny problem if you can provide a fix. When I am on the activity page for instance then I click the link for View Your Awesome Profile it takes me there as it should but the activity menu item still looks active by the color of the menu item. Its probably a CSS thing but when your active in your profile the navigation menu item still looks like the activity menu item is the active because its still got the color of being the active item even though its not. Hope this makes sense. Any suggestions on how to fix it? Thank you!

    @bphelp

    Participant

    Also, how can I hide the Activity pages etc. until the user loggs in?

    Read my reply in the following thread to accomplish this.
    https://buddypress.org/support/topic/private-community-with-public-wordpress/

    @bphelp

    Participant

    I might disable the plugin and edit the site so when a user logs in they see their member profile instead of the sitewide activity. Any ideas on how to do this?

    Have you tried this plugin?
    https://wordpress.org/extend/plugins/buddypress-login-redirect/

    @bphelp

    Participant

    on members profiles that a user isn’t friends with, the activity stream is blank

    Ain’t that kinda the point of the plugin to not allow non-friends see your activity?
    Maybe there is a function somewhere that will post a message that says you have to be friends with this user to view their activity. Hopefully someone else can help us on how to do that.

    @bphelp

    Participant

    to not display that you would put something like the below in your style.css:
    #members-all.selected {
    display: none;
    }

    @bphelp

    Participant

    Okay I see what you mean. I had activity before I installed the plugin. It says Sarah Gooding is the author. I think its just a small bug that is un-noticible if you have some activity. Maybe someone else here can find a fix because I am not much of a coder. Sorry!

    @bphelp

    Participant

    do you have a demo user name and password so I can see what it is?

    @bphelp

    Participant

    Sorry the link didn’t print so just copy and paste it into your browser.
    http://www.mediafire.com/?znbde6d1r2l0k57

Viewing 25 replies - 1,126 through 1,150 (of 1,167 total)
Skip to toolbar