<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head><meta http-equiv="content-type" content="text/html; charset=utf-8" /><style type="text/css"><!--
#msg dl { border: 1px #006 solid; background: #369; padding: 6px; color: #fff; }
#msg dt { float: left; width: 6em; font-weight: bold; }
#msg dt:after { content:':';}
#msg dl, #msg dt, #msg ul, #msg li, #header, #footer { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt;  }
#msg dl a { font-weight: bold}
#msg dl a:link    { color:#fc3; }
#msg dl a:active  { color:#ff0; }
#msg dl a:visited { color:#cc6; }
h3 { font-family: verdana,arial,helvetica,sans-serif; font-size: 10pt; font-weight: bold; }
#msg pre { overflow: auto; background: #ffc; border: 1px #fc0 solid; padding: 6px; }
#msg ul, pre { overflow: auto; }
#header, #footer { color: #fff; background: #636; border: 1px #300 solid; padding: 6px; }
#patch { width: 100%; }
#patch h4 {font-family: verdana,arial,helvetica,sans-serif;font-size:10pt;padding:8px;background:#369;color:#fff;margin:0;}
#patch .propset h4, #patch .binary h4 {margin:0;}
#patch pre {padding:0;line-height:1.2em;margin:0;}
#patch .diff {width:100%;background:#eee;padding: 0 0 10px 0;overflow:auto;}
#patch .propset .diff, #patch .binary .diff  {padding:10px 0;}
#patch span {display:block;padding:0 10px;}
#patch .modfile, #patch .addfile, #patch .delfile, #patch .propset, #patch .binary, #patch .copfile {border:1px solid #ccc;margin:10px 0;}
#patch ins {background:#dfd;text-decoration:none;display:block;padding:0 10px;}
#patch del {background:#fdd;text-decoration:none;display:block;padding:0 10px;}
#patch .lines, .info {color:#888;background:#fff;}
--></style>
<title>[BuddyPress] [1687] trunk: DB version updates,
  minor css fixes to default theme.</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>1687</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2009-08-24 20:25:50 +0000 (Mon, 24 Aug 2009)</dd>
</dl>

<h3>Log Message</h3>
<pre>DB version updates, minor css fixes to default theme.</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpactivityphp">trunk/bp-activity.php</a></li>
<li><a href="#trunkbpblogsphp">trunk/bp-blogs.php</a></li>
<li><a href="#trunkbpcorebpcorecssjsphp">trunk/bp-core/bp-core-cssjs.php</a></li>
<li><a href="#trunkbpcorebpcoresettingsphp">trunk/bp-core/bp-core-settings.php</a></li>
<li><a href="#trunkbpcorephp">trunk/bp-core.php</a></li>
<li><a href="#trunkbpfriendsphp">trunk/bp-friends.php</a></li>
<li><a href="#trunkbpgroupsbpgroupstemplatetagsphp">trunk/bp-groups/bp-groups-templatetags.php</a></li>
<li><a href="#trunkbpgroupsphp">trunk/bp-groups.php</a></li>
<li><a href="#trunkbpmessagesphp">trunk/bp-messages.php</a></li>
<li><a href="#trunkbpstatusphp">trunk/bp-status.php</a></li>
<li><a href="#trunkbpthemesbpdefault_inccssscreencss">trunk/bp-themes/bp-default/_inc/css/screen.css</a></li>
<li><a href="#trunkbpthemesbpdefault_incimagesajaxloadergif">trunk/bp-themes/bp-default/_inc/images/ajax-loader.gif</a></li>
<li><a href="#trunkbpxprofilephp">trunk/bp-xprofile.php</a></li>
</ul>

<h3>Added Paths</h3>
<ul>
<li>trunk/bp-core/images/</li>
<li><a href="#trunkbpcoreimagesmysterymanjpg">trunk/bp-core/images/mystery-man.jpg</a></li>
</ul>

