Changes from tags/1.2.7 at r4072 to tags/1.2.8 at r4072
- Location:
- tags/1.2.8
- Files:
-
- 18 edited
Legend:
- Unmodified
- Added
- Removed
-
tags/1.2.8/bp-activity.php
r4072 r4072 99 99 bp_activity_install(); 100 100 } 101 add_action( 'admin_menu', 'bp_activity_check_installed' );101 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_activity_check_installed' ); 102 102 103 103 function bp_activity_setup_root_component() { -
tags/1.2.8/bp-blogs.php
r4072 r4072 61 61 } 62 62 } 63 add_action( 'admin_menu', 'bp_blogs_check_installed' );63 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_blogs_check_installed' ); 64 64 65 65 function bp_blogs_setup_globals() { -
tags/1.2.8/bp-core.php
r4072 r4072 285 285 bp_core_install(); 286 286 } 287 add_action( 'admin_menu', 'bp_core_check_installed' );287 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_check_installed' ); 288 288 289 289 /** … … 301 301 return false; 302 302 303 /* Add the administration tab under the "Site Admin" tab for site administrators */ 303 // If this is WP 3.1+ and multisite is enabled, only load on the Network Admin 304 if ( is_multisite() && function_exists( 'is_network_admin' ) && ! is_network_admin() ) 305 return false; 306 307 // Add the administration tab under the "Site Admin" tab for site administrators 304 308 bp_core_add_admin_menu_page( array( 305 309 'menu_title' => __( 'BuddyPress', 'buddypress' ), … … 313 317 add_submenu_page( 'bp-general-settings', __( 'Component Setup', 'buddypress'), __( 'Component Setup', 'buddypress' ), 'manage_options', 'bp-component-setup', 'bp_core_admin_component_setup' ); 314 318 } 315 add_action( 'admin_menu', 'bp_core_add_admin_menu' );319 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_core_add_admin_menu' ); 316 320 317 321 /** -
tags/1.2.8/bp-core/bp-core-admin.php
r4072 r4072 44 44 <?php if ( function_exists( 'xprofile_install' ) ) :?> 45 45 <tr> 46 <th scope="row">< ?php _e( 'Base profile group name', 'buddypress' ) ?>:</th>46 <th scope="row"><p><?php _e( 'Base profile group name', 'buddypress' ) ?>:</p></th> 47 47 <td> 48 48 <input name="bp-admin[bp-xprofile-base-group-name]" id="bp-xprofile-base-group-name" value="<?php echo get_site_option('bp-xprofile-base-group-name') ?>" /> … … 50 50 </tr> 51 51 <tr> 52 <th scope="row">< ?php _e( 'Full Name field name', 'buddypress' ) ?>:</th>52 <th scope="row"><p><?php _e( 'Full Name field name', 'buddypress' ) ?>:</p></th> 53 53 <td> 54 54 <input name="bp-admin[bp-xprofile-fullname-field-name]" id="bp-xprofile-fullname-field-name" value="<?php echo get_site_option('bp-xprofile-fullname-field-name') ?>" /> … … 56 56 </tr> 57 57 <tr> 58 <th scope="row">< ?php _e( 'Disable BuddyPress to WordPress profile syncing?', 'buddypress' ) ?>:</th>58 <th scope="row"><p><?php _e( 'Disable BuddyPress to WordPress profile syncing?', 'buddypress' ) ?>:</p></th> 59 59 <td> 60 60 <input type="radio" name="bp-admin[bp-disable-profile-sync]"<?php if ( (int)get_site_option( 'bp-disable-profile-sync' ) ) : ?> checked="checked"<?php endif; ?> id="bp-disable-profile-sync" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> … … 64 64 <?php endif; ?> 65 65 <tr> 66 <th scope="row">< ?php _e( 'Hide admin bar for logged out users?', 'buddypress' ) ?>:</th>66 <th scope="row"><p><?php _e( 'Hide admin bar for logged out users?', 'buddypress' ) ?>:</p></th> 67 67 <td> 68 68 <input type="radio" name="bp-admin[hide-loggedout-adminbar]"<?php if ( (int)get_site_option( 'hide-loggedout-adminbar' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-hide-loggedout-adminbar-yes" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> … … 71 71 </tr> 72 72 <tr> 73 <th scope="row">< ?php _e( 'Disable avatar uploads? (Gravatars will still work)', 'buddypress' ) ?>:</th>73 <th scope="row"><p><?php _e( 'Disable avatar uploads? (Gravatars will still work)', 'buddypress' ) ?>:</p></th> 74 74 <td> 75 75 <input type="radio" name="bp-admin[bp-disable-avatar-uploads]"<?php if ( (int)get_site_option( 'bp-disable-avatar-uploads' ) ) : ?> checked="checked"<?php endif; ?> id="bp-admin-disable-avatar-uploads-yes" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> … … 78 78 </tr> 79 79 <tr> 80 <th scope="row">< ?php _e( 'Disable user account deletion?', 'buddypress' ) ?>:</th>80 <th scope="row"><p><?php _e( 'Disable user account deletion?', 'buddypress' ) ?>:</p></th> 81 81 <td> 82 82 <input type="radio" name="bp-admin[bp-disable-account-deletion]"<?php if ( (int)get_site_option( 'bp-disable-account-deletion' ) ) : ?> checked="checked"<?php endif; ?> id="bp-disable-account-deletion" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> … … 86 86 <?php if ( function_exists( 'bp_forums_setup') ) : ?> 87 87 <tr> 88 <th scope="row">< ?php _e( 'Disable global forum directory?', 'buddypress' ) ?>:</th>88 <th scope="row"><p><?php _e( 'Disable global forum directory?', 'buddypress' ) ?>:</p></th> 89 89 <td> 90 90 <input type="radio" name="bp-admin[bp-disable-forum-directory]"<?php if ( (int)get_site_option( 'bp-disable-forum-directory' ) ) : ?> checked="checked"<?php endif; ?> id="bp-disable-forum-directory" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> … … 95 95 <?php if ( function_exists( 'bp_activity_install') ) : ?> 96 96 <tr> 97 <th scope="row">< ?php _e( 'Disable activity stream commenting on blog and forum posts?', 'buddypress' ) ?>:</th>97 <th scope="row"><p><?php _e( 'Disable activity stream commenting on blog and forum posts?', 'buddypress' ) ?>:</p></th> 98 98 <td> 99 99 <input type="radio" name="bp-admin[bp-disable-blogforum-comments]"<?php if ( (int)get_site_option( 'bp-disable-blogforum-comments' ) || false === get_site_option( 'bp-disable-blogforum-comments' ) ) : ?> checked="checked"<?php endif; ?> id="bp-disable-blogforum-comments" value="1" /> <?php _e( 'Yes', 'buddypress' ) ?> … … 104 104 105 105 <tr> 106 <th scope="row">< ?php _e( 'Default User Avatar', 'buddypress' ) ?></th>106 <th scope="row"><p><?php _e( 'Default User Avatar', 'buddypress' ) ?></p></th> 107 107 <td> 108 108 <p><?php _e( 'For users without a custom avatar of their own, you can either display a generic logo or a generated one based on their email address', 'buddypress' ) ?></p> -
tags/1.2.8/bp-core/bp-core-adminbar.php
r4072 r4072 274 274 } 275 275 276 // Actions used to build the admin bar 277 add_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); 278 add_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu', 2 ); 279 add_action( 'bp_adminbar_menus', 'bp_adminbar_account_menu', 4 ); 280 add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 ); 281 add_action( 'bp_adminbar_menus', 'bp_adminbar_thisblog_menu', 6 ); 282 add_action( 'bp_adminbar_menus', 'bp_adminbar_notifications_menu', 8 ); 283 add_action( 'bp_adminbar_menus', 'bp_adminbar_authors_menu', 12 ); 284 add_action( 'bp_adminbar_menus', 'bp_adminbar_random_menu', 100 ); 285 286 // Actions used to append admin bar to footer 287 add_action( 'wp_footer', 'bp_core_admin_bar', 8 ); 288 add_action( 'admin_footer', 'bp_core_admin_bar' ); 276 /** 277 * Provides fallback support for the WordPress 3.1 admin bar 278 * 279 * By default, this function turns off the WP 3.1 admin bar in favor of the classic BP BuddyBar. 280 * To turn off the BP BuddyBar in favor of WP's admin bar, place the following in wp-config.php: 281 * define( 'BP_USE_WP_ADMIN_BAR', true ); 282 * 283 * @package BuddyPress Core 284 * @since 1.2.8 285 */ 286 function bp_core_load_admin_bar() { 287 global $wp_version; 288 289 if ( defined( 'BP_USE_WP_ADMIN_BAR' ) && BP_USE_WP_ADMIN_BAR && version_compare( $wp_version, 3.1, '>=' ) ) { 290 // TODO: Add BP support to WP admin bar 291 return; 292 } elseif ( !defined( 'BP_DISABLE_ADMIN_BAR' ) || !BP_DISABLE_ADMIN_BAR ) { 293 // Keep the WP admin bar from loading 294 if ( function_exists( 'show_admin_bar' ) ) 295 show_admin_bar( false ); 296 297 // Actions used to build the BP admin bar 298 add_action( 'bp_adminbar_logo', 'bp_adminbar_logo' ); 299 add_action( 'bp_adminbar_menus', 'bp_adminbar_login_menu', 2 ); 300 add_action( 'bp_adminbar_menus', 'bp_adminbar_account_menu', 4 ); 301 add_action( 'bp_adminbar_menus', 'bp_adminbar_blogs_menu', 6 ); 302 add_action( 'bp_adminbar_menus', 'bp_adminbar_thisblog_menu', 6 ); 303 add_action( 'bp_adminbar_menus', 'bp_adminbar_notifications_menu', 8 ); 304 add_action( 'bp_adminbar_menus', 'bp_adminbar_authors_menu', 12 ); 305 add_action( 'bp_adminbar_menus', 'bp_adminbar_random_menu', 100 ); 306 307 // Actions used to append BP admin bar to footer 308 add_action( 'wp_footer', 'bp_core_admin_bar', 8 ); 309 add_action( 'admin_footer', 'bp_core_admin_bar' ); 310 } 311 } 312 add_action( 'bp_loaded', 'bp_core_load_admin_bar' ); 289 313 290 314 ?> -
tags/1.2.8/bp-core/bp-core-avatars.php
r4072 r4072 523 523 524 524 function bp_core_check_avatar_type($file) { 525 if ( ( strlen($file['file']['type']) && !preg_match('/(jpe?g|gif|png)$/', $file['file']['type'] ) ) &&!preg_match( '/(jpe?g|gif|png)$/', $file['file']['name'] ) )525 if ( ( !empty( $file['file']['type'] ) && !preg_match('/(jpe?g|gif|png)$/', $file['file']['type'] ) ) || !preg_match( '/(jpe?g|gif|png)$/', $file['file']['name'] ) ) 526 526 return false; 527 527 … … 568 568 // If multisite, and current blog does not match root blog, make adjustments 569 569 if ( bp_core_is_multisite() && BP_ROOT_BLOG != $current_blog->blog_id ) 570 $upload_dir['baseurl'] = str_replace( get_blog_option( $current_blog->blog_id, 'home' ) , get_blog_option( BP_ROOT_BLOG, 'home' ), $upload_dir['baseurl']);570 $upload_dir['baseurl'] = trailingslashit( get_blog_option( BP_ROOT_BLOG, 'home' ) ) . get_blog_option( BP_ROOT_BLOG, 'upload_path' ); 571 571 572 572 return apply_filters( 'bp_core_avatar_url', $upload_dir['baseurl'] ); -
tags/1.2.8/bp-core/bp-core-wpabstraction.php
r4072 r4072 113 113 } 114 114 115 // Added for WordPress 3.1 support 116 if ( !function_exists( 'get_dashboard_url' ) ) { 117 118 /** 119 * Make sure the 'network_admin_menu' hook (which is new to 3.1) fires 120 * on our reliable friend 'admin_menu' 121 */ 122 function bp_network_admin_menu() { 123 do_action( 'network_admin_menu' ); 124 } 125 add_action( 'admin_menu', 'bp_network_admin_menu' ); 126 } 127 115 128 ?> -
tags/1.2.8/bp-forums.php
r4072 r4072 103 103 add_submenu_page( 'bp-general-settings', __( 'Forums Setup', 'buddypress' ), __( 'Forums Setup', 'buddypress' ), 'manage_options', 'bb-forums-setup', "bp_forums_bbpress_admin" ); 104 104 } 105 add_action( 'admin_menu', 'bp_forums_add_admin_menu' );105 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'bp_forums_add_admin_menu' ); 106 106 107 107 /* Forum Functions */ -
tags/1.2.8/bp-forums/bp-forums-admin.php
r4072 r4072 12 12 <p><?php _e( 'Settings Saved.', 'buddypress' ) ?></p> 13 13 </div> 14 <?php endif; ?> 15 16 <?php 14 <?php endif; 17 15 18 16 if ( isset( $_REQUEST['reinstall'] ) || !bp_forums_is_installed_correctly() ) { 19 17 update_site_option( 'bb-config-location', false ); 20 18 bp_forums_bbpress_install_wizard(); 21 } else { ?> 22 <p><?php printf( __( 'bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can <a href="%s" title="Reinstall bbPress">re-install</a>', 'buddypress' ), site_url( 'wp-admin/admin.php?page=bb-forums-setup&reinstall=1' ) ); ?> 19 } else { 20 $reinstall = network_admin_url( 'admin.php?page=bb-forums-setup&reinstall=1' ); ?> 21 22 <p><?php printf( __( 'bbPress forum integration in BuddyPress has been set up correctly. If you are having problems you can <a href="%s" title="Reinstall bbPress">re-install</a>', 'buddypress' ), $reinstall ); ?> 23 23 <p><?php _e( 'NOTE: The forums directory will only work if your bbPress tables are in the same database as your WordPress tables. If you are not using an existing bbPress install you can ignore this message.', 'buddypress' ) ?></p> 24 24 25 <?php 25 26 } … … 30 31 31 32 function bp_forums_bbpress_install_wizard() { 32 $post_url = site_url( 'wp-admin/admin.php?page=bb-forums-setup' );33 $post_url = network_admin_url( 'admin.php?page=bb-forums-setup' ); 33 34 34 35 switch( $_REQUEST['step'] ) { … … 68 69 // Just write the contents to screen 69 70 _e( 'A configuration file could not be created. No problem, but you will need to save the text shown below into a file named <code>bb-config.php</code> in the root directory of your WordPress installation before you can start using the forum functionality.', 'buddypress' ); 70 ?>< code style="display:block; margin-top: 30px;"><pre><?php echo htmlspecialchars( $result ) ?></pre></code><?php71 ?><br /><textarea cols="110" rows="50" style="margin: 10px 0 50px 0;"><?php echo htmlspecialchars( $result ) ?></textarea><?php 71 72 break; 72 73 } -
tags/1.2.8/bp-friends.php
r4072 r4072 62 62 friends_install(); 63 63 } 64 add_action( 'admin_menu', 'friends_check_installed' );64 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'friends_check_installed' ); 65 65 66 66 function friends_setup_nav() { -
tags/1.2.8/bp-groups.php
r4072 r4072 117 117 groups_install(); 118 118 } 119 add_action( 'admin_menu', 'groups_check_installed' );119 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'groups_check_installed' ); 120 120 121 121 function groups_setup_nav() { -
tags/1.2.8/bp-languages/buddypress.pot
r4072 r4072 5 5 "Project-Id-Version: BuddyPress \n" 6 6 "Report-Msgid-Bugs-To: wp-polyglots@lists.automattic.com\n" 7 "POT-Creation-Date: 201 0-12-20 22:28:00+00:00\n"7 "POT-Creation-Date: 2011-02-23 11:30:34+00:00\n" 8 8 "MIME-Version: 1.0\n" 9 9 "Content-Type: text/plain; charset=UTF-8\n" … … 599 599 msgstr "" 600 600 601 #: bp-core/bp-core-templatetags.php:736 bp-core.php:3 79bp-xprofile.php:183601 #: bp-core/bp-core-templatetags.php:736 bp-core.php:383 bp-xprofile.php:183 602 602 #: bp-themes/bp-default/activity/post-form.php:41 603 603 msgid "My Profile" … … 668 668 msgstr "" 669 669 670 #: bp-core/bp-core-templatetags.php:1032 bp-forums/bp-forums-admin.php:1 59670 #: bp-core/bp-core-templatetags.php:1032 bp-forums/bp-forums-admin.php:160 671 671 #: bp-themes/bp-default/header.php:68 672 672 msgid "Forums" … … 851 851 msgstr "" 852 852 853 #: bp-core/bp-core-settings.php:69 bp-core.php:31 2853 #: bp-core/bp-core-settings.php:69 bp-core.php:316 854 854 msgid "General Settings" 855 855 msgstr "" … … 912 912 msgstr "" 913 913 914 #: bp-core.php:30 5 bp-core.php:306914 #: bp-core.php:309 bp-core.php:310 915 915 msgid "BuddyPress" 916 916 msgstr "" 917 917 918 #: bp-core.php:31 3918 #: bp-core.php:317 919 919 msgid "Component Setup" 920 920 msgstr "" 921 921 922 #: bp-core.php:3 58bp-xprofile.php:172922 #: bp-core.php:362 bp-xprofile.php:172 923 923 msgid "Profile" 924 924 msgstr "" 925 925 926 #: bp-core.php:3 69bp-groups/bp-groups-templatetags.php:419 bp-xprofile.php:177926 #: bp-core.php:373 bp-groups/bp-groups-templatetags.php:419 bp-xprofile.php:177 927 927 msgid "Public" 928 928 msgstr "" 929 929 930 #: bp-core.php:47 5930 #: bp-core.php:479 931 931 msgid "User marked as spammer. Spam users are visible only to site admins." 932 932 msgstr "" 933 933 934 #: bp-core.php:4 77934 #: bp-core.php:481 935 935 msgid "User removed as spammer." 936 936 msgstr "" 937 937 938 #: bp-core.php:51 1938 #: bp-core.php:515 939 939 msgid "%s has been deleted from the system." 940 940 msgstr "" 941 941 942 #: bp-core.php:51 3942 #: bp-core.php:517 943 943 msgid "There was an error deleting %s from the system. Please try again." 944 944 msgstr "" 945 945 946 #: bp-core.php:14 16946 #: bp-core.php:1420 947 947 msgid "year" 948 948 msgstr "" 949 949 950 #: bp-core.php:14 16950 #: bp-core.php:1420 951 951 msgid "years" 952 952 msgstr "" 953 953 954 #: bp-core.php:14 17954 #: bp-core.php:1421 955 955 msgid "month" 956 956 msgstr "" 957 957 958 #: bp-core.php:14 17958 #: bp-core.php:1421 959 959 msgid "months" 960 960 msgstr "" 961 961 962 #: bp-core.php:14 18962 #: bp-core.php:1422 963 963 msgid "week" 964 964 msgstr "" 965 965 966 #: bp-core.php:14 18966 #: bp-core.php:1422 967 967 msgid "weeks" 968 968 msgstr "" 969 969 970 #: bp-core.php:14 19970 #: bp-core.php:1423 971 971 msgid "day" 972 972 msgstr "" 973 973 974 #: bp-core.php:14 19974 #: bp-core.php:1423 975 975 msgid "days" 976 976 msgstr "" 977 977 978 #: bp-core.php:142 0978 #: bp-core.php:1424 979 979 msgid "hour" 980 980 msgstr "" 981 981 982 #: bp-core.php:142 0982 #: bp-core.php:1424 983 983 msgid "hours" 984 984 msgstr "" 985 985 986 #: bp-core.php:142 1986 #: bp-core.php:1425 987 987 msgid "minute" 988 988 msgstr "" 989 989 990 #: bp-core.php:142 1990 #: bp-core.php:1425 991 991 msgid "minutes" 992 992 msgstr "" 993 993 994 #: bp-core.php:142 2994 #: bp-core.php:1426 995 995 msgid "second" 996 996 msgstr "" 997 997 998 #: bp-core.php:142 2 bp-core.php:1474998 #: bp-core.php:1426 bp-core.php:1478 999 999 msgid "seconds" 1000 1000 msgstr "" 1001 1001 1002 #: bp-core.php:144 11002 #: bp-core.php:1445 1003 1003 msgid "sometime" 1004 1004 msgstr "" 1005 1005 1006 #: bp-core.php:14 691006 #: bp-core.php:1473 1007 1007 msgctxt "Separator in time since" 1008 1008 msgid "," 1009 1009 msgstr "" 1010 1010 1011 #: bp-core.php:152 41011 #: bp-core.php:1528 1012 1012 msgid "not recently active" 1013 1013 msgstr "" 1014 1014 1015 #: bp-core.php:203 41015 #: bp-core.php:2038 1016 1016 msgid "IMPORTANT: <a href=\"http://codex.buddypress.org/getting-started/upgrading-from-10x/\">Read this before attempting to update BuddyPress</a>" 1017 1017 msgstr "" 1018 1018 1019 #: bp-core.php:206 31019 #: bp-core.php:2067 1020 1020 msgid "<strong>BuddyPress is almost ready</strong>. You must <a href=\"%s\">update your permalink structure</a> to something other than the default for it to work." 1021 1021 msgstr "" 1022 1022 1023 #: bp-core.php:207 21023 #: bp-core.php:2076 1024 1024 msgid "<strong>BuddyPress is ready</strong>. You'll need to <a href='%s'>activate a BuddyPress compatible theme</a> to take advantage of all of the features. We've bundled a default theme, but you can always <a href='%s'>install some other compatible themes</a> or <a href='%s'>upgrade your existing WordPress theme</a>." 1025 1025 msgstr "" … … 1927 1927 msgstr "" 1928 1928 1929 #: bp-forums/bp-forums-admin.php:3 81929 #: bp-forums/bp-forums-admin.php:39 1930 1930 msgid "The bb-config.php file was not found at that location, please try again." 1931 1931 msgstr "" 1932 1932 1933 #: bp-forums/bp-forums-admin.php:4 11933 #: bp-forums/bp-forums-admin.php:42 1934 1934 msgid "Forums were set up correctly using your existing bbPress install!" 1935 1935 msgstr "" 1936 1936 1937 #: bp-forums/bp-forums-admin.php:4 21937 #: bp-forums/bp-forums-admin.php:43 1938 1938 msgid "BuddyPress will now use its internal copy of bbPress to run the forums on your site. If you wish, you can remove your old bbPress installation files, as long as you keep the bb-config.php file in the same location." 1939 1939 msgstr "" 1940 1940 1941 #: bp-forums/bp-forums-admin.php:4 71941 #: bp-forums/bp-forums-admin.php:48 1942 1942 msgid "Existing bbPress Installation" 1943 1943 msgstr "" 1944 1944 1945 #: bp-forums/bp-forums-admin.php:4 81945 #: bp-forums/bp-forums-admin.php:49 1946 1946 msgid "BuddyPress can make use of your existing bbPress install. Just provide the location of your <code>bb-config.php</code> file, and BuddyPress will do the rest." 1947 1947 msgstr "" 1948 1948 1949 #: bp-forums/bp-forums-admin.php:5 0 bp-forums/bp-forums-admin.php:781949 #: bp-forums/bp-forums-admin.php:51 bp-forums/bp-forums-admin.php:79 1950 1950 msgid "Complete Installation" 1951 1951 msgstr "" 1952 1952 1953 #: bp-forums/bp-forums-admin.php:6 51953 #: bp-forums/bp-forums-admin.php:66 1954 1954 msgid "All done! Configuration settings have been saved to the file <code>bb-config.php</code> in the root of your WordPress install." 1955 1955 msgstr "" … … 1957 1957 #. Just write the contents to screen 1958 1958 1959 #: bp-forums/bp-forums-admin.php: 691959 #: bp-forums/bp-forums-admin.php:70 1960 1960 msgid "A configuration file could not be created. No problem, but you will need to save the text shown below into a file named <code>bb-config.php</code> in the root directory of your WordPress installation before you can start using the forum functionality." 1961 1961 msgstr "" 1962 1962 1963 #: bp-forums/bp-forums-admin.php:7 51963 #: bp-forums/bp-forums-admin.php:76 1964 1964 msgid "New bbPress Installation" 1965 1965 msgstr "" 1966 1966 1967 #: bp-forums/bp-forums-admin.php:7 61967 #: bp-forums/bp-forums-admin.php:77 1968 1968 msgid "" 1969 1969 "You've decided to set up a new installation of bbPress for forum management in BuddyPress. This is very simple and is usually just a one click\n" … … 1971 1971 msgstr "" 1972 1972 1973 #: bp-forums/bp-forums-admin.php:8 61973 #: bp-forums/bp-forums-admin.php:87 1974 1974 msgid "bbPress files were not found. To install the forums component you must download a copy of bbPress and make sure it is in the folder: \"%s\"" 1975 1975 msgstr "" 1976 1976 1977 #: bp-forums/bp-forums-admin.php:9 01977 #: bp-forums/bp-forums-admin.php:91 1978 1978 msgid "Forums in BuddyPress make use of a bbPress installation to function. You can choose to either let BuddyPress set up a new bbPress install, or use an already existing bbPress install. Please choose one of the options below." 1979 1979 msgstr "" 1980 1980 1981 #: bp-forums/bp-forums-admin.php:9 21981 #: bp-forums/bp-forums-admin.php:93 1982 1982 msgid "Set up a new bbPress installation" 1983 1983 msgstr "" 1984 1984 1985 #: bp-forums/bp-forums-admin.php:9 31985 #: bp-forums/bp-forums-admin.php:94 1986 1986 msgid "Use an existing bbPress installation" 1987 1987 msgstr "" -
tags/1.2.8/bp-loader.php
r4072 r4072 5 5 Description: Social networking in a box. Build a social network for your company, school, sports team or niche community all based on the power and flexibility of WordPress. 6 6 Author: The BuddyPress Community 7 Version: 1.2. 77 Version: 1.2.8 8 8 Author URI: http://buddypress.org/community/members/ 9 Site Wide Only: true10 9 Network: true 11 10 */ 12 11 13 define( 'BP_VERSION', '1.2. 7' );12 define( 'BP_VERSION', '1.2.8' ); 14 13 15 14 /*** -
tags/1.2.8/bp-messages.php
r4072 r4072 97 97 messages_install(); 98 98 } 99 add_action( 'admin_menu', 'messages_check_installed' );99 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'messages_check_installed' ); 100 100 101 101 function messages_setup_nav() { -
tags/1.2.8/bp-xprofile.php
r4072 r4072 152 152 xprofile_install(); 153 153 } 154 add_action( 'admin_menu', 'xprofile_add_admin_menu' );154 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_menu' ); 155 155 156 156 /** -
tags/1.2.8/bp-xprofile/bp-xprofile-cssjs.php
r4072 r4072 2 2 3 3 function xprofile_add_admin_css() { 4 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . '/bp-xprofile/admin/css/admin.css' ); 4 // If this is WP 3.1+ and multisite is enabled, only load on the Network Admin 5 if ( is_multisite() && function_exists( 'is_network_admin' ) && ! is_network_admin() ) 6 return false; 7 8 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) 9 wp_enqueue_style( 'xprofile-admin-css', BP_PLUGIN_URL . '/bp-xprofile/admin/css/admin.css' ); 5 10 } 6 add_action( 'admin_menu', 'xprofile_add_admin_css' );11 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_css' ); 7 12 8 13 function xprofile_add_admin_js() { 9 if ( strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) { 14 // If this is WP 3.1+ and multisite is enabled, only load on the Network Admin 15 if ( is_multisite() && function_exists( 'is_network_admin' ) && ! is_network_admin() ) 16 return false; 17 18 if ( !empty( $_GET['page'] ) && strpos( $_GET['page'], 'bp-profile-setup' ) !== false ) { 10 19 wp_enqueue_script( array( "jquery-ui-sortable" ) ); 11 20 wp_enqueue_script( 'xprofile-admin-js', BP_PLUGIN_URL . '/bp-xprofile/admin/js/admin.js', array( 'jquery' ) ); 12 21 } 13 22 } 14 add_action( 'admin_menu', 'xprofile_add_admin_js', 1 );23 add_action( is_multisite() ? 'network_admin_menu' : 'admin_menu', 'xprofile_add_admin_js', 1 ); 15 24 16 25 ?> -
tags/1.2.8/license.txt
r4072 r4072 3 3 4 4 Copyright (C) 1989, 1991 Free Software Foundation, Inc. 5 675 Mass Ave, Cambridge, MA 02139, USA 5 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 6 6 7 Everyone is permitted to copy and distribute verbatim copies 7 8 of this license document, but changing it is not allowed. -
tags/1.2.8/readme.txt
r4072 r4072 2 2 Contributors: apeatling, johnjamesjacoby, MrMaz, DJPaul, boonebgorges 3 3 Tags: buddypress, social networking, activity, profiles, messaging, friends, groups, forums, microblogging, twitter, facebook, mingle, social, community, networks, networking, cms 4 Requires at least: 3. 05 Tested up to: 3. 0.36 Stable tag: 1.2. 74 Requires at least: 3.1 5 Tested up to: 3.1 6 Stable tag: 1.2.8 7 7 8 8 == Description == … … 62 62 Of course! First install and activate BuddyPress, then download and activate the <a href="http://wordpress.org/extend/plugins/bp-template-pack/">template extension pack</a>. This plugin will run you through the process step-by-step. 63 63 64 Be sure to also try out the default theme bundled with BuddyPress. It provides all the awesome features of a standard WordPress blog, but also integrates the BuddyPress features both seamlessly and beaut fully. It's also really easy to modify with custom header support, widget support and via a <a href="http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/">child theme</a>.64 Be sure to also try out the default theme bundled with BuddyPress. It provides all the awesome features of a standard WordPress blog, but also integrates the BuddyPress features both seamlessly and beautifully. It's also really easy to modify with custom header support, widget support and via a <a href="http://codex.buddypress.org/how-to-guides/building-a-buddypress-child-theme/">child theme</a>. 65 65 66 66 = Will this work on standard WordPress and WordPress MU? = … … 96 96 == Languages == 97 97 98 BuddyPress is available in more than 20 languages. For more information about BuddyPress in your language please select a lang auge site from the list below. Is your language missing? Please send a message to the <a href="http://lists.automattic.com/mailman/listinfo/wp-polyglots">WP-Polygots</a> mailing list and request for your language to be set up.98 BuddyPress is available in more than 20 languages. For more information about BuddyPress in your language please select a language site from the list below. Is your language missing? Please send a message to the <a href="http://lists.automattic.com/mailman/listinfo/wp-polyglots">WP-Polygots</a> mailing list and request for your language to be set up. 99 99 100 100 * <a href="http://br.buddypress.org/">Brasil</a> … … 118 118 * <a href="http://tw.buddypress.org/">正體中文</a> 119 119 120 The <a href="http://i18n.svn.buddypress.org/">BuddyPress lang auge file repository</a> includes some language that have not yet set up a localization site.120 The <a href="http://i18n.svn.buddypress.org/">BuddyPress language file repository</a> includes some language that have not yet set up a localization site. 121 121 122 122 == Upgrade Notice == 123 123 124 = 1.2. 7=125 Fixes over 10 bugs. 124 = 1.2.8 = 125 Compatibility with WordPress 3.1 126 126 127 127 == Changelog ==
Note: See TracChangeset
for help on using the changeset viewer.