Skip to:
Content

BuddyPress.org

Changeset 1687


Ignore:
Timestamp:
08/24/2009 08:25:50 PM (16 years ago)
Author:
apeatling
Message:

DB version updates, minor css fixes to default theme.

Location:
trunk
Files:
1 added
13 edited
1 moved

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity.php

    r1643 r1687  
    11<?php
    22
    3 define ( 'BP_ACTIVITY_DB_VERSION', '1716' );
     3define ( 'BP_ACTIVITY_DB_VERSION', '1700' );
    44
    55/* Define the slug for the component */
  • trunk/bp-blogs.php

    r1673 r1687  
    11<?php
    22
    3 define ( 'BP_BLOGS_DB_VERSION', '1300' );
     3define ( 'BP_BLOGS_DB_VERSION', '1700' );
    44
    55/* Define the slug for the component */
  • trunk/bp-core.php

    r1655 r1687  
    22
    33/* Define the current version number for checking if DB tables are up to date. */
    4 define( 'BP_CORE_DB_VERSION', '1400' );
     4define( 'BP_CORE_DB_VERSION', '1700' );
    55
    66/* Define the path and url of the BuddyPress plugins directory */
     
    134134    $bp->bp_options_avatar = '';
    135135   
    136     /* Fetches the default Gravatar image to use if the user has no avatar or gravatar */
    137     $bp->grav_default = get_site_option( 'user-avatar-default' );
     136    /* Fetches the default Gravatar image to use if the user/group/blog has no avatar or gravatar */
     137    $bp->grav_default->user = apply_filters( 'bp_user_gravatar_default', get_site_option( 'user-avatar-default' ) );
     138    $bp->grav_default->group = apply_filters( 'bp_group_gravatar_default', 'identicon' );
     139    $bp->grav_default->blog = apply_filters( 'bp_blog_gravatar_default', 'identicon' );
    138140   
    139141    /* Fetch the full name for the logged in and current user */
  • trunk/bp-core/bp-core-cssjs.php

    r1678 r1687  
    3232
    3333/**
    34  * bp_core_add_admin_bar_css()
     34 * bp_core_add_admin_bar_js()
    3535 *
    3636 * Add the minor JS needed for the admin bar.
     
    4343}
    4444add_action( 'admin_menu', 'bp_core_add_admin_bar_js' );
    45 add_action( 'template_redirect', 'bp_core_add_admin_bar_js' );
     45add_action( 'wp', 'bp_core_add_admin_bar_js' );
    4646
    4747/**
  • trunk/bp-core/bp-core-settings.php

    r1655 r1687  
    8080           
    8181        <label for="pass1"><?php _e( 'Change Password <span>(leave blank for no change)</span>', 'buddypress' ) ?></label>
    82         <p><input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small" /> &nbsp;<?php _e( 'New Password', 'buddypress' ) ?></p>
     82        <input type="password" name="pass1" id="pass1" size="16" value="" class="settings-input small" /> &nbsp;<?php _e( 'New Password', 'buddypress' ) ?>
    8383        <input type="password" name="pass2" id="pass2" size="16" value="" class="settings-input small" /> &nbsp;<?php _e( 'Repeat New Password', 'buddypress' ) ?>
    8484   
    85         <p><input type="submit" name="submit" value="<?php _e( 'Save Changes', 'buddypress' ) ?>" id="submit" class="auto"/></p>
     85        <p class="submit"><input type="submit" name="submit" value="<?php _e( 'Save Changes', 'buddypress' ) ?>" id="submit" class="auto"/></p>
    8686        <?php wp_nonce_field('bp_settings_general') ?>
    8787    </form>
     
    9696    $bp_settings_updated = false;
    9797   
    98     if ( $_POST['submit']  && check_admin_referer('bp_settings_notifications') ) {
     98    if ( $_POST['submit'] && check_admin_referer('bp_settings_notifications') ) {
    9999        if ( $_POST['notifications'] ) {
    100100            foreach ( $_POST['notifications'] as $key => $value ) {
  • trunk/bp-friends.php

    r1636 r1687  
    11<?php
    22
    3 define ( 'BP_FRIENDS_DB_VERSION', '1300' );
     3define ( 'BP_FRIENDS_DB_VERSION', '1700' );
    44
    55/* Define the slug for the component */
  • trunk/bp-groups.php

    r1672 r1687  
    11<?php
    22
    3 define ( 'BP_GROUPS_DB_VERSION', '1300' );
     3define ( 'BP_GROUPS_DB_VERSION', '1700' );
    44
    55/* Define the slug for the component */
     
    3232            enable_wire tinyint(1) NOT NULL DEFAULT '1',
    3333            enable_forum tinyint(1) NOT NULL DEFAULT '1',
    34             date_created datetime NOT NULL,
    35             avatar_thumb varchar(250) NOT NULL,
    36             avatar_full varchar(250) NOT NULL,
     34            date_created datetime NOT NULL
    3735            KEY creator_id (creator_id),
    3836            KEY status (status)
  • trunk/bp-groups/bp-groups-templatetags.php

    r1655 r1687  
    407407   
    408408        /* Fetch the avatar from the folder, if not provide backwards compat. */
    409         if ( !$avatar = bp_core_fetch_avatar( array( 'item_id' => $groups_template->group->id, 'object' => 'group', 'type' => $type, 'avatar_dir' => 'group-avatars', 'alt' => $alt, 'id' => $id, 'class' => $class ) ) )
     409        if ( !$avatar = bp_core_fetch_avatar( array( 'item_id' => $groups_template->group->id, 'object' => 'group', 'type' => $type, 'avatar_dir' => 'group-avatars', 'alt' => $alt, 'css_id' => $id, 'class' => $class ) ) )
    410410            $avatar = '<img src="' . attribute_escape( $groups_template->group->avatar_thumb ) . '" class="avatar" alt="' . attribute_escape( $groups_template->group->name ) . '" />';
    411411
  • trunk/bp-messages.php

    r1655 r1687  
    11<?php
    22
    3 define ( 'BP_MESSAGES_DB_VERSION', '1300' );
     3define ( 'BP_MESSAGES_DB_VERSION', '1700' );
    44
    55/* Define the slug for the component */
  • trunk/bp-status.php

    r1655 r1687  
    11<?php
    2 define ( 'BP_STATUS_IS_INSTALLED', 1 );
    3 
    42if ( !defined( 'BP_STATUS_SLUG' ) )
    53    define ( 'BP_STATUS_SLUG', 'status' );
  • trunk/bp-themes/bp-default/_inc/css/screen.css

    r1684 r1687  
    3131    }
    3232
     33.ajax-loader {
     34    background: url( ../images/ajax-loader.gif ) center left no-repeat !important;
     35    padding: 8px;
     36    display: none;
     37}
    3338
    3439/*** Search / Login Bar ************************************************/
     
    148153    padding: 8px 0 0 0;
    149154    position: relative;
    150     z-index: 9999;
     155    z-index: 2;
    151156    margin-left: 275px;
    152157}
  • trunk/bp-xprofile.php

    r1681 r1687  
    11<?php
    2 
    3 define ( 'BP_XPROFILE_DB_VERSION', '1300' );
     2define ( 'BP_XPROFILE_DB_VERSION', '1700' );
    43
    54/* Define the slug for the component */
Note: See TracChangeset for help on using the changeset viewer.