Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

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

  • Brajesh Singh
    Participant

    @sbrajesh

    You are welcome.


    Brajesh Singh
    Participant

    @sbrajesh

    Hi Anders,
    No problem.

    About 2 members and 3 members issue:- BuddyPress only lists users who have an active account and have logged in to your site atleast once after you activated BuddyPress.

    Please login to your site with that user for 1 time and they will appear in the list.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi Anders,
    It won’t appear there. It is a directory page and BuddyPress does not add the directory page inside the link box you have specified.

    Question:- Why do you need that page to appear in the above link box?

    Your directory is working now. Please see

    Medlemmar

    If your goal is to add to the main menu, you already did it. Please help me understand more and I will assist further.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    Can you please follow the steps from here

    
    #post-304591
    

    The post that contains this image.

    View post on imgur.com

    and let me know if it works.
    Sorry, the reply embedding is not working here.


    Brajesh Singh
    Participant

    @sbrajesh

    To Answer your last question:- No, There won’t be any page “Members” in that link Block. BuddyPress does not add Members there.

    Even though “Members” is a special page(directory), the BuddyPress link section only lists pages relevant to logged in user(profile tabs).

    regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Thank you for sharing. It is in the right step. We need to follow 1 more step and you will see the members list here.

    Please see this image

    View post on imgur.com

    1. Open Settings->BuddyPress
    2. Click on “Pages” tab under BuddyPress setting screen
    3. From the “Members” dropdown selecth this page
    4. save.

    Now, Please visit the page again and let me know if it is showing you the members or not?

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Thank you.
    We are moving in the right direction.

    Please click on the area marked as Red box in this image

    View post on imgur.com

    You will find your page there.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi @venutius,
    Thank you for sharing. Makes sense.

    I asked because I never needed to do that(always assigned pages manually when needed), but it may help in some case.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi Anders,
    Your members directory is working fine.
    here is the link

    Registrerade medlemmar

    It seems to me that you have created 2 members page. Please visit Dashboard->Pages abd search for “Members”. Delete one of the pages.

    Then please visit Dashboard->Settings->BuddyPress->Pages and associate the remaining “Members Page” with BuddyPress.

    Once you are done with it, Please visit Dashboard->Appearance->Menu and click on “Pages” tab(it is the first one above BuddyPress). Click All pages and select members.

    That should do it.

    If you are finding any issue, please reply back and I will create an account and assist.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    what are the issues you are facing?
    Did you make any changes to BuddyPress php files? If not, then uninstalling and installing won’t make much difference.

    If you can list the issues you are facing, May be I or other community members here can assist.

    Best Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi Anders,
    Please try the suggestion in my previous reply and see if that works or not?

    @venutius,
    Can you please tell me what will be affected by deactivating and activating BuddyPress? I don’t see nay reason(if the page has been associated in BuddyPress page settings).

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    Thank you for the screenshot and the screencast. I can see the issue now.

    The “Members” page is not part of “BuddyPress” section of the nav menu screen. It is part of your normal “Pages” section.

    The “BuddyPress” box allows you to add link for logged in user’s profile tabs(or login/register link for logged out users).

    If you want to add Members to your Menu, Please click on the first box “Pages” on the menu screen and select “Members” from it.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi Anders H,

    Please leave that content empty. BuddyPress will generate the members list automatically.

    Once you have created this page, Please visit Dashboard->settings->BuddyPress and open the “Pages” tab.
    Make sure you select this page in the “Members” option and it will work.

    Best regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    Please have a look at BP profile search

    BP Profile Search

    This should help you with achieving your goal.

    Best regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    Before deciding to redirect from sitewide activity to user’s own activity you should know the difference between them and then decide.

    – On the sitewide page a user can see activity from whole site(including his won/friends/his groups and any non related member of the site)

    – On profile, a user can see his/her won activity as well as friends/groups etc but activities of group they are not member of or activity of users they are not friends with, won’t be visible,

    If you still want to redirect from sitewide activity to user’s own activity, You may use the following code.

    
    
    /**
     * Redirect logged in user's from sitewide activity page to profile activity.
     */
    function buddydev_redirect_sitewide_activity_to_profile_activity() {
    
    	if ( is_user_logged_in() && bp_is_activity_directory() ) {
    		bp_core_redirect( bp_loggedin_user_domain() . bp_get_activity_slug() );
    	}
    }
    
    add_action( 'bp_template_redirect', 'buddydev_redirect_sitewide_activity_to_profile_activity' );
    

    PS:- you can put the code in your theme’s functions.php or in the wp-content/plugins/bp-custom.php

    Best Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    You are welcome 🙂


    Brajesh Singh
    Participant

    @sbrajesh

    Oops, did not see that @venutius already replied .


    Brajesh Singh
    Participant

    @sbrajesh

    Do you want to override template files? If yes, the first step is to find out which template pack you are using(Dashboard->settings->BuddyPress->Options).

    BuddyPress comes with 2 template packs
    – BP Legacy
    – BP Nouveau

    Once you know the template pack, you can follow the following step

    1. create a directory named “buddypress” in your theme
    2. Now visit wp-content/plugins/buddypress/bp-templates, you will see two directories
    – bp-legacy
    – bp-nouveau
    3. Based on your current template pack, visit that directory. You will find “buddypress” directory inside them. This is the directory of your interest. Copy files from there and maintain the path.

    For example, if bp-legacy is your current template pack and you want to modify members loop,

    you should copy wp-content/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/members-loop.php to yourtheme/buddypress/members/members-loop.php

    Note the path after the template pack is what we need to maintain. Once you override it, BuddyPress will use it form your theme.

    Please do note that themes do not allow you to specify template pack while overriding template files, so if you override it for one template pack and then activate another, It can lead to a lot of issues.

    My suggestion is to remove/rename the “buddypress” directory in your theme if you change the current template pack for BuddyPress.

    Hope this helps.

    Best Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    It is a bug in BuddyPress 4.0.

    BuddyPress 4.1 is coming soon and will have it fixed.

    Please see the ticket for more details.
    https://buddypress.trac.wordpress.org/ticket/8012

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Thank you @samtuke, Please do and let me know how it goes.

    @dopeboy,
    Thank you for sharing your code. The issue is with youzer form generation and I am unable to suggest a fix as the only part I can see is call to form generator in the activate.php

    Since the form generator is not visible to me, I will suggest contacting the plugin developer and ask them to update their plugin and use the bp_get_current_activation_key() in the activation form.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Do you have activate.php in the plugin? If yes, Please post on pastebin.


    Brajesh Singh
    Participant

    @sbrajesh

    Thank you.
    Since I don’t use Youzer, I will suggest asking the support for this plugin to look into it.

    My guess is either they are doing a redirect or filtering out your template and replacing with their own while their activate template is not updated and that’s why it is happening.

    Regards
    Brajesh


    Brajesh Singh
    Participant

    @sbrajesh

    Thank you.

    My first suggestion will be to try disabling the LH Private BuddyPress, if that does not solve it you should try deactivating Youzer and BP Force Profile photo(assuming bp-custom.php) and child theme’s functions.php does not have any redirection.

    Please give it a try and let me know if any of the above resolves the issue?


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    is there anything special about the site? Like any redirection setup or content restriction?
    When you open the link, does it remain the same or do you get redirected to some other url?

    I have tested with BuddyPress 3.2 and can see that the link of format

    
    http://example.com/activate/qwLW319TDBVVJs7DkSZ4NK6OjWhrUNLt/
    

    auto fills the key entry on activation page correctly.


    Brajesh Singh
    Participant

    @sbrajesh

    Hi,
    Your code is correct.

    Can you please post me a sample link that you have received in your email? Also, are you using any content restriction/redirection plugin?

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