Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forcing incompatible theme to work with Buddypress

  • @gerardbeekmans

    Participant

    Hello! I would like to force my incompatible theme to work with Buddypress even though the theme author has said it won’t.

    Here’s the extra info required first before explaining further:

    WP 3.8
    WP-directory or subdomain install? Not sure…
    WP-root or in a subdirectory? Root.
    Upgrade from a previous version of WP? If so, from which? Yes, the one directly previous to 3.8 however buddypress was just installed a day before upgrading.
    WordPress functioning properly? Yes.
    Version of BP are you running? 1.9.1
    Upgrade from a previous version of BP? No

    8. Do you have any plugins other than BuddyPress installed and activated?Yes – Advanced custom fields, askimet, author image, better wordpress recent comments, dashboard notepad, exclude pages from navigation, fancier author box, go – responsive pricing & compare tables, google analytics for wordpress, jetpack, nrelate related content, roster slider (and slidervilla taxonomies addon), rumbletalk chat, s2 member framework (and pro addon), User bookmarks, visual form builder (and magic addon), W3 total cache, widget logic, widgets on pages, wp google fonts, WP Show IDs.
    Standard BuddyPress themes or customized themes? Standard – have not selected a theme, could not find anywhere to select any kind of theme at all.
    Modified the core files in any way? No
    Have any custom functions in bp-custom.php? No
    No bbPress, but will add in future.
    List of any errors in your server’s log files. No errors.
    Hosting? Self hosted on husband’s server.
    Is your server running? Linux

    Basic Trouble Shooting:

    I already know that the theme will not work with buddypress – they’ve advised someone of this in their comments section.

    I have reverted to standard WP theme, and after doing so, buddypress profile pages etc. will appear, but using the Solitudo theme, it shows “archive” as the title.

    Saw this post: http://buddypress.org/support/topic/page-title-all-say-archive/ and my husband will look into that the wp_title() function

    Have also contacted theme author to find out where we can get started to modify the theme to accept buddypress, waiting to hear back.

    In the mean time, any tips, tricks, advice you can provide my husband as far as forcing my theme to work with buddypress? Or are any of the additional plugins I have installed potentially causing a problem? I can deactivate all plugins and then reactivate, but I’m new to WP and not sure if doing so would re-set all of the settings for each plugin.

    Activating a different theme and then reactivating my solitudo child theme, for instance, caused some settings to disappear that I have to re-do now so I’d rather avoid that if you know for sure one of the listed plugins causes an issue.

    Thanks for any advice you can give! Warm regards!

Viewing 9 replies - 1 through 9 (of 9 total)
  • @gerardbeekmans

    Participant

    Test.

    @gerardlbeekmans

    Participant

    .

    @megainfo

    Participant

    1 – edit your style.css of your theme, and remove buddypress from tags :

    Tags: buddypress,white,one-column,two-columns,three-columns,right-sidebar,fixed-width,editor-style,custom-menu,custom-header,featured-images,full-width-template,theme-options,threaded-comments
    

    2 – remove all this directories if they exisit on your theme :
    ‘activity’, ‘members’, ‘groups’, ‘bbpress’,’blogs’, ‘forums’, , ‘_inc’, ‘registration’.
    (mybe you will find these directories on others sub dir like ‘lib’ or ‘buddypress’.

    Hope this can help you!

    @gerardbeekmans

    Participant

    Thanks for your answer. This doesn’t really make sense to us though. Why would buddypress tags exist in my theme’s style.css if buddypress is not compatible with the theme? Or are these tags existing now because I tried to install/activate buddypress and now I have to remove them?

    I did not have activity/members etc. pages before installing buddypress so they did not exist in my theme.

    @gerardbeekmans

    Participant

    Is there anybody else who might have a suggestion how we can go about making this all work? Maybe somebody who has already gone through this process before?

    @buddyboss

    Participant

    I can deactivate all plugins and then reactivate, but I’m new to WP and not sure if doing so would re-set all of the settings for each plugin.

    It shouldn’t, assuming your plugins are well coded. The vast majority of the time doing this causes no problems. But you don’t know 100% until you try it.

    You might want to back up your database first just to have a copy to revert back to. It’s a good policy to do that anyways. I use: https://wordpress.org/plugins/wp-dbmanager/
    You can set it to do daily or weekly backups to your server of your database. Pretty sweet.

    As for your theme, that theme (Solitudo) looks like it has a ton of theme options. I’m guessing some PHP customization in there is breaking BuddyPress output. You may have to just dig in and deactivate/reactivate parts of the theme (at the code level) until you get things to work if you feel comfortable doing that. Specifically the functions, or functions in PHP files that are possibly called by the core functions.php file – I haven’t used that theme myself so not sure how it’s set up. Every theme is different so there isn’t some quick answer unfortunately.

    Hope that helps.

    @mercime

    Participant

    @gerardbeekmans the workaround for some themes with proprietary frameworks which can lock your content to that theme is by creating a new file named buddypress.php then pasting the code from the theme’s page.php file into buddypress.php. What’s needed in buddypress.php is the WP loop and within that you need the_title and the_content template tags to replace whatever code the theme author used. After you’ve added the necessary loop and template tags, you’d need to upload buddypress.php into the root of your theme’s folder in server.

    @gerardbeekmans

    Participant

    Thanks, @mercime we’ll give that a try and see if we can make it work that way.

    @quince85

    Participant

    @mercime I created buddypress.php page as you advised here my code

    <?php
    /**
     * Displays the page section of the theme.
     *
     * @package Theme Horse
     * @subpackage Attitude
     * @since Attitude 1.0
     */
    ?>
    
    <?php get_header(); ?>
    
    <?php
    	/** 
    	 * attitude_before_main_container hook
    	 */
    	do_action( 'attitude_before_main_container' );
    ?>
    
    <div id="container">
    	 <?php while ( have_posts() ) : the_post(); ?>
    
    		<h1 class="entry-title"><?php the_title(); ?></h1>
    	<?php the_content(); ?>
    
    <?php endwhile; // end of the loop. ?>
    
    </div><!-- #container -->
    
    <?php
    	/** 
    	 * attitude_after_main_container hook
    	 */
    	do_action( 'attitude_after_main_container' );
    ?>
    
    <?php get_footer(); ?>

    My group and create group pages are working, although the layout is a bit messed up.
    But I don’t have the Request Membership button. Can you tell me how I can fix this?

    Thank you!

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Forcing incompatible theme to work with Buddypress’ is closed to new replies.
Skip to toolbar