Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BuddyPress page compatibilty problems with flare theme (themeforest theme)


  • Maruti Mohanty
    Participant

    @marutim

    Hi All,

    I have tried and installed the BuddyPress to my multisite wordpress installation.
    I have used the bp-template-pack to follow the steps to tweak the files to get the buddypress pages working.

    I am stuck with the third step. Can Someone please help me make changes to the required files to get the buddyPress pages work.

    I have also checked in the Template packed wordpress themes, Flare theme is not enlisted there :(

    Some Prerequisite infos:–
    I am using the wordpress 3.4.2
    I am using BuddyPress 1.6.1
    Wp and Bp are fresh installations, no upgrades from older versions.
    I am using a themeforest theme http://flare.bringthepixel.com/
    I am using the child-theme concept to make the changes.
    I am trying to make it work in my local, so i have multisite (sub-directory).
    I am using a ubuntu machine.

    footer.php: http://pastebin.com/zu3FszEN
    header.php: http://pastebin.com/SmHJQ5xt
    page.php: http://pastebin.com/VAFUXgMP
    index.php: http://pastebin.com/sZUzep9R

    I dont have a sidebar.php in this theme, rather have two templates for right side page and left side bar page.

    Any help will be highly appreciated.
    Thanks in Advance

Viewing 8 replies - 1 through 8 (of 8 total)

  • @mercime
    Participant

    @mercime

    @marutim I need the code for precontent.php file as well. Heads up – Initial scan shows that you will have to revise 16 BP template files from the folders transferred to your current theme in server.


    Maruti Mohanty
    Participant

    @marutim

    @mercime Thanks for the reply.
    Please do help me in restructuring the 16 BP template files.

    precontent.php: http://pastebin.com/sQyZXTAg


    @mercime
    Participant

    @mercime

    @marutim Based on the HTML structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your flare theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your flare theme folder in server, replace all of them for a clean slate by deleting the 6 BP folders – /activity, /blogs, /forums, /groups, /members, and /registration – then re-run Appearance > BP Compatibility.

    Download the 6 clean BP folders to your computer hard drive.

    A. At the top of each of those 16 template files I linked to above, replace
    `

    `

    with the following:
    `
    <div id="precontent" class="”>

    <div id="content" class="”>

    <article id="post-” >

    `

    Then, in each of 16 files, you’d like to change the BP Templates’ page title’s header tag from `

    ` or `

    ..

    ` to
    `

    // RESPECTIVE BP TITLES //

    `
    where applicable, then move this to just right UNDER “ Just watch out when you do this in the /activity/index.php page.

    Save files.


    @mercime
    Participant

    @mercime

    B. At the bottom of the same 16 files, replace:
    `

    `

    with the following (except for registration/register.php):
    `

    `

    with the following for registration/register.php:
    `

    jQuery(document).ready( function() {
    if ( jQuery(‘div#blog-details’).length && !jQuery(‘div#blog-details’).hasClass(‘show’) )
    jQuery(‘div#blog-details’).toggle();
    jQuery( ‘input#signup_with_blog’ ).click( function() {
    jQuery(‘div#blog-details’).fadeOut().toggle();
    });
    });

    `

    Save files.

    C. Upload the 6 BP folders containing the 16 files you’ve just revised to your server wp-content/themes/flare/

    D. Copy the style modifications made in BP Twenty Ten at https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste to your theme’s stylesheet. Adjust to taste.


    Maruti Mohanty
    Participant

    @marutim

    @mercime Thank you so much for the help. It worked :)


    @mercime
    Participant

    @mercime

    @marutim You’re welcome. Thank you for confirming it worked :-)


    tomraff
    Participant

    @tomraff

    Hi Maruti, I wonder if you could possibly help as I am trying to install BuddyPress to Flare Theme also…Would you be able to send me examples of the Template Files.
    I am building a new website for a local school (although I’m not a developer)…and would appreciate your support greatly!


    @mercime
    Participant

    @mercime

    @tomraff as of BuddyPress 1.7, BuddyPress Pages are rendered automagically in nearly all WordPress themes.

    If you have activated the BP Template Pack plugin, deactivate it and delete the plugin.
    If you already went through the Appearance > BP Compatibility process, you also need to delete the 6 BP folders transferred to your flare theme in server, i.e., delete /activity, /blogs, /forums, /groups, /members and /registration folders

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘[Resolved] BuddyPress page compatibilty problems with flare theme (themeforest theme)’ is closed to new replies.
Skip to toolbar