Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] BuddyPress Alignment with my theme


  • bookee
    Participant

    @bookee

    I have unsuccessfully been playing around with BuddyPress alignment to match my WP theme for the last couple of days. I consider myself a moderate user of PHP and CSS but this one is driving me nuts. I need help!
    The page in question is http://www.ppua.net/member-directory/. As one can see, the page doesn’t fit the rest of the other pages. I followed the instructions found at http://codex.buddypress.org/legacy/wordpress-to-buddypress-theme/ and many other ones, but to no avail.

    Here’s what my theme page.php resembles:

    <div class="container_24 clearfix separator “>
    <div id="content" class="grid_15 “>

    <div id="post-” >

    <?php if(has_post_thumbnail()) {
    echo '‘;
    echo ”; the_post_thumbnail(); echo ”;
    echo ‘
    ‘;
    }
    ?>

    <?php wp_link_pages('before=&after=’); ?>

    and BuddyPress /activity/index.php:

    • <a href="” title=””><?php printf( __( 'All Members %s’, ‘buddypress’ ), bp_get_total_member_count() ); ?>
    • <a href="” title=””><?php printf( __( 'My Friends %s’, ‘buddypress’ ), bp_get_total_friend_count( bp_loggedin_user_id() ) ); ?>
    • <a href="” title=””><?php printf( __( 'My Groups %s’, ‘buddypress’ ), bp_get_total_group_count_for_user( bp_loggedin_user_id() ) ); ?>
    • <a href="” title=””><?php printf( __( 'My Favorites %s’, ‘buddypress’ ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ); ?>
    • <a href="” title=””> <?php printf( __( '%s new’, ‘buddypress’ ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ); ?>

    • <a href="” title=””>


    I know this may be as easy as moving one line code or as difficult as changing the whole structure of the site. Please help!!!! I will be forever grateful.

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

  • bookee
    Participant

    @bookee

    Anyone? getting a little desperate here.

    Please don’t bump threads til ~24 hours has passed.

     

    You stated ‘playing around’ with BP, that doesn’t tend to gel with ‘getting desperate’  Why the urgency? 🙂

    What I would suggest is you rely on the theme compatibility built in to 1.7, use that rather than ? template pack. Download a copy of 1.7 beta and have a go with that, it’s pretty stable and safe to beging building sites with.


    bookee
    Participant

    @bookee

    Thanks Hugo! The desperation comes with a new deadline being assigned to complete the task. I will give this a try. Were you able to take a look at the code provided. Any quick ideas what could cause the member list page to unfit in the theme template?

    Again, thanks!

    If you have the option don’t get too involved with template pack, work with and style the theme compat templates – if you have heavier duty styling/markup requirements then you perhaps might need to use the bp-default templates moved into your theme but try 1.7 in theme compat mode first:

    https://codex.buddypress.org/developer/theme-development/a-quick-look-at-1-7-theme-compatibility/


    bookee
    Participant

    @bookee

    Hugo, you are my Victor Hugo! You are making life acceptable for a “Miserable” like myself. I just downloaded the 1.7 version and working on alignment now. http://www.ppua.net/member-directory/ still looks unhappy but I’m trying to fix it now. Other suggestions are welcome!


    bookee
    Participant

    @bookee

    Hugo,

    This below potion of the overview has yet to make sense to me.
    “Additionally to keep things neat & tidy you can keep your custom parent template file ‘community.php’ in these folders as well rather than your theme root.

    You may override the css by adding a folder /css/ to your theme root if you then, either, copy buddypress.css from /bp-legacy/ or create a new file named buddypress.css this file will be used instead of the buddypress version.”

    Here’s my interpration of it: I can copy my theme’s css file into BP’s activity folder to override the BP template. Is this correct?


    bookee
    Participant

    @bookee

    Hugo,

    I got it! This topic at https://buddypress.org/support/topic/using-1-7-and-need-help-with-template-layout/ did it for me. Uninstalled the main theme, deleted the files, then re-inistalled.

     

     

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Resolved] BuddyPress Alignment with my theme’ is closed to new replies.
Skip to toolbar