Skip to:
Content
Pages
Categories
Search
Top
Bottom

BuddyPress trouble with Theme Compatibility – Professional Theme

  • @kennr

    Member

    Hi all,

    I have a big problem with the compatibility of BuddyPress with my Professional Theme by Elegant Themes.

    Here are two links:
    http://musikwelten.net/activity/
    http://musikwelten.net/members/guest/settings/general

    First link:The content isn’t quite contained in the Div container. However I don’t find any way to fix this.

    Second link:

    User: Guest
    PW: guest

    It’s the Settings Page. I think you see what’s going wrong there. The content is contained three times.
    How do I fix that?

    EDIT – Please do not post large blocks of code here. Use pastebin.com. I have transferred all to pastebin — mercime

    Here is the page.php Code of the Theme: http://pastebin.com/mq8rLDK4

    Here is the code of the first link: index.php of activity: http://pastebin.com/XV4Q8Q81

    Here is the Code of the second link. general.php of settings:http://pastebin.com/zZFW09Ky

    I hope you can help me with this. I don’t get further there.

    Greetings

Viewing 1 replies (of 1 total)
  • @mercime

    Participant

    activity/index.php = open it up with a text editor. At the very top of the file,
    replace:
    `

    `
    with:
    `
    <?php if (get_option('professional_integration_single_top') ” && get_option(‘professional_integrate_singletop_enable’) == ‘on’) echo(get_option(‘professional_integration_single_top’)); ?>

    <?php if (get_option('professional_integration_single_top') ” && get_option(‘professional_integrate_singletop_enable’) == ‘on’) echo(get_option(‘professional_integration_single_top’)); ?>

    `

    At the bottom of the same file,
    replace:
    `

    `
    with:
    `


    <?php if (get_option('professional_integration_single_bottom') ” && get_option(‘professional_integrate_singlebottom_enable’) == ‘on’) echo(get_option(‘professional_integration_single_bottom’)); ?>

    `

    Note that I did not include “ at the top of the file and therefore did not include “ at the bottom of the file.

    Save /activity/index.php file and do the same on the remaining 15 files as listed here https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/#tplfiles
    … except for /registration/register.php where you do the same at the top of the file but at the bottom of the register.php file, the replacement is:
    `
    <?php if (get_option('professional_integration_single_bottom') ” && get_option(‘professional_integrate_singlebottom_enable’) == ‘on’) echo(get_option(‘professional_integration_single_bottom’)); ?>

    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 all and upload BP folders with revised template files to server wp-content/themes/professional/

Viewing 1 replies (of 1 total)
  • The topic ‘BuddyPress trouble with Theme Compatibility – Professional Theme’ is closed to new replies.
Skip to toolbar