<!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] [2352] trunk: Removing &quot;Group News&quot;
  setting since the new activity stream updates replaces this with a much more intuitive interface
 .</title>
</head>
<body>

<div id="msg">
<dl>
<dt>Revision</dt> <dd>2352</dd>
<dt>Author</dt> <dd>apeatling</dd>
<dt>Date</dt> <dd>2010-01-19 11:27:58 +0000 (Tue, 19 Jan 2010)</dd>
</dl>

<h3>Log Message</h3>
<pre>Removing &quot;Group News&quot; setting since the new activity stream updates replaces this with a much more intuitive interface. Fixes #1525</pre>

<h3>Modified Paths</h3>
<ul>
<li><a href="#trunkbpgroupsbpgroupsclassesphp">trunk/bp-groups/bp-groups-classes.php</a></li>
<li><a href="#trunkbpgroupsbpgroupsfiltersphp">trunk/bp-groups/bp-groups-filters.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="#trunkbpthemesbpdefaultgroupscreatephp">trunk/bp-themes/bp-default/groups/create.php</a></li>
<li><a href="#trunkbpthemesbpdefaultstylecss">trunk/bp-themes/bp-default/style.css</a></li>
<li><a href="#trunkbpthemesbpsnparentgroupscreatephp">trunk/bp-themes/bp-sn-parent/groups/create.php</a></li>
<li><a href="#trunkbpthemesbpsnparentstylecss">trunk/bp-themes/bp-sn-parent/style.css</a></li>
</ul>

</div>
<div id="patch">
<h3>Diff</h3>
<a id="trunkbpgroupsbpgroupsclassesphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-classes.php (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-classes.php        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-groups/bp-groups-classes.php        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -6,9 +6,7 @@
</span><span class="cx">         var $name;
</span><span class="cx">         var $slug;
</span><span class="cx">         var $description;
</span><del>-        var $news;
</del><span class="cx">         var $status;
</span><del>-        var $enable_wire;
</del><span class="cx">         var $enable_forum;
</span><span class="cx">         var $date_created;
</span><span class="cx"> 
</span><span class="lines">@@ -17,7 +15,6 @@
</span><span class="cx">         var $admins;
</span><span class="cx">         var $total_member_count;
</span><span class="cx">         var $random_members;
</span><del>-        var $latest_wire_posts;
</del><span class="cx"> 
</span><span class="cx">         function bp_groups_group( $id = null, $single = false, $get_user_dataset = true ) {
</span><span class="cx">                 if ( $id ) {
</span><span class="lines">@@ -42,9 +39,7 @@
</span><span class="cx">                         $this-&gt;name = stripslashes($group-&gt;name);
</span><span class="cx">                         $this-&gt;slug = $group-&gt;slug;
</span><span class="cx">                         $this-&gt;description = stripslashes($group-&gt;description);
</span><del>-                        $this-&gt;news = stripslashes($group-&gt;news);
</del><span class="cx">                         $this-&gt;status = $group-&gt;status;
</span><del>-                        $this-&gt;enable_wire = $group-&gt;enable_wire;
</del><span class="cx">                         $this-&gt;enable_forum = $group-&gt;enable_forum;
</span><span class="cx">                         $this-&gt;date_created = strtotime($group-&gt;date_created);
</span><span class="cx">                         $this-&gt;total_member_count = groups_get_groupmeta( $this-&gt;id, 'total_member_count' );
</span><span class="lines">@@ -74,9 +69,7 @@
</span><span class="cx">                 $this-&gt;name = apply_filters( 'groups_group_name_before_save', $this-&gt;name, $this-&gt;id );
</span><span class="cx">                  $this-&gt;slug = apply_filters( 'groups_group_slug_before_save', $this-&gt;slug, $this-&gt;id );
</span><span class="cx">                 $this-&gt;description = apply_filters( 'groups_group_description_before_save', $this-&gt;description, $this-&gt;id );
</span><del>-                 $this-&gt;news = apply_filters( 'groups_group_news_before_save', $this-&gt;news, $this-&gt;id );
-                $this-&gt;status = apply_filters( 'groups_group_status_before_save', $this-&gt;status, $this-&gt;id );
-                $this-&gt;enable_wire = apply_filters( 'groups_group_enable_wire_before_save', $this-&gt;enable_wire, $this-&gt;id );
</del><ins>+                 $this-&gt;status = apply_filters( 'groups_group_status_before_save', $this-&gt;status, $this-&gt;id );
</ins><span class="cx">                 $this-&gt;enable_forum = apply_filters( 'groups_group_enable_forum_before_save', $this-&gt;enable_forum, $this-&gt;id );
</span><span class="cx">                 $this-&gt;date_created = apply_filters( 'groups_group_date_created_before_save', $this-&gt;date_created, $this-&gt;id );
</span><span class="cx"> 
</span><span class="lines">@@ -89,9 +82,7 @@
</span><span class="cx">                                         name = %s,
</span><span class="cx">                                         slug = %s,
</span><span class="cx">                                         description = %s,
</span><del>-                                        news = %s,
</del><span class="cx">                                         status = %s,
</span><del>-                                        enable_wire = %d,
</del><span class="cx">                                         enable_forum = %d,
</span><span class="cx">                                         date_created = FROM_UNIXTIME(%d)
</span><span class="cx">                                 WHERE
</span><span class="lines">@@ -101,9 +92,7 @@
</span><span class="cx">                                         $this-&gt;name,
</span><span class="cx">                                         $this-&gt;slug,
</span><span class="cx">                                         $this-&gt;description,
</span><del>-                                        $this-&gt;news,
</del><span class="cx">                                         $this-&gt;status,
</span><del>-                                        $this-&gt;enable_wire,
</del><span class="cx">                                         $this-&gt;enable_forum,
</span><span class="cx">                                         $this-&gt;date_created,
</span><span class="cx">                                         $this-&gt;id
</span><span class="lines">@@ -115,21 +104,17 @@
</span><span class="cx">                                         name,
</span><span class="cx">                                         slug,
</span><span class="cx">                                         description,
</span><del>-                                        news,
</del><span class="cx">                                         status,
</span><del>-                                        enable_wire,
</del><span class="cx">                                         enable_forum,
</span><span class="cx">                                         date_created
</span><span class="cx">                                 ) VALUES (
</span><del>-                                        %d, %s, %s, %s, %s, %s, %d, %d, FROM_UNIXTIME(%d)
</del><ins>+                                        %d, %s, %s, %s, %s, %d, FROM_UNIXTIME(%d)
</ins><span class="cx">                                 )&quot;,
</span><span class="cx">                                         $this-&gt;creator_id,
</span><span class="cx">                                         $this-&gt;name,
</span><span class="cx">                                         $this-&gt;slug,
</span><span class="cx">                                         $this-&gt;description,
</span><del>-                                        $this-&gt;news,
</del><span class="cx">                                         $this-&gt;status,
</span><del>-                                        $this-&gt;enable_wire,
</del><span class="cx">                                         $this-&gt;enable_forum,
</span><span class="cx">                                         $this-&gt;date_created
</span><span class="cx">                         );
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupsfiltersphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-filters.php (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-filters.php        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-groups/bp-groups-filters.php        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -5,19 +5,16 @@
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'wptexturize' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description', 'wptexturize' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description_excerpt', 'wptexturize' );
</span><del>-add_filter( 'bp_get_group_news', 'wptexturize' );
</del><span class="cx"> add_filter( 'bp_get_group_name', 'wptexturize' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_name', 'wptexturize' );
</span><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_group_description', 'convert_smilies' );
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'convert_smilies' );
</span><del>-add_filter( 'bp_get_group_news', 'convert_smilies' );
</del><span class="cx"> add_filter( 'bp_get_the_site_group_description', 'convert_smilies' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description_excerpt', 'convert_smilies' );
</span><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_group_description', 'convert_chars' );
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'convert_chars' );
</span><del>-add_filter( 'bp_get_group_news', 'convert_chars' );
</del><span class="cx"> add_filter( 'bp_get_group_name', 'convert_chars' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_name', 'convert_chars' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description', 'convert_chars' );
</span><span class="lines">@@ -25,36 +22,30 @@
</span><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_group_description', 'wpautop' );
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'wpautop' );
</span><del>-add_filter( 'bp_get_group_news', 'wpautop' );
</del><span class="cx"> add_filter( 'bp_get_the_site_group_description', 'wpautop' );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description_excerpt', 'wpautop' );
</span><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_group_description', 'make_clickable' );
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'make_clickable' );
</span><del>-add_filter( 'bp_get_group_news', 'make_clickable' );
</del><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_group_name', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'bp_get_group_permalink', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'bp_get_group_description', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'wp_filter_kses', 1 );
</span><del>-add_filter( 'bp_get_group_news', 'wp_filter_kses', 1 );
</del><span class="cx"> add_filter( 'bp_get_the_site_group_name', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'bp_get_the_site_group_description_excerpt', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'groups_group_name_before_save', 'wp_filter_kses', 1 );
</span><span class="cx"> add_filter( 'groups_group_description_before_save', 'wp_filter_kses', 1 );
</span><del>-add_filter( 'groups_group_news_before_save', 'wp_filter_kses', 1 );
</del><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_group_description', 'stripslashes' );
</span><span class="cx"> add_filter( 'bp_get_group_description_excerpt', 'stripslashes' );
</span><del>-add_filter( 'bp_get_group_news', 'stripslashes' );
</del><span class="cx"> add_filter( 'bp_get_group_name', 'stripslashes' );
</span><span class="cx"> 
</span><span class="cx"> add_filter( 'groups_new_group_forum_desc', 'bp_create_excerpt' );
</span><span class="cx"> 
</span><span class="cx"> add_filter( 'groups_group_name_before_save', 'force_balance_tags' );
</span><span class="cx"> add_filter( 'groups_group_description_before_save', 'force_balance_tags' );
</span><del>-add_filter( 'groups_group_news_before_save', 'force_balance_tags' );
</del><span class="cx"> 
</span><span class="cx"> add_filter( 'bp_get_total_group_count', 'number_format' );
</span><span class="cx"> add_filter( 'bp_get_group_total_for_member', 'number_format' );
</span></span></pre></div>
<a id="trunkbpgroupsbpgroupstemplatetagsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups/bp-groups-templatetags.php (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups/bp-groups-templatetags.php        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-groups/bp-groups-templatetags.php        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -243,18 +243,7 @@
</span><span class="cx">         return false;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-function bp_group_has_news( $group = false ) {
-        global $groups_template;
</del><span class="cx"> 
</span><del>-        if ( !$group )
-                $group =&amp; $groups_template-&gt;group;
-
-        if ( empty( $group-&gt;news ) )
-                return false;
-
-        return true;
-}
-
</del><span class="cx"> function bp_group_id( $deprecated = true, $deprecated2 = false ) {
</span><span class="cx">         global $groups_template;
</span><span class="cx"> 
</span><span class="lines">@@ -467,30 +456,7 @@
</span><span class="cx">                 return apply_filters( 'bp_get_group_description_excerpt', bp_create_excerpt( $group-&gt;description, 20 ) );
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-function bp_group_news( $deprecated = false ) {
-        echo bp_get_group_news();
-}
-        function bp_get_group_news( $group = false ) {
-                global $groups_template;
</del><span class="cx"> 
</span><del>-                if ( !$group )
-                        $group =&amp; $groups_template-&gt;group;
-
-                return apply_filters( 'bp_get_group_news', stripslashes($groups_template-&gt;group-&gt;news) );
-        }
-
-function bp_group_news_editable( $deprecated = false ) {
-        echo bp_get_group_news_editable();
-}
-        function bp_get_group_news_editable( $group = false ) {
-                global $groups_template;
-
-                if ( !$group )
-                        $group =&amp; $groups_template-&gt;group;
-
-                return apply_filters( 'bp_get_group_news_editable', $group-&gt;news );
-        }
-
</del><span class="cx"> function bp_group_public_status( $deprecated = false ) {
</span><span class="cx">         echo bp_get_group_public_status();
</span><span class="cx"> }
</span><span class="lines">@@ -1584,14 +1550,6 @@
</span><span class="cx">                 return apply_filters( 'bp_get_new_group_description', $bp-&gt;groups-&gt;current_group-&gt;description );
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-function bp_new_group_news() {
-        echo bp_get_new_group_news();
-}
-        function bp_get_new_group_news() {
-                global $bp;
-                return apply_filters( 'bp_get_new_group_news', $bp-&gt;groups-&gt;current_group-&gt;news );
-        }
-
</del><span class="cx"> function bp_new_group_enable_forum() {
</span><span class="cx">         echo bp_get_new_group_enable_forum();
</span><span class="cx"> }
</span></span></pre></div>
<a id="trunkbpgroupsphp"></a>
<div class="modfile"><h4>Modified: trunk/bp-groups.php (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-groups.php        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-groups.php        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -696,7 +696,7 @@
</span><span class="cx">                                 if ( !check_admin_referer( 'groups_edit_group_details' ) )
</span><span class="cx">                                         return false;
</span><span class="cx"> 
</span><del>-                                if ( !groups_edit_base_group_details( $_POST['group-id'], $_POST['group-name'], $_POST['group-desc'], $_POST['group-news'], (int)$_POST['group-notify-members'] ) ) {
</del><ins>+                                if ( !groups_edit_base_group_details( $_POST['group-id'], $_POST['group-name'], $_POST['group-desc'], (int)$_POST['group-notify-members'] ) ) {
</ins><span class="cx">                                         bp_core_add_message( __( 'There was an error updating group details, please try again.', 'buddypress' ), 'error' );
</span><span class="cx">                                 } else {
</span><span class="cx">                                         bp_core_add_message( __( 'Group details were successfully updated.', 'buddypress' ) );
</span><span class="lines">@@ -725,7 +725,6 @@
</span><span class="cx"> 
</span><span class="cx">                 // If the edit form has been submitted, save the edited details
</span><span class="cx">                 if ( isset( $_POST['save'] ) ) {
</span><del>-                        $enable_wire = ( isset($_POST['group-show-wire'] ) ) ? 1 : 0;
</del><span class="cx">                         $enable_forum = ( isset($_POST['group-show-forum'] ) ) ? 1 : 0;
</span><span class="cx">                         $enable_photos = ( isset($_POST['group-show-photos'] ) ) ? 1 : 0;
</span><span class="cx">                         $photos_admin_only = ( $_POST['group-photos-status'] != 'all' ) ? 1 : 0;
</span><span class="lines">@@ -737,7 +736,7 @@
</span><span class="cx">                         if ( !check_admin_referer( 'groups_edit_group_settings' ) )
</span><span class="cx">                                 return false;
</span><span class="cx"> 
</span><del>-                        if ( !groups_edit_group_settings( $_POST['group-id'], $enable_wire, $enable_forum, $enable_photos, $photos_admin_only, $status ) ) {
</del><ins>+                        if ( !groups_edit_group_settings( $_POST['group-id'], $enable_forum, $enable_photos, $photos_admin_only, $status ) ) {
</ins><span class="cx">                                 bp_core_add_message( __( 'There was an error updating group settings, please try again.', 'buddypress' ), 'error' );
</span><span class="cx">                         } else {
</span><span class="cx">                                 bp_core_add_message( __( 'Group settings were successfully updated.', 'buddypress' ) );
</span><span class="lines">@@ -1096,7 +1095,7 @@
</span><span class="cx">                                 bp_core_redirect( $bp-&gt;root_domain . '/' . $bp-&gt;groups-&gt;slug . '/create/step/' . $bp-&gt;groups-&gt;current_create_step . '/' );
</span><span class="cx">                         }
</span><span class="cx"> 
</span><del>-                        if ( !$bp-&gt;groups-&gt;new_group_id = groups_create_group( array( 'group_id' =&gt; $bp-&gt;groups-&gt;new_group_id, 'name' =&gt; $_POST['group-name'], 'description' =&gt; $_POST['group-desc'], 'news' =&gt; $_POST['group-news'], 'slug' =&gt; groups_check_slug( sanitize_title($_POST['group-name']) ), 'date_created' =&gt; time() ) ) ) {
</del><ins>+                        if ( !$bp-&gt;groups-&gt;new_group_id = groups_create_group( array( 'group_id' =&gt; $bp-&gt;groups-&gt;new_group_id, 'name' =&gt; $_POST['group-name'], 'description' =&gt; $_POST['group-desc'], 'slug' =&gt; groups_check_slug( sanitize_title($_POST['group-name']) ), 'date_created' =&gt; time() ) ) ) {
</ins><span class="cx">                                 bp_core_add_message( __( 'There was an error saving group details, please try again.', 'buddypress' ), 'error' );
</span><span class="cx">                                 bp_core_redirect( $bp-&gt;root_domain . '/' . $bp-&gt;groups-&gt;slug . '/create/step/' . $bp-&gt;groups-&gt;current_create_step . '/' );
</span><span class="cx">                         }
</span><span class="lines">@@ -1107,12 +1106,8 @@
</span><span class="cx"> 
</span><span class="cx">                 if ( 'group-settings' == $bp-&gt;groups-&gt;current_create_step ) {
</span><span class="cx">                         $group_status = 'public';
</span><del>-                        $group_enable_wire = 1;
</del><span class="cx">                         $group_enable_forum = 1;
</span><span class="cx"> 
</span><del>-                        if ( !isset($_POST['group-show-wire']) )
-                                $group_enable_wire = 0;
-
</del><span class="cx">                         if ( !isset($_POST['group-show-forum']) ) {
</span><span class="cx">                                 $group_enable_forum = 0;
</span><span class="cx">                         } else {
</span><span class="lines">@@ -1127,7 +1122,7 @@
</span><span class="cx">                         else if ( 'hidden' == $_POST['group-status'] )
</span><span class="cx">                                 $group_status = 'hidden';
</span><span class="cx"> 
</span><del>-                        if ( !$bp-&gt;groups-&gt;new_group_id = groups_create_group( array( 'group_id' =&gt; $bp-&gt;groups-&gt;new_group_id, 'status' =&gt; $group_status, 'enable_wire' =&gt; $group_enable_wire, 'enable_forum' =&gt; $group_enable_forum ) ) ) {
</del><ins>+                        if ( !$bp-&gt;groups-&gt;new_group_id = groups_create_group( array( 'group_id' =&gt; $bp-&gt;groups-&gt;new_group_id, 'status' =&gt; $group_status, 'enable_forum' =&gt; $group_enable_forum ) ) ) {
</ins><span class="cx">                                 bp_core_add_message( __( 'There was an error saving group details, please try again.', 'buddypress' ), 'error' );
</span><span class="cx">                                 bp_core_redirect( $bp-&gt;root_domain . '/' . $bp-&gt;groups-&gt;slug . '/create/step/' . $bp-&gt;groups-&gt;current_create_step . '/' );
</span><span class="cx">                         }
</span><span class="lines">@@ -1477,10 +1472,8 @@
</span><span class="cx">          *        'creator_id'
</span><span class="cx">          *        'name'
</span><span class="cx">          *        'description'
</span><del>-         *        'news'
</del><span class="cx">          *        'slug'
</span><span class="cx">          *        'status'
</span><del>-         *        'enable_wire'
</del><span class="cx">          *        'enable_forum'
</span><span class="cx">          *        'date_created'
</span><span class="cx">          */
</span><span class="lines">@@ -1501,9 +1494,6 @@
</span><span class="cx">         if ( isset( $description ) )
</span><span class="cx">                 $group-&gt;description = $description;
</span><span class="cx"> 
</span><del>-        if ( isset( $news ) )
-                $group-&gt;news = $news;
-
</del><span class="cx">         if ( isset( $slug ) &amp;&amp; groups_check_slug( $slug ) )
</span><span class="cx">                 $group-&gt;slug = $slug;
</span><span class="cx"> 
</span><span class="lines">@@ -1512,11 +1502,6 @@
</span><span class="cx">                         $group-&gt;status = $status;
</span><span class="cx">         }
</span><span class="cx"> 
</span><del>-        if ( isset( $enable_wire ) )
-                $group-&gt;enable_wire = $enable_wire;
-        else if ( !$group_id &amp;&amp; !isset( $enable_wire ) )
-                $group-&gt;enable_wire = 1;
-
</del><span class="cx">         if ( isset( $enable_forum ) )
</span><span class="cx">                 $group-&gt;enable_forum = $enable_forum;
</span><span class="cx">         else if ( !$group_id &amp;&amp; !isset( $enable_forum ) )
</span><span class="lines">@@ -1545,7 +1530,7 @@
</span><span class="cx">         return $group-&gt;id;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $group_news, $notify_members ) {
</del><ins>+function groups_edit_base_group_details( $group_id, $group_name, $group_desc, $notify_members ) {
</ins><span class="cx">         global $bp;
</span><span class="cx"> 
</span><span class="cx">         if ( empty( $group_name ) || empty( $group_desc ) )
</span><span class="lines">@@ -1554,7 +1539,6 @@
</span><span class="cx">         $group = new BP_Groups_Group( $group_id, false, false );
</span><span class="cx">         $group-&gt;name = $group_name;
</span><span class="cx">         $group-&gt;description = $group_desc;
</span><del>-        $group-&gt;news = $group_news;
</del><span class="cx"> 
</span><span class="cx">         if ( !$group-&gt;save() )
</span><span class="cx">                 return false;
</span><span class="lines">@@ -1569,11 +1553,10 @@
</span><span class="cx">         return true;
</span><span class="cx"> }
</span><span class="cx"> 
</span><del>-function groups_edit_group_settings( $group_id, $enable_wire, $enable_forum, $enable_photos, $photos_admin_only, $status ) {
</del><ins>+function groups_edit_group_settings( $group_id, $enable_forum, $enable_photos, $photos_admin_only, $status ) {
</ins><span class="cx">         global $bp;
</span><span class="cx"> 
</span><span class="cx">         $group = new BP_Groups_Group( $group_id, false, false );
</span><del>-        $group-&gt;enable_wire = $enable_wire;
</del><span class="cx">         $group-&gt;enable_forum = $enable_forum;
</span><span class="cx">         $group-&gt;enable_photos = $enable_photos;
</span><span class="cx">         $group-&gt;photos_admin_only = $photos_admin_only;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultgroupscreatephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/groups/create.php (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/groups/create.php        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-themes/bp-default/groups/create.php        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -29,9 +29,6 @@
</span><span class="cx">                                         &lt;label for=&quot;group-desc&quot;&gt;&lt;?php _e('* Group Description', 'buddypress') ?&gt; &lt;? _e( '(required)', 'buddypress' )?&gt;&lt;/label&gt;
</span><span class="cx">                                         &lt;textarea name=&quot;group-desc&quot; id=&quot;group-desc&quot;&gt;&lt;?php bp_new_group_description() ?&gt;&lt;/textarea&gt;
</span><span class="cx"> 
</span><del>-                                        &lt;label for=&quot;group-news&quot;&gt;&lt;?php _e('Recent News', 'buddypress') ?&gt;&lt;/label&gt;
-                                        &lt;textarea name=&quot;group-news&quot; id=&quot;group-news&quot;&gt;&lt;?php bp_new_group_news() ?&gt;&lt;/textarea&gt;
-
</del><span class="cx">                                         &lt;?php do_action( 'bp_after_group_details_creation_step' ); /* Deprecated -&gt; */ do_action( 'groups_custom_group_fields_editable' ); ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                         &lt;?php wp_nonce_field( 'groups_create_save_group-details' ) ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpdefaultstylecss"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-default/style.css (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-default/style.css        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-themes/bp-default/style.css        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -7,7 +7,7 @@
</span><span class="cx"> Author URI: http://buddypress.org
</span><span class="cx"> Tags: buddypress, two-columns, custom-header, white, blue
</span><span class="cx"> 
</span><del>-** IMPORTANT **
</del><ins>+** IMPORTANT - DO NOT COPY THIS THEME **
</ins><span class="cx"> If you want to make a custom theme based on this theme, DO NOT copy and edit it. By
</span><span class="cx"> doing this you will make upgrades and maintainence much harder for yourself.
</span><span class="cx"> Instead, please read this codex page on how to build a BuddyPress child theme:
</span></span></pre></div>
<a id="trunkbpthemesbpsnparentgroupscreatephp"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-sn-parent/groups/create.php (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-sn-parent/groups/create.php        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-themes/bp-sn-parent/groups/create.php        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -25,9 +25,6 @@
</span><span class="cx">                                 &lt;label for=&quot;group-desc&quot;&gt;&lt;?php _e('* Group Description', 'buddypress') ?&gt; &lt;? _e( '(required)', 'buddypress' )?&gt;&lt;/label&gt;
</span><span class="cx">                                 &lt;textarea name=&quot;group-desc&quot; id=&quot;group-desc&quot;&gt;&lt;?php bp_new_group_description() ?&gt;&lt;/textarea&gt;
</span><span class="cx"> 
</span><del>-                                &lt;label for=&quot;group-news&quot;&gt;&lt;?php _e('Recent News', 'buddypress') ?&gt;&lt;/label&gt;
-                                &lt;textarea name=&quot;group-news&quot; id=&quot;group-news&quot;&gt;&lt;?php bp_new_group_news() ?&gt;&lt;/textarea&gt;
-
</del><span class="cx">                                 &lt;?php do_action( 'bp_after_group_details_creation_step' ); /* Deprecated -&gt; */ do_action( 'groups_custom_group_fields_editable' ); ?&gt;
</span><span class="cx"> 
</span><span class="cx">                                 &lt;?php wp_nonce_field( 'groups_create_save_group-details' ) ?&gt;
</span></span></pre></div>
<a id="trunkbpthemesbpsnparentstylecss"></a>
<div class="modfile"><h4>Modified: trunk/bp-themes/bp-sn-parent/style.css (2351 => 2352)</h4>
<pre class="diff"><span>
<span class="info">--- trunk/bp-themes/bp-sn-parent/style.css        2010-01-19 11:16:20 UTC (rev 2351)
+++ trunk/bp-themes/bp-sn-parent/style.css        2010-01-19 11:27:58 UTC (rev 2352)
</span><span class="lines">@@ -6,7 +6,7 @@
</span><span class="cx"> Author: BuddyPress.org
</span><span class="cx"> Author URI: http://buddypress.org
</span><span class="cx"> 
</span><del>-** IMPORTANT **
</del><ins>+** IMPORTANT - DO NOT COPY THIS THEME **
</ins><span class="cx"> If you want to make a custom theme based on this theme, DO NOT copy and edit it. By
</span><span class="cx"> doing this you will make upgrades and maintainence much harder for yourself.
</span><span class="cx"> Instead, please read this codex page on how to build a BuddyPress child theme:
</span></span></pre>
</div>
</div>

</body>
</html>