Changeset 2302
- Timestamp:
- 01/15/2010 11:59:28 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 13 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-blogs.php
r2274 r2302 1 1 <?php 2 2 3 define ( 'BP_BLOGS_DB_VERSION', ' 1800' );3 define ( 'BP_BLOGS_DB_VERSION', '2000' ); 4 4 5 5 /* Define the slug for the component */ … … 64 64 65 65 // On first installation - record all existing blogs in the system. 66 if ( !(int)get_site_option( 'bp-blogs-first-install') ) {66 if ( !(int)get_site_option( 'bp-blogs-first-install') && bp_core_is_multisite() ) { 67 67 bp_blogs_record_existing_blogs(); 68 68 add_site_option( 'bp-blogs-first-install', 1 ); -
trunk/bp-core/bp-core-wpabstraction.php
r2299 r2302 47 47 function update_site_option( $option_name, $option_value ) { 48 48 return update_option( $option_name, $option_value ); 49 } 50 } 51 52 if ( !function_exists( 'delete_site_option' ) ) { 53 function delete_site_option( $option_name ) { 54 return delete_option( $option_name ); 49 55 } 50 56 } -
trunk/bp-loader.php
r2301 r2302 74 74 delete_site_option( 'bp-xprofile-db-version' ); 75 75 delete_site_option( 'bp-deactivated-components' ); 76 delete_site_option( 'bp-blogs-first-install' ); 76 77 77 78 do_action( 'bp_loader_deactivate' ); -
trunk/bp-themes/bp-default/blogs/create.php
r2284 r2302 8 8 <?php do_action( 'template_notices' ) ?> 9 9 10 <h2><?php _e( 'Create a Blog', 'buddypress' ) ?> <a class="button" href="<?php echobp_root_domain() . '/' . BP_BLOGS_SLUG . '/' ?>"><?php _e( 'Blogs Directory', 'buddypress' ) ?></a></h2>10 <h2><?php _e( 'Create a Blog', 'buddypress' ) ?> <a class="button" href="<?php bp_root_domain() . '/' . BP_BLOGS_SLUG . '/' ?>"><?php _e( 'Blogs Directory', 'buddypress' ) ?></a></h2> 11 11 12 12 <?php do_action( 'bp_before_create_blog_content' ) ?> -
trunk/bp-themes/bp-default/blogs/index.php
r2284 r2302 6 6 <form action="" method="post" id="blogs-directory-form" class="dir-form"> 7 7 8 <h2><?php _e( 'Blogs Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> <a class="button" href="<?php echobp_root_domain() . '/' . BP_BLOGS_SLUG . '/create/' ?>"><?php _e( 'Create a Blog', 'buddypress' ) ?></a><?php endif; ?></h2>8 <h2><?php _e( 'Blogs Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() && bp_blog_signup_enabled() ) : ?> <a class="button" href="<?php bp_root_domain() . '/' . BP_BLOGS_SLUG . '/create/' ?>"><?php _e( 'Create a Blog', 'buddypress' ) ?></a><?php endif; ?></h2> 9 9 10 10 <?php do_action( 'bp_before_directory_blogs_content' ) ?> -
trunk/bp-themes/bp-default/groups/create.php
r2284 r2302 5 5 6 6 <form action="<?php bp_group_creation_form_action() ?>" method="post" id="create-group-form" class="standard-form" enctype="multipart/form-data"> 7 <h2><?php _e( 'Create a Group', 'buddypress' ) ?> <a class="button" href="<?php echobp_root_domain() . '/' . BP_GROUPS_SLUG . '/' ?>"><?php _e( 'Groups Directory', 'buddypress' ) ?></a></h2>7 <h2><?php _e( 'Create a Group', 'buddypress' ) ?> <a class="button" href="<?php bp_root_domain() . '/' . BP_GROUPS_SLUG . '/' ?>"><?php _e( 'Groups Directory', 'buddypress' ) ?></a></h2> 8 8 9 9 <?php do_action( 'bp_before_create_group' ) ?> -
trunk/bp-themes/bp-default/groups/index.php
r2284 r2302 5 5 6 6 <form action="" method="post" id="groups-directory-form" class="dir-form"> 7 <h2><?php _e( 'Groups Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() ) : ?> <a class="button" href="<?php echobp_root_domain() . '/' . BP_GROUPS_SLUG . '/create/' ?>"><?php _e( 'Create a Group', 'buddypress' ) ?></a><?php endif; ?></h2>7 <h2><?php _e( 'Groups Directory', 'buddypress' ) ?><?php if ( is_user_logged_in() ) : ?> <a class="button" href="<?php bp_root_domain() . '/' . BP_GROUPS_SLUG . '/create/' ?>"><?php _e( 'Create a Group', 'buddypress' ) ?></a><?php endif; ?></h2> 8 8 9 9 <?php do_action( 'bp_before_directory_groups_content' ) ?> -
trunk/bp-themes/bp-default/members/members-loop.php
r2284 r2302 44 44 * (only one regadless of the number of fields you show): 45 45 * 46 * bp_member_profile_ field_data( 'field=the field name' );46 * bp_member_profile_data( 'field=the field name' ); 47 47 */ 48 48 ?> -
trunk/bp-themes/bp-default/sidebar.php
r2209 r2302 33 33 34 34 <input type="submit" name="wp-submit" id="userbar_wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" /> 35 <input type="hidden" name="redirect_to" value="<?php echobp_root_domain() ?>" />35 <input type="hidden" name="redirect_to" value="<?php bp_root_domain() ?>" /> 36 36 <input type="hidden" name="testcookie" value="1" /> 37 37 </form> -
trunk/bp-themes/bp-default/style.css
r2239 r2302 7 7 Author URI: http://buddypress.org 8 8 Tags: buddypress, two-columns, custom-header, white, blue 9 10 ** IMPORTANT ** 11 If you want to make a custom theme based on this theme, DO NOT copy and edit it. By 12 doing this you will make upgrades and maintainence much harder for yourself. 13 Instead, please read this codex page on how to build a BuddyPress child themes: 14 15 http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/ 9 16 */ 10 17 -
trunk/bp-themes/bp-sn-parent/header.php
r2077 r2302 56 56 <?php endif; ?> 57 57 58 <input type="hidden" name="redirect_to" value="<?php echobp_root_domain() ?>" />58 <input type="hidden" name="redirect_to" value="<?php bp_root_domain() ?>" /> 59 59 <input type="hidden" name="testcookie" value="1" /> 60 60 -
trunk/bp-themes/bp-sn-parent/style.css
r2237 r2302 6 6 Author: BuddyPress.org 7 7 Author URI: http://buddypress.org 8 9 ** IMPORTANT ** 10 If you want to make a custom theme based on this theme, DO NOT copy and edit it. By 11 doing this you will make upgrades and maintainence much harder for yourself. 12 Instead, please read this codex page on how to build a BuddyPress child themes: 13 14 http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/ 8 15 */ 9 16 -
trunk/bp-themes/bp-sn-parent/userbar.php
r2077 r2302 36 36 <p class="submit"> 37 37 <input type="submit" name="wp-submit" id="userbar_wp-submit" value="<?php _e('Log In'); ?>" tabindex="100" /> 38 <input type="hidden" name="redirect_to" value="<?php echobp_root_domain() ?>" />38 <input type="hidden" name="redirect_to" value="<?php bp_root_domain() ?>" /> 39 39 <input type="hidden" name="testcookie" value="1" /> 40 40 </p>
Note: See TracChangeset
for help on using the changeset viewer.