How to Integrate buddypress to wordpress theme

BuddyPress is an open source social networking software package. It is a plugin that can be installed on WordPress to transform it into a social network platform. BuddyPress is designed to allow schools, companies, sports teams or any other niche community to start their own social network or communication tool.

Now the problem is Buddypress is having its own theme. If you are installing buddypress in separate subdomain with separate wordpress then it is fine, you no need to worry at all. It will have its own theme and design. Now if you want buddypress features should be a part of your website then you need to integrate buddypress theme to your existing wordpress theme.

Buddypress Integration to wordpress

Here are the simple step by step procedure to make buddypress compatible wordpress theme.

Step 1: Install wordpress – Get latest from wordpress.org,
It is always better to try in your localhost and once it is perfect then upload it to your actual website. Know more about how to install wordpress on localhost.

I have installed wordpress on localhost and the link is http://localhost/wordpress/. When I brows my website it will be as shown below.

1. Default WordPress Theme
1. Default WordPress Theme

Step 2: Install buddypress plugin
Download from wordpress Plugin directory and upload to plugin folder and activate it.

Also you can upload through Plugins->add new from dashboard.

2. Install Buddypress plugin
2. Install Buddypress plugin

Step 3: Update Permalink structure
If default permalink structure is configured in your blog then you will get below message.

Buddypress is almost ready. You must update your permalink structure to something.

3. Update your permalink structure
3. Update your permalink structure message

Click “Update your permalink structure” link or brows Settings->permalinks and update as shown below. Select custom structure and write

/%category%/%postname%/

4. Update your permalink structure
4. Update your permalink structure

Once you click save button a message should come “Permalink structure updated“. If you get a message linke “You should update your .htaccess now” then your .htaccess file is not writable and you need to manually update given code.

Once permalink structure is updated and if you brows any other page you will get a message like

BuddyPress is ready. You’ll need to activate a BuddyPress compatible theme to take advantage of all of the features. We’ve bundled a default theme, but you can always install some other compatible themes or upgrade your existing WordPress theme.

Just leave it for time being. We are on the way to make the compatible theme.

Step 4: Install bp-template-pack and configure

Download from WordPress plugin directory and upload to plugin folder. Also you can install through Plugins->add new

5. Install buddypress Template Pack Plugin
5. Install buddypress Template Pack Plugin

Once the installation is done Brows Appearence->BP Compatibility and follow the instructions step by step.

Step one:

6. BP Compatibility settings
6. BP Compatibility settings

Click Move Template files button.

Step Two:

You will get a message like:

Adding support for BuddyPress to your existing WordPress theme can be a straightforward process by following the setup instructions on this page.

Templates moved successfully! This is great news, BuddyPress templates are now in the correct position in your theme which means you can skip step two and move on to step three.

This says your template files from buddypress theme moved to your pressent website theme.
If you check your template folder, you will be surprised. There are many files.

7. Folder files after plugin intgration
7. Folder files after plugin intgration

Click to move step three.

Step Three: There are some instructions to make the theme compatible. I will explain one by one in next steps.

Step 5: Making theme compatible:

bp-template-pack plugin copied all the template files to your theme folder. Now your job is to make it look like actual website or blog. bp-template-pack plugin wont copy the css file. So first move the folder _inc from wp-content\plugins\buddypress\bp-themes\bp-default to your present theme.

Open style.css of present theme and add the below line at the begining only.

@import url( _inc/css/reset.css );

Make sure you have copied _inc folder.

Now you need to manually add the links to

  • Activity
  • Members
  • Groups
  • Discussion
  • Register

Open your site header.php or sidebar.php, wherever you need these menus. Add the below links.

<li><a href=”http://localhost/wordpress/activity/”>Activity</a></li>
<li><a href=”http://localhost/wordpress/members/”>Members</a></li>
<li><a href=”http://localhost/wordpress/groups/”>Groups</a></li>
<li><a href=”http://localhost/wordpress/forums/”>Discussion</a></li>
<li><a href=”http://localhost/wordpress/register/”>Register</a></li>

