Skip to:
Content

BuddyPress.org

Changeset 1567


Ignore:
Timestamp:
06/23/2009 01:01:10 AM (15 years ago)
Author:
apeatling
Message:

Added first alpha version of the status updates component 'bp-status'.

Location:
trunk
Files:
9 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-core/bp-core-admin.php

    r1518 r1567  
    257257                </tr>
    258258                <?php endif; ?>
     259                <?php if ( file_exists( BP_PLUGIN_DIR . '/bp-statusupdates.php') ) : ?>
     260                <tr>
     261                    <td><h3><?php _e( 'Status Updates', 'buddypress' ) ?></h3><p><?php _e( 'Allow users to post status updates.', 'buddypress' ) ?></p></td>
     262                    <td width="45%">
     263                        <input type="radio" name="bp_components[bp-statusupdates.php]" value="1"<?php if ( !isset( $disabled_components['bp-statusupdates.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Enabled', 'buddypress' ) ?>  &nbsp;
     264                        <input type="radio" name="bp_components[bp-statusupdates.php]" value="0"<?php if ( isset( $disabled_components['bp-statusupdates.php'] ) ) : ?> checked="checked" <?php endif; ?>/> <?php _e( 'Disabled', 'buddypress' ) ?>
     265                    </td>
     266                </tr>
     267                <?php endif; ?>
    259268            </tbody>
    260269            </table>
  • trunk/bp-core/bp-core-templatetags.php

    r1538 r1567  
    501501
    502502function bp_has_custom_signup_page() {
    503     if ( file_exists( WP_CONTENT_DIR . '/themes/' . get_blog_option( 1, 'template') . '/register.php') )
     503    if ( file_exists( WP_CONTENT_DIR . '/themes/' . get_blog_option( BP_ROOT_BLOG, 'template') . '/register.php') )
    504504        return true;
    505505   
  • trunk/bp-loader.php

    r1522 r1567  
    1010*/
    1111
    12 define( 'BP_VERSION', '1.0.1' );
     12define( 'BP_VERSION', '1.1-bleeding' );
    1313
    1414/***
     
    5252    include( BP_PLUGIN_DIR . '/bp-xprofile.php' );
    5353
     54/* Status Updates */   
     55if ( !isset( $deactivated['bp-status.php'] ) && file_exists( BP_PLUGIN_DIR . '/bp-status.php') )
     56    include( BP_PLUGIN_DIR . '/bp-status.php' );
     57
    5458?>
Note: See TracChangeset for help on using the changeset viewer.