BBP_Replies_Admin::new_help()
Contextual help for Forums reply edit page
Description
Source
File: bp-forums/admin/replies.php
public function new_help() { if ( $this->bail() ) return; $customize_display = '<p>' . __( 'The title field and the big reply editing Area are fixed in place, but you can reposition all the other boxes using drag and drop, and can minimize or expand them by clicking the title bar of each box. Use the Screen Options tab to unhide more boxes (Excerpt, Send Trackbacks, Custom Fields, Discussion, Slug, Author) or to choose a 1- or 2-column layout for this screen.', 'buddyboss' ) . '</p>'; get_current_screen()->add_help_tab( array( 'id' => 'customize-display', 'title' => __( 'Customizing This Display', 'buddyboss' ), 'content' => $customize_display, ) ); get_current_screen()->add_help_tab( array( 'id' => 'title-reply-editor', 'title' => __( 'Title and Reply Editor', 'buddyboss' ), 'content' => '<p>' . __( '<strong>Title</strong> - Enter a title for your reply. After you enter a title, you\'ll see the permalink below, which you can edit.', 'buddyboss' ) . '</p>' . '<p>' . __( '<strong>Reply Editor</strong> - Enter the text for your reply. There are two modes of editing: Visual and HTML. Choose the mode by clicking on the appropriate tab. Visual mode gives you a WYSIWYG editor. Click the last icon in the row to get a second row of controls. The HTML mode allows you to enter raw HTML along with your reply text. You can insert media files by clicking the icons above the reply editor and following the directions. You can go to the distraction-free writing screen via the Fullscreen icon in Visual mode (second to last in the top row) or the Fullscreen button in HTML mode (last in the row). Once there, you can make buttons visible by hovering over the top area. Exit Fullscreen back to the regular reply editor.', 'buddyboss' ) . '</p>' ) ); $publish_box = '<p>' . __( '<strong>Publish</strong> - You can set the terms of publishing your reply in the Publish box. For Status, Visibility, and Publish (immediately), click on the Edit link to reveal more options. Visibility includes options for password-protecting a reply or making it stay at the top of your blog indefinitely (sticky). Publish (immediately) allows you to set a future or past date and time, so you can schedule a reply to be published in the future or backdate a reply.', 'buddyboss' ) . '</p>'; if ( current_theme_supports( 'reply-thumbnails' ) && post_type_supports( 'reply', 'thumbnail' ) ) { $publish_box .= '<p>' . __( '<strong>Featured Image</strong> - This allows you to associate an image with your reply without inserting it. This is usually useful only if your theme makes use of the featured image as a reply thumbnail on the home page, a custom header, etc.', 'buddyboss' ) . '</p>'; } get_current_screen()->add_help_tab( array( 'id' => 'reply-attributes', 'title' => __( 'Reply Attributes', 'buddyboss' ), 'content' => '<p>' . __( 'Select the attributes that your reply should have:', 'buddyboss' ) . '</p>' . '<ul>' . '<li>' . __( '<strong>Forum</strong> dropdown determines the parent forum that the reply belongs to. Select the forum, or leave the default (Use Forum of Discussion) to post the reply in forum of the discussion.', 'buddyboss' ) . '</li>' . '<li>' . __( '<strong>Discussion</strong> determines the parent discussion that the reply belongs to.', 'buddyboss' ) . '</li>' . '<li>' . __( '<strong>Reply To</strong> determines the threading of the reply.', 'buddyboss' ) . '</li>' . '</ul>' ) ); get_current_screen()->add_help_tab( array( 'id' => 'publish-box', 'title' => __( 'Publish Box', 'buddyboss' ), 'content' => $publish_box, ) ); // Help Sidebar get_current_screen()->set_help_sidebar( '<p><strong>' . __( 'For more information:', 'buddyboss' ) . '</strong></p>' . '<p>' . __( '<a href="https://www.buddyboss.com/resources/">Documentation</a>', 'buddyboss' ) . '</p>' ); }
Changelog
Version | Description |
---|---|
bbPress (r3119) | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.