Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
03/05/2012 06:17:43 AM (13 years ago)
Author:
johnjamesjacoby
Message:

First pass at rearranging settings and forums settings screens to accommodate bbPress 2.x migration:

  • Simplify and move old bb-config.php file write logic into Settings screen
  • Introduce new functions for checking what possible mode the Forums screen is in
  • Deprecate old forum admin code for now, will probably be removed later
  • Deprecate $bp->bbconfig setting and use bp_get_option() instead
  • Clean up the Settings screen and add dedicated groups for Profiles and Forums
  • See #3598
  • More to do
File:
1 edited

Legend:

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

    r5749 r5885  
    360360    );
    361361
    362     // If forums component is active, add additional tab
    363     if ( bp_is_active( 'forums' ) ) {
     362    // If forums component is active and bbPress 1.x is in use add additional tab
     363    if ( bp_is_active( 'forums' ) && bp_forums_is_repair() ) {
    364364        $tabs['3'] = array(
    365365            'href' => bp_get_admin_url( add_query_arg( array( 'page' => 'bb-forums-setup'  ), 'admin.php' ) ),
Note: See TracChangeset for help on using the changeset viewer.