Skip to:
Content
Pages
Categories
Search
Top
Bottom

bp-template-pack / integration with existing wp theme: list of files to layout

  • Avatar of gian-ava
    gian-ava
    Participant

    @gian-ava

    This list should help everybody to quickly and easly track the templates files one need to customize, in order to integrate properly and smoothly BuddyPress pages with your existing WP theme.

    Note that those are the files that generates complete web pages, the one that have header, content, footer.

    The rest of the files in the bp-template-pack are just includes, if I am not wrong.

    1) activity/index.php

    2) members/index.php

    3) members/single/home.php

    4) members/single/activity/permalink.php

    5) members/single/plugins.php

    6) groups/index.php

    7) groups/single/home.php

    8) groups/create.php

    9) forums/index.php

    10) registration/index.php

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of Andy Peatling
    Andy Peatling
    Keymaster

    @apeatling

    Doesn’t it list these in one of the steps on the installation wizard?

    Avatar of gian-ava
    gian-ava
    Participant

    @gian-ava

    Honestly I don’t remember anymore. If that is the case, I didn’t copy the list for further reference when I was going to layout things for intagration. So, if anybody is like me, the list still comes useful somehow after the installation.

    Anyway, that was my little contribution to proper documentation.

    Avatar of still giving
    still giving
    Participant

    @nonegiven

    What did you actually have to do to those files? i agree the document is scant and the Template pack plugin does not really make it very clear.

    Avatar of gian-ava
    gian-ava
    Participant

    @gian-ava

    If you integrate BP into an existing theme, you probbly want to have the new pages generated from BP to look like the rest of yor site.

    In order to do so, usually you need to structure the templates files that generate web pages, those in which you have:

    <?php get_header(); ?>

    <?php get_footer(); ?>

    <?php get_sidebar(); ?>

    Sometimes you have an unique design and a custom HTML structure.

    One may have

    <div id=”content”>…</div>

    as content area.

    Another may have

    <div id=”main”>…</div>

    as content area, for example.

    Installing the plugin doesn’t do the work of making BP pages layout as WP pages.

    You need to do it by hand.

    And where are the files that you need to change?

    In the list I provided above.

    Simple piece of information, but probably useful.

    Avatar of dwcouch
    dwcouch
    Participant

    @dwcouch

    From the Plug-In:

    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 in step two):

    * /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

    * /blogs/create.php

    * /registration/activate.php

    Avatar of dwcouch
    dwcouch
    Participant

    @dwcouch

    My Question is are these the only folders that get ‘copied’ in to the theme directory?

    I don’t have FTP access so I’m not certain where the plug-in Copied the files to – i’ll have to change them and upload them ‘blindly’

    So does it wind up being (?)

    [MyTheme]

    >[activity]

    >[blogs]

    >[forums]

    >[groups]

    >[members]

    >[registration]

    Also I see that the default is for 1 sidebar – I have 2 – I’ll get back to you on that ;)

    I’ll see what happens….

    I am so sorry, but i did not undestood anything, what do I have to do?? I’ve just installed my theme, and the plugin, but I can register new users, it always comes back to the Register page, Please tell me what do I have to change in my theme!!

    Cheers!

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

You must be logged in to reply to this topic.