Version Description
- Improved posting of preformatted code
- Improved theme compatibility CSS
- Improved BuddyPress Activity Streams integration
Download this release
Release Info
| Developer | johnjamesjacoby |
| Plugin | |
| Version | 2.3.2 |
| Comparing to | |
| See all releases | |
Code changes from version 2.3.1 to 2.3.2
- bbpress.php +3 -3
- includes/admin/forums.php +1 -0
- includes/admin/replies.php +1 -0
- includes/admin/topics.php +1 -0
- includes/common/template-tags.php +11 -1
- includes/common/widgets.php +15 -16
- includes/core/filters.php +15 -4
- includes/extend/buddypress/activity.php +25 -38
- includes/forums/functions.php +10 -8
- includes/forums/template-tags.php +1 -1
- includes/replies/functions.php +10 -8
- includes/topics/functions.php +10 -8
- readme.txt +6 -1
- templates/default/bbpress-functions.php +11 -5
- templates/default/css/bbpress-rtl.css +6 -1
- templates/default/css/bbpress-rtl.min.css +1 -1
- templates/default/css/bbpress.css +5 -0
- templates/default/css/bbpress.min.css +1 -1
bbpress.php
CHANGED
|
@@ -5,7 +5,7 @@
|
|
| 5 |
*
|
| 6 |
* bbPress is forum software with a twist from the creators of WordPress.
|
| 7 |
*
|
| 8 |
-
* $Id: bbpress.php
|
| 9 |
*
|
| 10 |
* @package bbPress
|
| 11 |
* @subpackage Main
|
|
@@ -17,7 +17,7 @@
|
|
| 17 |
* Description: bbPress is forum software with a twist from the creators of WordPress.
|
| 18 |
* Author: The bbPress Community
|
| 19 |
* Author URI: http://bbpress.org
|
| 20 |
-
* Version: 2.3.
|
| 21 |
* Text Domain: bbpress
|
| 22 |
* Domain Path: /languages/
|
| 23 |
*/
|
|
@@ -188,7 +188,7 @@ final class bbPress {
|
|
| 188 |
|
| 189 |
/** Versions **********************************************************/
|
| 190 |
|
| 191 |
-
$this->version = '2.3.
|
| 192 |
$this->db_version = '230';
|
| 193 |
|
| 194 |
/** Paths *************************************************************/
|
| 5 |
*
|
| 6 |
* bbPress is forum software with a twist from the creators of WordPress.
|
| 7 |
*
|
| 8 |
+
* $Id: bbpress.php 4891 2013-05-06 21:42:11Z johnjamesjacoby $
|
| 9 |
*
|
| 10 |
* @package bbPress
|
| 11 |
* @subpackage Main
|
| 17 |
* Description: bbPress is forum software with a twist from the creators of WordPress.
|
| 18 |
* Author: The bbPress Community
|
| 19 |
* Author URI: http://bbpress.org
|
| 20 |
+
* Version: 2.3.2
|
| 21 |
* Text Domain: bbpress
|
| 22 |
* Domain Path: /languages/
|
| 23 |
*/
|
| 188 |
|
| 189 |
/** Versions **********************************************************/
|
| 190 |
|
| 191 |
+
$this->version = '2.3.2';
|
| 192 |
$this->db_version = '230';
|
| 193 |
|
| 194 |
/** Paths *************************************************************/
|
includes/admin/forums.php
CHANGED
|
@@ -76,6 +76,7 @@ class BBP_Forums_Admin {
|
|
| 76 |
|
| 77 |
// Contextual Help
|
| 78 |
add_action( 'load-edit.php', array( $this, 'edit_help' ) );
|
|
|
|
| 79 |
add_action( 'load-post-new.php', array( $this, 'new_help' ) );
|
| 80 |
}
|
| 81 |
|
| 76 |
|
| 77 |
// Contextual Help
|
| 78 |
add_action( 'load-edit.php', array( $this, 'edit_help' ) );
|
| 79 |
+
add_action( 'load-post.php', array( $this, 'new_help' ) );
|
| 80 |
add_action( 'load-post-new.php', array( $this, 'new_help' ) );
|
| 81 |
}
|
| 82 |
|
includes/admin/replies.php
CHANGED
|
@@ -87,6 +87,7 @@ class BBP_Replies_Admin {
|
|
| 87 |
|
| 88 |
// Contextual Help
|
| 89 |
add_action( 'load-edit.php', array( $this, 'edit_help' ) );
|
|
|
|
| 90 |
add_action( 'load-post-new.php', array( $this, 'new_help' ) );
|
| 91 |
}
|
| 92 |
|
| 87 |
|
| 88 |
// Contextual Help
|
| 89 |
add_action( 'load-edit.php', array( $this, 'edit_help' ) );
|
| 90 |
+
add_action( 'load-post.php', array( $this, 'new_help' ) );
|
| 91 |
add_action( 'load-post-new.php', array( $this, 'new_help' ) );
|
| 92 |
}
|
| 93 |
|
includes/admin/topics.php
CHANGED
|
@@ -87,6 +87,7 @@ class BBP_Topics_Admin {
|
|
| 87 |
|
| 88 |
// Contextual Help
|
| 89 |
add_action( 'load-edit.php', array( $this, 'edit_help' ) );
|
|
|
|
| 90 |
add_action( 'load-post-new.php', array( $this, 'new_help' ) );
|
| 91 |
}
|
| 92 |
|
| 87 |
|
| 88 |
// Contextual Help
|
| 89 |
add_action( 'load-edit.php', array( $this, 'edit_help' ) );
|
| 90 |
+
add_action( 'load-post.php', array( $this, 'new_help' ) );
|
| 91 |
add_action( 'load-post-new.php', array( $this, 'new_help' ) );
|
| 92 |
}
|
| 93 |
|
includes/common/template-tags.php
CHANGED
|
@@ -969,7 +969,10 @@ function bbp_body_class( $wp_classes, $custom_classes = false ) {
|
|
| 969 |
// Merge WP classes with bbPress classes and remove any duplicates
|
| 970 |
$classes = array_unique( array_merge( (array) $bbp_classes, (array) $wp_classes ) );
|
| 971 |
|
| 972 |
-
|
|
|
|
|
|
|
|
|
|
| 973 |
}
|
| 974 |
|
| 975 |
/**
|
|
@@ -1683,6 +1686,13 @@ function bbp_the_content( $args = array() ) {
|
|
| 1683 |
'dfw' => false
|
| 1684 |
), 'get_the_content' );
|
| 1685 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1686 |
// Assume we are not editing
|
| 1687 |
$post_content = call_user_func( 'bbp_get_form_' . $r['context'] . '_content' );
|
| 1688 |
|
| 969 |
// Merge WP classes with bbPress classes and remove any duplicates
|
| 970 |
$classes = array_unique( array_merge( (array) $bbp_classes, (array) $wp_classes ) );
|
| 971 |
|
| 972 |
+
// Deprecated filter (do not use)
|
| 973 |
+
$classes = apply_filters( 'bbp_get_the_body_class', $classes, $bbp_classes, $wp_classes, $custom_classes );
|
| 974 |
+
|
| 975 |
+
return apply_filters( 'bbp_body_class', $classes, $bbp_classes, $wp_classes, $custom_classes );
|
| 976 |
}
|
| 977 |
|
| 978 |
/**
|
| 1686 |
'dfw' => false
|
| 1687 |
), 'get_the_content' );
|
| 1688 |
|
| 1689 |
+
// If using tinymce, remove our escaping and trust tinymce
|
| 1690 |
+
if ( bbp_use_wp_editor() && ( true === $r['tinymce'] ) ) {
|
| 1691 |
+
remove_filter( 'bbp_get_form_forum_content', 'esc_textarea' );
|
| 1692 |
+
remove_filter( 'bbp_get_form_topic_content', 'esc_textarea' );
|
| 1693 |
+
remove_filter( 'bbp_get_form_reply_content', 'esc_textarea' );
|
| 1694 |
+
}
|
| 1695 |
+
|
| 1696 |
// Assume we are not editing
|
| 1697 |
$post_content = call_user_func( 'bbp_get_form_' . $r['context'] . '_content' );
|
| 1698 |
|
includes/common/widgets.php
CHANGED
|
@@ -161,8 +161,8 @@ class BBP_Login_Widget extends WP_Widget {
|
|
| 161 |
public function update( $new_instance, $old_instance ) {
|
| 162 |
$instance = $old_instance;
|
| 163 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
| 164 |
-
$instance['register'] =
|
| 165 |
-
$instance['lostpass'] =
|
| 166 |
|
| 167 |
return $instance;
|
| 168 |
}
|
|
@@ -600,7 +600,7 @@ class BBP_Forums_Widget extends WP_Widget {
|
|
| 600 |
public function update( $new_instance, $old_instance ) {
|
| 601 |
$instance = $old_instance;
|
| 602 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
| 603 |
-
$instance['parent_forum'] = $new_instance['parent_forum'];
|
| 604 |
|
| 605 |
// Force to any
|
| 606 |
if ( !empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
|
|
@@ -834,18 +834,17 @@ class BBP_Topics_Widget extends WP_Widget {
|
|
| 834 |
* @param array $old_instance The old instance options
|
| 835 |
*/
|
| 836 |
public function update( $new_instance = array(), $old_instance = array() ) {
|
| 837 |
-
$instance
|
| 838 |
-
$instance['title']
|
| 839 |
-
$instance['order_by']
|
| 840 |
-
$instance['
|
| 841 |
-
$instance['
|
| 842 |
-
$instance['
|
|
|
|
| 843 |
|
| 844 |
// Force to any
|
| 845 |
-
if ( !empty( $instance['parent_forum'] )
|
| 846 |
$instance['parent_forum'] = 'any';
|
| 847 |
-
} else {
|
| 848 |
-
$instance['parent_forum'] = (int) $new_instance['parent_forum'];
|
| 849 |
}
|
| 850 |
|
| 851 |
return $instance;
|
|
@@ -878,8 +877,8 @@ class BBP_Topics_Widget extends WP_Widget {
|
|
| 878 |
<small><?php _e( '"0" to show only root - "any" to show all', 'bbpress' ); ?></small>
|
| 879 |
</p>
|
| 880 |
|
| 881 |
-
<p><label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Show post date:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" <?php checked(
|
| 882 |
-
<p><label for="<?php echo $this->get_field_id( 'show_user' ); ?>"><?php _e( 'Show topic author:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_user' ); ?>" name="<?php echo $this->get_field_name( 'show_user' ); ?>" <?php checked(
|
| 883 |
|
| 884 |
<p>
|
| 885 |
<label for="<?php echo $this->get_field_id( 'order_by' ); ?>"><?php _e( 'Order By:', 'bbpress' ); ?></label>
|
|
@@ -1224,8 +1223,8 @@ class BBP_Replies_Widget extends WP_Widget {
|
|
| 1224 |
|
| 1225 |
<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'bbpress' ); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label></p>
|
| 1226 |
<p><label for="<?php echo $this->get_field_id( 'max_shown' ); ?>"><?php _e( 'Maximum replies to show:', 'bbpress' ); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'max_shown' ); ?>" name="<?php echo $this->get_field_name( 'max_shown' ); ?>" type="text" value="<?php echo esc_attr( $settings['max_shown'] ); ?>" /></label></p>
|
| 1227 |
-
<p><label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Show post date:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" <?php checked(
|
| 1228 |
-
<p><label for="<?php echo $this->get_field_id( 'show_user' ); ?>"><?php _e( 'Show reply author:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_user' ); ?>" name="<?php echo $this->get_field_name( 'show_user' ); ?>" <?php checked(
|
| 1229 |
|
| 1230 |
<?php
|
| 1231 |
}
|
| 161 |
public function update( $new_instance, $old_instance ) {
|
| 162 |
$instance = $old_instance;
|
| 163 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
| 164 |
+
$instance['register'] = esc_url_raw( $new_instance['register'] );
|
| 165 |
+
$instance['lostpass'] = esc_url_raw( $new_instance['lostpass'] );
|
| 166 |
|
| 167 |
return $instance;
|
| 168 |
}
|
| 600 |
public function update( $new_instance, $old_instance ) {
|
| 601 |
$instance = $old_instance;
|
| 602 |
$instance['title'] = strip_tags( $new_instance['title'] );
|
| 603 |
+
$instance['parent_forum'] = sanitize_text_field( $new_instance['parent_forum'] );
|
| 604 |
|
| 605 |
// Force to any
|
| 606 |
if ( !empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
|
| 834 |
* @param array $old_instance The old instance options
|
| 835 |
*/
|
| 836 |
public function update( $new_instance = array(), $old_instance = array() ) {
|
| 837 |
+
$instance = $old_instance;
|
| 838 |
+
$instance['title'] = strip_tags( $new_instance['title'] );
|
| 839 |
+
$instance['order_by'] = strip_tags( $new_instance['order_by'] );
|
| 840 |
+
$instance['parent_forum'] = sanitize_text_field( $new_instance['parent_forum'] );
|
| 841 |
+
$instance['show_date'] = (bool) $new_instance['show_date'];
|
| 842 |
+
$instance['show_user'] = (bool) $new_instance['show_user'];
|
| 843 |
+
$instance['max_shown'] = (int) $new_instance['max_shown'];
|
| 844 |
|
| 845 |
// Force to any
|
| 846 |
+
if ( !empty( $instance['parent_forum'] ) && !is_numeric( $instance['parent_forum'] ) ) {
|
| 847 |
$instance['parent_forum'] = 'any';
|
|
|
|
|
|
|
| 848 |
}
|
| 849 |
|
| 850 |
return $instance;
|
| 877 |
<small><?php _e( '"0" to show only root - "any" to show all', 'bbpress' ); ?></small>
|
| 878 |
</p>
|
| 879 |
|
| 880 |
+
<p><label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Show post date:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" <?php checked( true, $settings['show_date'] ); ?> value="1" /></label></p>
|
| 881 |
+
<p><label for="<?php echo $this->get_field_id( 'show_user' ); ?>"><?php _e( 'Show topic author:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_user' ); ?>" name="<?php echo $this->get_field_name( 'show_user' ); ?>" <?php checked( true, $settings['show_user'] ); ?> value="1" /></label></p>
|
| 882 |
|
| 883 |
<p>
|
| 884 |
<label for="<?php echo $this->get_field_id( 'order_by' ); ?>"><?php _e( 'Order By:', 'bbpress' ); ?></label>
|
| 1223 |
|
| 1224 |
<p><label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title:', 'bbpress' ); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $settings['title'] ); ?>" /></label></p>
|
| 1225 |
<p><label for="<?php echo $this->get_field_id( 'max_shown' ); ?>"><?php _e( 'Maximum replies to show:', 'bbpress' ); ?> <input class="widefat" id="<?php echo $this->get_field_id( 'max_shown' ); ?>" name="<?php echo $this->get_field_name( 'max_shown' ); ?>" type="text" value="<?php echo esc_attr( $settings['max_shown'] ); ?>" /></label></p>
|
| 1226 |
+
<p><label for="<?php echo $this->get_field_id( 'show_date' ); ?>"><?php _e( 'Show post date:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_date' ); ?>" name="<?php echo $this->get_field_name( 'show_date' ); ?>" <?php checked( true, $settings['show_date'] ); ?> value="1" /></label></p>
|
| 1227 |
+
<p><label for="<?php echo $this->get_field_id( 'show_user' ); ?>"><?php _e( 'Show reply author:', 'bbpress' ); ?> <input type="checkbox" id="<?php echo $this->get_field_id( 'show_user' ); ?>" name="<?php echo $this->get_field_name( 'show_user' ); ?>" <?php checked( true, $settings['show_user'] ); ?> value="1" /></label></p>
|
| 1228 |
|
| 1229 |
<?php
|
| 1230 |
}
|
includes/core/filters.php
CHANGED
|
@@ -103,6 +103,10 @@ add_filter( 'bbp_new_topic_pre_content', 'bbp_encode_bad', 10 );
|
|
| 103 |
add_filter( 'bbp_new_topic_pre_content', 'bbp_code_trick', 20 );
|
| 104 |
add_filter( 'bbp_new_topic_pre_content', 'bbp_filter_kses', 30 );
|
| 105 |
add_filter( 'bbp_new_topic_pre_content', 'balanceTags', 40 );
|
|
|
|
|
|
|
|
|
|
|
|
|
| 106 |
add_filter( 'bbp_edit_reply_pre_content', 'bbp_encode_bad', 10 );
|
| 107 |
add_filter( 'bbp_edit_reply_pre_content', 'bbp_code_trick', 20 );
|
| 108 |
add_filter( 'bbp_edit_reply_pre_content', 'bbp_filter_kses', 30 );
|
|
@@ -111,6 +115,10 @@ add_filter( 'bbp_edit_topic_pre_content', 'bbp_encode_bad', 10 );
|
|
| 111 |
add_filter( 'bbp_edit_topic_pre_content', 'bbp_code_trick', 20 );
|
| 112 |
add_filter( 'bbp_edit_topic_pre_content', 'bbp_filter_kses', 30 );
|
| 113 |
add_filter( 'bbp_edit_topic_pre_content', 'balanceTags', 40 );
|
|
|
|
|
|
|
|
|
|
|
|
|
| 114 |
|
| 115 |
// No follow and stripslashes on user profile links
|
| 116 |
add_filter( 'bbp_get_reply_author_link', 'bbp_rel_nofollow' );
|
|
@@ -149,12 +157,15 @@ add_filter( 'bbp_get_topic_content', 'wpautop', 40 );
|
|
| 149 |
add_filter( 'bbp_get_topic_content', 'bbp_rel_nofollow', 50 );
|
| 150 |
|
| 151 |
// Form textarea output - undo the code-trick done pre-save, and sanitize
|
| 152 |
-
add_filter( '
|
| 153 |
-
add_filter( '
|
| 154 |
-
add_filter( '
|
| 155 |
add_filter( 'bbp_get_form_topic_content', 'bbp_code_trick_reverse' );
|
| 156 |
-
add_filter( 'bbp_get_form_topic_content', '
|
| 157 |
add_filter( 'bbp_get_form_topic_content', 'trim' );
|
|
|
|
|
|
|
|
|
|
| 158 |
|
| 159 |
// Add number format filter to functions requiring numeric output
|
| 160 |
add_filter( 'bbp_get_user_topic_count', 'bbp_number_format', 10 );
|
| 103 |
add_filter( 'bbp_new_topic_pre_content', 'bbp_code_trick', 20 );
|
| 104 |
add_filter( 'bbp_new_topic_pre_content', 'bbp_filter_kses', 30 );
|
| 105 |
add_filter( 'bbp_new_topic_pre_content', 'balanceTags', 40 );
|
| 106 |
+
add_filter( 'bbp_new_forum_pre_content', 'bbp_encode_bad', 10 );
|
| 107 |
+
add_filter( 'bbp_new_forum_pre_content', 'bbp_code_trick', 20 );
|
| 108 |
+
add_filter( 'bbp_new_forum_pre_content', 'bbp_filter_kses', 30 );
|
| 109 |
+
add_filter( 'bbp_new_forum_pre_content', 'balanceTags', 40 );
|
| 110 |
add_filter( 'bbp_edit_reply_pre_content', 'bbp_encode_bad', 10 );
|
| 111 |
add_filter( 'bbp_edit_reply_pre_content', 'bbp_code_trick', 20 );
|
| 112 |
add_filter( 'bbp_edit_reply_pre_content', 'bbp_filter_kses', 30 );
|
| 115 |
add_filter( 'bbp_edit_topic_pre_content', 'bbp_code_trick', 20 );
|
| 116 |
add_filter( 'bbp_edit_topic_pre_content', 'bbp_filter_kses', 30 );
|
| 117 |
add_filter( 'bbp_edit_topic_pre_content', 'balanceTags', 40 );
|
| 118 |
+
add_filter( 'bbp_edit_forum_pre_content', 'bbp_encode_bad', 10 );
|
| 119 |
+
add_filter( 'bbp_edit_forum_pre_content', 'bbp_code_trick', 20 );
|
| 120 |
+
add_filter( 'bbp_edit_forum_pre_content', 'bbp_filter_kses', 30 );
|
| 121 |
+
add_filter( 'bbp_edit_forum_pre_content', 'balanceTags', 40 );
|
| 122 |
|
| 123 |
// No follow and stripslashes on user profile links
|
| 124 |
add_filter( 'bbp_get_reply_author_link', 'bbp_rel_nofollow' );
|
| 157 |
add_filter( 'bbp_get_topic_content', 'bbp_rel_nofollow', 50 );
|
| 158 |
|
| 159 |
// Form textarea output - undo the code-trick done pre-save, and sanitize
|
| 160 |
+
add_filter( 'bbp_get_form_forum_content', 'bbp_code_trick_reverse' );
|
| 161 |
+
add_filter( 'bbp_get_form_forum_content', 'esc_textarea' );
|
| 162 |
+
add_filter( 'bbp_get_form_forum_content', 'trim' );
|
| 163 |
add_filter( 'bbp_get_form_topic_content', 'bbp_code_trick_reverse' );
|
| 164 |
+
add_filter( 'bbp_get_form_topic_content', 'esc_textarea' );
|
| 165 |
add_filter( 'bbp_get_form_topic_content', 'trim' );
|
| 166 |
+
add_filter( 'bbp_get_form_reply_content', 'bbp_code_trick_reverse' );
|
| 167 |
+
add_filter( 'bbp_get_form_reply_content', 'esc_textarea' );
|
| 168 |
+
add_filter( 'bbp_get_form_reply_content', 'trim' );
|
| 169 |
|
| 170 |
// Add number format filter to functions requiring numeric output
|
| 171 |
add_filter( 'bbp_get_user_topic_count', 'bbp_number_format', 10 );
|
includes/extend/buddypress/activity.php
CHANGED
|
@@ -103,7 +103,7 @@ class BBP_BuddyPress_Activity {
|
|
| 103 |
private function setup_globals() {
|
| 104 |
|
| 105 |
// The name of the BuddyPress component, used in activity streams
|
| 106 |
-
$this->component
|
| 107 |
|
| 108 |
// Forums
|
| 109 |
$this->forum_create = 'bbp_forum_create';
|
|
@@ -137,8 +137,8 @@ class BBP_BuddyPress_Activity {
|
|
| 137 |
add_action( 'bbp_new_reply', array( $this, 'reply_create' ), 10, 5 );
|
| 138 |
|
| 139 |
// Hook into topic and reply status changes
|
| 140 |
-
add_action( '
|
| 141 |
-
add_action( '
|
| 142 |
|
| 143 |
// Hook into topic and reply deletion
|
| 144 |
add_action( 'bbp_delete_topic', array( $this, 'topic_delete' ), 10, 1 );
|
|
@@ -164,8 +164,6 @@ class BBP_BuddyPress_Activity {
|
|
| 164 |
*/
|
| 165 |
private function setup_filters() {
|
| 166 |
|
| 167 |
-
/** Activity **********************************************************/
|
| 168 |
-
|
| 169 |
// Obey BuddyPress commenting rules
|
| 170 |
add_filter( 'bp_activity_can_comment', array( $this, 'activity_can_comment' ) );
|
| 171 |
|
|
@@ -210,7 +208,7 @@ class BBP_BuddyPress_Activity {
|
|
| 210 |
* @uses bp_activity_add()
|
| 211 |
* @return type Activity ID if successful, false if not
|
| 212 |
*/
|
| 213 |
-
private function record_activity( $args =
|
| 214 |
|
| 215 |
// Default activity args
|
| 216 |
$activity = bbp_parse_args( $args, array(
|
|
@@ -246,14 +244,13 @@ class BBP_BuddyPress_Activity {
|
|
| 246 |
public function delete_activity( $args = '' ) {
|
| 247 |
|
| 248 |
// Default activity args
|
| 249 |
-
$
|
| 250 |
'item_id' => false,
|
| 251 |
'component' => $this->component,
|
| 252 |
'type' => false,
|
| 253 |
'user_id' => false,
|
| 254 |
'secondary_item_id' => false
|
| 255 |
-
);
|
| 256 |
-
$activity = bbp_parse_args( $args, $defaults, 'delete_activity' );
|
| 257 |
|
| 258 |
// Delete the activity
|
| 259 |
bp_activity_delete_by_item_id( $activity );
|
|
@@ -278,7 +275,7 @@ class BBP_BuddyPress_Activity {
|
|
| 278 |
|
| 279 |
// Get the activity stream item, bail if it doesn't exist
|
| 280 |
$existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
|
| 281 |
-
if ( empty( $existing['total'] ) || ( 1
|
| 282 |
return null;
|
| 283 |
|
| 284 |
// Return the activity ID since we've verified the connection
|
|
@@ -382,7 +379,7 @@ class BBP_BuddyPress_Activity {
|
|
| 382 |
* @uses apply_filters()
|
| 383 |
* @return Bail early if topic is by anonymous user
|
| 384 |
*/
|
| 385 |
-
public function topic_create( $topic_id, $forum_id, $anonymous_data, $topic_author_id ) {
|
| 386 |
|
| 387 |
// Bail early if topic is by anonymous user
|
| 388 |
if ( !empty( $anonymous_data ) )
|
|
@@ -393,7 +390,7 @@ class BBP_BuddyPress_Activity {
|
|
| 393 |
return;
|
| 394 |
|
| 395 |
// Validate activity data
|
| 396 |
-
$user_id = $topic_author_id;
|
| 397 |
$topic_id = bbp_get_topic_id( $topic_id );
|
| 398 |
$forum_id = bbp_get_forum_id( $forum_id );
|
| 399 |
|
|
@@ -406,7 +403,7 @@ class BBP_BuddyPress_Activity {
|
|
| 406 |
return;
|
| 407 |
|
| 408 |
// User link for topic author
|
| 409 |
-
$user_link
|
| 410 |
|
| 411 |
// Topic
|
| 412 |
$topic_permalink = bbp_get_topic_permalink( $topic_id );
|
|
@@ -424,8 +421,8 @@ class BBP_BuddyPress_Activity {
|
|
| 424 |
$activity_action = apply_filters( 'bbp_activity_topic_create', $activity_text, $user_id, $topic_id, $forum_id );
|
| 425 |
$activity_content = apply_filters( 'bbp_activity_topic_create_excerpt', $topic_content );
|
| 426 |
|
| 427 |
-
// Compile the activity stream results
|
| 428 |
-
$
|
| 429 |
'id' => $this->get_activity_id( $topic_id ),
|
| 430 |
'user_id' => $user_id,
|
| 431 |
'action' => $activity_action,
|
|
@@ -436,10 +433,7 @@ class BBP_BuddyPress_Activity {
|
|
| 436 |
'secondary_item_id' => $forum_id,
|
| 437 |
'recorded_time' => get_post_time( 'Y-m-d H:i:s', true, $topic_id ),
|
| 438 |
'hide_sitewide' => ! bbp_is_forum_public( $forum_id, false )
|
| 439 |
-
);
|
| 440 |
-
|
| 441 |
-
// Record the activity
|
| 442 |
-
$activity_id = $this->record_activity( $activity );
|
| 443 |
|
| 444 |
// Add the activity entry ID as a meta value to the topic
|
| 445 |
if ( !empty( $activity_id ) ) {
|
|
@@ -453,7 +447,7 @@ class BBP_BuddyPress_Activity {
|
|
| 453 |
* @param int $topic_id
|
| 454 |
* @uses bp_activity_delete()
|
| 455 |
*/
|
| 456 |
-
public function topic_delete( $topic_id ) {
|
| 457 |
|
| 458 |
// Get activity ID, bail if it doesn't exist
|
| 459 |
if ( $activity_id = $this->get_activity_id( $topic_id ) )
|
|
@@ -477,10 +471,10 @@ class BBP_BuddyPress_Activity {
|
|
| 477 |
* @uses bbp_get_topic_author_id()
|
| 478 |
* @return Bail early if not a topic, or topic is by anonymous user
|
| 479 |
*/
|
| 480 |
-
public function topic_update( $topic_id, $post ) {
|
| 481 |
|
| 482 |
// Bail early if not a topic
|
| 483 |
-
if ( get_post_type( $post )
|
| 484 |
return;
|
| 485 |
|
| 486 |
$topic_id = bbp_get_topic_id( $topic_id );
|
|
@@ -489,8 +483,6 @@ class BBP_BuddyPress_Activity {
|
|
| 489 |
if ( bbp_is_topic_anonymous( $topic_id ) )
|
| 490 |
return;
|
| 491 |
|
| 492 |
-
$anonymous_data = array();
|
| 493 |
-
|
| 494 |
// Action based on new status
|
| 495 |
if ( in_array( $post->post_status, array( bbp_get_public_status_id(), bbp_get_closed_status_id() ) ) ) {
|
| 496 |
|
|
@@ -498,7 +490,7 @@ class BBP_BuddyPress_Activity {
|
|
| 498 |
$forum_id = bbp_get_topic_forum_id( $topic_id );
|
| 499 |
$topic_author_id = bbp_get_topic_author_id( $topic_id );
|
| 500 |
|
| 501 |
-
$this->topic_create( $topic_id, $forum_id,
|
| 502 |
} else {
|
| 503 |
$this->topic_delete( $topic_id );
|
| 504 |
}
|
|
@@ -528,7 +520,7 @@ class BBP_BuddyPress_Activity {
|
|
| 528 |
* @uses apply_filters()
|
| 529 |
* @return Bail early if topic is by anonywous user
|
| 530 |
*/
|
| 531 |
-
public function reply_create( $reply_id, $topic_id, $forum_id, $anonymous_data, $reply_author_id ) {
|
| 532 |
|
| 533 |
// Do not log activity of anonymous users
|
| 534 |
if ( !empty( $anonymous_data ) )
|
|
@@ -539,7 +531,7 @@ class BBP_BuddyPress_Activity {
|
|
| 539 |
return;
|
| 540 |
|
| 541 |
// Validate activity data
|
| 542 |
-
$user_id = $reply_author_id;
|
| 543 |
$reply_id = bbp_get_reply_id( $reply_id );
|
| 544 |
$topic_id = bbp_get_topic_id( $topic_id );
|
| 545 |
$forum_id = bbp_get_forum_id( $forum_id );
|
|
@@ -553,7 +545,7 @@ class BBP_BuddyPress_Activity {
|
|
| 553 |
return;
|
| 554 |
|
| 555 |
// Setup links for activity stream
|
| 556 |
-
$user_link
|
| 557 |
|
| 558 |
// Reply
|
| 559 |
$reply_url = bbp_get_reply_url( $reply_id );
|
|
@@ -574,8 +566,8 @@ class BBP_BuddyPress_Activity {
|
|
| 574 |
$activity_action = apply_filters( 'bbp_activity_reply_create', $activity_text, $user_id, $reply_id, $topic_id );
|
| 575 |
$activity_content = apply_filters( 'bbp_activity_reply_create_excerpt', $reply_content );
|
| 576 |
|
| 577 |
-
// Compile the activity stream results
|
| 578 |
-
$
|
| 579 |
'id' => $this->get_activity_id( $reply_id ),
|
| 580 |
'user_id' => $user_id,
|
| 581 |
'action' => $activity_action,
|
|
@@ -586,10 +578,7 @@ class BBP_BuddyPress_Activity {
|
|
| 586 |
'secondary_item_id' => $topic_id,
|
| 587 |
'recorded_time' => get_post_time( 'Y-m-d H:i:s', true, $reply_id ),
|
| 588 |
'hide_sitewide' => ! bbp_is_forum_public( $forum_id, false )
|
| 589 |
-
);
|
| 590 |
-
|
| 591 |
-
// Record the activity
|
| 592 |
-
$activity_id = $this->record_activity( $activity );
|
| 593 |
|
| 594 |
// Add the activity entry ID as a meta value to the reply
|
| 595 |
if ( !empty( $activity_id ) ) {
|
|
@@ -632,7 +621,7 @@ class BBP_BuddyPress_Activity {
|
|
| 632 |
public function reply_update( $reply_id, $post ) {
|
| 633 |
|
| 634 |
// Bail early if not a reply
|
| 635 |
-
if ( get_post_type( $post )
|
| 636 |
return;
|
| 637 |
|
| 638 |
$reply_id = bbp_get_reply_id( $reply_id );
|
|
@@ -641,8 +630,6 @@ class BBP_BuddyPress_Activity {
|
|
| 641 |
if ( bbp_is_reply_anonymous( $reply_id ) )
|
| 642 |
return;
|
| 643 |
|
| 644 |
-
$anonymous_data = array();
|
| 645 |
-
|
| 646 |
// Action based on new status
|
| 647 |
if ( $post->post_status == bbp_get_public_status_id() ) {
|
| 648 |
|
|
@@ -651,7 +638,7 @@ class BBP_BuddyPress_Activity {
|
|
| 651 |
$forum_id = bbp_get_reply_forum_id( $reply_id );
|
| 652 |
$reply_author_id = bbp_get_reply_author_id( $reply_id );
|
| 653 |
|
| 654 |
-
$this->reply_create( $reply_id, $topic_id, $forum_id,
|
| 655 |
} else {
|
| 656 |
$this->reply_delete( $reply_id );
|
| 657 |
}
|
| 103 |
private function setup_globals() {
|
| 104 |
|
| 105 |
// The name of the BuddyPress component, used in activity streams
|
| 106 |
+
$this->component = 'bbpress';
|
| 107 |
|
| 108 |
// Forums
|
| 109 |
$this->forum_create = 'bbp_forum_create';
|
| 137 |
add_action( 'bbp_new_reply', array( $this, 'reply_create' ), 10, 5 );
|
| 138 |
|
| 139 |
// Hook into topic and reply status changes
|
| 140 |
+
add_action( 'edit_post', array( $this, 'topic_update' ), 10, 2 );
|
| 141 |
+
add_action( 'edit_post', array( $this, 'reply_update' ), 10, 2 );
|
| 142 |
|
| 143 |
// Hook into topic and reply deletion
|
| 144 |
add_action( 'bbp_delete_topic', array( $this, 'topic_delete' ), 10, 1 );
|
| 164 |
*/
|
| 165 |
private function setup_filters() {
|
| 166 |
|
|
|
|
|
|
|
| 167 |
// Obey BuddyPress commenting rules
|
| 168 |
add_filter( 'bp_activity_can_comment', array( $this, 'activity_can_comment' ) );
|
| 169 |
|
| 208 |
* @uses bp_activity_add()
|
| 209 |
* @return type Activity ID if successful, false if not
|
| 210 |
*/
|
| 211 |
+
private function record_activity( $args = array() ) {
|
| 212 |
|
| 213 |
// Default activity args
|
| 214 |
$activity = bbp_parse_args( $args, array(
|
| 244 |
public function delete_activity( $args = '' ) {
|
| 245 |
|
| 246 |
// Default activity args
|
| 247 |
+
$activity = bbp_parse_args( $args, array(
|
| 248 |
'item_id' => false,
|
| 249 |
'component' => $this->component,
|
| 250 |
'type' => false,
|
| 251 |
'user_id' => false,
|
| 252 |
'secondary_item_id' => false
|
| 253 |
+
), 'delete_activity' );
|
|
|
|
| 254 |
|
| 255 |
// Delete the activity
|
| 256 |
bp_activity_delete_by_item_id( $activity );
|
| 275 |
|
| 276 |
// Get the activity stream item, bail if it doesn't exist
|
| 277 |
$existing = bp_activity_get_specific( array( 'activity_ids' => $activity_id, 'show_hidden' => true, 'spam' => 'all', ) );
|
| 278 |
+
if ( empty( $existing['total'] ) || ( 1 !== (int) $existing['total'] ) )
|
| 279 |
return null;
|
| 280 |
|
| 281 |
// Return the activity ID since we've verified the connection
|
| 379 |
* @uses apply_filters()
|
| 380 |
* @return Bail early if topic is by anonymous user
|
| 381 |
*/
|
| 382 |
+
public function topic_create( $topic_id = 0, $forum_id = 0, $anonymous_data = array(), $topic_author_id = 0 ) {
|
| 383 |
|
| 384 |
// Bail early if topic is by anonymous user
|
| 385 |
if ( !empty( $anonymous_data ) )
|
| 390 |
return;
|
| 391 |
|
| 392 |
// Validate activity data
|
| 393 |
+
$user_id = (int) $topic_author_id;
|
| 394 |
$topic_id = bbp_get_topic_id( $topic_id );
|
| 395 |
$forum_id = bbp_get_forum_id( $forum_id );
|
| 396 |
|
| 403 |
return;
|
| 404 |
|
| 405 |
// User link for topic author
|
| 406 |
+
$user_link = bbp_get_user_profile_link( $user_id );
|
| 407 |
|
| 408 |
// Topic
|
| 409 |
$topic_permalink = bbp_get_topic_permalink( $topic_id );
|
| 421 |
$activity_action = apply_filters( 'bbp_activity_topic_create', $activity_text, $user_id, $topic_id, $forum_id );
|
| 422 |
$activity_content = apply_filters( 'bbp_activity_topic_create_excerpt', $topic_content );
|
| 423 |
|
| 424 |
+
// Compile and record the activity stream results
|
| 425 |
+
$activity_id = $this->record_activity( array(
|
| 426 |
'id' => $this->get_activity_id( $topic_id ),
|
| 427 |
'user_id' => $user_id,
|
| 428 |
'action' => $activity_action,
|
| 433 |
'secondary_item_id' => $forum_id,
|
| 434 |
'recorded_time' => get_post_time( 'Y-m-d H:i:s', true, $topic_id ),
|
| 435 |
'hide_sitewide' => ! bbp_is_forum_public( $forum_id, false )
|
| 436 |
+
) );
|
|
|
|
|
|
|
|
|
|
| 437 |
|
| 438 |
// Add the activity entry ID as a meta value to the topic
|
| 439 |
if ( !empty( $activity_id ) ) {
|
| 447 |
* @param int $topic_id
|
| 448 |
* @uses bp_activity_delete()
|
| 449 |
*/
|
| 450 |
+
public function topic_delete( $topic_id = 0 ) {
|
| 451 |
|
| 452 |
// Get activity ID, bail if it doesn't exist
|
| 453 |
if ( $activity_id = $this->get_activity_id( $topic_id ) )
|
| 471 |
* @uses bbp_get_topic_author_id()
|
| 472 |
* @return Bail early if not a topic, or topic is by anonymous user
|
| 473 |
*/
|
| 474 |
+
public function topic_update( $topic_id = 0, $post = null ) {
|
| 475 |
|
| 476 |
// Bail early if not a topic
|
| 477 |
+
if ( get_post_type( $post ) !== bbp_get_topic_post_type() )
|
| 478 |
return;
|
| 479 |
|
| 480 |
$topic_id = bbp_get_topic_id( $topic_id );
|
| 483 |
if ( bbp_is_topic_anonymous( $topic_id ) )
|
| 484 |
return;
|
| 485 |
|
|
|
|
|
|
|
| 486 |
// Action based on new status
|
| 487 |
if ( in_array( $post->post_status, array( bbp_get_public_status_id(), bbp_get_closed_status_id() ) ) ) {
|
| 488 |
|
| 490 |
$forum_id = bbp_get_topic_forum_id( $topic_id );
|
| 491 |
$topic_author_id = bbp_get_topic_author_id( $topic_id );
|
| 492 |
|
| 493 |
+
$this->topic_create( $topic_id, $forum_id, array(), $topic_author_id );
|
| 494 |
} else {
|
| 495 |
$this->topic_delete( $topic_id );
|
| 496 |
}
|
| 520 |
* @uses apply_filters()
|
| 521 |
* @return Bail early if topic is by anonywous user
|
| 522 |
*/
|
| 523 |
+
public function reply_create( $reply_id = 0, $topic_id = 0, $forum_id = 0, $anonymous_data = array(), $reply_author_id = 0 ) {
|
| 524 |
|
| 525 |
// Do not log activity of anonymous users
|
| 526 |
if ( !empty( $anonymous_data ) )
|
| 531 |
return;
|
| 532 |
|
| 533 |
// Validate activity data
|
| 534 |
+
$user_id = (int) $reply_author_id;
|
| 535 |
$reply_id = bbp_get_reply_id( $reply_id );
|
| 536 |
$topic_id = bbp_get_topic_id( $topic_id );
|
| 537 |
$forum_id = bbp_get_forum_id( $forum_id );
|
| 545 |
return;
|
| 546 |
|
| 547 |
// Setup links for activity stream
|
| 548 |
+
$user_link = bbp_get_user_profile_link( $user_id );
|
| 549 |
|
| 550 |
// Reply
|
| 551 |
$reply_url = bbp_get_reply_url( $reply_id );
|
| 566 |
$activity_action = apply_filters( 'bbp_activity_reply_create', $activity_text, $user_id, $reply_id, $topic_id );
|
| 567 |
$activity_content = apply_filters( 'bbp_activity_reply_create_excerpt', $reply_content );
|
| 568 |
|
| 569 |
+
// Compile and record the activity stream results
|
| 570 |
+
$activity_id = $this->record_activity( array(
|
| 571 |
'id' => $this->get_activity_id( $reply_id ),
|
| 572 |
'user_id' => $user_id,
|
| 573 |
'action' => $activity_action,
|
| 578 |
'secondary_item_id' => $topic_id,
|
| 579 |
'recorded_time' => get_post_time( 'Y-m-d H:i:s', true, $reply_id ),
|
| 580 |
'hide_sitewide' => ! bbp_is_forum_public( $forum_id, false )
|
| 581 |
+
) );
|
|
|
|
|
|
|
|
|
|
| 582 |
|
| 583 |
// Add the activity entry ID as a meta value to the reply
|
| 584 |
if ( !empty( $activity_id ) ) {
|
| 621 |
public function reply_update( $reply_id, $post ) {
|
| 622 |
|
| 623 |
// Bail early if not a reply
|
| 624 |
+
if ( get_post_type( $post ) !== bbp_get_reply_post_type() )
|
| 625 |
return;
|
| 626 |
|
| 627 |
$reply_id = bbp_get_reply_id( $reply_id );
|
| 630 |
if ( bbp_is_reply_anonymous( $reply_id ) )
|
| 631 |
return;
|
| 632 |
|
|
|
|
|
|
|
| 633 |
// Action based on new status
|
| 634 |
if ( $post->post_status == bbp_get_public_status_id() ) {
|
| 635 |
|
| 638 |
$forum_id = bbp_get_reply_forum_id( $reply_id );
|
| 639 |
$reply_author_id = bbp_get_reply_author_id( $reply_id );
|
| 640 |
|
| 641 |
+
$this->reply_create( $reply_id, $topic_id, $forum_id, array(), $reply_author_id );
|
| 642 |
} else {
|
| 643 |
$this->reply_delete( $reply_id );
|
| 644 |
}
|
includes/forums/functions.php
CHANGED
|
@@ -93,7 +93,7 @@ function bbp_insert_forum( $forum_data = array(), $forum_meta = array() ) {
|
|
| 93 |
* @uses bbp_check_for_flood() To check for flooding
|
| 94 |
* @uses bbp_check_for_duplicate() To check for duplicates
|
| 95 |
* @uses bbp_get_forum_post_type() To get the forum post type
|
| 96 |
-
* @uses remove_filter() To remove
|
| 97 |
* @uses apply_filters() Calls 'bbp_new_forum_pre_title' with the content
|
| 98 |
* @uses apply_filters() Calls 'bbp_new_forum_pre_content' with the content
|
| 99 |
* @uses bbPress::errors::get_error_codes() To get the {@link WP_Error} errors
|
|
@@ -135,10 +135,11 @@ function bbp_new_forum_handler( $action = '' ) {
|
|
| 135 |
// Forum author is current user
|
| 136 |
$forum_author = bbp_get_current_user_id();
|
| 137 |
|
| 138 |
-
// Remove
|
| 139 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_forum'] ) && wp_create_nonce( 'bbp-unfiltered-html-forum_new' ) == $_POST['_bbp_unfiltered_html_forum'] ) {
|
| 140 |
-
remove_filter( 'bbp_new_forum_pre_title', 'wp_filter_kses'
|
| 141 |
-
remove_filter( 'bbp_new_forum_pre_content', '
|
|
|
|
| 142 |
}
|
| 143 |
|
| 144 |
/** Forum Title ***********************************************************/
|
|
@@ -347,7 +348,7 @@ function bbp_new_forum_handler( $action = '' ) {
|
|
| 347 |
* @uses bbp_is_forum_category() To check if the forum is a category
|
| 348 |
* @uses bbp_is_forum_closed() To check if the forum is closed
|
| 349 |
* @uses bbp_is_forum_private() To check if the forum is private
|
| 350 |
-
* @uses remove_filter() To remove
|
| 351 |
* @uses apply_filters() Calls 'bbp_edit_forum_pre_title' with the title and
|
| 352 |
* forum id
|
| 353 |
* @uses apply_filters() Calls 'bbp_edit_forum_pre_content' with the content
|
|
@@ -405,10 +406,11 @@ function bbp_edit_forum_handler( $action = '' ) {
|
|
| 405 |
return;
|
| 406 |
}
|
| 407 |
|
| 408 |
-
// Remove
|
| 409 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_forum'] ) && ( wp_create_nonce( 'bbp-unfiltered-html-forum_' . $forum_id ) == $_POST['_bbp_unfiltered_html_forum'] ) ) {
|
| 410 |
-
remove_filter( 'bbp_edit_forum_pre_title', 'wp_filter_kses'
|
| 411 |
-
remove_filter( 'bbp_edit_forum_pre_content', '
|
|
|
|
| 412 |
}
|
| 413 |
|
| 414 |
/** Forum Parent ***********************************************************/
|
| 93 |
* @uses bbp_check_for_flood() To check for flooding
|
| 94 |
* @uses bbp_check_for_duplicate() To check for duplicates
|
| 95 |
* @uses bbp_get_forum_post_type() To get the forum post type
|
| 96 |
+
* @uses remove_filter() To remove kses filters if needed
|
| 97 |
* @uses apply_filters() Calls 'bbp_new_forum_pre_title' with the content
|
| 98 |
* @uses apply_filters() Calls 'bbp_new_forum_pre_content' with the content
|
| 99 |
* @uses bbPress::errors::get_error_codes() To get the {@link WP_Error} errors
|
| 135 |
// Forum author is current user
|
| 136 |
$forum_author = bbp_get_current_user_id();
|
| 137 |
|
| 138 |
+
// Remove kses filters from title and content for capable users and if the nonce is verified
|
| 139 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_forum'] ) && wp_create_nonce( 'bbp-unfiltered-html-forum_new' ) == $_POST['_bbp_unfiltered_html_forum'] ) {
|
| 140 |
+
remove_filter( 'bbp_new_forum_pre_title', 'wp_filter_kses' );
|
| 141 |
+
remove_filter( 'bbp_new_forum_pre_content', 'bbp_encode_bad', 10 );
|
| 142 |
+
remove_filter( 'bbp_new_forum_pre_content', 'bbp_filter_kses', 30 );
|
| 143 |
}
|
| 144 |
|
| 145 |
/** Forum Title ***********************************************************/
|
| 348 |
* @uses bbp_is_forum_category() To check if the forum is a category
|
| 349 |
* @uses bbp_is_forum_closed() To check if the forum is closed
|
| 350 |
* @uses bbp_is_forum_private() To check if the forum is private
|
| 351 |
+
* @uses remove_filter() To remove kses filters if needed
|
| 352 |
* @uses apply_filters() Calls 'bbp_edit_forum_pre_title' with the title and
|
| 353 |
* forum id
|
| 354 |
* @uses apply_filters() Calls 'bbp_edit_forum_pre_content' with the content
|
| 406 |
return;
|
| 407 |
}
|
| 408 |
|
| 409 |
+
// Remove kses filters from title and content for capable users and if the nonce is verified
|
| 410 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_forum'] ) && ( wp_create_nonce( 'bbp-unfiltered-html-forum_' . $forum_id ) == $_POST['_bbp_unfiltered_html_forum'] ) ) {
|
| 411 |
+
remove_filter( 'bbp_edit_forum_pre_title', 'wp_filter_kses' );
|
| 412 |
+
remove_filter( 'bbp_edit_forum_pre_content', 'bbp_encode_bad', 10 );
|
| 413 |
+
remove_filter( 'bbp_edit_forum_pre_content', 'bbp_filter_kses', 30 );
|
| 414 |
}
|
| 415 |
|
| 416 |
/** Forum Parent ***********************************************************/
|
includes/forums/template-tags.php
CHANGED
|
@@ -1991,7 +1991,7 @@ function bbp_form_forum_content() {
|
|
| 1991 |
$forum_content = '';
|
| 1992 |
}
|
| 1993 |
|
| 1994 |
-
return apply_filters( 'bbp_get_form_forum_content',
|
| 1995 |
}
|
| 1996 |
|
| 1997 |
/**
|
| 1991 |
$forum_content = '';
|
| 1992 |
}
|
| 1993 |
|
| 1994 |
+
return apply_filters( 'bbp_get_form_forum_content', $forum_content );
|
| 1995 |
}
|
| 1996 |
|
| 1997 |
/**
|
includes/replies/functions.php
CHANGED
|
@@ -87,7 +87,7 @@ function bbp_insert_reply( $reply_data = array(), $reply_meta = array() ) {
|
|
| 87 |
* @uses bbp_set_current_anonymous_user_data() To set the anonymous user
|
| 88 |
* cookies
|
| 89 |
* @uses is_wp_error() To check if the value retrieved is a {@link WP_Error}
|
| 90 |
-
* @uses remove_filter() To remove
|
| 91 |
* @uses esc_attr() For sanitization
|
| 92 |
* @uses bbp_check_for_flood() To check for flooding
|
| 93 |
* @uses bbp_check_for_duplicate() To check for duplicates
|
|
@@ -167,10 +167,11 @@ function bbp_new_reply_handler( $action = '' ) {
|
|
| 167 |
|
| 168 |
/** Unfiltered HTML *******************************************************/
|
| 169 |
|
| 170 |
-
// Remove
|
| 171 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_reply'] ) && wp_create_nonce( 'bbp-unfiltered-html-reply_' . $topic_id ) == $_POST['_bbp_unfiltered_html_reply'] ) {
|
| 172 |
-
remove_filter( 'bbp_new_reply_pre_title', 'wp_filter_kses'
|
| 173 |
-
remove_filter( 'bbp_new_reply_pre_content', '
|
|
|
|
| 174 |
}
|
| 175 |
|
| 176 |
/** Reply Title ***********************************************************/
|
|
@@ -377,7 +378,7 @@ function bbp_new_reply_handler( $action = '' ) {
|
|
| 377 |
* @uses current_user_can() To check if the current user can edit that reply
|
| 378 |
* @uses bbp_filter_anonymous_post_data() To filter anonymous data
|
| 379 |
* @uses is_wp_error() To check if the value retrieved is a {@link WP_Error}
|
| 380 |
-
* @uses remove_filter() To remove
|
| 381 |
* @uses esc_attr() For sanitization
|
| 382 |
* @uses apply_filters() Calls 'bbp_edit_reply_pre_title' with the title and
|
| 383 |
* reply id
|
|
@@ -455,10 +456,11 @@ function bbp_edit_reply_handler( $action = '' ) {
|
|
| 455 |
}
|
| 456 |
}
|
| 457 |
|
| 458 |
-
// Remove
|
| 459 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_reply'] ) && wp_create_nonce( 'bbp-unfiltered-html-reply_' . $reply_id ) == $_POST['_bbp_unfiltered_html_reply'] ) {
|
| 460 |
-
remove_filter( 'bbp_edit_reply_pre_title', 'wp_filter_kses'
|
| 461 |
-
remove_filter( 'bbp_edit_reply_pre_content', '
|
|
|
|
| 462 |
}
|
| 463 |
|
| 464 |
/** Reply Topic ***********************************************************/
|
| 87 |
* @uses bbp_set_current_anonymous_user_data() To set the anonymous user
|
| 88 |
* cookies
|
| 89 |
* @uses is_wp_error() To check if the value retrieved is a {@link WP_Error}
|
| 90 |
+
* @uses remove_filter() To remove kses filters if needed
|
| 91 |
* @uses esc_attr() For sanitization
|
| 92 |
* @uses bbp_check_for_flood() To check for flooding
|
| 93 |
* @uses bbp_check_for_duplicate() To check for duplicates
|
| 167 |
|
| 168 |
/** Unfiltered HTML *******************************************************/
|
| 169 |
|
| 170 |
+
// Remove kses filters from title and content for capable users and if the nonce is verified
|
| 171 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_reply'] ) && wp_create_nonce( 'bbp-unfiltered-html-reply_' . $topic_id ) == $_POST['_bbp_unfiltered_html_reply'] ) {
|
| 172 |
+
remove_filter( 'bbp_new_reply_pre_title', 'wp_filter_kses' );
|
| 173 |
+
remove_filter( 'bbp_new_reply_pre_content', 'bbp_encode_bad', 10 );
|
| 174 |
+
remove_filter( 'bbp_new_reply_pre_content', 'bbp_filter_kses', 30 );
|
| 175 |
}
|
| 176 |
|
| 177 |
/** Reply Title ***********************************************************/
|
| 378 |
* @uses current_user_can() To check if the current user can edit that reply
|
| 379 |
* @uses bbp_filter_anonymous_post_data() To filter anonymous data
|
| 380 |
* @uses is_wp_error() To check if the value retrieved is a {@link WP_Error}
|
| 381 |
+
* @uses remove_filter() To remove kses filters if needed
|
| 382 |
* @uses esc_attr() For sanitization
|
| 383 |
* @uses apply_filters() Calls 'bbp_edit_reply_pre_title' with the title and
|
| 384 |
* reply id
|
| 456 |
}
|
| 457 |
}
|
| 458 |
|
| 459 |
+
// Remove kses filters from title and content for capable users and if the nonce is verified
|
| 460 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_reply'] ) && wp_create_nonce( 'bbp-unfiltered-html-reply_' . $reply_id ) == $_POST['_bbp_unfiltered_html_reply'] ) {
|
| 461 |
+
remove_filter( 'bbp_edit_reply_pre_title', 'wp_filter_kses' );
|
| 462 |
+
remove_filter( 'bbp_edit_reply_pre_content', 'bbp_encode_bad', 10 );
|
| 463 |
+
remove_filter( 'bbp_edit_reply_pre_content', 'bbp_filter_kses', 30 );
|
| 464 |
}
|
| 465 |
|
| 466 |
/** Reply Topic ***********************************************************/
|
includes/topics/functions.php
CHANGED
|
@@ -95,7 +95,7 @@ function bbp_insert_topic( $topic_data = array(), $topic_meta = array() ) {
|
|
| 95 |
* @uses bbp_check_for_flood() To check for flooding
|
| 96 |
* @uses bbp_check_for_duplicate() To check for duplicates
|
| 97 |
* @uses bbp_get_topic_post_type() To get the topic post type
|
| 98 |
-
* @uses remove_filter() To remove
|
| 99 |
* @uses apply_filters() Calls 'bbp_new_topic_pre_title' with the content
|
| 100 |
* @uses apply_filters() Calls 'bbp_new_topic_pre_content' with the content
|
| 101 |
* @uses bbPress::errors::get_error_codes() To get the {@link WP_Error} errors
|
|
@@ -153,10 +153,11 @@ function bbp_new_topic_handler( $action = '' ) {
|
|
| 153 |
$topic_author = bbp_get_current_user_id();
|
| 154 |
}
|
| 155 |
|
| 156 |
-
// Remove
|
| 157 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_topic'] ) && wp_create_nonce( 'bbp-unfiltered-html-topic_new' ) == $_POST['_bbp_unfiltered_html_topic'] ) {
|
| 158 |
-
remove_filter( 'bbp_new_topic_pre_title', 'wp_filter_kses'
|
| 159 |
-
remove_filter( 'bbp_new_topic_pre_content', '
|
|
|
|
| 160 |
}
|
| 161 |
|
| 162 |
/** Topic Title ***********************************************************/
|
|
@@ -406,7 +407,7 @@ function bbp_new_topic_handler( $action = '' ) {
|
|
| 406 |
* @uses bbp_is_forum_category() To check if the forum is a category
|
| 407 |
* @uses bbp_is_forum_closed() To check if the forum is closed
|
| 408 |
* @uses bbp_is_forum_private() To check if the forum is private
|
| 409 |
-
* @uses remove_filter() To remove
|
| 410 |
* @uses apply_filters() Calls 'bbp_edit_topic_pre_title' with the title and
|
| 411 |
* topic id
|
| 412 |
* @uses apply_filters() Calls 'bbp_edit_topic_pre_content' with the content
|
|
@@ -483,10 +484,11 @@ function bbp_edit_topic_handler( $action = '' ) {
|
|
| 483 |
return;
|
| 484 |
}
|
| 485 |
|
| 486 |
-
// Remove
|
| 487 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_topic'] ) && ( wp_create_nonce( 'bbp-unfiltered-html-topic_' . $topic_id ) == $_POST['_bbp_unfiltered_html_topic'] ) ) {
|
| 488 |
-
remove_filter( 'bbp_edit_topic_pre_title', 'wp_filter_kses'
|
| 489 |
-
remove_filter( 'bbp_edit_topic_pre_content', '
|
|
|
|
| 490 |
}
|
| 491 |
|
| 492 |
/** Topic Forum ***********************************************************/
|
| 95 |
* @uses bbp_check_for_flood() To check for flooding
|
| 96 |
* @uses bbp_check_for_duplicate() To check for duplicates
|
| 97 |
* @uses bbp_get_topic_post_type() To get the topic post type
|
| 98 |
+
* @uses remove_filter() To remove kses filters if needed
|
| 99 |
* @uses apply_filters() Calls 'bbp_new_topic_pre_title' with the content
|
| 100 |
* @uses apply_filters() Calls 'bbp_new_topic_pre_content' with the content
|
| 101 |
* @uses bbPress::errors::get_error_codes() To get the {@link WP_Error} errors
|
| 153 |
$topic_author = bbp_get_current_user_id();
|
| 154 |
}
|
| 155 |
|
| 156 |
+
// Remove kses filters from title and content for capable users and if the nonce is verified
|
| 157 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_topic'] ) && wp_create_nonce( 'bbp-unfiltered-html-topic_new' ) == $_POST['_bbp_unfiltered_html_topic'] ) {
|
| 158 |
+
remove_filter( 'bbp_new_topic_pre_title', 'wp_filter_kses' );
|
| 159 |
+
remove_filter( 'bbp_new_topic_pre_content', 'bbp_encode_bad', 10 );
|
| 160 |
+
remove_filter( 'bbp_new_topic_pre_content', 'bbp_filter_kses', 30 );
|
| 161 |
}
|
| 162 |
|
| 163 |
/** Topic Title ***********************************************************/
|
| 407 |
* @uses bbp_is_forum_category() To check if the forum is a category
|
| 408 |
* @uses bbp_is_forum_closed() To check if the forum is closed
|
| 409 |
* @uses bbp_is_forum_private() To check if the forum is private
|
| 410 |
+
* @uses remove_filter() To remove kses filters if needed
|
| 411 |
* @uses apply_filters() Calls 'bbp_edit_topic_pre_title' with the title and
|
| 412 |
* topic id
|
| 413 |
* @uses apply_filters() Calls 'bbp_edit_topic_pre_content' with the content
|
| 484 |
return;
|
| 485 |
}
|
| 486 |
|
| 487 |
+
// Remove kses filters from title and content for capable users and if the nonce is verified
|
| 488 |
if ( current_user_can( 'unfiltered_html' ) && !empty( $_POST['_bbp_unfiltered_html_topic'] ) && ( wp_create_nonce( 'bbp-unfiltered-html-topic_' . $topic_id ) == $_POST['_bbp_unfiltered_html_topic'] ) ) {
|
| 489 |
+
remove_filter( 'bbp_edit_topic_pre_title', 'wp_filter_kses' );
|
| 490 |
+
remove_filter( 'bbp_edit_topic_pre_content', 'bbp_encode_bad', 10 );
|
| 491 |
+
remove_filter( 'bbp_edit_topic_pre_content', 'bbp_filter_kses', 30 );
|
| 492 |
}
|
| 493 |
|
| 494 |
/** Topic Forum ***********************************************************/
|
readme.txt
CHANGED
|
@@ -3,7 +3,7 @@ Contributors: matt, johnjamesjacoby, jmdodd
|
|
| 3 |
Tags: forums, discussion, support, theme, akismet, multisite
|
| 4 |
Requires at least: 3.5
|
| 5 |
Tested up to: 3.6
|
| 6 |
-
Stable tag: 2.3.
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
|
@@ -26,6 +26,11 @@ We're keeping things as small and light as possible while still allowing for gre
|
|
| 26 |
|
| 27 |
== Changelog ==
|
| 28 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 29 |
= 2.3.1 =
|
| 30 |
* Improved posting of preformatted code
|
| 31 |
* Fix deleting of post cache group
|
| 3 |
Tags: forums, discussion, support, theme, akismet, multisite
|
| 4 |
Requires at least: 3.5
|
| 5 |
Tested up to: 3.6
|
| 6 |
+
Stable tag: 2.3.2
|
| 7 |
License: GPLv2 or later
|
| 8 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
| 9 |
|
| 26 |
|
| 27 |
== Changelog ==
|
| 28 |
|
| 29 |
+
= 2.3.2 =
|
| 30 |
+
* Improved posting of preformatted code
|
| 31 |
+
* Improved theme compatibility CSS
|
| 32 |
+
* Improved BuddyPress Activity Streams integration
|
| 33 |
+
|
| 34 |
= 2.3.1 =
|
| 35 |
* Improved posting of preformatted code
|
| 36 |
* Fix deleting of post cache group
|
templates/default/bbpress-functions.php
CHANGED
|
@@ -208,7 +208,7 @@ class BBP_Default extends BBP_Theme_Compat {
|
|
| 208 |
<script type="text/javascript">
|
| 209 |
/* <![CDATA[ */
|
| 210 |
<?php if ( bbp_is_single_user_edit() ) : ?>
|
| 211 |
-
if ( window.location.hash
|
| 212 |
document.getElementById('pass1').focus();
|
| 213 |
}
|
| 214 |
<?php endif; ?>
|
|
@@ -216,13 +216,19 @@ class BBP_Default extends BBP_Theme_Compat {
|
|
| 216 |
<?php if ( bbp_use_wp_editor() ) : ?>
|
| 217 |
jQuery(document).ready( function() {
|
| 218 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
/* Tab from topic title */
|
| 220 |
jQuery( '#bbp_topic_title' ).bind( 'keydown.editor-focus', function(e) {
|
| 221 |
-
if ( e.which
|
| 222 |
return;
|
| 223 |
|
| 224 |
if ( !e.ctrlKey && !e.altKey && !e.shiftKey ) {
|
| 225 |
-
if ( typeof( tinymce )
|
| 226 |
if ( ! tinymce.activeEditor.isHidden() ) {
|
| 227 |
var editor = tinymce.activeEditor.editorContainer;
|
| 228 |
jQuery( '#' + editor + ' td.mceToolbar > a' ).focus();
|
|
@@ -239,11 +245,11 @@ class BBP_Default extends BBP_Theme_Compat {
|
|
| 239 |
|
| 240 |
/* Shift + tab from topic tags */
|
| 241 |
jQuery( '#bbp_topic_tags' ).bind( 'keydown.editor-focus', function(e) {
|
| 242 |
-
if ( e.which
|
| 243 |
return;
|
| 244 |
|
| 245 |
if ( e.shiftKey && !e.ctrlKey && !e.altKey ) {
|
| 246 |
-
if ( typeof( tinymce )
|
| 247 |
if ( ! tinymce.activeEditor.isHidden() ) {
|
| 248 |
var editor = tinymce.activeEditor.editorContainer;
|
| 249 |
jQuery( '#' + editor + ' td.mceToolbar > a' ).focus();
|
| 208 |
<script type="text/javascript">
|
| 209 |
/* <![CDATA[ */
|
| 210 |
<?php if ( bbp_is_single_user_edit() ) : ?>
|
| 211 |
+
if ( window.location.hash === '#password' ) {
|
| 212 |
document.getElementById('pass1').focus();
|
| 213 |
}
|
| 214 |
<?php endif; ?>
|
| 216 |
<?php if ( bbp_use_wp_editor() ) : ?>
|
| 217 |
jQuery(document).ready( function() {
|
| 218 |
|
| 219 |
+
/* Use backticks instead of <code> for the Code button in the editor */
|
| 220 |
+
if ( typeof( edButtons ) !== 'undefined' ) {
|
| 221 |
+
edButtons[110] = new QTags.TagButton( 'code', 'code', '`', '`', 'c' );
|
| 222 |
+
QTags._buttonsInit();
|
| 223 |
+
}
|
| 224 |
+
|
| 225 |
/* Tab from topic title */
|
| 226 |
jQuery( '#bbp_topic_title' ).bind( 'keydown.editor-focus', function(e) {
|
| 227 |
+
if ( e.which !== 9 )
|
| 228 |
return;
|
| 229 |
|
| 230 |
if ( !e.ctrlKey && !e.altKey && !e.shiftKey ) {
|
| 231 |
+
if ( typeof( tinymce ) !== 'undefined' ) {
|
| 232 |
if ( ! tinymce.activeEditor.isHidden() ) {
|
| 233 |
var editor = tinymce.activeEditor.editorContainer;
|
| 234 |
jQuery( '#' + editor + ' td.mceToolbar > a' ).focus();
|
| 245 |
|
| 246 |
/* Shift + tab from topic tags */
|
| 247 |
jQuery( '#bbp_topic_tags' ).bind( 'keydown.editor-focus', function(e) {
|
| 248 |
+
if ( e.which !== 9 )
|
| 249 |
return;
|
| 250 |
|
| 251 |
if ( e.shiftKey && !e.ctrlKey && !e.altKey ) {
|
| 252 |
+
if ( typeof( tinymce ) !== 'undefined' ) {
|
| 253 |
if ( ! tinymce.activeEditor.isHidden() ) {
|
| 254 |
var editor = tinymce.activeEditor.editorContainer;
|
| 255 |
jQuery( '#' + editor + ' td.mceToolbar > a' ).focus();
|
templates/default/css/bbpress-rtl.css
CHANGED
|
@@ -30,8 +30,13 @@
|
|
| 30 |
background-color: #fbfbfb;
|
| 31 |
}
|
| 32 |
|
| 33 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
height: auto;
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
#bbpress-forums div.bbp-forum-header,
|
| 30 |
background-color: #fbfbfb;
|
| 31 |
}
|
| 32 |
|
| 33 |
+
body.reply-edit .reply {
|
| 34 |
+
float: none;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
+
#bbpress-forums .type-reply {
|
| 38 |
height: auto;
|
| 39 |
+
width: 100%;
|
| 40 |
}
|
| 41 |
|
| 42 |
#bbpress-forums div.bbp-forum-header,
|
templates/default/css/bbpress-rtl.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
#bbpress-forums hr{margin:0 0 24px 0}#bbpress-forums{background:transparent;clear:both;margin-bottom:20px;overflow:hidden;font-size:12px}#bbpress-forums div.even,#bbpress-forums ul.even{background-color:#fff}#bbpress-forums div.odd,#bbpress-forums ul.odd{background-color:#fbfbfb}#bbpress-forums div.reply{height:auto}#bbpress-forums div.bbp-forum-header,#bbpress-forums div.bbp-topic-header,#bbpress-forums div.bbp-reply-header{background-color:#f4f4f4}#bbpress-forums .status-trash.even,#bbpress-forums .status-spam.even{background-color:#fee}#bbpress-forums .status-trash.odd,#bbpress-forums .status-spam.odd{background-color:#fdd}#bbpress-forums .status-closed,#bbpress-forums .status-closed a{color:#ccc}#bbpress-forums ul{list-style:none;margin:0;padding:0}#bbpress-forums li{margin:0;list-style:none}#bbpress-forums ul.bbp-lead-topic,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{font-size:12px;overflow:hidden;border:1px solid #eee;margin-bottom:20px;clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-body,#bbpress-forums li.bbp-footer{clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:#f3f3f3;border-top:1px solid #eee;font-weight:bold;padding:8px;text-align:center}#bbpress-forums li.bbp-header{background:#eaeaea}#bbpress-forums li.bbp-header ul{overflow:hidden}#bbpress-forums .bbp-forums-list{margin:0 5px 0 0;padding-right:15px;border-right:1px solid #ddd}#bbpress-forums .bbp-forums-list li{display:inline;font-size:11px}#bbpress-forums li.bbp-footer p{margin:0;line-height:1em}li.bbp-forum-info,li.bbp-topic-title{float:right;text-align:right;width:55%}li.bbp-forum-topic-count,li.bbp-topic-voice-count,li.bbp-forum-reply-count,li.bbp-topic-reply-count{float:right;text-align:center;width:10%}li.bbp-forum-freshness,li.bbp-topic-freshness{text-align:center;float:right;width:22%}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-top:1px solid #eee;overflow:hidden;padding:8px}li.bbp-header div.bbp-topic-content span#subscription-toggle,li.bbp-header div.bbp-topic-content span#favorite-toggle,li.bbp-header div.bbp-reply-content span#subscription-toggle,li.bbp-header div.bbp-reply-content span#favorite-toggle{float:left}#bbpress-forums div.bbp-forum-title h3,#bbpress-forums div.bbp-topic-title h3,#bbpress-forums div.bbp-reply-title h3{line-height:1em;margin:8px 0}#bbpress-forums div.bbp-forum-author,#bbpress-forums div.bbp-topic-author,#bbpress-forums div.bbp-reply-author{float:right;text-align:center;width:115px}#bbpress-forums div.bbp-forum-author img.avatar,#bbpress-forums div.bbp-topic-author img.avatar,#bbpress-forums div.bbp-reply-author img.avatar{border:0;max-width:80px;padding:0;margin:12px auto 0 auto;float:none}#bbpress-forums div.bbp-forum-author a.bbp-author-name,#bbpress-forums div.bbp-topic-author a.bbp-author-name,#bbpress-forums div.bbp-reply-author a.bbp-author-name{margin:0 12px;word-break:break-word;display:inline-block}#bbpress-forums div.bbp-forum-author .bbp-author-role,#bbpress-forums div.bbp-topic-author .bbp-author-role,#bbpress-forums div.bbp-reply-author .bbp-author-role{font-size:11px;font-style:italic}#bbpress-forums li.bbp-header .bbp-search-author,#bbpress-forums li.bbp-footer .bbp-search-author,#bbpress-forums li.bbp-header .bbp-forum-author,#bbpress-forums li.bbp-footer .bbp-forum-author,#bbpress-forums li.bbp-header .bbp-topic-author,#bbpress-forums li.bbp-footer .bbp-topic-author,#bbpress-forums li.bbp-header .bbp-reply-author,#bbpress-forums li.bbp-footer .bbp-reply-author{float:right;margin:0;padding:0;width:120px}#bbpress-forums li.bbp-header .bbp-search-content,#bbpress-forums li.bbp-footer .bbp-search-content,#bbpress-forums li.bbp-header .bbp-forum-content,#bbpress-forums li.bbp-footer .bbp-forum-content,#bbpress-forums li.bbp-header .bbp-topic-content,#bbpress-forums li.bbp-footer .bbp-topic-content,#bbpress-forums li.bbp-header .bbp-reply-content,#bbpress-forums li.bbp-footer .bbp-reply-content{margin-right:140px;padding:0;text-align:right}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header,li.bbp-body div.hentry{margin-bottom:0;overflow:hidden;padding:8px}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header{border-top:1px solid #ddd;clear:both}span.bbp-author-ip{font-family:'Helvetica Neue',Arial,Helvetica,'Nimbus Sans L',sans-serif;font-size:11px;font-weight:bold;color:#aaa}#bbpress-forums div.bbp-forum-content,#bbpress-forums div.bbp-topic-content,#bbpress-forums div.bbp-reply-content{margin-right:130px;padding:12px 0 12px 12px;text-align:right}#bbpress-forums div.bbp-topic-content a,#bbpress-forums div.bbp-reply-content a{background:0;border:0;display:inline;font-weight:normal;margin:0;padding:0}#bbpress-forums div.bbp-topic-content h1,#bbpress-forums div.bbp-reply-content h1,#bbpress-forums div.bbp-topic-content h2,#bbpress-forums div.bbp-reply-content h2,#bbpress-forums div.bbp-topic-content h3,#bbpress-forums div.bbp-reply-content h3,#bbpress-forums div.bbp-topic-content h4,#bbpress-forums div.bbp-reply-content h4,#bbpress-forums div.bbp-topic-content h5,#bbpress-forums div.bbp-reply-content h5,#bbpress-forums div.bbp-topic-content h6,#bbpress-forums div.bbp-reply-content h6{clear:none;line-height:1em;margin:24px 0;padding:0}#bbpress-forums div.bbp-topic-content img,#bbpress-forums div.bbp-reply-content img{max-width:100%}#bbpress-forums div.bbp-topic-content ul,#bbpress-forums div.bbp-reply-content ul,#bbpress-forums div.bbp-topic-content ol,#bbpress-forums div.bbp-reply-content ol{margin:0 15px 15px;padding:0}#bbpress-forums div.bbp-topic-content ul li,#bbpress-forums div.bbp-reply-content ul li{list-style-type:disc}#bbpress-forums div.bbp-topic-content ol li,#bbpress-forums div.bbp-reply-content ol li{list-style-type:decimal}#bbpress-forums div.bbp-topic-content ol li li,#bbpress-forums div.bbp-reply-content ol li li{list-style-type:lower-alpha}#bbpress-forums div.bbp-topic-content ol li li li,#bbpress-forums div.bbp-reply-content ol li li li{list-style-type:upper-roman}#bbpress-forums div.bbp-topic-content code,#bbpress-forums div.bbp-reply-content code,#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{font-family:Inconsolata,Consolas,Monaco,Lucida Console,monospace;display:inline;background-color:#f9f9f9;border:1px solid #ddd;padding:2px}#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{display:block;line-height:18px;margin:0 0 24px;padding:5px 10px;white-space:pre;overflow:auto}#bbpress-forums div.bbp-topic-content pre code,#bbpress-forums div.bbp-reply-content pre code{display:block;border:0;padding:0;margin:0;background-color:transparent;overflow-wrap:normal}div.bbp-breadcrumb{float:right}div.bbp-breadcrumb,div.bbp-topic-tags{font-size:12px}#bbpress-forums div.bbp-breadcrumb p,#bbpress-forums div.bbp-topic-tags p{margin-bottom:10px}#bbpress-forums div.bbp-topic-tags{float:left}#bbp-topic-hot-tags{clear:both}#bbpress-forums #bbp-search-form{clear:right}#bbpress-forums div.bbp-search-form{float:left}span.bbp-admin-links{float:left;color:#ddd}span.bbp-admin-links a{color:#bbb;font-weight:normal;font-size:10px;text-transform:uppercase;text-decoration:none}fieldset span.bbp-admin-links{float:right}tr td span.bbp-admin-links a:hover{color:#ff4b33}td.bbp-topic-admin-links,td.bbp-topic-counts{width:50%}.bbp-forum-header a.bbp-forum-permalink,.bbp-topic-header a.bbp-topic-permalink,.bbp-reply-header a.bbp-reply-permalink{float:left;margin-right:10px;color:#ccc}.bbp-topic-action #favorite-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #favorite-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #favorite-toggle span.is-favorite a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #favorite-toggle span.is-favorite a:hover{color:#c88;border-color:#c88;background-color:#fdd}.bbp-topic-action #subscription-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #subscription-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #subscription-toggle span.is-subscribed a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #subscription-toggle span.is-subscribed a:hover{color:#c88;border-color:#c88;background-color:#fdd}#bbpress-forums .bbp-forum-info .bbp-forum-content,#bbpress-forums p.bbp-topic-meta{margin:5px 0 5px;padding:0;font-size:11px}#bbpress-forums p.bbp-topic-meta span{white-space:nowrap}.bbp-pagination-count{float:right;border:1px solid transparent}.bbp-pagination-links{float:left;list-style:none;display:inline}.bbp-pagination-links a,.bbp-pagination-links span.current{display:block;float:right;padding:0 5px;margin-right:5px;border:1px solid #efefef;text-decoration:none}.bbp-pagination-links a:hover,.bbp-pagination-links span.current{background:#eee;opacity:.8;border:1px solid #ddd}.bbp-pagination-links span.dots{display:block;float:right;padding:1px 4px;margin-right:5px}.bbp-pagination{float:right;width:100%;margin-bottom:15px}.bbp-topic-pagination{display:inline-block;margin-right:5px;margin-bottom:2px}.bbp-topic-pagination a{font-size:10px;line-height:10px;padding:1px 3px;border:1px solid #ddd;text-decoration:none}#bbpress-forums fieldset.bbp-form{clear:right}#bbpress-forums fieldset.bbp-form{border:1px solid #eee;padding:10px 20px;margin-bottom:10px}#bbpress-forums fieldset.bbp-form legend{padding:5px}#bbpress-forums fieldset.bbp-form label{margin:0;display:inline-block}#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,#bbp-login fieldset label,#bbp-register fieldset label,#bbp-lost-pass fieldset label{width:100px}#bbpress-forums fieldset.bbp-form p,#bbpress-forums fieldset.bbp-form textarea,#bbpress-forums fieldset.bbp-form select,#bbpress-forums fieldset.bbp-form input{margin:0 0 8px}textarea#bbp_reply_content,textarea#bbp_topic_content,textarea#bbp_forum_content{width:97%;box-sizing:border-box}textarea#bbp_forum_content{height:210px}#bbpress-forums fieldset.bbp-forum-form-attributes{width:200px;float:left;clear:none;margin-right:25px}#bbpress-forums fieldset select#bbp_forum_id{max-width:200px}.bbp-topic-form,.bbp-reply-form,.bbp-topic-tag-form{clear:right}body.topic-edit .bbp-topic-form div.avatar img,body.reply-edit .bbp-reply-form div.avatar img,body.single-forum .bbp-topic-form div.avatar img,body.single-reply .bbp-reply-form div.avatar img{margin-left:0;padding:10px;border:1px solid #ddd;line-height:0;background-color:#efefef}body.page .bbp-reply-form code,body.page .bbp-topic-form code,body.single-topic .bbp-reply-form code,body.single-forum .bbp-topic-form code,body.topic-edit .bbp-topic-form code,body.reply-edit .bbp-reply-form code{font-size:10px;background-color:#f0fff8;border:1px solid #ceefe1;display:block;padding:8px;margin-top:5px;width:369px}#merge_tag,#delete_tag{display:inline}div.bbp-submit-wrapper{margin-top:15px;float:left;clear:both}p.form-allowed-tags{width:462px}#bbpress-forums div.bbp-the-content-wrapper{margin-bottom:10px}#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content{width:100%;margin:0;font-size:12px}#bbpress-forums div.bbp-the-content-wrapper table,#bbpress-forums div.bbp-the-content-wrapper tbody,#bbpress-forums div.bbp-the-content-wrapper tr,#bbpress-forums div.bbp-the-content-wrapper td{border:0;padding:0;margin:0;width:auto;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper input{font-size:12px;padding:5px;margin:0 0 0 2px;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar{padding:5px;min-height:26px}#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar{padding:4px 4px 8px}#bbpress-forums div.wp-editor-container{margin:0;padding:0;line-height:0}#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar{line-height:16px}#bbpress-forums #bbp-your-profile fieldset{padding:20px 20px 0 20px}#bbpress-forums #bbp-your-profile fieldset div{margin-bottom:20px;float:right;width:100%;clear:right}#bbpress-forums #bbp-your-profile fieldset select{margin-bottom:0}#bbpress-forums #bbp-your-profile fieldset input,#bbpress-forums #bbp-your-profile fieldset textarea{margin-bottom:0;width:60%;background:#f9f9f9;border:1px solid #ddd;box-shadow:none;padding:5px 8px;border-radius:0}#bbpress-forums #bbp-your-profile fieldset input:focus,#bbpress-forums #bbp-your-profile fieldset textarea:focus{border:1px solid #ccc;box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);outline-color:rgba(240,255,240,0.1)}#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox{width:auto}#bbpress-forums #bbp-your-profile fieldset legend{display:none}#bbpress-forums #bbp-your-profile fieldset label[for]{float:right;width:20%;padding:5px 5px 5px 20px;text-align:left;cursor:pointer}#bbpress-forums #bbp-your-profile fieldset dl label[for]{text-align:right;width:60%}#bbpress-forums #bbp-your-profile fieldset span.description{margin:5px 0 0 20%;font-size:12px;font-style:italic;float:right;clear:right;width:60%;padding:5px 8px;border:#cee1ef 1px solid;background-color:#f0f8ff}#bbpress-forums #bbp-your-profile fieldset fieldset{margin:0;border:0;padding:0;clear:none;float:none}#bbpress-forums #bbp-your-profile fieldset fieldset.password{width:60%;display:inline}#bbpress-forums #bbp-your-profile fieldset fieldset.password input,#bbpress-forums #bbp-your-profile fieldset fieldset.password span{width:100%}#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl{margin:0}#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description{margin-right:0;margin-bottom:20px}#bbpress-forums #bbp-your-profile fieldset.submit button{float:left}div.bbp-template-notice,div.indicator-hint{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 0 15px;border-radius:3px;background-color:#ffffe0;border-color:#e6db55;color:#000;clear:both}div.bbp-template-notice a{color:#555;text-decoration:none}div.bbp-template-notice a:hover{color:#000}div.bbp-template-notice.info{border:#cee1ef 1px solid;background-color:#f0f8ff}div.bbp-template-notice.important{border:#e6db55 1px solid;background-color:#fffbcc}div.bbp-template-notice.error,div.bbp-template-notice.warning{background-color:#ffebe8;border-color:#c00}div.bbp-template-notice.error a,div.bbp-template-notice.warning a{color:#c00}div.bbp-template-notice p{margin:.5em 0 6px 0!important;padding:2px;font-size:12px;line-height:140%}.bbp-topics-front ul.super-sticky,.bbp-topics ul.super-sticky,.bbp-topics ul.sticky,.bbp-forum-content ul.sticky{background-color:#ffffe0!important;font-size:1.1em}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log{border-top:1px dotted #ddd;width:100%;margin:0;padding:8px 0 0 0;font-size:11px;color:#aaa}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li{list-style-type:none}.bbp-login-form fieldset legend{display:none}.bbp-login-form .bbp-username input,.bbp-login-form .bbp-email input,.bbp-login-form .bbp-password input{padding:5px}.bbp-login-form label{width:140px;display:inline-block}#sidebar .bbp-login-form label{width:70px}.bbp-login-form .bbp-username,.bbp-login-form .bbp-email,.bbp-login-form .bbp-password,.bbp-login-form .bbp-remember-me,.bbp-login-form .bbp-submit-wrapper{margin-top:10px}.bbp-login-form .bbp-submit-wrapper{text-align:left}.bbp-login-form .bbp-login-links a{float:right;clear:right}.bbp-logged-in img.avatar{float:right;margin:0 0 0 15px}.bbp-logged-in h4{font-weight:bold;font-size:1.3em;clear:none;margin-bottom:10px}#bbpress-forums p.bbp-topic-meta img.avatar,#bbpress-forums ul.bbp-reply-revision-log img.avatar,#bbpress-forums ul.bbp-topic-revision-log img.avatar,#bbpress-forums div.bbp-template-notice img.avatar,#bbpress-forums .widget_display_topics img.avatar,#bbpress-forums .widget_display_replies img.avatar,#bbpress-forums p.bbp-topic-meta img.avatar{float:none;margin-bottom:-7px;border:3px double #ddd}fieldset div.avatar{float:left}.activity-list li.bbp_topic_create .activity-content .activity-inner,.activity-list li.bbp_reply_create .activity-content .activity-inner{border-right:2px solid #eaeaea;margin-right:5px;padding-right:10px}#bbpress-forums h1{clear:none;font-size:1.8em;line-height:1em;padding-bottom:10px}#bbpress-forums #bbp-user-wrapper{float:right;width:100%}#bbpress-forums .bbp-user-section{overflow:auto}#bbpress-forums #bbp-user-wrapper h2.entry-title{font-size:1.4em;margin:0;padding-bottom:10px;padding-top:0;clear:none}#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic,#bbpress-forums #bbp-user-wrapper ul.bbp-topics,#bbpress-forums #bbp-user-wrapper ul.bbp-forums,#bbpress-forums #bbp-user-wrapper ul.bbp-replies,#bbpress-forums #bbp-user-wrapper fieldset.bbp-form{clear:none}#bbpress-forums #bbp-single-user-details{margin:0;width:150px;float:right;overflow:hidden}#bbpress-forums #bbp-single-user-details #bbp-user-avatar{margin:0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar{border:0;height:150px;padding:0;margin:0 0 20px 0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-description{float:none;margin-right:180px}#bbpress-forums #bbp-single-user-details #bbp-user-navigation{float:none;margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li{margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation a{padding:5px 8px;display:block;border:1px solid transparent;text-decoration:none}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a{background:#eee;opacity:.8}#bbpress-forums #bbp-user-body{margin-right:180px}body.my-account #bbpress-forums{border-top:0;padding-top:0;margin-bottom:0}#bbpress-forums dl.bbp-user-capabilities{display:inline-block;vertical-align:top}#bbpress-forums dl.bbp-user-capabilities dt{margin:0 0 10px;text-transform:capitalize}#bbpress-forums dl.bbp-user-capabilities dd{margin:0;padding:0}#bbpress-forums div.row-actions{font-size:11px;visibility:hidden}#bbpress-forums li:hover>div.row-actions{visibility:visible}
|
| 1 |
+
#bbpress-forums hr{margin:0 0 24px 0}#bbpress-forums{background:transparent;clear:both;margin-bottom:20px;overflow:hidden;font-size:12px}#bbpress-forums div.even,#bbpress-forums ul.even{background-color:#fff}#bbpress-forums div.odd,#bbpress-forums ul.odd{background-color:#fbfbfb}body.reply-edit .reply{float:none}#bbpress-forums .type-reply{height:auto;width:100%}#bbpress-forums div.bbp-forum-header,#bbpress-forums div.bbp-topic-header,#bbpress-forums div.bbp-reply-header{background-color:#f4f4f4}#bbpress-forums .status-trash.even,#bbpress-forums .status-spam.even{background-color:#fee}#bbpress-forums .status-trash.odd,#bbpress-forums .status-spam.odd{background-color:#fdd}#bbpress-forums .status-closed,#bbpress-forums .status-closed a{color:#ccc}#bbpress-forums ul{list-style:none;margin:0;padding:0}#bbpress-forums li{margin:0;list-style:none}#bbpress-forums ul.bbp-lead-topic,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{font-size:12px;overflow:hidden;border:1px solid #eee;margin-bottom:20px;clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-body,#bbpress-forums li.bbp-footer{clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:#f3f3f3;border-top:1px solid #eee;font-weight:bold;padding:8px;text-align:center}#bbpress-forums li.bbp-header{background:#eaeaea}#bbpress-forums li.bbp-header ul{overflow:hidden}#bbpress-forums .bbp-forums-list{margin:0 5px 0 0;padding-right:15px;border-right:1px solid #ddd}#bbpress-forums .bbp-forums-list li{display:inline;font-size:11px}#bbpress-forums li.bbp-footer p{margin:0;line-height:1em}li.bbp-forum-info,li.bbp-topic-title{float:right;text-align:right;width:55%}li.bbp-forum-topic-count,li.bbp-topic-voice-count,li.bbp-forum-reply-count,li.bbp-topic-reply-count{float:right;text-align:center;width:10%}li.bbp-forum-freshness,li.bbp-topic-freshness{text-align:center;float:right;width:22%}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-top:1px solid #eee;overflow:hidden;padding:8px}li.bbp-header div.bbp-topic-content span#subscription-toggle,li.bbp-header div.bbp-topic-content span#favorite-toggle,li.bbp-header div.bbp-reply-content span#subscription-toggle,li.bbp-header div.bbp-reply-content span#favorite-toggle{float:left}#bbpress-forums div.bbp-forum-title h3,#bbpress-forums div.bbp-topic-title h3,#bbpress-forums div.bbp-reply-title h3{line-height:1em;margin:8px 0}#bbpress-forums div.bbp-forum-author,#bbpress-forums div.bbp-topic-author,#bbpress-forums div.bbp-reply-author{float:right;text-align:center;width:115px}#bbpress-forums div.bbp-forum-author img.avatar,#bbpress-forums div.bbp-topic-author img.avatar,#bbpress-forums div.bbp-reply-author img.avatar{border:0;max-width:80px;padding:0;margin:12px auto 0 auto;float:none}#bbpress-forums div.bbp-forum-author a.bbp-author-name,#bbpress-forums div.bbp-topic-author a.bbp-author-name,#bbpress-forums div.bbp-reply-author a.bbp-author-name{margin:0 12px;word-break:break-word;display:inline-block}#bbpress-forums div.bbp-forum-author .bbp-author-role,#bbpress-forums div.bbp-topic-author .bbp-author-role,#bbpress-forums div.bbp-reply-author .bbp-author-role{font-size:11px;font-style:italic}#bbpress-forums li.bbp-header .bbp-search-author,#bbpress-forums li.bbp-footer .bbp-search-author,#bbpress-forums li.bbp-header .bbp-forum-author,#bbpress-forums li.bbp-footer .bbp-forum-author,#bbpress-forums li.bbp-header .bbp-topic-author,#bbpress-forums li.bbp-footer .bbp-topic-author,#bbpress-forums li.bbp-header .bbp-reply-author,#bbpress-forums li.bbp-footer .bbp-reply-author{float:right;margin:0;padding:0;width:120px}#bbpress-forums li.bbp-header .bbp-search-content,#bbpress-forums li.bbp-footer .bbp-search-content,#bbpress-forums li.bbp-header .bbp-forum-content,#bbpress-forums li.bbp-footer .bbp-forum-content,#bbpress-forums li.bbp-header .bbp-topic-content,#bbpress-forums li.bbp-footer .bbp-topic-content,#bbpress-forums li.bbp-header .bbp-reply-content,#bbpress-forums li.bbp-footer .bbp-reply-content{margin-right:140px;padding:0;text-align:right}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header,li.bbp-body div.hentry{margin-bottom:0;overflow:hidden;padding:8px}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header{border-top:1px solid #ddd;clear:both}span.bbp-author-ip{font-family:'Helvetica Neue',Arial,Helvetica,'Nimbus Sans L',sans-serif;font-size:11px;font-weight:bold;color:#aaa}#bbpress-forums div.bbp-forum-content,#bbpress-forums div.bbp-topic-content,#bbpress-forums div.bbp-reply-content{margin-right:130px;padding:12px 0 12px 12px;text-align:right}#bbpress-forums div.bbp-topic-content a,#bbpress-forums div.bbp-reply-content a{background:0;border:0;display:inline;font-weight:normal;margin:0;padding:0}#bbpress-forums div.bbp-topic-content h1,#bbpress-forums div.bbp-reply-content h1,#bbpress-forums div.bbp-topic-content h2,#bbpress-forums div.bbp-reply-content h2,#bbpress-forums div.bbp-topic-content h3,#bbpress-forums div.bbp-reply-content h3,#bbpress-forums div.bbp-topic-content h4,#bbpress-forums div.bbp-reply-content h4,#bbpress-forums div.bbp-topic-content h5,#bbpress-forums div.bbp-reply-content h5,#bbpress-forums div.bbp-topic-content h6,#bbpress-forums div.bbp-reply-content h6{clear:none;line-height:1em;margin:24px 0;padding:0}#bbpress-forums div.bbp-topic-content img,#bbpress-forums div.bbp-reply-content img{max-width:100%}#bbpress-forums div.bbp-topic-content ul,#bbpress-forums div.bbp-reply-content ul,#bbpress-forums div.bbp-topic-content ol,#bbpress-forums div.bbp-reply-content ol{margin:0 15px 15px;padding:0}#bbpress-forums div.bbp-topic-content ul li,#bbpress-forums div.bbp-reply-content ul li{list-style-type:disc}#bbpress-forums div.bbp-topic-content ol li,#bbpress-forums div.bbp-reply-content ol li{list-style-type:decimal}#bbpress-forums div.bbp-topic-content ol li li,#bbpress-forums div.bbp-reply-content ol li li{list-style-type:lower-alpha}#bbpress-forums div.bbp-topic-content ol li li li,#bbpress-forums div.bbp-reply-content ol li li li{list-style-type:upper-roman}#bbpress-forums div.bbp-topic-content code,#bbpress-forums div.bbp-reply-content code,#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{font-family:Inconsolata,Consolas,Monaco,Lucida Console,monospace;display:inline;background-color:#f9f9f9;border:1px solid #ddd;padding:2px}#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{display:block;line-height:18px;margin:0 0 24px;padding:5px 10px;white-space:pre;overflow:auto}#bbpress-forums div.bbp-topic-content pre code,#bbpress-forums div.bbp-reply-content pre code{display:block;border:0;padding:0;margin:0;background-color:transparent;overflow-wrap:normal}div.bbp-breadcrumb{float:right}div.bbp-breadcrumb,div.bbp-topic-tags{font-size:12px}#bbpress-forums div.bbp-breadcrumb p,#bbpress-forums div.bbp-topic-tags p{margin-bottom:10px}#bbpress-forums div.bbp-topic-tags{float:left}#bbp-topic-hot-tags{clear:both}#bbpress-forums #bbp-search-form{clear:right}#bbpress-forums div.bbp-search-form{float:left}span.bbp-admin-links{float:left;color:#ddd}span.bbp-admin-links a{color:#bbb;font-weight:normal;font-size:10px;text-transform:uppercase;text-decoration:none}fieldset span.bbp-admin-links{float:right}tr td span.bbp-admin-links a:hover{color:#ff4b33}td.bbp-topic-admin-links,td.bbp-topic-counts{width:50%}.bbp-forum-header a.bbp-forum-permalink,.bbp-topic-header a.bbp-topic-permalink,.bbp-reply-header a.bbp-reply-permalink{float:left;margin-right:10px;color:#ccc}.bbp-topic-action #favorite-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #favorite-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #favorite-toggle span.is-favorite a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #favorite-toggle span.is-favorite a:hover{color:#c88;border-color:#c88;background-color:#fdd}.bbp-topic-action #subscription-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #subscription-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #subscription-toggle span.is-subscribed a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #subscription-toggle span.is-subscribed a:hover{color:#c88;border-color:#c88;background-color:#fdd}#bbpress-forums .bbp-forum-info .bbp-forum-content,#bbpress-forums p.bbp-topic-meta{margin:5px 0 5px;padding:0;font-size:11px}#bbpress-forums p.bbp-topic-meta span{white-space:nowrap}.bbp-pagination-count{float:right;border:1px solid transparent}.bbp-pagination-links{float:left;list-style:none;display:inline}.bbp-pagination-links a,.bbp-pagination-links span.current{display:block;float:right;padding:0 5px;margin-right:5px;border:1px solid #efefef;text-decoration:none}.bbp-pagination-links a:hover,.bbp-pagination-links span.current{background:#eee;opacity:.8;border:1px solid #ddd}.bbp-pagination-links span.dots{display:block;float:right;padding:1px 4px;margin-right:5px}.bbp-pagination{float:right;width:100%;margin-bottom:15px}.bbp-topic-pagination{display:inline-block;margin-right:5px;margin-bottom:2px}.bbp-topic-pagination a{font-size:10px;line-height:10px;padding:1px 3px;border:1px solid #ddd;text-decoration:none}#bbpress-forums fieldset.bbp-form{clear:right}#bbpress-forums fieldset.bbp-form{border:1px solid #eee;padding:10px 20px;margin-bottom:10px}#bbpress-forums fieldset.bbp-form legend{padding:5px}#bbpress-forums fieldset.bbp-form label{margin:0;display:inline-block}#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,#bbp-login fieldset label,#bbp-register fieldset label,#bbp-lost-pass fieldset label{width:100px}#bbpress-forums fieldset.bbp-form p,#bbpress-forums fieldset.bbp-form textarea,#bbpress-forums fieldset.bbp-form select,#bbpress-forums fieldset.bbp-form input{margin:0 0 8px}textarea#bbp_reply_content,textarea#bbp_topic_content,textarea#bbp_forum_content{width:97%;box-sizing:border-box}textarea#bbp_forum_content{height:210px}#bbpress-forums fieldset.bbp-forum-form-attributes{width:200px;float:left;clear:none;margin-right:25px}#bbpress-forums fieldset select#bbp_forum_id{max-width:200px}.bbp-topic-form,.bbp-reply-form,.bbp-topic-tag-form{clear:right}body.topic-edit .bbp-topic-form div.avatar img,body.reply-edit .bbp-reply-form div.avatar img,body.single-forum .bbp-topic-form div.avatar img,body.single-reply .bbp-reply-form div.avatar img{margin-left:0;padding:10px;border:1px solid #ddd;line-height:0;background-color:#efefef}body.page .bbp-reply-form code,body.page .bbp-topic-form code,body.single-topic .bbp-reply-form code,body.single-forum .bbp-topic-form code,body.topic-edit .bbp-topic-form code,body.reply-edit .bbp-reply-form code{font-size:10px;background-color:#f0fff8;border:1px solid #ceefe1;display:block;padding:8px;margin-top:5px;width:369px}#merge_tag,#delete_tag{display:inline}div.bbp-submit-wrapper{margin-top:15px;float:left;clear:both}p.form-allowed-tags{width:462px}#bbpress-forums div.bbp-the-content-wrapper{margin-bottom:10px}#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content{width:100%;margin:0;font-size:12px}#bbpress-forums div.bbp-the-content-wrapper table,#bbpress-forums div.bbp-the-content-wrapper tbody,#bbpress-forums div.bbp-the-content-wrapper tr,#bbpress-forums div.bbp-the-content-wrapper td{border:0;padding:0;margin:0;width:auto;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper input{font-size:12px;padding:5px;margin:0 0 0 2px;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar{padding:5px;min-height:26px}#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar{padding:4px 4px 8px}#bbpress-forums div.wp-editor-container{margin:0;padding:0;line-height:0}#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar{line-height:16px}#bbpress-forums #bbp-your-profile fieldset{padding:20px 20px 0 20px}#bbpress-forums #bbp-your-profile fieldset div{margin-bottom:20px;float:right;width:100%;clear:right}#bbpress-forums #bbp-your-profile fieldset select{margin-bottom:0}#bbpress-forums #bbp-your-profile fieldset input,#bbpress-forums #bbp-your-profile fieldset textarea{margin-bottom:0;width:60%;background:#f9f9f9;border:1px solid #ddd;box-shadow:none;padding:5px 8px;border-radius:0}#bbpress-forums #bbp-your-profile fieldset input:focus,#bbpress-forums #bbp-your-profile fieldset textarea:focus{border:1px solid #ccc;box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);outline-color:rgba(240,255,240,0.1)}#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox{width:auto}#bbpress-forums #bbp-your-profile fieldset legend{display:none}#bbpress-forums #bbp-your-profile fieldset label[for]{float:right;width:20%;padding:5px 5px 5px 20px;text-align:left;cursor:pointer}#bbpress-forums #bbp-your-profile fieldset dl label[for]{text-align:right;width:60%}#bbpress-forums #bbp-your-profile fieldset span.description{margin:5px 0 0 20%;font-size:12px;font-style:italic;float:right;clear:right;width:60%;padding:5px 8px;border:#cee1ef 1px solid;background-color:#f0f8ff}#bbpress-forums #bbp-your-profile fieldset fieldset{margin:0;border:0;padding:0;clear:none;float:none}#bbpress-forums #bbp-your-profile fieldset fieldset.password{width:60%;display:inline}#bbpress-forums #bbp-your-profile fieldset fieldset.password input,#bbpress-forums #bbp-your-profile fieldset fieldset.password span{width:100%}#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl{margin:0}#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description{margin-right:0;margin-bottom:20px}#bbpress-forums #bbp-your-profile fieldset.submit button{float:left}div.bbp-template-notice,div.indicator-hint{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 0 15px;border-radius:3px;background-color:#ffffe0;border-color:#e6db55;color:#000;clear:both}div.bbp-template-notice a{color:#555;text-decoration:none}div.bbp-template-notice a:hover{color:#000}div.bbp-template-notice.info{border:#cee1ef 1px solid;background-color:#f0f8ff}div.bbp-template-notice.important{border:#e6db55 1px solid;background-color:#fffbcc}div.bbp-template-notice.error,div.bbp-template-notice.warning{background-color:#ffebe8;border-color:#c00}div.bbp-template-notice.error a,div.bbp-template-notice.warning a{color:#c00}div.bbp-template-notice p{margin:.5em 0 6px 0!important;padding:2px;font-size:12px;line-height:140%}.bbp-topics-front ul.super-sticky,.bbp-topics ul.super-sticky,.bbp-topics ul.sticky,.bbp-forum-content ul.sticky{background-color:#ffffe0!important;font-size:1.1em}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log{border-top:1px dotted #ddd;width:100%;margin:0;padding:8px 0 0 0;font-size:11px;color:#aaa}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li{list-style-type:none}.bbp-login-form fieldset legend{display:none}.bbp-login-form .bbp-username input,.bbp-login-form .bbp-email input,.bbp-login-form .bbp-password input{padding:5px}.bbp-login-form label{width:140px;display:inline-block}#sidebar .bbp-login-form label{width:70px}.bbp-login-form .bbp-username,.bbp-login-form .bbp-email,.bbp-login-form .bbp-password,.bbp-login-form .bbp-remember-me,.bbp-login-form .bbp-submit-wrapper{margin-top:10px}.bbp-login-form .bbp-submit-wrapper{text-align:left}.bbp-login-form .bbp-login-links a{float:right;clear:right}.bbp-logged-in img.avatar{float:right;margin:0 0 0 15px}.bbp-logged-in h4{font-weight:bold;font-size:1.3em;clear:none;margin-bottom:10px}#bbpress-forums p.bbp-topic-meta img.avatar,#bbpress-forums ul.bbp-reply-revision-log img.avatar,#bbpress-forums ul.bbp-topic-revision-log img.avatar,#bbpress-forums div.bbp-template-notice img.avatar,#bbpress-forums .widget_display_topics img.avatar,#bbpress-forums .widget_display_replies img.avatar,#bbpress-forums p.bbp-topic-meta img.avatar{float:none;margin-bottom:-7px;border:3px double #ddd}fieldset div.avatar{float:left}.activity-list li.bbp_topic_create .activity-content .activity-inner,.activity-list li.bbp_reply_create .activity-content .activity-inner{border-right:2px solid #eaeaea;margin-right:5px;padding-right:10px}#bbpress-forums h1{clear:none;font-size:1.8em;line-height:1em;padding-bottom:10px}#bbpress-forums #bbp-user-wrapper{float:right;width:100%}#bbpress-forums .bbp-user-section{overflow:auto}#bbpress-forums #bbp-user-wrapper h2.entry-title{font-size:1.4em;margin:0;padding-bottom:10px;padding-top:0;clear:none}#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic,#bbpress-forums #bbp-user-wrapper ul.bbp-topics,#bbpress-forums #bbp-user-wrapper ul.bbp-forums,#bbpress-forums #bbp-user-wrapper ul.bbp-replies,#bbpress-forums #bbp-user-wrapper fieldset.bbp-form{clear:none}#bbpress-forums #bbp-single-user-details{margin:0;width:150px;float:right;overflow:hidden}#bbpress-forums #bbp-single-user-details #bbp-user-avatar{margin:0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar{border:0;height:150px;padding:0;margin:0 0 20px 0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-description{float:none;margin-right:180px}#bbpress-forums #bbp-single-user-details #bbp-user-navigation{float:none;margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li{margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation a{padding:5px 8px;display:block;border:1px solid transparent;text-decoration:none}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a{background:#eee;opacity:.8}#bbpress-forums #bbp-user-body{margin-right:180px}body.my-account #bbpress-forums{border-top:0;padding-top:0;margin-bottom:0}#bbpress-forums dl.bbp-user-capabilities{display:inline-block;vertical-align:top}#bbpress-forums dl.bbp-user-capabilities dt{margin:0 0 10px;text-transform:capitalize}#bbpress-forums dl.bbp-user-capabilities dd{margin:0;padding:0}#bbpress-forums div.row-actions{font-size:11px;visibility:hidden}#bbpress-forums li:hover>div.row-actions{visibility:visible}
|
templates/default/css/bbpress.css
CHANGED
|
@@ -30,8 +30,13 @@
|
|
| 30 |
background-color: #fbfbfb;
|
| 31 |
}
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
#bbpress-forums div.reply {
|
| 34 |
height: auto;
|
|
|
|
| 35 |
}
|
| 36 |
|
| 37 |
#bbpress-forums div.bbp-forum-header,
|
| 30 |
background-color: #fbfbfb;
|
| 31 |
}
|
| 32 |
|
| 33 |
+
body.reply-edit .reply {
|
| 34 |
+
float: none;
|
| 35 |
+
}
|
| 36 |
+
|
| 37 |
#bbpress-forums div.reply {
|
| 38 |
height: auto;
|
| 39 |
+
width: 100%;
|
| 40 |
}
|
| 41 |
|
| 42 |
#bbpress-forums div.bbp-forum-header,
|
templates/default/css/bbpress.min.css
CHANGED
|
@@ -1 +1 @@
|
|
| 1 |
-
#bbpress-forums hr{margin:0 0 24px 0}#bbpress-forums{background:transparent;clear:both;margin-bottom:20px;overflow:hidden;font-size:12px}#bbpress-forums div.even,#bbpress-forums ul.even{background-color:#fff}#bbpress-forums div.odd,#bbpress-forums ul.odd{background-color:#fbfbfb}#bbpress-forums div.reply{height:auto}#bbpress-forums div.bbp-forum-header,#bbpress-forums div.bbp-topic-header,#bbpress-forums div.bbp-reply-header{background-color:#f4f4f4}#bbpress-forums .status-trash.even,#bbpress-forums .status-spam.even{background-color:#fee}#bbpress-forums .status-trash.odd,#bbpress-forums .status-spam.odd{background-color:#fdd}#bbpress-forums .status-closed,#bbpress-forums .status-closed a{color:#ccc}#bbpress-forums ul{list-style:none;margin:0;padding:0}#bbpress-forums li{margin:0;list-style:none}#bbpress-forums ul.bbp-lead-topic,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{font-size:12px;overflow:hidden;border:1px solid #eee;margin-bottom:20px;clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-body,#bbpress-forums li.bbp-footer{clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:#f3f3f3;border-top:1px solid #eee;font-weight:bold;padding:8px;text-align:center}#bbpress-forums li.bbp-header{background:#eaeaea}#bbpress-forums li.bbp-header ul{overflow:hidden}#bbpress-forums .bbp-forums-list{margin:0 0 0 5px;padding-left:15px;border-left:1px solid #ddd}#bbpress-forums .bbp-forums-list li{display:inline;font-size:11px}#bbpress-forums li.bbp-footer p{margin:0;line-height:1em}li.bbp-forum-info,li.bbp-topic-title{float:left;text-align:left;width:55%}li.bbp-forum-topic-count,li.bbp-topic-voice-count,li.bbp-forum-reply-count,li.bbp-topic-reply-count{float:left;text-align:center;width:10%}li.bbp-forum-freshness,li.bbp-topic-freshness{text-align:center;float:left;width:22%}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-top:1px solid #eee;overflow:hidden;padding:8px}li.bbp-header div.bbp-topic-content span#subscription-toggle,li.bbp-header div.bbp-topic-content span#favorite-toggle,li.bbp-header div.bbp-reply-content span#subscription-toggle,li.bbp-header div.bbp-reply-content span#favorite-toggle{float:right}#bbpress-forums div.bbp-forum-title h3,#bbpress-forums div.bbp-topic-title h3,#bbpress-forums div.bbp-reply-title h3{line-height:1em;margin:8px 0}#bbpress-forums div.bbp-forum-author,#bbpress-forums div.bbp-topic-author,#bbpress-forums div.bbp-reply-author{float:left;text-align:center;width:115px}#bbpress-forums div.bbp-forum-author img.avatar,#bbpress-forums div.bbp-topic-author img.avatar,#bbpress-forums div.bbp-reply-author img.avatar{border:0;max-width:80px;padding:0;margin:12px auto 0 auto;float:none}#bbpress-forums div.bbp-forum-author a.bbp-author-name,#bbpress-forums div.bbp-topic-author a.bbp-author-name,#bbpress-forums div.bbp-reply-author a.bbp-author-name{margin:0 12px;word-break:break-word;display:inline-block}#bbpress-forums div.bbp-forum-author .bbp-author-role,#bbpress-forums div.bbp-topic-author .bbp-author-role,#bbpress-forums div.bbp-reply-author .bbp-author-role{font-size:11px;font-style:italic}#bbpress-forums li.bbp-header .bbp-search-author,#bbpress-forums li.bbp-footer .bbp-search-author,#bbpress-forums li.bbp-header .bbp-forum-author,#bbpress-forums li.bbp-footer .bbp-forum-author,#bbpress-forums li.bbp-header .bbp-topic-author,#bbpress-forums li.bbp-footer .bbp-topic-author,#bbpress-forums li.bbp-header .bbp-reply-author,#bbpress-forums li.bbp-footer .bbp-reply-author{float:left;margin:0;padding:0;width:120px}#bbpress-forums li.bbp-header .bbp-search-content,#bbpress-forums li.bbp-footer .bbp-search-content,#bbpress-forums li.bbp-header .bbp-forum-content,#bbpress-forums li.bbp-footer .bbp-forum-content,#bbpress-forums li.bbp-header .bbp-topic-content,#bbpress-forums li.bbp-footer .bbp-topic-content,#bbpress-forums li.bbp-header .bbp-reply-content,#bbpress-forums li.bbp-footer .bbp-reply-content{margin-left:140px;padding:0;text-align:left}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header,li.bbp-body div.hentry{margin-bottom:0;overflow:hidden;padding:8px}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header{border-top:1px solid #ddd;clear:both}span.bbp-author-ip{font-family:'Helvetica Neue',Arial,Helvetica,'Nimbus Sans L',sans-serif;font-size:11px;font-weight:bold;color:#aaa}#bbpress-forums div.bbp-forum-content,#bbpress-forums div.bbp-topic-content,#bbpress-forums div.bbp-reply-content{margin-left:130px;padding:12px 12px 12px 0;text-align:left}#bbpress-forums div.bbp-topic-content a,#bbpress-forums div.bbp-reply-content a{background:0;border:0;display:inline;font-weight:normal;margin:0;padding:0}#bbpress-forums div.bbp-topic-content h1,#bbpress-forums div.bbp-reply-content h1,#bbpress-forums div.bbp-topic-content h2,#bbpress-forums div.bbp-reply-content h2,#bbpress-forums div.bbp-topic-content h3,#bbpress-forums div.bbp-reply-content h3,#bbpress-forums div.bbp-topic-content h4,#bbpress-forums div.bbp-reply-content h4,#bbpress-forums div.bbp-topic-content h5,#bbpress-forums div.bbp-reply-content h5,#bbpress-forums div.bbp-topic-content h6,#bbpress-forums div.bbp-reply-content h6{clear:none;line-height:1em;margin:24px 0;padding:0}#bbpress-forums div.bbp-topic-content img,#bbpress-forums div.bbp-reply-content img{max-width:100%}#bbpress-forums div.bbp-topic-content ul,#bbpress-forums div.bbp-reply-content ul,#bbpress-forums div.bbp-topic-content ol,#bbpress-forums div.bbp-reply-content ol{margin:0 15px 15px;padding:0}#bbpress-forums div.bbp-topic-content ul li,#bbpress-forums div.bbp-reply-content ul li{list-style-type:disc}#bbpress-forums div.bbp-topic-content ol li,#bbpress-forums div.bbp-reply-content ol li{list-style-type:decimal}#bbpress-forums div.bbp-topic-content ol li li,#bbpress-forums div.bbp-reply-content ol li li{list-style-type:lower-alpha}#bbpress-forums div.bbp-topic-content ol li li li,#bbpress-forums div.bbp-reply-content ol li li li{list-style-type:upper-roman}#bbpress-forums div.bbp-topic-content code,#bbpress-forums div.bbp-reply-content code,#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{font-family:Inconsolata,Consolas,Monaco,Lucida Console,monospace;display:inline;background-color:#f9f9f9;border:1px solid #ddd;padding:2px}#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{display:block;line-height:18px;margin:0 0 24px;padding:5px 10px;white-space:pre;overflow:auto}#bbpress-forums div.bbp-topic-content pre code,#bbpress-forums div.bbp-reply-content pre code{display:block;border:0;padding:0;margin:0;background-color:transparent;overflow-wrap:normal}div.bbp-breadcrumb{float:left}div.bbp-breadcrumb,div.bbp-topic-tags{font-size:12px}#bbpress-forums div.bbp-breadcrumb p,#bbpress-forums div.bbp-topic-tags p{margin-bottom:10px}#bbpress-forums div.bbp-topic-tags{float:right}#bbp-topic-hot-tags{clear:both}#bbpress-forums #bbp-search-form{clear:left}#bbpress-forums div.bbp-search-form{float:right}span.bbp-admin-links{float:right;color:#ddd}span.bbp-admin-links a{color:#bbb;font-weight:normal;font-size:10px;text-transform:uppercase;text-decoration:none}fieldset span.bbp-admin-links{float:left}tr td span.bbp-admin-links a:hover{color:#ff4b33}td.bbp-topic-admin-links,td.bbp-topic-counts{width:50%}.bbp-forum-header a.bbp-forum-permalink,.bbp-topic-header a.bbp-topic-permalink,.bbp-reply-header a.bbp-reply-permalink{float:right;margin-left:10px;color:#ccc}.bbp-topic-action #favorite-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #favorite-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #favorite-toggle span.is-favorite a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #favorite-toggle span.is-favorite a:hover{color:#c88;border-color:#c88;background-color:#fdd}.bbp-topic-action #subscription-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #subscription-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #subscription-toggle span.is-subscribed a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #subscription-toggle span.is-subscribed a:hover{color:#c88;border-color:#c88;background-color:#fdd}#bbpress-forums .bbp-forum-info .bbp-forum-content,#bbpress-forums p.bbp-topic-meta{margin:5px 0 5px;padding:0;font-size:11px}#bbpress-forums p.bbp-topic-meta span{white-space:nowrap}.bbp-pagination-count{float:left;border:1px solid transparent}.bbp-pagination-links{float:right;list-style:none;display:inline}.bbp-pagination-links a,.bbp-pagination-links span.current{display:block;float:left;padding:0 5px;margin-left:5px;border:1px solid #efefef;text-decoration:none}.bbp-pagination-links a:hover,.bbp-pagination-links span.current{background:#eee;opacity:.8;border:1px solid #ddd}.bbp-pagination-links span.dots{display:block;float:left;padding:1px 4px;margin-left:5px}.bbp-pagination{float:left;width:100%;margin-bottom:15px}.bbp-topic-pagination{display:inline-block;margin-left:5px;margin-bottom:2px}.bbp-topic-pagination a{font-size:10px;line-height:10px;padding:1px 3px;border:1px solid #ddd;text-decoration:none}#bbpress-forums fieldset.bbp-form{clear:left}#bbpress-forums fieldset.bbp-form{border:1px solid #eee;padding:10px 20px;margin-bottom:10px}#bbpress-forums fieldset.bbp-form legend{padding:5px}#bbpress-forums fieldset.bbp-form label{margin:0;display:inline-block}#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,#bbp-login fieldset label,#bbp-register fieldset label,#bbp-lost-pass fieldset label{width:100px}#bbpress-forums fieldset.bbp-form p,#bbpress-forums fieldset.bbp-form textarea,#bbpress-forums fieldset.bbp-form select,#bbpress-forums fieldset.bbp-form input{margin:0 0 8px}textarea#bbp_reply_content,textarea#bbp_topic_content,textarea#bbp_forum_content{width:97%;box-sizing:border-box}textarea#bbp_forum_content{height:210px}#bbpress-forums fieldset.bbp-forum-form-attributes{width:200px;float:right;clear:none;margin-left:25px}#bbpress-forums fieldset select#bbp_forum_id{max-width:200px}.bbp-topic-form,.bbp-reply-form,.bbp-topic-tag-form{clear:left}body.topic-edit .bbp-topic-form div.avatar img,body.reply-edit .bbp-reply-form div.avatar img,body.single-forum .bbp-topic-form div.avatar img,body.single-reply .bbp-reply-form div.avatar img{margin-right:0;padding:10px;border:1px solid #ddd;line-height:0;background-color:#efefef}body.page .bbp-reply-form code,body.page .bbp-topic-form code,body.single-topic .bbp-reply-form code,body.single-forum .bbp-topic-form code,body.topic-edit .bbp-topic-form code,body.reply-edit .bbp-reply-form code{font-size:10px;background-color:#f0fff8;border:1px solid #ceefe1;display:block;padding:8px;margin-top:5px;width:369px}#merge_tag,#delete_tag{display:inline}div.bbp-submit-wrapper{margin-top:15px;float:right;clear:both}p.form-allowed-tags{width:462px}#bbpress-forums div.bbp-the-content-wrapper{margin-bottom:10px}#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content{width:100%;margin:0;font-size:12px}#bbpress-forums div.bbp-the-content-wrapper table,#bbpress-forums div.bbp-the-content-wrapper tbody,#bbpress-forums div.bbp-the-content-wrapper tr,#bbpress-forums div.bbp-the-content-wrapper td{border:0;padding:0;margin:0;width:auto;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper input{font-size:12px;padding:5px;margin:0 2px 0 0;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar{padding:5px;min-height:26px}#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar{padding:4px 4px 8px}#bbpress-forums div.wp-editor-container{margin:0;padding:0;line-height:0}#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar{line-height:16px}#bbpress-forums #bbp-your-profile fieldset{padding:20px 20px 0 20px}#bbpress-forums #bbp-your-profile fieldset div{margin-bottom:20px;float:left;width:100%;clear:left}#bbpress-forums #bbp-your-profile fieldset select{margin-bottom:0}#bbpress-forums #bbp-your-profile fieldset input,#bbpress-forums #bbp-your-profile fieldset textarea{margin-bottom:0;width:60%;background:#f9f9f9;border:1px solid #ddd;box-shadow:none;padding:5px 8px;border-radius:0}#bbpress-forums #bbp-your-profile fieldset input:focus,#bbpress-forums #bbp-your-profile fieldset textarea:focus{border:1px solid #ccc;box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);outline-color:rgba(240,255,240,0.1)}#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox{width:auto}#bbpress-forums #bbp-your-profile fieldset legend{display:none}#bbpress-forums #bbp-your-profile fieldset label[for]{float:left;width:20%;padding:5px 20px 5px 0;text-align:right;cursor:pointer}#bbpress-forums #bbp-your-profile fieldset dl label[for]{text-align:left;width:60%}#bbpress-forums #bbp-your-profile fieldset span.description{margin:5px 0 0 20%;font-size:12px;font-style:italic;float:left;clear:left;width:60%;padding:5px 8px;border:#cee1ef 1px solid;background-color:#f0f8ff}#bbpress-forums #bbp-your-profile fieldset fieldset{margin:0;border:0;padding:0;clear:none;float:none}#bbpress-forums #bbp-your-profile fieldset fieldset.password{width:60%;display:inline}#bbpress-forums #bbp-your-profile fieldset fieldset.password input,#bbpress-forums #bbp-your-profile fieldset fieldset.password span{width:100%}#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl{margin:0}#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description{margin-left:0;margin-bottom:20px}#bbpress-forums #bbp-your-profile fieldset.submit button{float:right}div.bbp-template-notice,div.indicator-hint{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 0 15px;border-radius:3px;background-color:#ffffe0;border-color:#e6db55;color:#000;clear:both}div.bbp-template-notice a{color:#555;text-decoration:none}div.bbp-template-notice a:hover{color:#000}div.bbp-template-notice.info{border:#cee1ef 1px solid;background-color:#f0f8ff}div.bbp-template-notice.important{border:#e6db55 1px solid;background-color:#fffbcc}div.bbp-template-notice.error,div.bbp-template-notice.warning{background-color:#ffebe8;border-color:#c00}div.bbp-template-notice.error a,div.bbp-template-notice.warning a{color:#c00}div.bbp-template-notice p{margin:.5em 0 6px 0!important;padding:2px;font-size:12px;line-height:140%}.bbp-topics-front ul.super-sticky,.bbp-topics ul.super-sticky,.bbp-topics ul.sticky,.bbp-forum-content ul.sticky{background-color:#ffffe0!important;font-size:1.1em}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log{border-top:1px dotted #ddd;width:100%;margin:0;padding:8px 0 0 0;font-size:11px;color:#aaa}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li{list-style-type:none}.bbp-login-form fieldset legend{display:none}.bbp-login-form .bbp-username input,.bbp-login-form .bbp-email input,.bbp-login-form .bbp-password input{padding:5px}.bbp-login-form label{width:140px;display:inline-block}#sidebar .bbp-login-form label{width:70px}.bbp-login-form .bbp-username,.bbp-login-form .bbp-email,.bbp-login-form .bbp-password,.bbp-login-form .bbp-remember-me,.bbp-login-form .bbp-submit-wrapper{margin-top:10px}.bbp-login-form .bbp-submit-wrapper{text-align:right}.bbp-login-form .bbp-login-links a{float:left;clear:left}.bbp-logged-in img.avatar{float:left;margin:0 15px 0 0}.bbp-logged-in h4{font-weight:bold;font-size:1.3em;clear:none;margin-bottom:10px}#bbpress-forums p.bbp-topic-meta img.avatar,#bbpress-forums ul.bbp-reply-revision-log img.avatar,#bbpress-forums ul.bbp-topic-revision-log img.avatar,#bbpress-forums div.bbp-template-notice img.avatar,#bbpress-forums .widget_display_topics img.avatar,#bbpress-forums .widget_display_replies img.avatar,#bbpress-forums p.bbp-topic-meta img.avatar{float:none;margin-bottom:-7px;border:3px double #ddd}fieldset div.avatar{float:right}.activity-list li.bbp_topic_create .activity-content .activity-inner,.activity-list li.bbp_reply_create .activity-content .activity-inner{border-left:2px solid #eaeaea;margin-left:5px;padding-left:10px}#bbpress-forums h1{clear:none;font-size:1.8em;line-height:1em;padding-bottom:10px}#bbpress-forums #bbp-user-wrapper{float:left;width:100%}#bbpress-forums .bbp-user-section{overflow:auto}#bbpress-forums #bbp-user-wrapper h2.entry-title{font-size:1.4em;margin:0;padding-bottom:10px;padding-top:0;clear:none}#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic,#bbpress-forums #bbp-user-wrapper ul.bbp-topics,#bbpress-forums #bbp-user-wrapper ul.bbp-forums,#bbpress-forums #bbp-user-wrapper ul.bbp-replies,#bbpress-forums #bbp-user-wrapper fieldset.bbp-form{clear:none}#bbpress-forums #bbp-single-user-details{margin:0;width:150px;float:left;overflow:hidden}#bbpress-forums #bbp-single-user-details #bbp-user-avatar{margin:0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar{border:0;height:150px;padding:0;margin:0 0 20px 0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-description{float:none;margin-left:180px}#bbpress-forums #bbp-single-user-details #bbp-user-navigation{float:none;margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li{margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation a{padding:5px 8px;display:block;border:1px solid transparent;text-decoration:none}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a{background:#eee;opacity:.8}#bbpress-forums #bbp-user-body{margin-left:180px}body.my-account #bbpress-forums{border-top:0;padding-top:0;margin-bottom:0}#bbpress-forums dl.bbp-user-capabilities{display:inline-block;vertical-align:top}#bbpress-forums dl.bbp-user-capabilities dt{margin:0 0 10px;text-transform:capitalize}#bbpress-forums dl.bbp-user-capabilities dd{margin:0;padding:0}#bbpress-forums div.row-actions{font-size:11px;visibility:hidden}#bbpress-forums li:hover>div.row-actions{visibility:visible}
|
| 1 |
+
#bbpress-forums hr{margin:0 0 24px 0}#bbpress-forums{background:transparent;clear:both;margin-bottom:20px;overflow:hidden;font-size:12px}#bbpress-forums div.even,#bbpress-forums ul.even{background-color:#fff}#bbpress-forums div.odd,#bbpress-forums ul.odd{background-color:#fbfbfb}body.reply-edit .reply{float:none}#bbpress-forums div.reply{height:auto;width:100%}#bbpress-forums div.bbp-forum-header,#bbpress-forums div.bbp-topic-header,#bbpress-forums div.bbp-reply-header{background-color:#f4f4f4}#bbpress-forums .status-trash.even,#bbpress-forums .status-spam.even{background-color:#fee}#bbpress-forums .status-trash.odd,#bbpress-forums .status-spam.odd{background-color:#fdd}#bbpress-forums .status-closed,#bbpress-forums .status-closed a{color:#ccc}#bbpress-forums ul{list-style:none;margin:0;padding:0}#bbpress-forums li{margin:0;list-style:none}#bbpress-forums ul.bbp-lead-topic,#bbpress-forums ul.bbp-topics,#bbpress-forums ul.bbp-forums,#bbpress-forums ul.bbp-replies,#bbpress-forums ul.bbp-search-results{font-size:12px;overflow:hidden;border:1px solid #eee;margin-bottom:20px;clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-body,#bbpress-forums li.bbp-footer{clear:both}#bbpress-forums li.bbp-header,#bbpress-forums li.bbp-footer{background:#f3f3f3;border-top:1px solid #eee;font-weight:bold;padding:8px;text-align:center}#bbpress-forums li.bbp-header{background:#eaeaea}#bbpress-forums li.bbp-header ul{overflow:hidden}#bbpress-forums .bbp-forums-list{margin:0 0 0 5px;padding-left:15px;border-left:1px solid #ddd}#bbpress-forums .bbp-forums-list li{display:inline;font-size:11px}#bbpress-forums li.bbp-footer p{margin:0;line-height:1em}li.bbp-forum-info,li.bbp-topic-title{float:left;text-align:left;width:55%}li.bbp-forum-topic-count,li.bbp-topic-voice-count,li.bbp-forum-reply-count,li.bbp-topic-reply-count{float:left;text-align:center;width:10%}li.bbp-forum-freshness,li.bbp-topic-freshness{text-align:center;float:left;width:22%}#bbpress-forums li.bbp-body ul.forum,#bbpress-forums li.bbp-body ul.topic{border-top:1px solid #eee;overflow:hidden;padding:8px}li.bbp-header div.bbp-topic-content span#subscription-toggle,li.bbp-header div.bbp-topic-content span#favorite-toggle,li.bbp-header div.bbp-reply-content span#subscription-toggle,li.bbp-header div.bbp-reply-content span#favorite-toggle{float:right}#bbpress-forums div.bbp-forum-title h3,#bbpress-forums div.bbp-topic-title h3,#bbpress-forums div.bbp-reply-title h3{line-height:1em;margin:8px 0}#bbpress-forums div.bbp-forum-author,#bbpress-forums div.bbp-topic-author,#bbpress-forums div.bbp-reply-author{float:left;text-align:center;width:115px}#bbpress-forums div.bbp-forum-author img.avatar,#bbpress-forums div.bbp-topic-author img.avatar,#bbpress-forums div.bbp-reply-author img.avatar{border:0;max-width:80px;padding:0;margin:12px auto 0 auto;float:none}#bbpress-forums div.bbp-forum-author a.bbp-author-name,#bbpress-forums div.bbp-topic-author a.bbp-author-name,#bbpress-forums div.bbp-reply-author a.bbp-author-name{margin:0 12px;word-break:break-word;display:inline-block}#bbpress-forums div.bbp-forum-author .bbp-author-role,#bbpress-forums div.bbp-topic-author .bbp-author-role,#bbpress-forums div.bbp-reply-author .bbp-author-role{font-size:11px;font-style:italic}#bbpress-forums li.bbp-header .bbp-search-author,#bbpress-forums li.bbp-footer .bbp-search-author,#bbpress-forums li.bbp-header .bbp-forum-author,#bbpress-forums li.bbp-footer .bbp-forum-author,#bbpress-forums li.bbp-header .bbp-topic-author,#bbpress-forums li.bbp-footer .bbp-topic-author,#bbpress-forums li.bbp-header .bbp-reply-author,#bbpress-forums li.bbp-footer .bbp-reply-author{float:left;margin:0;padding:0;width:120px}#bbpress-forums li.bbp-header .bbp-search-content,#bbpress-forums li.bbp-footer .bbp-search-content,#bbpress-forums li.bbp-header .bbp-forum-content,#bbpress-forums li.bbp-footer .bbp-forum-content,#bbpress-forums li.bbp-header .bbp-topic-content,#bbpress-forums li.bbp-footer .bbp-topic-content,#bbpress-forums li.bbp-header .bbp-reply-content,#bbpress-forums li.bbp-footer .bbp-reply-content{margin-left:140px;padding:0;text-align:left}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header,li.bbp-body div.hentry{margin-bottom:0;overflow:hidden;padding:8px}div.bbp-forum-header,div.bbp-topic-header,div.bbp-reply-header{border-top:1px solid #ddd;clear:both}span.bbp-author-ip{font-family:'Helvetica Neue',Arial,Helvetica,'Nimbus Sans L',sans-serif;font-size:11px;font-weight:bold;color:#aaa}#bbpress-forums div.bbp-forum-content,#bbpress-forums div.bbp-topic-content,#bbpress-forums div.bbp-reply-content{margin-left:130px;padding:12px 12px 12px 0;text-align:left}#bbpress-forums div.bbp-topic-content a,#bbpress-forums div.bbp-reply-content a{background:0;border:0;display:inline;font-weight:normal;margin:0;padding:0}#bbpress-forums div.bbp-topic-content h1,#bbpress-forums div.bbp-reply-content h1,#bbpress-forums div.bbp-topic-content h2,#bbpress-forums div.bbp-reply-content h2,#bbpress-forums div.bbp-topic-content h3,#bbpress-forums div.bbp-reply-content h3,#bbpress-forums div.bbp-topic-content h4,#bbpress-forums div.bbp-reply-content h4,#bbpress-forums div.bbp-topic-content h5,#bbpress-forums div.bbp-reply-content h5,#bbpress-forums div.bbp-topic-content h6,#bbpress-forums div.bbp-reply-content h6{clear:none;line-height:1em;margin:24px 0;padding:0}#bbpress-forums div.bbp-topic-content img,#bbpress-forums div.bbp-reply-content img{max-width:100%}#bbpress-forums div.bbp-topic-content ul,#bbpress-forums div.bbp-reply-content ul,#bbpress-forums div.bbp-topic-content ol,#bbpress-forums div.bbp-reply-content ol{margin:0 15px 15px;padding:0}#bbpress-forums div.bbp-topic-content ul li,#bbpress-forums div.bbp-reply-content ul li{list-style-type:disc}#bbpress-forums div.bbp-topic-content ol li,#bbpress-forums div.bbp-reply-content ol li{list-style-type:decimal}#bbpress-forums div.bbp-topic-content ol li li,#bbpress-forums div.bbp-reply-content ol li li{list-style-type:lower-alpha}#bbpress-forums div.bbp-topic-content ol li li li,#bbpress-forums div.bbp-reply-content ol li li li{list-style-type:upper-roman}#bbpress-forums div.bbp-topic-content code,#bbpress-forums div.bbp-reply-content code,#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{font-family:Inconsolata,Consolas,Monaco,Lucida Console,monospace;display:inline;background-color:#f9f9f9;border:1px solid #ddd;padding:2px}#bbpress-forums div.bbp-topic-content pre,#bbpress-forums div.bbp-reply-content pre{display:block;line-height:18px;margin:0 0 24px;padding:5px 10px;white-space:pre;overflow:auto}#bbpress-forums div.bbp-topic-content pre code,#bbpress-forums div.bbp-reply-content pre code{display:block;border:0;padding:0;margin:0;background-color:transparent;overflow-wrap:normal}div.bbp-breadcrumb{float:left}div.bbp-breadcrumb,div.bbp-topic-tags{font-size:12px}#bbpress-forums div.bbp-breadcrumb p,#bbpress-forums div.bbp-topic-tags p{margin-bottom:10px}#bbpress-forums div.bbp-topic-tags{float:right}#bbp-topic-hot-tags{clear:both}#bbpress-forums #bbp-search-form{clear:left}#bbpress-forums div.bbp-search-form{float:right}span.bbp-admin-links{float:right;color:#ddd}span.bbp-admin-links a{color:#bbb;font-weight:normal;font-size:10px;text-transform:uppercase;text-decoration:none}fieldset span.bbp-admin-links{float:left}tr td span.bbp-admin-links a:hover{color:#ff4b33}td.bbp-topic-admin-links,td.bbp-topic-counts{width:50%}.bbp-forum-header a.bbp-forum-permalink,.bbp-topic-header a.bbp-topic-permalink,.bbp-reply-header a.bbp-reply-permalink{float:right;margin-left:10px;color:#ccc}.bbp-topic-action #favorite-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #favorite-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #favorite-toggle span.is-favorite a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #favorite-toggle span.is-favorite a:hover{color:#c88;border-color:#c88;background-color:#fdd}.bbp-topic-action #subscription-toggle a{text-decoration:none;padding:0 3px 1px;color:#7c7;border:1px solid #aca;background-color:#dfd;font-weight:bold;font-size:13px}.bbp-topic-action #subscription-toggle a:hover{color:#5a5;border-color:#7c7;background-color:#beb}.bbp-topic-action #subscription-toggle span.is-subscribed a{color:#faa;border:1px solid #faa;background-color:#fee}.bbp-topic-action #subscription-toggle span.is-subscribed a:hover{color:#c88;border-color:#c88;background-color:#fdd}#bbpress-forums .bbp-forum-info .bbp-forum-content,#bbpress-forums p.bbp-topic-meta{margin:5px 0 5px;padding:0;font-size:11px}#bbpress-forums p.bbp-topic-meta span{white-space:nowrap}.bbp-pagination-count{float:left;border:1px solid transparent}.bbp-pagination-links{float:right;list-style:none;display:inline}.bbp-pagination-links a,.bbp-pagination-links span.current{display:block;float:left;padding:0 5px;margin-left:5px;border:1px solid #efefef;text-decoration:none}.bbp-pagination-links a:hover,.bbp-pagination-links span.current{background:#eee;opacity:.8;border:1px solid #ddd}.bbp-pagination-links span.dots{display:block;float:left;padding:1px 4px;margin-left:5px}.bbp-pagination{float:left;width:100%;margin-bottom:15px}.bbp-topic-pagination{display:inline-block;margin-left:5px;margin-bottom:2px}.bbp-topic-pagination a{font-size:10px;line-height:10px;padding:1px 3px;border:1px solid #ddd;text-decoration:none}#bbpress-forums fieldset.bbp-form{clear:left}#bbpress-forums fieldset.bbp-form{border:1px solid #eee;padding:10px 20px;margin-bottom:10px}#bbpress-forums fieldset.bbp-form legend{padding:5px}#bbpress-forums fieldset.bbp-form label{margin:0;display:inline-block}#bbp-edit-topic-tag.bbp-form fieldset.bbp-form label,#bbp-login fieldset label,#bbp-register fieldset label,#bbp-lost-pass fieldset label{width:100px}#bbpress-forums fieldset.bbp-form p,#bbpress-forums fieldset.bbp-form textarea,#bbpress-forums fieldset.bbp-form select,#bbpress-forums fieldset.bbp-form input{margin:0 0 8px}textarea#bbp_reply_content,textarea#bbp_topic_content,textarea#bbp_forum_content{width:97%;box-sizing:border-box}textarea#bbp_forum_content{height:210px}#bbpress-forums fieldset.bbp-forum-form-attributes{width:200px;float:right;clear:none;margin-left:25px}#bbpress-forums fieldset select#bbp_forum_id{max-width:200px}.bbp-topic-form,.bbp-reply-form,.bbp-topic-tag-form{clear:left}body.topic-edit .bbp-topic-form div.avatar img,body.reply-edit .bbp-reply-form div.avatar img,body.single-forum .bbp-topic-form div.avatar img,body.single-reply .bbp-reply-form div.avatar img{margin-right:0;padding:10px;border:1px solid #ddd;line-height:0;background-color:#efefef}body.page .bbp-reply-form code,body.page .bbp-topic-form code,body.single-topic .bbp-reply-form code,body.single-forum .bbp-topic-form code,body.topic-edit .bbp-topic-form code,body.reply-edit .bbp-reply-form code{font-size:10px;background-color:#f0fff8;border:1px solid #ceefe1;display:block;padding:8px;margin-top:5px;width:369px}#merge_tag,#delete_tag{display:inline}div.bbp-submit-wrapper{margin-top:15px;float:right;clear:both}p.form-allowed-tags{width:462px}#bbpress-forums div.bbp-the-content-wrapper{margin-bottom:10px}#bbpress-forums div.bbp-the-content-wrapper textarea.bbp-the-content{width:100%;margin:0;font-size:12px}#bbpress-forums div.bbp-the-content-wrapper table,#bbpress-forums div.bbp-the-content-wrapper tbody,#bbpress-forums div.bbp-the-content-wrapper tr,#bbpress-forums div.bbp-the-content-wrapper td{border:0;padding:0;margin:0;width:auto;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper input{font-size:12px;padding:5px;margin:0 2px 0 0;line-height:1em}#bbpress-forums div.bbp-the-content-wrapper div.quicktags-toolbar{padding:5px;min-height:26px}#bbpress-forums div.bbp-the-content-wrapper td.mceToolbar{padding:4px 4px 8px}#bbpress-forums div.wp-editor-container{margin:0;padding:0;line-height:0}#bbpress-forums div.bbp-the-content-wrapper td.mceStatusbar{line-height:16px}#bbpress-forums #bbp-your-profile fieldset{padding:20px 20px 0 20px}#bbpress-forums #bbp-your-profile fieldset div{margin-bottom:20px;float:left;width:100%;clear:left}#bbpress-forums #bbp-your-profile fieldset select{margin-bottom:0}#bbpress-forums #bbp-your-profile fieldset input,#bbpress-forums #bbp-your-profile fieldset textarea{margin-bottom:0;width:60%;background:#f9f9f9;border:1px solid #ddd;box-shadow:none;padding:5px 8px;border-radius:0}#bbpress-forums #bbp-your-profile fieldset input:focus,#bbpress-forums #bbp-your-profile fieldset textarea:focus{border:1px solid #ccc;box-shadow:inset 1px 1px 1px rgba(0,0,0,0.1);outline-color:rgba(240,255,240,0.1)}#bbpress-forums #bbp-your-profile fieldset.bbp-form input.checkbox{width:auto}#bbpress-forums #bbp-your-profile fieldset legend{display:none}#bbpress-forums #bbp-your-profile fieldset label[for]{float:left;width:20%;padding:5px 20px 5px 0;text-align:right;cursor:pointer}#bbpress-forums #bbp-your-profile fieldset dl label[for]{text-align:left;width:60%}#bbpress-forums #bbp-your-profile fieldset span.description{margin:5px 0 0 20%;font-size:12px;font-style:italic;float:left;clear:left;width:60%;padding:5px 8px;border:#cee1ef 1px solid;background-color:#f0f8ff}#bbpress-forums #bbp-your-profile fieldset fieldset{margin:0;border:0;padding:0;clear:none;float:none}#bbpress-forums #bbp-your-profile fieldset fieldset.password{width:60%;display:inline}#bbpress-forums #bbp-your-profile fieldset fieldset.password input,#bbpress-forums #bbp-your-profile fieldset fieldset.password span{width:100%}#bbpress-forums #bbp-your-profile fieldset fieldset.capabilities dl{margin:0}#bbpress-forums #bbp-your-profile fieldset fieldset.password span.description{margin-left:0;margin-bottom:20px}#bbpress-forums #bbp-your-profile fieldset.submit button{float:right}div.bbp-template-notice,div.indicator-hint{border-width:1px;border-style:solid;padding:0 .6em;margin:5px 0 15px;border-radius:3px;background-color:#ffffe0;border-color:#e6db55;color:#000;clear:both}div.bbp-template-notice a{color:#555;text-decoration:none}div.bbp-template-notice a:hover{color:#000}div.bbp-template-notice.info{border:#cee1ef 1px solid;background-color:#f0f8ff}div.bbp-template-notice.important{border:#e6db55 1px solid;background-color:#fffbcc}div.bbp-template-notice.error,div.bbp-template-notice.warning{background-color:#ffebe8;border-color:#c00}div.bbp-template-notice.error a,div.bbp-template-notice.warning a{color:#c00}div.bbp-template-notice p{margin:.5em 0 6px 0!important;padding:2px;font-size:12px;line-height:140%}.bbp-topics-front ul.super-sticky,.bbp-topics ul.super-sticky,.bbp-topics ul.sticky,.bbp-forum-content ul.sticky{background-color:#ffffe0!important;font-size:1.1em}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log{border-top:1px dotted #ddd;width:100%;margin:0;padding:8px 0 0 0;font-size:11px;color:#aaa}#bbpress-forums .bbp-topic-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-topic-revision-log li,#bbpress-forums .bbp-reply-content ul.bbp-reply-revision-log li{list-style-type:none}.bbp-login-form fieldset legend{display:none}.bbp-login-form .bbp-username input,.bbp-login-form .bbp-email input,.bbp-login-form .bbp-password input{padding:5px}.bbp-login-form label{width:140px;display:inline-block}#sidebar .bbp-login-form label{width:70px}.bbp-login-form .bbp-username,.bbp-login-form .bbp-email,.bbp-login-form .bbp-password,.bbp-login-form .bbp-remember-me,.bbp-login-form .bbp-submit-wrapper{margin-top:10px}.bbp-login-form .bbp-submit-wrapper{text-align:right}.bbp-login-form .bbp-login-links a{float:left;clear:left}.bbp-logged-in img.avatar{float:left;margin:0 15px 0 0}.bbp-logged-in h4{font-weight:bold;font-size:1.3em;clear:none;margin-bottom:10px}#bbpress-forums p.bbp-topic-meta img.avatar,#bbpress-forums ul.bbp-reply-revision-log img.avatar,#bbpress-forums ul.bbp-topic-revision-log img.avatar,#bbpress-forums div.bbp-template-notice img.avatar,#bbpress-forums .widget_display_topics img.avatar,#bbpress-forums .widget_display_replies img.avatar,#bbpress-forums p.bbp-topic-meta img.avatar{float:none;margin-bottom:-7px;border:3px double #ddd}fieldset div.avatar{float:right}.activity-list li.bbp_topic_create .activity-content .activity-inner,.activity-list li.bbp_reply_create .activity-content .activity-inner{border-left:2px solid #eaeaea;margin-left:5px;padding-left:10px}#bbpress-forums h1{clear:none;font-size:1.8em;line-height:1em;padding-bottom:10px}#bbpress-forums #bbp-user-wrapper{float:left;width:100%}#bbpress-forums .bbp-user-section{overflow:auto}#bbpress-forums #bbp-user-wrapper h2.entry-title{font-size:1.4em;margin:0;padding-bottom:10px;padding-top:0;clear:none}#bbpress-forums #bbp-user-wrapper ul.bbp-lead-topic,#bbpress-forums #bbp-user-wrapper ul.bbp-topics,#bbpress-forums #bbp-user-wrapper ul.bbp-forums,#bbpress-forums #bbp-user-wrapper ul.bbp-replies,#bbpress-forums #bbp-user-wrapper fieldset.bbp-form{clear:none}#bbpress-forums #bbp-single-user-details{margin:0;width:150px;float:left;overflow:hidden}#bbpress-forums #bbp-single-user-details #bbp-user-avatar{margin:0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-avatar img.avatar{border:0;height:150px;padding:0;margin:0 0 20px 0;width:150px}#bbpress-forums #bbp-single-user-details #bbp-user-description{float:none;margin-left:180px}#bbpress-forums #bbp-single-user-details #bbp-user-navigation{float:none;margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li{margin:0}#bbpress-forums #bbp-single-user-details #bbp-user-navigation a{padding:5px 8px;display:block;border:1px solid transparent;text-decoration:none}#bbpress-forums #bbp-single-user-details #bbp-user-navigation li.current a{background:#eee;opacity:.8}#bbpress-forums #bbp-user-body{margin-left:180px}body.my-account #bbpress-forums{border-top:0;padding-top:0;margin-bottom:0}#bbpress-forums dl.bbp-user-capabilities{display:inline-block;vertical-align:top}#bbpress-forums dl.bbp-user-capabilities dt{margin:0 0 10px;text-transform:capitalize}#bbpress-forums dl.bbp-user-capabilities dd{margin:0;padding:0}#bbpress-forums div.row-actions{font-size:11px;visibility:hidden}#bbpress-forums li:hover>div.row-actions{visibility:visible}
|
