Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Compatability with eNews theme from Elegant Themes

  • Avatar of pgrinnell
    pgrinnell
    Member

    @pgrinnell

    Good day … I am trying to get things working with BuddyPress using the eNews theme. I’ve tried to adapt some of the solutions offered up for other Elegant Themes themes in this forum but have not resolved the alignment issues. I have copied and created the 3 files header-, sidebar-, and footer-buddypress.php and would truly appreciate some help in incorporating the proper modifications. Thank you.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @pgrinnell different strokes for different themes. Your theme requires changing 16 BP template files for Step 3 of the compatibility process, not adding only 2 files.

    If you still want to proceed, then open up your theme’s header.php, copy all, paste all at pastebin.com, click submit, and post the generated pastebin.com URI here. Do the same with your theme’s page.php, index.php, sidebar.php and footer.php

    Avatar of pgrinnell
    pgrinnell
    Member

    @pgrinnell

    Thank you very much @mercime. Surprising, as the theme-pack plugin did not copy any of the files to the theme root. Things look ‘almost’ ok for the BP pages. As requested, here are the files:
    http://pastebin.com/2kqTxFGw
    http://pastebin.com/vK1MAG4K
    http://pastebin.com/wcMPG8P3
    http://pastebin.com/Dmwu2LPz
    http://pastebin.com/wZD8FrWK

    Really appreciate your time and assistance. Thank you.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @pgrinnell Based on the HTML structure of your theme, you need to use the first option, i.e., change 16 template files within the 6 BP folders transferred to your enews theme folder in server during the compatibility process.

    If you’ve previously changed any of the BP template files in your 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:
    `

    `

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

    ` or `

    ..

    ` to `

    // Titles Of Respective BP Page Templates //

    ` and move it to just above `

    `. Careful when you do this in the /activity/index.php page.

    Save files.

    Avatar of @mercime
    @mercime
    Keymaster

    @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/enews/

    D. Copy the style modifications made in BP Twenty Ten at http://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.

    Avatar of pgrinnell
    pgrinnell
    Member

    @pgrinnell

    Thank you, @mercime so very much. Everything is working well, and I have learned something new!. Your kindness and generosity with your time and knowledge is gratefully appreciated.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    You’re welcome. Marking this as resolved.

    @mercime I follow your answers with great interest, I have the suffusion theme with the suffusion bp pack and then added BP, now my site looks great, however the BP specific pages such as activity etc, look totally different. see at http://www.godstruths.com Please help me I am exhausted :-) tried so many things, have got no help yet from aquaoid of suffusionyet. It looks to me these pages pull the style from itself and not the main theme. How can I correct this? (I had not activated bp templates under advice from suffusion) Much appreciated. Karl

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

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

You must be logged in to reply to this topic.