Here you can write <?php bloginfo(‘url’); ?> instead of http://localhost/wordpress. It will be easy when you are shifting your them from localhost to actual server. But there will be more function and database call.

<li><a href=”<?php bloginfo(‘url’); ?>/activity/”>Activity</a></li>
<li><a href=”<?php bloginfo(‘url’); ?>/members/”>Members</a></li>
<li><a href=”<?php bloginfo(‘url’); ?>/groups/”>Groups</a></li>
<li><a href=”<?php bloginfo(‘url’); ?>/forums/”>Discussion</a></li>
<li><a href=”<?php bloginfo(‘url’); ?>/register/”>Register</a></li>

Now you are almost done. Check your site.
Amazing! You should able to see all the links and buddypress pages. If you find that the pages are not quite aligned correctly, or the content is overlapping the sidebar, you will need to tweak the theme.

By default BuddyPress templates use this HTML structure:

[HEADER]

<div id=”container”>
<div id=”content”>
[PAGE CONTENT]
</div>

<div id=”sidebar”>
[SIDEBAR CONTENT]
</div>
</div>

[FOOTER]

If BuddyPress pages are not aligned correctly then you will need to modify some of the templates to match your theme’s HTML structure.

Brows your theme folder and then open up the page.php file (if this does not exist use index.php). Make note of the HTML template structure of the file, specifically the <div> tags that surround the content and sidebar, include lines like sidebars.

You will need to change the HTML structure in the BuddyPress templates that you copied into your theme to match the structure in your page.php or index.php file. The files that you need to edit are as follows (leave out any folders you have not copied over):

  • /activity/index.php
  • /blogs/index.php
  • /forums/index.php
  • /groups/index.php
  • /groups/create.php
  • /groups/single/home.php
  • /groups/single/plugins.php
  • /members/index.php
  • /members/single/home.php
  • /members/single/plugins.php
  • /registration/register.php

Once you are done matching up the HTML structure of your theme in these template files, please take another look through your site. You should find that BuddyPress pages now fit inside the content structure of your theme.

You’re now all done with the conversion process. Your WordPress theme will now happily provide BuddyPress compatibility support.

Now if there any problem with style sheet you need to edit your style.css file.

Let me know if you find defficult to integrate. We will do it for you in a nominal price. Just drop a mail to info@studentprojects.in

There wont be any charge to give a sudgession or help. Just drop your doubts using below form. I will be happy to reply.

Editorial Team
Editorial Team

We are a group of young techies trying to provide the best study material for all Electronic and Computer science students. We are publishing Microcontroller projects, Basic Electronics, Digital Electronics, Computer projects and also c/c++, java programs.

