Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 49,301 through 49,325 (of 68,986 total)
  • Author
    Search Results
  • #85978
    Brajesh Singh
    Participant

    well, since members tab link is a matter of theme, if we hack the url, it will affect other tabs too(say activity/forums etc which i think you don’t want to redirect on main blog), so easy way will be to to edit the header.php and change the lines for member tab link in theme(forum does not allow here html so the link on pastebin).

    here is a link to pastebin http://bpdev.pastebin.com/0EXgZ4Sf

    #85977
    Sofian J. Anom
    Participant

    @sbrajesh, thanks for the code and your quick respons. It’s works well for user profile pages. Then, what about the members list page (tab/menu), whether there is also a code that could make it redirected to the main blog?

    #85976
    Hugo Ashmore
    Participant

    Change ‘loggedin_user’ to ‘displayed_user’

    I was originally using displayed_user changed to loggedin_user but realised it wasn’t the result I wanted.

    #85975
    stoi2m1
    Participant

    @d-a-n My captcha never verifies and gets the same error no matter the condition of the captcha response field. If its empty, wrong or correct I get the error ‘That reCAPTCHA response was incorrect’. Ive tried changing the logic around and the only other outcome is the captcha is always true.

    Can you tell me what you did to fix it?

    #85974
    Anton
    Participant

    Thanks for the code snippet @hnla and @r-a-y

    It works if you are logged in but then it only displays your data – following and followers. When browsing to another member’s profile, your count is displayed and not theirs. If you are not logged in, it shows 0 for both following and followers

    #85973
    Brajesh Singh
    Participant

    @lightcapturer @mercime
    It is possible.
    Try following code in bp-custom.php

    add_filter("bp_core_get_user_domain","only_for_root_domain");

    function only_for_root_domain($url){
    $url_parts=explode("/", $url);
    //find the username part
    $username=$url_parts[count($url_parts)-2];//the last tocken

    $root_domain=get_blog_option( BP_ROOT_BLOG, 'home' );
    /* If we are using a members slug, include it. */
    if ( !defined( 'BP_ENABLE_ROOT_PROFILES' ) )
    $domain = $root_domain. '/' . BP_MEMBERS_SLUG . '/' . $username . '/';
    else
    $domain = $root_domain . '/' . $username . '/';
    return $domain;

    }

    here is a pastebin link in case the above code does not et posted
    http://bpdev.pastebin.com/cqiHNnsx

    #85972
    Sofian J. Anom
    Participant

    Ok, @mercime, thanks for the answer. :)

    modemlooper
    Moderator

    remove_action( ‘bp_get_displayed_user_nav’ );

    Should be that to remove an action.

    https://codex.buddypress.org/how-to-guides/modifying-the-buddypress-admin-bar/

    #85970
    @mercime
    Participant

    “could the activity, groups and forums, and blogs are placed on separate blogs, but the member pages are only on the main blog”
    – No, BP components together on main blog or a sub-blog

    Gavin
    Participant

    Not sure if this helps cause I am using the Suffusoin theme, but when I had that problem it was because I had updated the theme to the newest one and I had to go back and reinstall the buddypress adaption plug ins from the theme maker.

    #85966
    Paul S
    Participant

    Apparently it now does work. Although it took a few hours for my activation email to arrive, it did. But, the sender email address wasn’t the admin email (the one listed as the one from which all activation/notification emails are sent from) it was an weird email from BlueHost. mybluehostusername @box###.bluehost.com.

    Should I take this up with Blue Host? Or is something else wrong?

    #85963
    techguy
    Participant

    @rossagrant
    Did you try my solution on Bluehost where you redirect the MX Record to a Google Apps account: https://buddypress.org/community/groups/how-to-and-troubleshooting/forum/topic/email-notification-not-working/?topic_page=2&num=15#post-50751 That fixed it on Bluehost for me.

    #85962
    Nahum
    Participant

    been trying to do this too.had been trying to tinker with the buddypress followers plugin to do this. when you friend or follow someone, you will get the blog activity if they have a blog…its just filtering out the other activities to leave just blog activity.

    #85961
    Paul S
    Participant

    OK, I have a BuddyPress install on my website, which is hosted by BlueHost.

    I’m using WP ver 3.0 and BP ver 1.2.5.2.

    I have searched all over for the solution to the problem apparently addressed in this thread, but the suggested “Mail From” plugin doesn’t work. I just logged out as Admin, and signed up as a regular user. The site told me my registration is complete, pending my reception of the activation email and subsequent clicking on the link contained.

    There was a suggestion in this thread, I think, to go to the Options menu and edit the Registration email configuration, I cannot see any way to do that.

    #85960
    José M. Villar
    Participant

    Hi there, when I first rate a post, this msg appears:

    Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/wordpress-mu/wp-settings.php on line 765

    Deprecated: Assigning the return value of new by reference is deprecated in /opt/lampp/htdocs/wordpress-mu/wp-settings.php on line 780

    If I refresh, everything goes back to normal.
    Using WPMU 2.9.2, BP 1.2.3 and malleable for BP 0.0.7 on localhost.

    Regards,

    #85957
    José M. Villar
    Participant

    Excellent idea, unfortunately, I can’t make it work.
    Using WPMU 2.9.2, BP 1.2.3 and malleable for BP 0.0.7 Hybrid child theme.

    Menu expands but nothing is shown, all black in my case.
    In default BP theme, works OK but is shown not on top of the page but just below the tabs.

    Where should I start troubleshooting ? Regards,

    #85956
    techguy
    Participant
    #85953
    Mike
    Participant
    #85951
    gregfielding
    Participant

    Thanks @techguy.

    I’m trying to add a “my topics” for forums. You’ve given me a place to start!

    #85950
    nickaster
    Participant

    Okay – Thanks! here’s a second question to follow up. I see that buddypress creates some kind of dropdown menu set of options across the top of all pages. What if I dont’ want that at all? I’d rather only have options like that in a sidebar on the bbpress part of my site. I don’t want those drop downs on the blog or anywhere else. Is this possible? Any instructions lying around that describe this? Thanks!

    #85949
    Mike
    Participant

    Yes, you can through CSS. Typically, it’ll look something like this…

    .logo, .logo a{
    display:block;
    height:83px;
    width:229px;
    position:absolute;
    right:20px;
    top:27px;
    }

    This is a CSS example using a class called “logo” where the width and height are the dimensions of your logo image.

    #85948
    Pisanojm
    Participant

    @r-a-y @Travel-Junkie

    Ok, I’m still dorking around with this… the goal is to have my site a register only site. When people go to musicpln.org they will be redirected to the landing page (http://musicpln.org/landing1) which is a BP page with a login widget. I also would like the feeds to not be blocked.

    This code goes in the function.php file:

    function sh_walled_garden()
    {
    global $bp;

    if( bp_is_register_page() || bp_is_activation_page() ||is_feed() || is_page(‘landing1’) )
    // Where landing1 is the page slug of where I would like to redirect
    return;

    if( ! is_user_logged_in() )
    bp_core_redirect( $bp->root_domain .’/’. BP_REGISTER_SLUG );
    // my activity page is the “homepage” and I don’t want to show any BLOG(s)
    }

    add_action( ‘get_header’, ‘sh_walled_garden’ );

    I would like this to redirect to the landing1 reference above (which includes the login widget) The url is http://musicpln.org/landing1

    I saw that you put this code in a previous reply…

    Where can I put this to make it redirect to the LoginPage above? How can I tie this altogether now?

    techguy
    Participant

    @sicksight
    You should update this trac ticket with what you’ve tried: https://trac.buddypress.org/ticket/2207 I assume that’s where you got the code to try.

    You can log into trac with the same user you log in to this forum with.

    #85943
    techguy
    Participant

    Are you talking about adding it to the nav? Here’s some code I use (which I think I took from Boone’s plugin):

    function process_donations_setup_profile_nav() {
    global $bp;

    /* Add ‘Donations’ tab to the main user profile navigation */
    bp_core_new_nav_item( array(
    ‘name’ => __( ‘Donations’, ‘buddypress’ ),
    ‘slug’ => $bp->process_donations->slug,
    ‘position’ => 25,
    ‘screen_function’ => ‘process_donations_donations_collected’,
    ‘default_subnav_slug’ => ‘donations-collected’,
    ‘show_for_displayed_user’ => process_donations_access_test()
    ) );

    $process_donations_link = $bp->loggedin_user->domain . $bp->process_donations->slug . ‘/’;

    /* Create two sub nav items for this component */
    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Donations Collected’, ‘bp-invite-anyone’ ),
    ‘slug’ => ‘donations-collected’,
    ‘parent_slug’ => $bp->process_donations->slug,
    ‘parent_url’ => $process_donations_link,
    ‘screen_function’ => ‘process_donations_donations_collected’,
    ‘position’ => 10,
    ‘user_has_access’ => process_donations_access_test()
    ) );

    bp_core_new_subnav_item( array(
    ‘name’ => __( ‘Donations Made’, ‘bp-invite-anyone’ ),
    ‘slug’ => ‘donations-made’,
    ‘parent_slug’ => $bp->process_donations->slug,
    ‘parent_url’ => $process_donations_link,
    ‘screen_function’ => ‘process_donations_donations_made’,
    ‘position’ => 20,
    ‘user_has_access’ => process_donations_access_test()
    ) );
    }

    add_action( ‘wp’, ‘process_donations_setup_profile_nav’, 2 );
    add_action( ‘admin_menu’, ‘process_donations_setup_profile_nav’, 2 );

    r-a-y
    Keymaster

    This is a known bug. A proposed fix is listed in the following ticket:
    https://trac.buddypress.org/ticket/2068

Viewing 25 results - 49,301 through 49,325 (of 68,986 total)
Skip to toolbar