Skip to:
Content
Pages
Categories
Search
Top
Bottom

  • About
  • News
  • Codex
  • Develop
  • Make
  • Forums
  • Download

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Upgraded BP, now receiving "Warning: Invalid argument supplied for foreach()" in the forum How-to & Troubleshooting 9 years, 8 months ago

    I haven’t seen this on my dev site, and I don’t think we’ve had reports of this, so… as it’s staging, please can you switch the theme temporarily to a default WordPress theme, like twenty-twelve (etc) — and then visit this same URL again and see if the warning is still being printed or not?

    I suspect it’s something in your theme, maybe one of…[Read more]

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic Can't type in Multi-Line Text Area Fields in the forum How-to & Troubleshooting 9 years, 8 months ago

    It’ll be something specific to your theme/site. Could be some odd Javascript, odd CSS. Impossible to tell unless your site is public for someone to take a look at.

  • Profile picture of Paul Wong-Gibbs

    Paul Wong-Gibbs replied to the topic managing search engine crawl on a private Buddypress site in the forum How-to & Troubleshooting 9 years, 8 months ago

    I’d look at increasing performance generally rather than specifically focusing on trying to block search engines.

    Like… I don’t know what other plugins or themes you are running, or how well they are written, nor anything about your hosts’ performance, but you need to look into those. I’d also look at making sure you have an object cache…[Read more]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Hiding Members Page to everybody (visitor and also members) in the forum Installing BuddyPress 9 years, 8 months ago

    Please put this code in your bp-custom.php


    function buddydev_hide_members_directory_from_all_except_admin() {

    if ( bp_is_members_directory() && ! is_super_admin() ) {
    //should we add a message too?
    //bp_core_add_message( 'Private page.', 'error' );
    bp_core_redirect( site_url('/') );
    }
    }
    add_action( 'bp_template_redirect',…
    [Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How @mention all members in the forum How-to & Troubleshooting 9 years, 8 months ago

    Hi @julia_b,

    I haven’t tested this so try in your testing site first:

    // Change this to the ID of the member you'd like to add friends to.
    $id = 1;

    $user_query = array(
    'populate_extras' => false,
    'exclude' => $id
    );

    $user_query = new BP_User_Query( $user_query );
    foreach ( $user_query->results as $user ) {
    $status =…
    [Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic How @mention all members in the forum How-to & Troubleshooting 9 years, 8 months ago

    Hi @julia_b

    I chose not to add an @ all command because it would be easy for a user to spam people.

    @ friends is supported though. Hope that helps!

  • Profile picture of navongilron

    navongilron's profile was updated 9 years, 8 months ago

    navongilron

    @navongilron

    View Profile
  • Profile picture of ShylahBoss

    ShylahBoss's profile was updated 9 years, 8 months ago

    ShylahBoss

    @shytalklee

    View Profile
  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Buddypress notification to multiple users in the forum Installing BuddyPress 9 years, 8 months ago

    You are welcome.

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Activate Page in the forum Installing BuddyPress 9 years, 8 months ago

    Have you associated the newly created activate page in your BuddyPress settings? You can do it from Dashboard->Settings->BuddyPress->Pages screen.

    If you have already done that then please do post the error message that you are recieving.

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Buddypress notification to multiple users in the forum Installing BuddyPress 9 years, 8 months ago

    Hi there,
    You can use a loop to add notification for each user. The function you have mentioned is correct but accepts only one user at a time.
    Hope that points you in the right direction.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Error 404 for non logged in users in the forum How-to & Troubleshooting 9 years, 8 months ago

    I can successfully access your profile:

    http://www.cosegeniali.net/membri/tizianopitisci/profile/

    The following link won’t work for me because I’m not tizianopitisci. Only that user is allowed to access that page.

    http://www.cosegeniali.net/membri/tizianopitisci/messages/

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Error 404 for non logged in users in the forum How-to & Troubleshooting 9 years, 8 months ago

    Is that a bug?

    I don’t think so because I can’t reproduce at my end. I think there must be something in your setup that’s causing the issue. Do you have a bp-custom.php file with code in it? That could be a source of the problem.

    Alternatively you might need to test again with a fresh database.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Error 404 for non logged in users in the forum How-to & Troubleshooting 9 years, 8 months ago

    How about your theme?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Adding a link to a user's blog posts in BuddyPress profile in the forum How-to & Troubleshooting 9 years, 8 months ago

    You could use WP_Query. Here’s an example:

    $query = new WP_Query(
    array(
    'author' => bp_displayed_user_id()
    )
    );
    if ( $query->have_posts() ) {
    while ( $query->have_posts() ) {
    $query->the_post();
    echo get_the_title();
    // Output more stuff here if you like.
    }
    wp_reset_postdata();
    } else {
    //…
    [Read more]

  • Profile picture of Henry Wright

    Henry Wright replied to the topic Error 404 for non logged in users in the forum How-to & Troubleshooting 9 years, 8 months ago

    Which plugins do you have activated?

  • Profile picture of Stacy (non coder)

    Stacy (non coder) started the topic "Group Admins" is misaligned in my theme in mobile view in the forum How-to & Troubleshooting 9 years, 8 months ago

    Want to copy the style for Group Admins on the group page from wordpress Twenty Fifteen theme to my current theme since this area is fine on mobile with Twenty Fifteen.

  • Profile picture of Stacy (non coder)

    Stacy (non coder) started the topic Buddypress widget recent member shows deleted member in the forum Installing BuddyPress 9 years, 8 months ago

    My test user is still showing in the widget even though I deleted their profile from the front end.

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic BuddyPress Email Notification Ignoring SMTP Server Settings? in the forum How-to & Troubleshooting 9 years, 8 months ago

    The problem is BuddyPress does not uses wp_mail.

    The plugin postman-smtp overrides the wp_mail function to send emails, so any emails sent via wp_mail is sent through the smtp settings provided.

    BuddyPress uses custom instance of PHP Mailer to send emails and that’s why these settings are not effective. You can force BuddyPress to use wp_mail…[Read more]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Customizing the Completed Registration Page in the forum How-to & Troubleshooting 9 years, 8 months ago

    Hi Trecks,
    It’s a good question.
    The page that you see being loaded is actually register.php template file.

    Are you using a child theme? If yes, then look for buddypress/members/register.php in the child/parent theme and copy it to your child theme in buddypress/members/register.php and modify the text as required.

    If your theme does not come…[Read more]

  • Load More

WordPress.org bbPress.org BuddyPress.org Matt Blog RSS

GPL Contact Us Privacy Terms of Service X

Skip to toolbar
    • WordPress.org
      • About WordPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • bbPress.org
      • About bbPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
    • BuddyPress.org
      • About BuddyPress
      • Documentation
      • Support Forums
      • Feedback
      • Developer Trac
      • Developer Blog
  • Log in
  • Anonymous
    • AnonymousNot Logged In
    • Register
    • Log In