?> "><?php bp_the_profile_field_name(); ?> <?php if (bp_get_the_profile_field_is_required()) { _e('(required)', 'firmasite'); } ?> </label> <div class="col-xs-12 col-md-9"> <?php do_action('bp_' . bp_get_the_profile_field_input_name() . '_errors'); ?> <?php echo firmasite_wp_editor(bp_get_the_profile_field_edit_value(), bp_get_the_profile_field_input_name(), bp_get_the_profile_field_input_name()); ?> <?php /*<textarea rows="5" cols="40" name="<?php bp_the_profile_field_input_name(); ?>" id="<?php bp_the_profile_field_input_name(); ?>" <?php if ( bp_get_the_profile_field_is_required() ) : ?>aria-required="true"<?php endif; ?>><?php bp_the_profile_field_edit_value(); ?></textarea>*/ ?> <?php firmasite_profile_field_custom_change_field_visibility(); ?> </div> </div> <?php } ?> <?php
</div> <?php do_action('bp_after_message_meta'); ?> </div><!-- .message-metadata --> <div class="message-content"> <?php do_action('bp_before_message_reply_box'); ?> <?php echo firmasite_wp_editor("", 'message_content', 'content'); /* <textarea name="content" id="message_content" rows="15" cols="40"></textarea> */ ?> <?php do_action('bp_after_message_reply_box'); ?> <div class="submit" style="margin-top:20px;"> <input type="submit" class="btn btn-primary" name="send" value="<?php esc_attr_e('Send Reply', 'firmasite'); ?> " id="send_reply_button"/>
<?php do_action('bp_before_activity_post_form'); ?> <div class=""> <div id="whats-new-content" class="row"> <div id="whats-new-textarea" class="col-xs-12 col-md-12"> <h5 style="font-weight:600">Post Message</h5> <?php $content = ""; if (isset($_GET['r'])) { $content = "@" . esc_attr($_GET['r']); } echo firmasite_wp_editor($content, 'whats-new'); /* <textarea class="bp-suggestions" name="whats-new" id="whats-new" cols="50" rows="10"><?php if ( isset( $_GET['r'] ) ) : ?>@<?php echo esc_textarea( $_GET['r'] ); ?> <?php endif; ?></textarea> */ ?> </div> <div id="whats-new-options" class="col-xs-12 col-md-12"> <?php /* <div id="whats-new-avatar"> <a href="<?php echo bp_loggedin_user_domain(); ?>"> <?php bp_loggedin_user_avatar( 'width=' . bp_core_avatar_thumb_width() . '&height=' . bp_core_avatar_thumb_height() ); ?> </a> </div> <p class="activity-greeting"><?php if ( bp_is_group() )
public function edit_field_html(array $raw_properties = array()) { // user_id is a special optional parameter that certain other fields // types pass to {@link bp_the_profile_field_options()}. if (isset($raw_properties['user_id'])) { unset($raw_properties['user_id']); } $r = bp_parse_args($raw_properties, array('cols' => 40, 'rows' => 5)); ?> <div class="form-group"> <label class="control-label col-sm-3" for="<?php bp_the_profile_field_input_name(); ?> "> <?php bp_the_profile_field_name(); ?> <?php if (bp_get_the_profile_field_is_required()) { ?> <?php esc_html_e('(required)', 'firmasite'); ?> <?php } ?> </label> <div class="col-sm-9"> <?php do_action(bp_get_the_profile_field_errors_action()); ?> <?php echo firmasite_wp_editor(bp_get_the_profile_field_edit_value(), bp_get_the_profile_field_input_name(), bp_get_the_profile_field_input_name()); ?> <?php /*<textarea <?php echo $this->get_edit_field_html_elements( $r ); ?>><?php bp_the_profile_field_edit_value(); ?></textarea>*/ ?> </div> </div> <?php }
function firmasite_comment_editor($args) { $args['comment_field'] = firmasite_wp_editor(); return $args; }
<legend><?php bbp_is_user_home_edit() ? _e('About Yourself', 'firmasite') : _e('About the user', 'firmasite'); ?> </legend> <?php do_action('bbp_user_edit_before_about'); ?> <div> <label for="description"><?php _e('Biographical Info', 'firmasite'); ?> </label> <?php echo firmasite_wp_editor(bbp_get_displayed_user_field('description', 'edit'), "description"); /*<textarea name="description" id="description" rows="5" cols="30" tabindex="<?php bbp_tab_index(); ?>"><?php bbp_displayed_user_field( 'description', 'edit' ); ?></textarea>*/ ?> </div> <?php do_action('bbp_user_edit_after_about'); ?> </fieldset> <!--<h2 class="entry-title"><?php _e('Account', 'firmasite'); ?> </h2>-->
<label for="group-name"><?php _e('Group Name (required)', 'firmasite'); ?> </label> <input type="text" name="group-name" id="group-name" value="<?php bp_group_name(); ?> " aria-required="true" /> <label for="group-desc"><?php _e('Group Description (required)', 'firmasite'); ?> </label> <?php $content = bp_get_group_description_editable(); echo firmasite_wp_editor($content, 'group-desc'); /* <textarea name="group-desc" id="group-desc" aria-required="true"><?php bp_group_description_editable(); ?></textarea> */ ?> <?php do_action('groups_custom_group_fields_editable'); ?> <p> <label for="group-notifiy-members"><?php _e('Notify group members of changes via email', 'firmasite'); ?> </label> <input type="radio" name="group-notify-members" value="1" /> <?php