Changeset 6026 for trunk/bp-core/admin/bp-core-settings.php
- Timestamp:
- 05/13/2012 04:52:16 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/bp-core/admin/bp-core-settings.php
r5885 r6026 263 263 264 264 <?php 265 }266 267 /**268 * Contextual help for BuddyPress settings page269 *270 * @since BuddyPress (r3119)271 */272 function bp_core_admin_settings_help() {273 274 $bp_contextual_help[] = __('This screen provides access to basic BuddyPress settings.', 'buddypress' );275 $bp_contextual_help[] = __('In the Main Settings you have a number of options:', 'buddypress' );276 $bp_contextual_help[] =277 '<ul>' .278 '<li>' . __( 'You can choose to lock a post after a certain number of minutes. "Locking post editing" will prevent the author from editing some amount of time after saving a post.', 'buddypress' ) . '</li>' .279 '<li>' . __( '"Throttle time" is the amount of time required between posts from a single author. The higher the throttle time, the longer a user will need to wait between posting to the forum.', 'buddypress' ) . '</li>' .280 '<li>' . __( 'You may choose to allow favorites, which are a way for users to save and later return to topics they favor. This is enabled by default.', 'buddypress' ) . '</li>' .281 '<li>' . __( 'You may choose to allow subscriptions, which allows users to subscribe for notifications to topics that interest them. This is enabled by default.', 'buddypress' ) . '</li>' .282 '<li>' . __( 'You may choose to allow "Anonymous Posting", which will allow guest users who do not have accounts on your site to both create topics as well as replies.', 'buddypress' ) . '</li>' .283 '</ul>';284 285 $bp_contextual_help[] = __( 'Per Page settings allow you to control the number of topics and replies will appear on each of those pages. This is comparable to the WordPress "Reading Settings" page, where you can set the number of posts that should show on blog pages and in feeds.', 'buddypress' );286 $bp_contextual_help[] = __( 'The Forums section allows you to control the permalink structure for your forums. Each "base" is what will be displayed after your main URL and right before your permalink slug.', 'buddypress' );287 $bp_contextual_help[] = __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.', 'buddypress' );288 $bp_contextual_help[] = __( '<strong>For more information:</strong>', 'buddypress' );289 $bp_contextual_help[] =290 '<ul>' .291 '<li>' . __( '<a href="http://buddypress.org/documentation/">BuddyPress Documentation</a>', 'buddypress' ) . '</li>' .292 '<li>' . __( '<a href="http://buddypress.org/forums/">BuddyPress Support Forums</a>', 'buddypress' ) . '</li>' .293 '</ul>' ;294 295 // Empty the default $contextual_help var296 $contextual_help = '';297 298 // Wrap each help item in paragraph tags299 foreach( $bp_contextual_help as $paragraph )300 $contextual_help .= '<p>' . $paragraph . '</p>';301 302 // Add help303 add_contextual_help( 'settings_page_buddypress', $contextual_help );304 265 } 305 266
Note: See TracChangeset
for help on using the changeset viewer.