Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Another request for Theme Help – Trying to get Shoutbox theme to work in BuddyPress

  • Profile photo of rhek
    rhek
    Participant

    @rhek

    Hello,

    This is another theme help request. I have spent about a week, off and on, trying to get the theme working. I think my problem is I am trying to make it harder than it should be. I have a habit of doing that.

    I currently have a test site at http://thorsoft.com/cyclistzone. The site is really slow, but I think that is because it is on a GoDaddy Windows hosting account which works great for .Net coding, but not too much for WordPress. We are setting up a PSek hosting account for the live site.

    I have reinstalled the theme and automatically moved the template files using the BP Compatibility plugin. So I am on Step 3 and here is where I seem to be stuck. I have tried to follow some of the other suggestions I have seen here, but I am not getting anywhere.

    I have fresh copies of header-buddypress.php, sidebar-buddypress.php, and footer-buddypress.php in the theme folder. My initial thoughts were that sidebar-buddypress.php would need changed and
    maybe header-buddypress.php. I think footer-buddypress.php is not needed.

    I have 2 screenshots. The first is the home page which is fine. The second is the BuddyPress Profile page which is a mess.

    Home Page: http://www.thorsoft.com/shoutbox-home.png
    Profile Page: http://www.thorsoft.com/shoutbox-profile.png

    Here are some of the theme files:

    Page.php: http://pastebin.com/wykNeRLK
    Index.php: http://pastebin.com/KRzd92f9
    Header-buddypress.php: http://pastebin.com/aqReGuib
    Sidebar-buddypress.php: http://pastebin.com/uSmvqezL
    Footer-buddypress.php: http://pastebin.com/aemRUcEC

    If someone has a couple minutes and could guide me in the right direction I would greatly appreciate it. Maybe once I see what needs to be done I will be able to get my head around it and help someone else in the future.

    Thanks,
    Rhek

Viewing 7 replies - 1 through 7 (of 7 total)
  • Profile photo of @mercime
    @mercime
    Keymaster

    @mercime

    == The site is really slow ==
    You know you’re right. And you only have BuddyPress and BP Template Pack plugins activated. Consider moving away from Windows server for WP/BP installation.

    == I think footer-buddypress.php is not needed. ==
    And you’re right again. Delete footer-buddypress.php from your shoutbox theme folder.

    Open up header-buddypress.php and add the following at the very bottom, below other code:

    `

    `

    Save file.

    Profile photo of @mercime
    @mercime
    Keymaster

    @mercime

    Open up sidebar-buddypress.php and add the following at the very top, above other code:

    `
    `
    then add the following at the very bottom of sidebar-buddypress.php [updated]
    `

    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.

    Upload both to wp-content/themes/shoutbox

    Use some or all of the styling mods on BP components used in Twenty Ten https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/

    Profile photo of rhek
    rhek
    Participant

    @rhek

    Mercime,

    Thank you so much! I thought it should be fairly simple, but I had a mess when I tried to do it. I will study what you did and why and hopefully I can help someone in the future.

    Thanks again,
    Rhek

    Profile photo of rhek
    rhek
    Participant

    @rhek

    Mercime,

    Just curious, you seem to figure out what needs changed pretty quick. Could I ask if you do anything different from the instructions in the BP Compatiblity plugin?

    This is what I was working with…

    https://codex.buddypress.org/theme-development/wordpress-to-buddypress-theme/

    Thanks,
    Rhek

    Profile photo of @mercime
    @mercime
    Keymaster

    @mercime

    You’re welcome :-)

    @rhek I’ve updated the additions to the bottom of the sidebar-buddypress.php above to include necessary script for the register page, please update your file.

    == Could I ask if you do anything different from the instructions in the BP Compatiblity plugin? ==
    Nothing different, just compared the HTML structures to determine whether compatibility could be done via the second method xxx-buddypress.php files or the 1st method (changing 16 template files). See how it’s done in Twenty Ten child theme and Twenty Eleven child themes
    https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/

    https://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-eleven-bp-1-5/

    Profile photo of rhek
    rhek
    Participant

    @rhek

    Thanks for all your help!

    Have a Great Weekend,
    Rhek

    Profile photo of @mercime
    @mercime
    Keymaster

    @mercime

    You’re welcome. Marking this as resolved then :-)

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] Another request for Theme Help – Trying to get Shoutbox theme to work in BuddyPress’ is closed to new replies.