<h3>Removed Paths</h3>
<ul>
<li><a href="#trunkbpcoredeprecatedimagesmysterymanjpg">trunk/bp-core/deprecated/images/mystery-man.jpg</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpactivityphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-activity.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-activity.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-activity.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-define ( 'BP_ACTIVITY_DB_VERSION', '1716' );
</del><ins>+define ( 'BP_ACTIVITY_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><span class="cx"> /* Define the slug for the component */
</span><span class="cx"> if ( !defined( 'BP_ACTIVITY_SLUG' ) )
</span></span></pre></div>
<a id="trunkbpblogsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-blogs.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-blogs.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-blogs.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-define ( 'BP_BLOGS_DB_VERSION', '1300' );
</del><ins>+define ( 'BP_BLOGS_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><span class="cx"> /* Define the slug for the component */
</span><span class="cx"> if ( !defined( 'BP_BLOGS_SLUG' ) )
</span></span></pre></div>
<a id="trunkbpcorebpcorecssjsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-cssjs.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-cssjs.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-core/bp-core-cssjs.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -31,7 +31,7 @@
</span><span class="cx"> add_action( 'template_redirect', 'bp_core_add_admin_bar_css' );
</span><span class="cx"> 
</span><span class="cx"> /**
</span><del>- * bp_core_add_admin_bar_css()
</del><ins>+ * bp_core_add_admin_bar_js()
</ins><span class="cx">  *
</span><span class="cx">  * Add the minor JS needed for the admin bar.
</span><span class="cx">  * 
</span><span class="lines">@@ -42,7 +42,7 @@
</span><span class="cx">         wp_enqueue_script( 'bp-admin-bar-js', BP_PLUGIN_URL . '/bp-core/js/admin-bar.js', array( 'jquery' ) );
</span><span class="cx"> }
</span><span class="cx"> add_action( 'admin_menu', 'bp_core_add_admin_bar_js' );
</span><del>-add_action( 'template_redirect', 'bp_core_add_admin_bar_js' );
</del><ins>+add_action( 'wp', 'bp_core_add_admin_bar_js' );
</ins><span class="cx"> 
</span><span class="cx"> /**
</span><span class="cx">  * bp_core_admin_menu_icon_css()
</span></span></pre></div>
<a id="trunkbpcorebpcoresettingsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core/bp-core-settings.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core/bp-core-settings.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-core/bp-core-settings.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -79,10 +79,10 @@
</span><span class="cx">                 &lt;input type=&quot;text&quot; name=&quot;email&quot; id=&quot;email&quot; value=&quot;&lt;?php echo attribute_escape( $current_user-&gt;user_email ); ?&gt;&quot; class=&quot;settings-input&quot; /&gt;
</span><span class="cx">                         
</span><span class="cx">                 &lt;label for=&quot;pass1&quot;&gt;&lt;?php _e( 'Change Password &lt;span&gt;(leave blank for no change)&lt;/span&gt;', 'buddypress' ) ?&gt;&lt;/label&gt;
</span><del>-                &lt;p&gt;&lt;input type=&quot;password&quot; name=&quot;pass1&quot; id=&quot;pass1&quot; size=&quot;16&quot; value=&quot;&quot; class=&quot;settings-input small&quot; /&gt; &amp;nbsp;&lt;?php _e( 'New Password', 'buddypress' ) ?&gt;&lt;/p&gt;
</del><ins>+                &lt;input type=&quot;password&quot; name=&quot;pass1&quot; id=&quot;pass1&quot; size=&quot;16&quot; value=&quot;&quot; class=&quot;settings-input small&quot; /&gt; &amp;nbsp;&lt;?php _e( 'New Password', 'buddypress' ) ?&gt;
</ins><span class="cx">                 &lt;input type=&quot;password&quot; name=&quot;pass2&quot; id=&quot;pass2&quot; size=&quot;16&quot; value=&quot;&quot; class=&quot;settings-input small&quot; /&gt; &amp;nbsp;&lt;?php _e( 'Repeat New Password', 'buddypress' ) ?&gt;
</span><span class="cx">         
</span><del>-                &lt;p&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;&lt;?php _e( 'Save Changes', 'buddypress' ) ?&gt;&quot; id=&quot;submit&quot; class=&quot;auto&quot;/&gt;&lt;/p&gt;
</del><ins>+                &lt;p class=&quot;submit&quot;&gt;&lt;input type=&quot;submit&quot; name=&quot;submit&quot; value=&quot;&lt;?php _e( 'Save Changes', 'buddypress' ) ?&gt;&quot; id=&quot;submit&quot; class=&quot;auto&quot;/&gt;&lt;/p&gt;
</ins><span class="cx">                 &lt;?php wp_nonce_field('bp_settings_general') ?&gt;
</span><span class="cx">         &lt;/form&gt;
</span><span class="cx"> &lt;?php
</span><span class="lines">@@ -95,7 +95,7 @@
</span><span class="cx">         
</span><span class="cx">         $bp_settings_updated = false;
</span><span class="cx">         
</span><del>-        if ( $_POST['submit']  &amp;&amp; check_admin_referer('bp_settings_notifications') ) {
</del><ins>+        if ( $_POST['submit'] &amp;&amp; check_admin_referer('bp_settings_notifications') ) {
</ins><span class="cx">                 if ( $_POST['notifications'] ) {
</span><span class="cx">                         foreach ( $_POST['notifications'] as $key =&gt; $value ) {
</span><span class="cx">                                 update_usermeta( (int)$current_user-&gt;id, $key, $value );
</span></span></pre></div>
<a id="trunkbpcoredeprecatedimagesmysterymanjpg"></a>
<div class="binary"><h4>Deleted: trunk/bp-core/deprecated/images/mystery-man.jpg</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkbpcoreimagesmysterymanjpgfromrev1664trunkbpcoredeprecatedimagesmysterymanjpg"></a>
<div class="binary"><h4>Copied: trunk/bp-core/images/mystery-man.jpg (from rev 1664, trunk/bp-core/deprecated/images/mystery-man.jpg)</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkbpcorephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-core.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-core.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-core.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,7 +1,7 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><span class="cx"> /* Define the current version number for checking if DB tables are up to date. */
</span><del>-define( 'BP_CORE_DB_VERSION', '1400' );
</del><ins>+define( 'BP_CORE_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><span class="cx"> /* Define the path and url of the BuddyPress plugins directory */
</span><span class="cx"> define( 'BP_PLUGIN_DIR', WP_PLUGIN_DIR . '/buddypress' );
</span><span class="lines">@@ -133,8 +133,10 @@
</span><span class="cx">         /* Sets up container used for the avatar of the current component being viewed. Rendered by bp_get_options_avatar() */
</span><span class="cx">         $bp-&gt;bp_options_avatar = '';
</span><span class="cx">         
</span><del>-        /* Fetches the default Gravatar image to use if the user has no avatar or gravatar */
-        $bp-&gt;grav_default = get_site_option( 'user-avatar-default' );
</del><ins>+        /* Fetches the default Gravatar image to use if the user/group/blog has no avatar or gravatar */
+        $bp-&gt;grav_default-&gt;user = apply_filters( 'bp_user_gravatar_default', get_site_option( 'user-avatar-default' ) );
+        $bp-&gt;grav_default-&gt;group = apply_filters( 'bp_group_gravatar_default', 'identicon' );
+        $bp-&gt;grav_default-&gt;blog = apply_filters( 'bp_blog_gravatar_default', 'identicon' );
</ins><span class="cx">         
</span><span class="cx">         /* Fetch the full name for the logged in and current user */
</span><span class="cx">         $bp-&gt;loggedin_user-&gt;fullname = bp_core_get_user_displayname( $bp-&gt;loggedin_user-&gt;id );
</span></span></pre></div>
<a id="trunkbpfriendsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-friends.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-friends.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-friends.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-define ( 'BP_FRIENDS_DB_VERSION', '1300' );
</del><ins>+define ( 'BP_FRIENDS_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><span class="cx"> /* Define the slug for the component */
</span><span class="cx"> if ( !defined( 'BP_FRIENDS_SLUG' ) )
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupstemplatetagsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-templatetags.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-templatetags.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-groups/bp-groups-templatetags.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -406,7 +406,7 @@
</span><span class="cx">                 extract( $r, EXTR_SKIP );
</span><span class="cx">         
</span><span class="cx">                 /* Fetch the avatar from the folder, if not provide backwards compat. */
</span><del>-                if ( !$avatar = bp_core_fetch_avatar( array( 'item_id' =&gt; $groups_template-&gt;group-&gt;id, 'object' =&gt; 'group', 'type' =&gt; $type, 'avatar_dir' =&gt; 'group-avatars', 'alt' =&gt; $alt, 'id' =&gt; $id, 'class' =&gt; $class ) ) )
</del><ins>+                if ( !$avatar = bp_core_fetch_avatar( array( 'item_id' =&gt; $groups_template-&gt;group-&gt;id, 'object' =&gt; 'group', 'type' =&gt; $type, 'avatar_dir' =&gt; 'group-avatars', 'alt' =&gt; $alt, 'css_id' =&gt; $id, 'class' =&gt; $class ) ) )
</ins><span class="cx">                         $avatar = '&lt;img src=&quot;' . attribute_escape( $groups_template-&gt;group-&gt;avatar_thumb ) . '&quot; class=&quot;avatar&quot; alt=&quot;' . attribute_escape( $groups_template-&gt;group-&gt;name ) . '&quot; /&gt;';
</span><span class="cx"> 
</span><span class="cx">                 return apply_filters( 'bp_get_group_avatar', $avatar );
</span></span></pre></div>
<a id="trunkbpgroupsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-groups.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-define ( 'BP_GROUPS_DB_VERSION', '1300' );
</del><ins>+define ( 'BP_GROUPS_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><span class="cx"> /* Define the slug for the component */
</span><span class="cx"> if ( !defined( 'BP_GROUPS_SLUG' ) )
</span><span class="lines">@@ -31,9 +31,7 @@
</span><span class="cx">                         status varchar(10) NOT NULL DEFAULT 'public',
</span><span class="cx">                         enable_wire tinyint(1) NOT NULL DEFAULT '1',
</span><span class="cx">                         enable_forum tinyint(1) NOT NULL DEFAULT '1',
</span><del>-                        date_created datetime NOT NULL,
-                        avatar_thumb varchar(250) NOT NULL,
-                        avatar_full varchar(250) NOT NULL,
</del><ins>+                        date_created datetime NOT NULL
</ins><span class="cx">                     KEY creator_id (creator_id),
</span><span class="cx">                     KEY status (status)
</span><span class="cx">                     ) {$charset_collate};&quot;;
</span></span></pre></div>
<a id="trunkbpmessagesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-messages.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-messages.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-messages.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,6 +1,6 @@
</span><span class="cx"> &lt;?php
</span><span class="cx"> 
</span><del>-define ( 'BP_MESSAGES_DB_VERSION', '1300' );
</del><ins>+define ( 'BP_MESSAGES_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><span class="cx"> /* Define the slug for the component */
</span><span class="cx"> if ( !defined( 'BP_MESSAGES_SLUG' ) )
</span></span></pre></div>
<a id="trunkbpstatusphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-status.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-status.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-status.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,6 +1,4 @@
</span><span class="cx"> &lt;?php
</span><del>-define ( 'BP_STATUS_IS_INSTALLED', 1 );
-
</del><span class="cx"> if ( !defined( 'BP_STATUS_SLUG' ) )
</span><span class="cx">         define ( 'BP_STATUS_SLUG', 'status' );
</span><span class="cx"> 
</span></span></pre></div>
<a id="trunkbpthemesbpdefault_inccssscreencss"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/_inc/css/screen.css (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/_inc/css/screen.css        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-themes/bp-default/_inc/css/screen.css        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -30,6 +30,11 @@
</span><span class="cx">                 margin-bottom: 15px;
</span><span class="cx">         }
</span><span class="cx"> 
</span><ins>+.ajax-loader {
+        background: url( ../images/ajax-loader.gif ) center left no-repeat !important;
+        padding: 8px;
+        display: none;
+}
</ins><span class="cx"> 
</span><span class="cx"> /*** Search / Login Bar ************************************************/
</span><span class="cx"> 
</span><span class="lines">@@ -147,7 +152,7 @@
</span><span class="cx">         min-height: 24px;
</span><span class="cx">         padding: 8px 0 0 0;
</span><span class="cx">         position: relative;
</span><del>-        z-index: 9999;
</del><ins>+        z-index: 2;
</ins><span class="cx">         margin-left: 275px;
</span><span class="cx"> }
</span><span class="cx">         ul.content-header-nav {
</span></span></pre></div>
<a id="trunkbpthemesbpdefault_incimagesajaxloadergif"></a>
<div class="binary"><h4>Modified: trunk/bp-themes/bp-default/_inc/images/ajax-loader.gif</h4>
<pre class="diff"><span>
<span class="cx">(Binary files differ)
</span></span></pre></div>
<a id="trunkbpxprofilephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-xprofile.php (1686 => 1687)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-xprofile.php        2009-08-24 20:20:37 UTC (rev 1686)
+++ trunk/bp-xprofile.php        2009-08-24 20:25:50 UTC (rev 1687)
</span><span class="lines">@@ -1,7 +1,6 @@
</span><span class="cx"> &lt;?php
</span><ins>+define ( 'BP_XPROFILE_DB_VERSION', '1700' );
</ins><span class="cx"> 
</span><del>-define ( 'BP_XPROFILE_DB_VERSION', '1300' );
-
</del><span class="cx"> /* Define the slug for the component */
</span><span class="cx"> if ( !defined( 'BP_XPROFILE_SLUG' ) )
</span><span class="cx">         define ( 'BP_XPROFILE_SLUG', 'profile' );
</span></span></pre>
</div>
</div>

</body>
</html>