Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 25 replies - 51 through 75 (of 1,167 total)
  • @bphelp

    Participant

    @saish_neugi
    This tutorial might help to get you going in the right direction.

    How to Build a Facebook-Style Members-Only WordPress-BuddyPress Site

    @bphelp

    Participant

    @chatty24
    Until the core devs gets this worked out you can use shanebp ‘s solution here:
    https://buddypress.org/support/topic/only-friendsyou-in-activity-feed-has-solution-been-found/
    It works with the latest WP/BP just keep in mind the admin can still see all activity and subscribers can also see the admins activity but subscribers will only see activity of other subcribers that are friends and the admins. Make sure you copy the folder:
    your-site\wp-content\plugins\buddypress\bp-templates\bp-legacy to your themes root then go to your-site\wp-content\themes\YOUR-THEME\buddypress\activity\activity-loop.php to make the edit.
    Good luck! 🙂

    @bphelp

    Participant

    @henrywright
    Just my two cents worth but I think if there was a check within BP that “Anyone Can Register” was indeed checked before installing BP would solve tons of issues like this because if someone fails to do this before installing BP then they have to manually associate those pages. If it is checked then they are created on the fly without all the duplicates that can cause 404 issues for beginners that are not sure how to resolve the page associations.

    @bphelp

    Participant

    @tatakatte
    Did you make sure you set your registration page as a static page in dashboard/settings/reading because I just tested it and it works as expected. On my dev environment when I go to the site without being logged in it redirects me to the registration page. Once I log in it redirects to the activity stream. Isn’t that what you wanted?

    @henrywright

    I didn’t use any priority and it worked so I don’t think that is the issue. Your code worked fine when I tested it as is.

    @bphelp

    Participant

    @tatakatte
    Maybe your slug is wrong in the URL. Try this:

    
    function my_login_redirect() {
        if ( is_user_logged_in() && bp_is_register_page() )
            bp_core_redirect( home_url() . '/activity/' );
    }
    add_action( 'template_redirect', 'my_login_redirect' );
    

    Reason being you may have changed the pages name but if you didn’t change the slug as well it wouldn’t work.

    @bphelp

    Participant

    @tatakatte
    Should work fine in the themes functions.php as @henrywright specified or in bp-custom.php

    @bphelp

    Participant

    @tatakatte
    Did you put Henry’s code in with opening and closing php tags? Make sure there is no white space between the opening and closing php tags as this will give an headers already sent error.

    @bphelp

    Participant

    @elamarti
    Not everything is going to be free, so unless you know how to code your own plugins then @valuser ‘s recommendation is about the only way to fit your requirements.

    @bphelp

    Participant

    @bphelp

    Participant

    @southerncalm
    Do a search here. This has been asked many times. Self help on forum topics that has been already addressed many times goes a long way.

    @bphelp

    Participant

    @surenpillai
    Yes you will need BP installed before using the plugin.

    @bphelp

    Participant

    @bphelp

    Participant

    @colorfullady
    For Profile:

    
    if ( is_user_logged_in() ) {
    <a href="<?php echo bp_loggedin_user_domain(); ?>">Profile</a>//link to users profile
    }
    

    For Members directory:

    
    if ( is_user_logged_in() ) {
    <a href="<?php echo home_url() . '/members/'; ?>">Members</a>//link to Member Directory 
    }
    

    You will need to find where in your template files you would like to place these examples and you may want to wrap them in a div for CSS styling purposes.

    @bphelp

    Participant

    @wadsworth4
    I also have another plugin that I was told on the plugins forum that it worked on multisite called “Private BP Pages.” However I never actually tested it myself on BP with multisite. I just got that info from some of the users of the plugin. I used to offer it on the WordPress repo up to about 3 months ago but I have since removed it. But to answer your question “Yes” it is possible to create a members-only community with the latest BP and WP multisite by creating a plugin or using a function in bp-custom.php using hooks etc. That way your not hacking BP and if you update BP you won’t lose your changes.

    @bphelp

    Participant

    @timrourke
    I agree that it should be easier to find and should be very obvious. New visitors on buddypress.org probably won’t realize that you have to hover over the “BuddyPress.org” link to the left of the “My Sites” link to find the “Create New Topic”link. Hopefully in the future this will be changed.

    @bphelp

    Participant

    @wadsworth4
    What plugins did you use for making BP multisite private? I offer some premium plugins to make BP private but I personally haven’t tested it with BP multisite because I don’t really use it. For my purposes my Private Community For BP plugin does everything I need it to do.

    @bphelp

    Participant

    @mapache27
    Go to the members directory page. Click the member in which you wish to change their profile pic. Then in the toolbar towards the right side you will see “edit member” and then select “edit profile photo.”

    @bphelp

    Participant

    @ad4m_wordpress
    On lines 471-474 in that plugins custom-login-redirect.php maybe try switching this:

    
    <option value="">Default</option>
        <?php if (get_option('custom_login_redirect_display6','yes') == 'yes'){ ?>
    	  <option value="<?php home_url ?>wp-admin/">Dashboard</option>
    	<?php } ?>
    

    To to something like this:

    
    <option value="">My Profile Wall</option>
        <?php if (get_option('custom_login_redirect_display6','yes') == 'yes'){ ?>
    	  <option value="<?php home_url . '/members/' . bp_core_get_username( bp_loggedin_user_id() ) . '/profile/' ?>My Profile Wall</option>
    	<?php } ?>
    

    Note that I haven’t tested this at all so test at your own discretion.

    @bphelp

    Participant

    @ad4m_wordpress
    Just out of curiosity what plugin are you referring to that creates this dropdown box on the login screen? Most plugins can be modified to suit your needs if you don’t mind editing the code.

    @bphelp

    Participant

    @ad4m_wordpress
    Not really sure what your trying to accomplish but you need to understand the dynamic nature when a user logs in and is redirected to their profile is in PHP language and there is no full html equivalent that could pull that info from the database to take that user to their profile.
    I am certain you will have to use PHP to make this happen. If you copy and pasted the snippet in the link I supplied into bp-custom.php it shouldn’t take a few minutes and is very simple.

    @bphelp

    Participant

    @bphelp

    Participant

    @dee987
    I offer a premium plugin that would work for your situation. If your interested you can contact me here: https://bphelpblog.wordpress.com/submit-comments-tips-or-tricks-or-job-inqueries/
    The name of the plugin is Private Community For BP.

    @bphelp

    Participant

    Sorry to here this @johnjamesjacoby it is a real shame that these measures need to be taken…but I also would not want to be the one with the task of deleting hundreds of automated spam pages either so I support this choice 100 percent. Thanks for the heads up!

    @bphelp

    Participant

    @franklinkevin321
    Maybe your theme or other plugins is interfering with the function of the plugin so maybe you should try a different theme like twentyfourteen and deactivating the other plugins other than BP and the bp-remove-profile-links plugin.

    @bphelp

    Participant

    @franklinkevin321
    You can try this small plugin:
    https://github.com/bphelp/bp-remove-profile-links/archive/master.zip
    Does the same thing shane suggested just in a plugin form. I have it working for me so give it a try.

Viewing 25 replies - 51 through 75 (of 1,167 total)
Skip to toolbar