Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Help with Buddypress integration with Sahifa theme (Themeforest)

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

  • @mercime
    Keymaster

    @mercime

    @chopard where’s the code for page.php file?
    Initial scan shows that you might just need to create two files for compatibility, but we need to confirm it first.


    chopard
    Participant

    @chopard

    Hi

    page.php : http://pastebin.com/CXmu9XDU

    I’ve created 3 files as indicated in the BP compatibility plugin:
    sidebar-buddypress.php
    header-buddypress.php
    footer-buddypress.php

    I put them in wp-content/themes/sahifa but it doesn’t change anything…

    Thank you


    @mercime
    Keymaster

    @mercime

    @chopard Based on the HTML structure of your theme, you will only need to create two new files, header-buddypress.php and sidebar-buddypress.php to make the BP templates compatible with your theme.

    If you’ve revised any of the BP template files transferred to your sahifa theme folder in server during the BP Compatibility process, please delete the 6 BP folders transferred to your sahifa theme folder in server – /activity, /blogs, /forums, /members, /groups, /register – then re-run Appearance > BP Compatibility again to make sure that you have clean template files.

    A. COPY your theme’s header.php and Save As > header-buddypress.php

    Open up header-buddypress.php and at the BOTTOM of the file, below other code contained within, add this:
    `

    `

    Save file.


    @mercime
    Keymaster

    @mercime

    B. COPY your sidebar.php file and Save As > sidebar-buddypress.php

    Open up sidebar-buddypress.php file and at the very TOP of the file, add this:
    `

    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 file.

    C. Upload header-buddypress.php and sidebar-buddypress.php to your theme folder in server wp-content/themes/sahifa/ in the same directory where your regular header.php and sidebar.php files are

    D. Final note: Copy the style modifications for some BP elements https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/ and paste those at the bottom of your theme’s stylesheet, then adjust to taste.


    chopard
    Participant

    @chopard

    Thank you so much @mercime! Smooth and precise explanations, the result is just perfect.

    Thank you again


    @mercime
    Keymaster

    @mercime

    You’re welcome. Thanks for posting back with the results :-)


    archer09
    Participant

    @archer09

    Hi @mercime I’m using the Sahifa theme as well. Followed the instructions above precisely but still seem to be having problems getting BP up and running. Specifically:

    1. When going through BP installation wizard, the 4th step “Theme” never loads. It just shows a completely blank space below the Components/Pages/Permalinks, etc. tabs. This doesn’t seem right…

    2. While in the Theme tab, if I ignore that there’s just blank space and click “save & next” to complete the installation wizard, I still get the “You do not have sufficient permissions to access this page” message when trying to click on BP Settings under Plugins.

    How can I fix this to get BP running properly?

    For background, I’m running on WP 3.3.1 and BP 1.6.1

    Thanks.


    @mercime
    Keymaster

    @mercime

    @archer09 first, keep BuddyPress activated and change to Twenty Eleven theme. Then click on the Installation Wizard again and go through the process. When you reach the point for theme choice, choose BP Default theme first as you can always activate Sahifa theme later. After you finish with the wizard, keep on BP Default theme and test your BP installation. When you’re satisfied that everything’s working well, then change to Sahifa theme.


    archer09
    Participant

    @archer09

    @mercime I tried going through the installation wizard again while on Twenty Eleven theme, but when I get to Theme, the page still shows a complete blank. After that, I uninstalled and reinstalled BP in case the problem was caused by an improper BP installation. Also tried to switch to the BP default theme before running installation wizard. Same problem still. Do you know what else could be causing such an issue?


    @mercime
    Keymaster

    @mercime

    Can you go to Appearance > Themes? If not, I would re-upload WordPress manually. If you created WP via webhost script — fantastico, softalicious, etc — then I suggest you start from scratch and install WP manually https://codex.wordpress.org/Installing_WordPress#Famous_5-Minute_Install

    If that doesn’t work, please start a new topic as this thread deals specifically with the Sahifa theme compatibility with BP.


    archer09
    Participant

    @archer09

    Yes, I am able to access Appearance > Themes. At any rate, I’ll start a new thread on this problem. Thanks.

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘[Resolved] Help with Buddypress integration with Sahifa theme (Themeforest)’ is closed to new replies.
Skip to toolbar