56 thoughts on “How to Integrate buddypress to wordpress theme

  1. First thanks for this article, i found it so useful, Can u tell me how can i allow registered users to create their own blogs??????

  2. Ranjith i was trying to do all the things which you worote here. Anfortunatly i have got lost. first of all
    1. in style.css file where should i put this @import url( _inc/css/reset.css );? right at the beginning ? i put it here :
    @import url( _inc/css/reset.css );
    /*
    Theme Name: Original Premium News
    Theme URI: http://www.woothemes.com/
    Description: Original Premium News by WooThemes
    Version: 2.4.5
    Author: WooThemes
    Author URI: http://www.woothemes.com/

    Copyright: (c) 2009 WooThemes.
    License: GNU General Public License v2.0
    License URI: http://www.gnu.org/licenses/gpl-2.0.html
    did i do correct or should i have put it in front of :
    */

    /*========= SETUP =========*/

    *{
    border: 0;
    margin: 0;
    padding: 0;
    }

    then i have copied the _inc file to the folder of my theme just inside of the folder.

    2. you have tald to put this files:Activity
    Members
    Groups
    Discussion
    Register

    to header.php
    i have opened my header.php file but to be honest i do not have any clue where should i put all of that files? because i am not so knowlagabe in php and in programming.

    Dear Ranjith i was wondering if you can please help me,i would have been so gratefull to you, if you will do so. Cause i was doing it so long and still there is no any progress.
    Will be looking forward to hearing from you soon.
    With the best wishes Kanat.

  3. I am stuck on the step where I must tweak the code. The member directory and Friends pages do not fit in my theme. I am using rtPanel theme for wordpress. Do I need to tweak the css files or just edit the html?

  4. hello, i’m also stuck on the step where i must tweak the code, I am stuck on the step where I must tweak the code. The member directory and Friends pages do not fit in my theme as well. I am using Matrix theme for wordpress. any help please? i am willing to pay for any fees. thanks

  5. You’d superb suggestions there. I did a research about the problem and identified that likely almost anyone will agree together with your internet page.

  6. i applied all things which are told above…..and its really work….

    but here two plugins…buddypress and bp template pack….

    and you told in brief about bp template pack but not about buddypress plugin…

    my site url is http://klahost.com/dolphin-hotel/ but register page is not working…

    can u help me?

  7. Hello,
    Is this article still useful?
    Maybe is to old?
    I can’t find buddypress template pack anymore.

    Thanks

  8. Nice post. I learn something totally new and challenging
    on websites I stumbleupon on a daily basis. It
    will always be interesting to read content from other writers and use something from their websites.

  9. The lack of this publicity contributes directly to the
    amount of the population that watches other sports instead of
    soccer. With all the dueling monologues, there is no dialogue.

    There is also a trend of many college students running up
    debts on sports betting.

  10. Hmm it seems like your website ate my first comment (it was super long) so
    I guess I’ll just sum it up what I had written and say, I’m thoroughly enjoying your blog.
    I as well am an aspiring blog blogger but I’m still new to everything.
    Do you have any recommendations for rookie blog writers?
    I’d genuinely appreciate it.

  11. Cette lieu de Jupiter devrait vous-même pousser
    à vous-même montrer un pointe plus prudent sur cela plan banquier.

    La assistance duquel vous avez bénéficié dernièrement négatif existera en effet davantage
    autant efficace. Cela rien veut marche dialoguer lequel toi-même
    risquez des difficultés. Simplement, sachez dont supposé que toi prenez trop de risques ou dépensez à l’exclusion de
    compter, cette fois, vous nenni pourrez plus compter sur la chance auprès toi-même aider à retrouver rapidement l’équilie.
    Santé Au situation de chercher en permanence à être présent sur
    complets les fronton dans votre besogne ainsi dans votre
    vie privée, apprenez à déléguer. Malgré passer, faites place
    caractéristique, en vous débarrassant définitivement
    des problèmes du passé dont toi-même gênent. Un hominien providentiel surgira-t-celui de la mêlée
    ?

  12. Greetings, I do think your website could be having browser compatibility issues.
    When I take a look at your website in Safari, it looks fine however, when opening in I.E., it’s got some overlapping issues.
    I simply wanted to provide you with a quick heads up!
    Apart from that, excellent blog!

  13. Are you one of the many individuals who likes kitchen gadgets.

    For those who love cooking but hate the clean-up involved the Scrap Trap is an great tool to keep your counters and floor sparkling and uncluttered.

    You can either make your own base or use a ready-made base, and
    then add whatever ingredients and toppings that you want.

  14. We will have one of our English speaking drivers collect
    you from the hotel and take you to our executive offices to begin. Fred and Lorraine Gibbons had owned the store since 1952 and also employed
    two full-time staff members. Attached for an attractive and durable serrated blade,
    is really a compact flash light to light the right path.

  15. We are a gaggle of volunteers and starting a
    new scheme in our community. Your website provided us with
    valuable information to work on. You’ve performed a formidable task and
    our whole neighborhood might be thankful to you.

  16. Today, I went to the beach front with my kids. I found a sea shell and gave it
    to my 4 year old daughter and said “You can hear the ocean if you put this to your ear.” She placed the shell to her
    ear and screamed. There was a hermit crab inside and it
    pinched her ear. She never wants to go back!
    LoL I know this is completely off topic but I had to tell someone!

  17. Excellent info, Regards.
    xunjie 20〜30での旗艦店の拡大、
    目的の結果がされていないが、
    「30を育成するユーザーのカテゴリを迅速かつ大企業やグループを行うには、 バンズ スリッポン キッズ 把握するためのプラットフォームを提供する機会を最大限に活用している。
    推奨される毎日の購入推奨理由:女優がゴージャスなドレスのモデルを超えている、
    教師ピエールDeBusschere(ピエールDebusschere)による対話のショートフィルムは、 クロエ 香水 ローズ ウエストデザインが脱構築の動的な概念と関連して提示され、
    命よりも大きいように見えるが、”
    人々に異なった感じを与えます。メリッサ サンダル キッズ 徐々に女性の文化を提唱するように形成されそうDGVIブランドのポジショニングの傾向を作成する。
    大晦日が大嫌い!私は12月31日に出て行くことはありません。
    オンラインの悪人だけでなく、
    クラシックな解釈のユニークな解釈をする運命にある。 バンズ スリッポン キッズ

  18. Thanks for another great post. Where else could anyone get that type of info in such
    an ideal approach of writing? I’ve a presentation next week, and I am at the look
    for such information.

  19. What’s up to every body, it’s my first pay a
    quick visit of this website; this web site carries amazing and actually good information in favor
    of readers.

  20. You definitely made your point!
    xunjie 最終的に冬のファッションに上昇していきます。
    趣味と業務の懸念は灯台の英国協会のサポートを含む王室の他のメンバー、
    50以上のミシンの合計を採用する日本企業は24万台、 サマンサタバサ 財布 ピンク 両方が貧弱下着のファブリック設計のオペアンプ…再生されます:0コメント:0続きを読む..不明な日付、
    中国の妊娠赤ちゃんの業界の急速な発展を裏付け業界は無限のビジネスチャンスを示している表示。
    三次元の豊かな全体的な形状でいくつかの考え、 コーチ 財布 メンズ オリジナルエコシリーズは、
    繊研新聞の提案会社IFF展の主催者を招待する予定。
    戦争が始まったアップグレードの強さを実行する能力の背後に靴を強調しています。コーチ 時計 人々のイデオロギーの変化は、
    大きなスパンの給与をマークがありますが、
    喜びと自由増やす 韓国の小さなシャツを推薦再春野生です…再生:0コメント:0続きを読む…未知日:2009-2から16までイラクはまだ服を購入したいと生まれた美しい女性のようなマルチ摩耗のファッションの女性の野生の衰えない[シモン]国際貿易が、
    元龍のpingショップ名声を、 コーチ 財布

  21. Our reviewers at first impressed while using sharpness and vivid color
    created by this mid-sized collection thanks
    for the system’s 50,000:one dynamic distinction ratio and Samsung’s mid-stage Huge Coloration Enhancer a couple
    of know-how that assists create far more pure rendering of
    colours. The auto flash feature will adjust the need for flash according to
    the lighting without necessity of figuring out if needed.
    Samsung Galaxy S III features new Smart Stay technology that makes sure that the screen doesn’t give-up while you’re staring at it, by
    following your eyes with the front camera, Direct Calling function lets the user call those individual whose text message is currently
    displayed by just lifting the phone to the ear, innovative Pop Up Play feature allows the user to play video simultaneously
    while doing other activities side by side, by simply pressing the left corner button plus lots of new options that will definitely
    attract your attention.

  22. I do not even understand how I ended up here, but I
    assumed this submit was once great. I do not understand who you are but definitely you’re going to a well-known blogger if you aren’t already.
    Cheers!

  23. No matter what trade you’re in construction equipment the market.
    These loaders can be given to the location where you’re
    going to be ensured that liquidity is available, and the
    other hand, it’s also important to test the equipment that are made.
    They have a blade construction equipment like this.
    Since such machines are carried out under the ground for flatten it.

    What you see you get little creases in your local newspaper or wait a few feet from Mobile
    Bay.

  24. kelby’s gains, although straight away Masteron 100 (Drostanolon Propionate) 20ml Roos Lion turn anxious that Clomid
    dropped his / her rewards (you should be aware that absolutely no one
    I’ve ever discovered has seen this.) Masteron 100 (Drostanolon Propionate) 20ml Roos
    Lion losing always been absolutely confused, nonetheless, yet
    definitely not decide this from normally, Masteron would
    be loaded with Testosterone Propionate and even Trenbolone Acetate, which
    would be taken all of a sudden, every following or lastly evening in the same injection.
    Indeed, pro-hormones are incredibly thoroughly regarding
    steroid drugs that, basically, you can substitute
    anyone steroid from a synthetic steroid routine with an absolutely authorized pro-hormone, readjust the doses successfully, as well as you’re going to
    get the exact same improvements. The androgenic property of Masteron propionate
    similarly help to increase the levels of energy for deep learning sports athletes.

  25. I absolutely love your blog and find the majority of your post’s to
    be what precisely I’m looking for. Do you offer guest writers to write content
    for you? I wouldn’t mind creating a post or elaborating onn a number
    of the subjects you write concerning here.
    Again, awesome weblog!

  26. You suggested that adequately.
    xunjie 曹操微風(ハイエンドクリエイティブ移動エンジニア)IWCのポルトガルパーペチュアルカレンダー機関(曹操微風ラベル付き)IWCのポルトガルパーペチュアルカレンダービッグ4〜30日さつきの7月と31日間を含む12ヶ月の現在のグレゴリオ暦年の要件を、
    金時計はロジウムメッキを施し、
    エキゾチックなセクシーな ‘スネークガール’単一の製品の推奨」ラット女」「キャットウーマン」のハロウィンドレス無邪気に誰もがより多くの道路に呼び出されるためには怪物のように認識されませ告げる。 d&g 香水 レディース 変更後の人々の日々の流入によって変換秘密戻っフェイ、
    より多くの古典的なドレス。
    これは古い写真王Likunで、 ナイキ エアマックス レディース スイスリノ(ルロクル)でモンブランにより、
    心をこめて喜び意思を感じて幸せであると確信しかし、
    低ディスカウントストアの様々なブランド、ミネトンカ サンダル フリンジ より多くのスペースを購入し、
    装飾花は非常にデリケートな手作りを必要とする。
    特許構造を開発しましたしかし、
    非常に若く見える – 26752832011-04-20は11:06:53.0 wangluodanフェミニン230262ヘアスタイル髪型/ enpproperty強調表示小品の頬展を残した傷を治癒しない戻って学生の子!メッシーメッシー短い髪の短い髪が、 ヴィヴィアンウエストウッド バッグ メンズ

  27. I every time spent my half an hour to read this web site’s articles
    or reviews daily along with a mug of coffee.

  28. First of all I would like to say excellent blog!
    I had a quick question that I’d like to ask if you don’t mind.
    I was interested to find out how you center yourself and clear your mind
    prior to writing. I’ve had trouble clearing my mind in getting my
    thoughts out. I do take pleasure in writing but it just seems like the first 10
    to 15 minutes are wasted just trying to figure out how to begin.
    Any ideas or tips? Kudos!

Leave a Reply

Your email address will not be published. Required fields are marked *

Get the latest updates on your inbox

Be the first to receive the latest updates from Codesdoc by signing up to our email subscription.

    StudentProjects.in