• BuddyPress has several custom settings you can define in the wp-config.php which will allow you to configure BuddyPress in a unique way. Here are some settings you can make in wp-config.php to alter how BuddyPress behaves:

    [php]// Custom Settings You Can Place in wp-config.php for BuddyPress

    // Define the blog numbers BuddyPress should run on
    define( ‘BP_ROOT_BLOG’, 1 );

    // Disable the Admin Bar at the top of BuddyPress installations
    define(‘BP_DISABLE_ADMIN_BAR’, true);

    // Define the directory for members, e.g. http://example.com/members/
    define( ‘BP_MEMBERS_SLUG’, ‘members’ );

    // Define the directory for registering a user account, e.g. http://example.com/register/

    define( ‘BP_REGISTER_SLUG’, ‘register’ );

    // Define the directory for activating a user account, e.g. http://example.com/activate
    define( ‘BP_ACTIVATION_SLUG’, ‘activate’ );

    // Define the slug for the search page, e.g. http://example.com/search
    define( ‘BP_SEARCH_SLUG’, ‘search’ );

    // What will happen if a user visits http://example.com/members/jeremy/ – what will display? Display activity? The user’s profile?
    define( ‘BP_DEFAULT_COMPONENT’, ‘activity’ );

    // Define the forums slug, e.g. http://example.com/forum/
    define( ‘BP_FORUMS_SLUG’, ‘forum’ );

    // Define the groups slug, e.g. http://example.com/groups/
    define( ‘BP_GROUPS_SLUG’, ‘groups’ );

    // Define the blogs slug, e.g. http://example.com/blogs/
    define( ‘BP_BLOGS_SLUG’, ‘blogs’ );

    // If you enable a BuddyPress theme which does not have the BuddyPress tag, BP will annoy you in the admin section until you activate a BP compatible theme, this setting will disable that notice
    define( ‘BP_SILENCE_THEME_NOTICE’, true );

    // Allow BuddyPress to work on all blogs on an installation, not just the root blog
    define ( ‘BP_ENABLE_MULTIBLOG’, true );

    // Allow root URLs for profiles, e.g. http://example.com/jeremy/
    define ( ‘BP_ENABLE_ROOT_PROFILES’, true );

    // Disable the custom header
    define( ‘BP_DTHEME_DISABLE_CUSTOM_HEADER’, true );

    // Change default avatar settings
    define ( ‘BP_AVATAR_THUMB_WIDTH’, 50 );
    define ( ‘BP_AVATAR_THUMB_HEIGHT’, 50 );
    define ( ‘BP_AVATAR_FULL_WIDTH’, 150 );
    define ( ‘BP_AVATAR_FULL_HEIGHT’, 150 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_WIDTH’, 640 );
    define ( ‘BP_AVATAR_ORIGINAL_MAX_FILESIZE’, $max_in_kb );
    define ( ‘BP_AVATAR_DEFAULT’, $img_url );
    define ( ‘BP_AVATAR_DEFAULT_THUMB’, $img_url );
    [/php]

    This entry was posted on Tuesday, September 28th, 2010 at 2:30 pm and is filed under WordPress. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.
  • 13 Comments

    Take a look at some of the responses we have had to this article.

    1. posicionamiento seo aviles

      Define Custom Settings for BuddyPress | Jerm

    2. Gostei da maneira como você ilustrou o cenário do artigo.
      Confesso que ainda estou um pouco sem rumo por não compreender em sua totalidade o assunto, mas tenho interesse de acompanhar suas novas postagens para me informar bem.
      Obrigado pela excelente postagem.

    3. Jun 18th

      I am really loving the theme/design of your web site. Do you
      ever run into any browser compatibility issues? A number of my blog audience have complained about my site
      not operating correctly in Explorer but looks great in Opera.
      Do you have any recommendations to help fix this problem?

    4. Helpful information. Lucky me I discovered your website by chance, and I’m stunned why
      this accident did not came about earlier! I bookmarked
      it.

    5. Jul 1st

      I have read so many articles or reviews regarding the blogger lovers
      however this article is really a nice post, keep it up.

    6. Jul 3rd

      Nice post. I was checking continuously this weblog and I am inspired!
      Extremely helpful information specially the remaining
      part 🙂 I take care of such information a lot.
      I was seeking this certain info for a long time. Thank you and good luck.

    7. Самое благоприятное время для сплава на Черемоше, начинается с середины апреля
      и по конец мая. Самое интересное препятствие
      на пути – ущелье Мостизолло. Это командные, парные и одиночные
      сплавы по бурным и живописным рекам на различных плавательных средствах.
      Позитивные эмоции. Маршрут сплава
      проходит по живописным местам, сам процесс прохождения порогов
      и ночевки под открытым небом подарят вам позитивные эмоции и незабываемые впечатления.
      Может случиться ситуация, когда вам необходимо сойти
      на берег, и к этому стоит быть готовым.
      Когда очень хочется отдохнуть и отвлечься от всего, но нет на это времени, можно
      поехать на сплав по реке.
      Для рафтинга на высокой воде участок Ворохта-Яремче – сложный, но потому-то и
      самый интересный. Первый уровень рафтинга самый простой и спокойный.
      Рафтинг прибавит здоровья, улучшит физическую форму,
      а Ваши волевые качества поднимутся на небывалый уровень.

      В сезон дождей уровень воды поднимается, и рафтинг-экипажи заполняют берега,
      пороги поддаются легче, а природа вокруг
      радует зеленью. В сезон здесь можно увидеть
      цветение знаменитой Долины нарциссов.

      Большинство туристов в Арамашево заканчивают сплав.
      В Арамашево имеется краеведческий
      музей и изба-музей народной росписи.

    8. Aug 2nd

      you’re really a excellent webmaster. The web site loading pace is incredible.
      It sort of feels that you are doing any distinctive trick.
      Furthermore, The contents are masterwork. you’ve performed a excellent job in this topic!

    9. Aug 16th

      Hey very nice website!! Guy .. Beautiful .. Amazing .. I’ll bookmark your blog and take the feeds also?
      I am happy to search out a lot of useful
      information right here within the submit, we want develop extra techniques
      in this regard, thanks for sharing. . . . . .

    10. small penis pictures

      blog topic

    11. Kids Scratch Off Game

      Define Custom Settings for BuddyPress | Jerm

    12. This is the right site for anybody who hopes to find out
      about this topic. You understand a whole lot its almost tough to argue with you (not that I personally will need to?HaHa).

      You certainly put a brand new spin on a subject which has been discussed for many years.
      Excellent stuff, just great!

    13. Sep 8th

      What’s up colleagues, pleasant paragraph and pleasant
      urging commented here, I am genuinely enjoying by these.

  • Leave a Reply

    Let us know what you thought.

  • Name(required):

    Email(required):

    Website:

    Message: