Group Mods

  • Profile picture of r-a-y
  • Profile picture of @mercime
  • Profile picture of Hugo

Support: Installing BuddyPress

Problems with getting it running.

[Resolved] i have a Fixing Alignment problem… (7 posts)

Started 3 months, 2 weeks ago by: shinsan

  • Profile picture of shinsan shinsan said 3 months, 2 weeks ago:

    Personally, I m not the best with PHP coding, But I bought my theme from templatemonster, they developed my theme.

    So could you write a response to tell me how to convert my theme with BuddyPress?

    i already copy the code to help you to help me :P

    http://pastebin.com/wcqYTS3z -footer
    http://pastebin.com/T8FNFTvi -header
    http://pastebin.com/uYXLq5Qy -Page
    http://pastebin.com/UeBaLJdc -index
    http://pastebin.com/W7Y6MCeJ -sidebar1
    http://pastebin.com/ax3Bv8Ak – sidebar2

    My site has two sidebar left and right you can see them in the test page but it don’t appear with buddypress for now.
    Site: http://www.veriteuniverselle.com

    I already try alot of thing but its too complexe for me. if you can sent me the code like you did with ”Ray of Light” website or something like that, i will do my best to make it work. i really want buddypress :)

    Thanx you.

  • Profile picture of @mercime @mercime said 3 months, 2 weeks ago:

    Solution for your theme is different from that of ray of light theme because your theme has a different HTML structure.

    A. Copy your theme’s header.php file and save as header-buddypress.php

    Open up header-buddypress.php and add the following to the bottom of the file below other code:

    <?php get_sidebar(1); ?>
    <div class="column-center">
    <div class="indent-center">
    <div class="post" id="post-<?php the_ID(); ?>">
    <div class="text-box">
    <div class="ind">

    Save file.

  • Profile picture of @mercime @mercime said 3 months, 2 weeks ago:

    B. Copy your theme’s sidebar2.php file and save as sidebar-buddypress.php

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

    </div>
    </div>
    </div>
    </div>
    </div>

    And at the very bottom of the same file, below other code add this:

    <?php if ( bp_is_register_page() ) : ?>
    	<script type="text/javascript">
    		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();
    			});
    		});
    	</script>
    <?php endif; ?>

    Save file.

    Upload both header-buddypress.php and sidebar-buddypress.php to wp-content/themes/folder-of-your-templatemonster-theme/

    Twenty Ten Child theme with BP Template Pack styling modifications for reference – http://codex.buddypress.org/theme-development/theme-dev-bp-template-pack-walkthrough-twenty-ten-bp-1-5/3/

  • Profile picture of shinsan shinsan said 3 months, 2 weeks ago:

    i think its harder than i thought…
    But its really better, alot of thanx to you! :)

    It say again: You have activated the BuddyPress Template Pack, but you haven’t completed the setup process. Visit the BP Compatibility page to wrap up.

    in the groups and members button, the buddypress apparence seem too high and you can try to clic on the ”test” button, it does’nt work anymore. http://www.veriteuniverselle.com

    http://pastebin.com/QtWiX0iE *header-buddypress
    http://pastebin.com/KpCb8afZ *sidebar-buddypress

  • Profile picture of @mercime @mercime said 3 months, 2 weeks ago:

    == … but you haven’t completed the setup process. Visit the BP Compatibility page to wrap up. ==

    So go to wp-admin dashboard menu Appearance > BP Compatibility and click on Save/Finish button.

    == in the groups and members button, the buddypress apparence seem too high … ==

    You can add something like the following to your stylesheet:
    div#content { margin-top: 20px; }

    == you can try to clic on the ”test” button, it does’nt work anymore ==

    The “test” page on your site was working when I checked it before we did Step 3 of the compatibility process. Checking it now.

  • Profile picture of shinsan shinsan said 3 months, 2 weeks ago:

    It work, thanx you for your time. :D :D
    Have a nice life.
    see you. :D

  • Profile picture of @mercime @mercime said 3 months, 2 weeks ago:

    Per check, the content your original sidebar2 has changed. It should contain what you have in pastebin link you posted above. Copy content in pastebin to your sidebar2

    EDIT – I see you found what was wrong and deleted previous post :-)
    Marking this as resolved.