Changeset 3119 for branches/plugin/bbp-admin/bbp-settings.php
- Timestamp:
- 05/08/2011 09:05:44 AM (15 years ago)
- File:
-
- 1 edited
-
branches/plugin/bbp-admin/bbp-settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-settings.php
r3095 r3119 326 326 <?php 327 327 } 328 ?> 328 329 /** 330 * Contextual help for bbPress settings page 331 * 332 * @since bbPress (r3119) 333 */ 334 function bbp_admin_settings_help() { 335 336 $bbp_contextual_help[] = __('This screen provides access to basic bbPress settings.', 'bbpress' ); 337 $bbp_contextual_help[] = __('In the Main Settings you have a number of options:', 'bbpress' ); 338 $bbp_contextual_help[] = 339 '<ul>' . 340 '<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.', 'bbpress' ) . '</li>' . 341 '<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.', 'bbpress' ) . '</li>' . 342 '<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.', 'bbpress' ) . '</li>' . 343 '<li>' . __( 'You may choose to allow subscriptions, which allows users to subscribe for notifications to topics that interest them. This is enabled by default.', 'bbpress' ) . '</li>' . 344 '<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.', 'bbpress' ) . '</li>' . 345 '</ul>'; 346 347 $bbp_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.', 'bbpress' ); 348 $bbp_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.', 'bbpress' ); 349 $bbp_contextual_help[] = __( 'You must click the Save Changes button at the bottom of the screen for new settings to take effect.', 'bbpress' ); 350 $bbp_contextual_help[] = __( '<strong>For more information:</strong>', 'bbpress' ); 351 $bbp_contextual_help[] = 352 '<ul>' . 353 '<li>' . __( '<a href="http://bbpress.org/documentation/">bbPress Documentation</a>', 'bbpress' ) . '</li>' . 354 '<li>' . __( '<a href="http://bbpress.org/forums/">bbPress Support Forums</a>', 'bbpress' ) . '</li>' . 355 '</ul>' ; 356 357 // Empty the default $contextual_help var 358 $contextual_help = ''; 359 360 // Wrap each help item in paragraph tags 361 foreach( $bbp_contextual_help as $paragraph ) 362 $contextual_help .= '<p>' . $paragraph . '</p>'; 363 364 // Add help 365 add_contextual_help( 'settings_page_bbpress', $contextual_help ); 366 } 367 368 ?>
Note: See TracChangeset
for help on using the changeset viewer.