Skip to:
Content
Pages
Categories
Search
Top
Bottom

Default theme with widgetized home page

  • @modemlooper

    Moderator

    ok I created a child theme that has a page template for a widgetized home page.

    Download here: http://bit.ly/aBgYo4

    To install:

      Unzip and upload bp-widget folder to your WP themes folder and activate.

      Create a new page called Home choose Buddypress Widget Theme as the page template.

      Then in side bar settings >> reading choose the home page you created as the static front page.

      Go to widgets and add widgets to the columns

    This is the exact default BP 1.2 theme with a custom page and functions to allow a widgetized page.

    report bugs below

    Screenshot

    http://img.skitch.com/20100216-k73mjprrffn7nq1r9tqn9xf452.jpg

Viewing 25 replies - 26 through 50 (of 59 total)
  • @karto

    Member

    Till the modification theme is online at wordpress theme directory, you are able to download the “4 to 5 widget column child theme” here:

    http://kartobuddy.wordpress.com/2010/02/22/child-theme-with-a-single-4-to-5-columns-widget-page-for-buddypress-1-2/

    @gregfielding

    Participant

    Modemlooper: Dumb question…Can the “activity” page have the same widgetized layout as your “home” page?

    All the pages actually…

    @modemlooper

    Moderator

    @gregfielding No. Or not with out heavy coding. You can add another sidebar in between the content and sidebar.

    @karto your link on your site does not work. I’m going to include more options for this theme. This theme is really just a gap for people with the classic theme with widgetized home page to have it for 1.2. So their upgrade is smoother and I need it for a project.

    @gregfielding

    Participant

    @Modemlooper – do you mean that I an have an additional sidebar without heavy coding?

    What I am hoping to accomplish is to have a “Featured Posts” column, along with the traditional sidebar and the activity stream.

    Thanks -Greg

    @karto

    Member

    @modemlopper Link is working well. Have checked it just now. But you have to use “Save as” with the right mouse button, otherwise it is opened as pdf but it is an origin zip-file.

    @gregfielding

    Participant

    @modemlooper

    you mentioned that you could add an extra sidebar to the activity stream page…is this in your child theme?

    I’m trying to add a magazine-element to my site by adding a column to feature top blog posts from the community.

    http://housingstorm.com

    Thanks!

    @modemlooper

    Moderator

    No not at all. This theme was just a quick help for people who were on BP 1.1 to upgrade to 1.2 and not loose the default widgetized page. You would need to code a second sidebar your self for core pages.

    @avi-m

    Participant

    Hey Modemlooper I was wondering if there was an update on the way?

    @coffeeholic

    Participant

    Does anyone know how i can move the widget in the left column 10px to the right, without the “header” doing the same?

    Have a look to see what i’m talking about:

    http://ecoblogg.com/

    Ps. Thank you Modemlooper for sharing this. It has helped me alot!

    @modemlooper

    Moderator

    @avi-m

    is there a bug?

    @modemlooper

    Moderator

    somebody asked how to add the login form to the front page.

    In widget.php

    find:

    <div id="third-section" class="widgetHome">

    add this right after:

    <?php if ( is_user_logged_in() ) : ?>

    <?php do_action( 'bp_before_sidebar_me' ) ?>

    <div id="sidebar-me">
    <a href="<?php echo bp_loggedin_user_domain() ?>">
    <?php bp_loggedin_user_avatar( 'type=thumb&width=40&height=40' ) ?>
    </a>

    <h4><?php bp_loggedinuser_link() ?></h4>
    <a class="button logout" href="<?php echo wp_logout_url( bp_get_root_domain() ) ?>"><?php _e( 'Log Out', 'buddypress' ) ?></a>

    <?php do_action( 'bp_sidebar_me' ) ?>
    </div>

    <?php do_action( 'bp_after_sidebar_me' ) ?>

    <?php if ( function_exists( 'bp_message_get_notices' ) ) : ?>
    <?php bp_message_get_notices(); /* Site wide notices to all users */ ?>
    <?php endif; ?>

    <?php else : ?>

    <?php do_action( 'bp_before_sidebar_login_form' ) ?>

    <p id="login-text">
    <?php _e( 'To start connecting please log in first.', 'buddypress' ) ?>
    <?php if ( bp_get_signup_allowed() ) : ?>
    <?php printf( __( ' You can also <a href="%s" title="Create an account">create an account</a>.', 'buddypress' ), site_url( BP_REGISTER_SLUG . '/' ) ) ?>
    <?php endif; ?>
    </p>

    <?php if(function_exists('twit_connect')){twit_connect();} ?>

    <form name="login-form" id="sidebar-login-form" class="standard-form" action="<?php echo site_url( 'wp-login.php', 'login' ) ?>" method="post">
    <label><?php _e( 'Username', 'buddypress' ) ?><br />
    <input type="text" name="log" id="sidebar-user-login" class="input" value="<?php echo attribute_escape(stripslashes($user_login)); ?>" /></label>

    <label><?php _e( 'Password', 'buddypress' ) ?><br />
    <input type="password" name="pwd" id="sidebar-user-pass" class="input" value="" /></label>

    <p class="forgetmenot"><label><input name="rememberme" type="checkbox" id="sidebar-rememberme" value="forever" /> <?php _e( 'Remember Me', 'buddypress' ) ?></label></p>

    <?php do_action( 'bp_sidebar_login_form' ) ?>
    <input type="submit" name="wp-submit" id="sidebar-wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" />
    <input type="hidden" name="testcookie" value="1" />
    </form>

    <?php do_action( 'bp_after_sidebar_login_form' ) ?>

    <?php endif; ?>

    @avi-m

    Participant

    Nope no bug other than the one with the widgets I told you about a while back. I was just asking because you had (if I recall) mentioned that you had a version with more options in the works.

    @modemlooper

    Moderator

    I’ll do the thin-wide-thin template. Somebody asked for that.

    @pcwriter

    Participant

    +1

    @modemlooper

    Moderator

    ok added another page template. Theme was sent to the repo.

    If you want to use Thin Wide Thin layout on front page just change the Home page template and save. The only thing is the columns are still 123 so you might need to switch your widgets around.

    @pcwriter

    Participant

    @modemlooper

    Seems the theme repo is undergoing renovation. Do you have a direct link to the new theme?

    @modemlooper

    Moderator

    @pcwriter

    Participant

    Oops! Wrong repo… I went here: https://buddypress.org/extend/themes/

    Thanks!

    @jesperpopma

    Participant

    @modemlooper

    As you mentioned in this thread. Some third party widgets may act funky! Well, I want the BuddyPress Links Widget on my homepage. Can’t seem to figure out how to get the embedded avatars the right size. Same size as the Group Avatars and Recent Active Members avatars (height 50px)

    ?

    @modemlooper

    Moderator

    #links-list img.avatar-embed {

    max-height:50px;

    max-width:50px;

    }

    Try that CSS

    @jesperpopma

    Participant

    @modemlooper

    Thanks! That worked.

    I added your code to the default.css of the plugin! NOT THE CHILD THEME STYLE.CSS!

    I only added:

    #links-list img.avatar-embed {

    max-height:50px;

    }

    Because the avatars of this plugin aren’t square but rectangular.

    Thanks again!

    @sebastiens

    Participant

    @Modemlooper : thanxs for your theme, it’s of great help to handle Buddypress. I’ve got a problem though.. when i use the Thin Wide Thin template, if the second (wide) column is longer than the others, then the bottom part of it does not display.. any idea ?

    @openflips

    Participant

    I have the same problem with the Thin Wide Thin template and have no idea how to fix it. Is it due to the central column absolute position ? Thanks.

    @altermann

    Member

    Hello,
    I’am using this template and working fine. I just want to know if I can use only 2 columns and how I do that.

    Thx

    @animus

    Participant

    I have the same issue as open flips and Sebastien; the second column does not extend the height of the page when it’s longer than the other two columns, and therefore the widgets get cut off.

    Any solutions?

Viewing 25 replies - 26 through 50 (of 59 total)
  • The topic ‘Default theme with widgetized home page’ is closed to new replies.
Skip to toolbar