Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Buddypress – Risen theme

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

    @mercime

    @twc01 Based on the structure of your theme, you need to change 16 template files within the 6 BP folders transferred to your risen theme folder in server during the compatibility process.

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

    <div id="content-inner" class=”has-sidebar”>
    <article id="post-” >

    `

    Note: If “ does not work here, then change it to “ or ask theme author. You can refer him to this post.

    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 this page title to above `

    `

    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/risen/

    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 TWC01
    TWC01
    Participant

    @twc01

    Thanks, I have done this exepct for the last part in section D. I can not see where the text has been added for the css on style.css for risen.

    Also when I go to the cuddypress componets, i get this error:

    Parse error: syntax error, unexpected ‘<' in /home/inspire/public_html/wp-content/themes/risen/members/index.php on line 10

    The only other thing i did not do was change the

    as I wanted to see what it looked like first.

    Thanks for your help so far.

    Avatar of TWC01
    TWC01
    Participant

    @twc01

    Also i tried changing line 10 to but this also had the same issues. The theme developer does not support buddypress so im stuck :)

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    == I have done this exepct for the last part in section D. I can not see where the text has been added for the css on style.css for risen ==

    @twc01 The style mods are on that page. It starts with:
    `/ > BuddyPress Component Finishing Styles


    */`

    == Parse error: syntax error, unexpected ‘<' in /home/inspire/public_html/wp-content/themes/risen/members/index.php on line 10 ==

    What’s on line 10?

    Avatar of TWC01
    TWC01
    Participant

    @twc01

    thanks, on line 10 it is:

    and i tried

    I can’t display the code, what is backticks?

    Avatar of TWC01
    TWC01
    Participant

    @twc01

    ok so for some reason backticks are not working for me but i added what you said to add in point A and tried the suggestion when it do not work under the code to add.

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    backticks added for you they are the character that looks like comma but very slanted.

    Avatar of TWC01
    TWC01
    Participant

    @twc01

    Thanks, i tried those but still wouldnt work :D

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    You will need to show a few lines before that line number as the error doesn’t actually occur on that line that is just where php first finds , due to the error, it can’t progress cleanly. You will likely have an additional stray closing php tag.

    Avatar of TWC01
    TWC01
    Participant

    @twc01

    Hi.

    This is the activity/index.php page http://pastebin.com/PkHZdQ3K I can see there is an extra <?php at the top so I have removed it. and this is what I get http://www.christianinspire.net/activity/

    I am guessing the `/** * Template Name: BuddyPress – Activity Directory * * @package BuddyPress * @subpackage Theme */` needs removing but also the css code needs adding to style.css but when i look for

    `/ > BuddyPress Component Finishing Styles


    */ `

    it is not in the css file.

    Any ideas?

    Avatar of TWC01
    TWC01
    Participant

    @twc01

    Got it fixed, thanks for your help guys :)

    Avatar of Hugo
    Hugo
    Moderator

    @hnla

    No you needed the opening php tag the error occurred as you then started php once again on line ten without having closed out php first. So you could have either have removed opening php tag on line ten or kept it and closed out php after the PHPdocs stuff */ ?>

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Great, twc01. Thank you, hnla, Marking this as resolved.

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

You must be logged in to reply to this topic.