Skip to:
Content
Pages
Categories
Search
Top
Bottom

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

BuddyPress.org


  • All Members
  • RSS
  • Profile picture of Henry Wright

    Henry Wright replied to the topic Prohibit create groups with existing name in the forum How-to & Troubleshooting 10 years, 6 months ago

    Yes. You can use the groups_group_before_save hook to check if the name already exists. If so, set the name to and empty string. This will result in the BP_Groups_Group::save() method returning false, and no group being created. Note, you’ll probably also want to give the user some kind of useful message to tell them what’s happened.

  • Profile picture of Henry Wright

    Henry Wright replied to the topic groups_get_group in blog 1 from group 2 in the forum How-to & Troubleshooting 10 years, 6 months ago

    There are a number of ways to install BuddyPress in your network. Can you describe your set up?

    See the Installation in WordPress Multisite article for more info.

  • Profile picture of @mercime

    @mercime updated the Template Hierarchy page, on the BuddyPress Codex 10 years, 6 months ago

    A detailed look at theme compatibilities template hierarchy
    BuddyPress 1.7 introduced universal theme compatibility making it easier for WordPress theme designers to work with BuddyPress.

    What this means is if […]

  • Profile picture of @mercime

    @mercime updated the Theme Compatibility & Template Files page, on the BuddyPress Codex 10 years, 6 months ago

    An explanation of Theme compatibility and its template files

    BuddyPress 1.7 heralded a new era in BP development with a vastly improved approach to templating, its aim being to far more closely mirror the […]

  • Profile picture of ericle eri

    ericle eri's profile was updated 10 years, 6 months ago

    ericle eri

    @jericljri

    View Profile
  • Profile picture of Henry Wright

    Henry Wright replied to the topic Unable to log in in the forum Installing BuddyPress 10 years, 6 months ago

    Which WordPress forum are you referring to? Can you give a link?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic NEW! Buddy Member Stats & BuddyPress Community Stats in the forum Third Party Plugins 10 years, 6 months ago

    yep, both are currently pending review on wp’s repo

    +1 for submitting to the Plugin Directory! Makes them far easier for users to find. šŸ™‚

  • Profile picture of @mercime

    @mercime replied to the topic NEW! Buddy Member Stats & BuddyPress Community Stats in the forum Third Party Plugins 10 years, 6 months ago

    Thank you @danbp! Will be checking both out in a little while.
    P.S. Will you also be submitting both to the WP Plugin repository?

  • Profile picture of @mercime

    @mercime replied to the topic buddy presss pages just wont work in the forum Showcase 10 years, 6 months ago

    @iamc0llins
    – Could you post the steps you have gone through so far so that we can identify where the roadblock is?
    – Did you double check in Settings > BuddyPress – Pages panel whether the names of the page is assigned to the respective component you activated?
    – Are you running on WAMP/XAMPP/LAMP or other setup?

  • Profile picture of Henry Wright

    Henry Wright replied to the topic BuddyPress Login in the forum How-to & Troubleshooting 10 years, 6 months ago

    [duplicate]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Number of comments on that entry in the forum How-to & Troubleshooting 10 years, 6 months ago

    Hi,
    You need to override this js function


    bp_legacy_theme_hide_comments(

    There are many ways to do it. You can either put the following code in your theme’s js file


    function bp_legacy_theme_hide_comments() {
    var comments_divs = jq('div.activity-comments'),
    parent_li, comment_lis, comment_count;

    var max_show = 2;

    if (…[Read more]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic The name feild at registration in the forum How-to & Troubleshooting 10 years, 6 months ago

    Hi,
    Since I got this same question in my email today. Assuming that it was you or a coincidence, I will post the code here as well for everyone else.

    1. BuddyPress Needs the field_1, so you can not delete it. That gives us a solution, we can hide it using css/js and set it’s value to the value of username.

    There are two possible approaches.
    The…[Read more]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Change the default avatar in the forum How-to & Troubleshooting 10 years, 6 months ago

    No problem. Thank you for confirming šŸ™‚

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Change the default avatar in the forum How-to & Troubleshooting 10 years, 6 months ago

    Hi,
    No problem. The bbPress encodes the code.It is always better to avoid the code in email and copy paste from forum itself.

    Is the issue fixed now?

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Change the default avatar in the forum How-to & Troubleshooting 10 years, 6 months ago

    Hi,
    sorry about the trouble. Please make sure that you put that line in php block. Either before the closing ‘?>’ or after the ‘<?php’ tag.

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Change the default avatar in the forum How-to & Troubleshooting 10 years, 6 months ago

    For that purpose, please put the following line too in your bp-custom.php


    add_filter( 'bp_core_fetch_avatar_no_grav', '__return_true' );

    That forces BuddyPress to avoid using gravatar and use local avatars for default(when no avatar is uploaded).

    Hope that helps

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Hide Custom Tab Only To Account Owner & Admin in the forum How-to & Troubleshooting 10 years, 6 months ago

    No problem. Glad to help šŸ™‚

  • Profile picture of buckyb

    buckyb replied to the topic [Resolved] Hide Custom Tab Only To Account Owner & Admin in the forum How-to & Troubleshooting 10 years, 6 months ago

    Thank you so much! Yep it works šŸ™‚

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic Dynamically populate xprofile select box in the forum How-to & Troubleshooting 10 years, 6 months ago

    Hi Daryll,
    Your best bet is creating a new xprofile field type and extend select filed type.

    It is a code I had written around a year ago for some client, but this may point you into the direction. It is for country list.

    https://gist.github.com/sbrajesh/5b3f4fd44c9c91b3ed3e

    All you need to do is extend the select field and override 3…[Read more]

  • Profile picture of Brajesh Singh

    Brajesh Singh replied to the topic [Resolved] Hide Custom Tab Only To Account Owner & Admin in the forum How-to & Troubleshooting 10 years, 6 months ago

    Hi @buckybeever,
    You need to change one line

    change this

    'show_for_displayed_user' => true,

    to this


    'show_for_displayed_user' => bp_is_my_profile() || is_super_admin(),

    That will do it. Hope it helps.

  • 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