Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Compatibility Issue with Karma Theme

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

    @mercime

    Your theme’s index.php is full-width and the page.php has hardcoded sidebar, a two-column layout. Which one were you trying to use for your BuddyPress pages?

    Thx for the response! I want to use the full-width version. If you need the full width template here it is: http://pastebin.com/USR0ihpW

    thx again

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    1. Open up your karma’s header.php and Save As header-buddypress.php. At the very bottom of header-buddypress.php, insert this code:
    `


    <?php
    //retrieve value for sub-nav checkbox
    global $post;
    $post_id = $post->ID;
    $meta_value = get_post_meta($post_id,’truethemes_page_checkbox’,true);
    if(empty($meta_value)){
    get_template_part(‘theme-template-part-subnav-horizontal’,’childtheme’);}else{
    // do nothing
    }
    ?>

    `
    Save and upload to karma theme folder in server.

    2. Create a blank new file, sidebar-buddypress.php and paste the following code:
    `

    `
    Save and upload to theme folder in server

    Note: If the above doesn’t work, contact Karma theme dev to give you HTML for full width you need to add before content area in header-buddypress.php I’m not sure whether the theme’s proprietary codes/hooks would work in this scenario since I don’t know what the hooks are and what they actually do since I don’t have a copy of that premium theme. You could point the Karma dev to this post for reference.

    Tyvm!! It’s working sorta. For some reason this is showing up like so: http://img8.imageshack.us/img8/5525/headerxzb.png

    Following your example I might be able to fix it myself. But if you want to help with this one as well I’d appreciate it. Either way you helped out a lot and the original problem is now resolved <img src="smileys/heart.gif" width="" height="" alt="<3" title="

    Hmm for some reason it won’t let me edit the last post. I meant to say that the picture was taken at the /activity/ page.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    This is the code in header.php which renders that bar shown in the image you attached.
    `<?php
    //retrieve value for sub-nav checkbox
    global $post;
    $post_id = $post->ID;
    $meta_value = get_post_meta($post_id,’truethemes_page_checkbox’,true);
    if(empty($meta_value)){
    get_template_part(‘theme-template-part-subnav-horizontal’,’childtheme’);}else{
    // do nothing
    }
    ?>`
    It only shows up in the full-width template, not in page.php code. You could delete it from header-buddypres.php

    Yea figured as much. Mind if I link this post this thread on the theme authors site? Btw, thx again.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Sure. As mentioned in a previous post, theme dev would know what to replace that with since title and the breadcrumb script won’t work with BuddyPress pages and you’ll be left with the search form. At this stage, if you want to have the page titles of the BP components in that div.main-holder, to avoid replicating page titles you’d have to use the first method of the BP compatibility process where you’ll change 14+ BP template files.

    Hi! I also chose the karma theme and then found out I couldn’t easily integrate buddypress. Were you able to do it successfully? My site is for a school and I want parents to be able to log in to see teacher pages. Do you think this is possible? testingfms.com

    thanks for any input.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @jen915 WP/BP versions? Did you go through the Installation Wizard after activating BuddyPress? What are the URI’s of your BuddyPress Pages? I get blank pages when I go to your site and append /groups or /members to your domain uri.

    @mercime Yes, they are all blank because I haven’t attempted integrating them yet. I don’t know code (just basic wordpress user here) so I was afraid I would mess things up if I started messing around, especially since the karma theme wasn’t made for buddypress. I contacted an outside expert to help me but just wanted to reach out to someone who possibly used buddypress with karma to see how it worked out, if it worked well, before I pay this person and take all this time to try to make it work. (BP Version 1.5.5, Karma 2.6.9, WP Version 3.3.2)

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @jen915 WP themes can be made compatible with BuddyPress by installing and activating the BP Template Pack plugin then going through Appearance > BP Compatibility process. The last step would basically involve copying and pasting from the code I posted above to a file created above per instruction and uploading it to server.

    Since I have never used Karma theme, I cannot offer any guarantee that even after you’ve fixed the layout of the BP template files to adopt your theme’s layout, that there won’t be any javascript or AJAX conflicts – as I’ve seen in 2 of the more advanced themes.

    Okay thanks for responding. I will give it a try :)

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

You must be logged in to reply to this topic.