Changeset 3120
- Timestamp:
- 05/09/2011 04:18:51 AM (15 years ago)
- Location:
- branches/plugin
- Files:
-
- 12 edited
-
bbp-admin/bbp-metaboxes.php (modified) (1 diff)
-
bbp-admin/bbp-replies.php (modified) (7 diffs)
-
bbp-admin/bbp-topics.php (modified) (7 diffs)
-
bbp-includes/bbp-general-functions.php (modified) (7 diffs)
-
bbp-includes/bbp-hooks.php (modified) (1 diff)
-
bbp-includes/bbp-reply-functions.php (modified) (2 diffs)
-
bbp-includes/bbp-topic-functions.php (modified) (2 diffs)
-
bbp-includes/bbp-user-functions.php (modified) (1 diff)
-
bbp-includes/bbp-user-template.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/loop-replies.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/bbpress/single-topic.php (modified) (1 diff)
-
bbp-themes/bbp-twentyten/css/bbpress.css (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/plugin/bbp-admin/bbp-metaboxes.php
r3095 r3120 417 417 * @since bbPress (r) 418 418 * 419 * @uses get_post_meta() To get the anonymous user information 420 */ 421 function bbp_anonymous_metabox () { 422 global $post; ?> 423 424 <p><strong><?php _e( 'Name', 'bbpress' ); ?></strong></p> 425 426 <p> 427 <label class="screen-reader-text" for="bbp_anonymous_name"><?php _e( 'Name', 'bbpress' ); ?></label> 428 <input type="text" id="bbp_anonymous_name" name="bbp_anonymous_name" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_name', true ); ?>" size="38" /> 429 </p> 430 431 <p><strong><?php _e( 'Email', 'bbpress' ); ?></strong></p> 432 433 <p> 434 <label class="screen-reader-text" for="bbp_anonymous_email"><?php _e( 'Email', 'bbpress' ); ?></label> 435 <input type="text" id="bbp_anonymous_email" name="bbp_anonymous_email" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_email', true ); ?>" size="38" /> 436 </p> 437 438 <p><strong><?php _e( 'Website', 'bbpress' ); ?></strong></p> 439 440 <p> 441 <label class="screen-reader-text" for="bbp_anonymous_website"><?php _e( 'Website', 'bbpress' ); ?></label> 442 <input type="text" id="bbp_anonymous_website" name="bbp_anonymous_website" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_website', true ); ?>" size="38" /> 443 </p> 419 * @uses get_post_meta() To get the author user information 420 */ 421 function bbp_author_metabox () { 422 global $post; 423 424 // Bail if topic/reply is not anonymous 425 if ( bbp_is_reply_anonymous( get_the_ID() ) || bbp_is_topic_anonymous( get_the_ID() ) ) : ?> 426 427 <p><strong><?php _e( 'Name', 'bbpress' ); ?></strong></p> 428 429 <p> 430 <label class="screen-reader-text" for="bbp_anonymous_name"><?php _e( 'Name', 'bbpress' ); ?></label> 431 <input type="text" id="bbp_anonymous_name" name="bbp_anonymous_name" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_name', true ); ?>" size="38" /> 432 </p> 433 434 <p><strong><?php _e( 'Email', 'bbpress' ); ?></strong></p> 435 436 <p> 437 <label class="screen-reader-text" for="bbp_anonymous_email"><?php _e( 'Email', 'bbpress' ); ?></label> 438 <input type="text" id="bbp_anonymous_email" name="bbp_anonymous_email" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_email', true ); ?>" size="38" /> 439 </p> 440 441 <p><strong><?php _e( 'Website', 'bbpress' ); ?></strong></p> 442 443 <p> 444 <label class="screen-reader-text" for="bbp_anonymous_website"><?php _e( 'Website', 'bbpress' ); ?></label> 445 <input type="text" id="bbp_anonymous_website" name="bbp_anonymous_website" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_website', true ); ?>" size="38" /> 446 </p> 447 448 <?php endif; ?> 444 449 445 450 <p><strong><?php _e( 'IP Address', 'bbpress' ); ?></strong></p> 446 451 447 452 <p> 448 <label class="screen-reader-text" for="bbp_a nonymous_ip_address"><?php _e( 'IP Address', 'bbpress' ); ?></label>449 <input type="text" id="bbp_a nonymous_ip_address" name="bbp_anonymous_ip_address" value="<?php echo get_post_meta( $post->ID, '_bbp_anonymous_ip', true ); ?>" size="38" disabled="disabled" />453 <label class="screen-reader-text" for="bbp_author_ip_address"><?php _e( 'IP Address', 'bbpress' ); ?></label> 454 <input type="text" id="bbp_author_ip_address" name="bbp_author_ip_address" value="<?php echo get_post_meta( $post->ID, '_bbp_author_ip', true ); ?>" size="38" disabled="disabled" /> 450 455 </p> 451 456 452 457 <?php 453 458 454 do_action( 'bbp_a nonymous_metabox', $post->ID );459 do_action( 'bbp_author_metabox', $post->ID ); 455 460 } 456 461 -
branches/plugin/bbp-admin/bbp-replies.php
r3119 r3120 92 92 93 93 // Anonymous metabox actions 94 add_action( 'add_meta_boxes', array( $this, 'a nonymous_metabox' ) );95 add_action( 'save_post', array( $this, 'a nonymous_metabox_save' ) );94 add_action( 'add_meta_boxes', array( $this, 'author_metabox' ) ); 95 add_action( 'save_post', array( $this, 'author_metabox_save' ) ); 96 96 97 97 // Add ability to filter topics and replies per forum … … 244 244 245 245 /** 246 * Add the a nonymous user info metabox247 * 248 * Allows editing of information about an a nonymous user246 * Add the author info metabox 247 * 248 * Allows editing of information about an authr 249 249 * 250 250 * @since bbPress (r2828) … … 252 252 * @uses bbp_get_topic() To get the topic 253 253 * @uses bbp_get_reply() To get the reply 254 * @uses bbp_is_topic_anonymous() To check if the topic is by an255 * anonymous user256 * @uses bbp_is_reply_anonymous() To check if the reply is by an257 * anonymous user258 254 * @uses bbp_get_topic_post_type() To get the topic post type 259 255 * @uses bbp_get_reply_post_type() To get the reply post type 260 256 * @uses add_meta_box() To add the metabox 261 * @uses do_action() Calls 'bbp_a nonymous_metabox' with the topic/reply257 * @uses do_action() Calls 'bbp_author_metabox' with the topic/reply 262 258 * id 263 259 */ 264 function anonymous_metabox() { 265 266 // Bail if post_type is not a topic or reply 267 if ( get_post_type() != $this->post_type ) 268 return; 269 270 // Bail if reply is not anonymous 271 if ( !bbp_is_reply_anonymous( get_the_ID() ) ) 260 function author_metabox() { 261 global $current_screen; 262 263 // Bail if post_type is not a reply 264 if ( ( empty( $_GET['action'] ) || ( 'edit' != $_GET['action'] ) ) || ( get_post_type() != $this->post_type ) ) 272 265 return; 273 266 274 267 // Add the metabox 275 268 add_meta_box( 276 'bbp_a nonymous_metabox',277 __( 'A nonymous User Information', 'bbpress' ),278 'bbp_a nonymous_metabox',269 'bbp_author_metabox', 270 __( 'Author Information', 'bbpress' ), 271 'bbp_author_metabox', 279 272 $this->post_type, 280 273 'side', … … 282 275 ); 283 276 284 do_action( 'bbp_a nonymous_metabox', get_the_ID() );285 } 286 287 /** 288 * Save the a nonymous user information for the topic/reply277 do_action( 'bbp_author_metabox', get_the_ID() ); 278 } 279 280 /** 281 * Save the author information for the topic/reply 289 282 * 290 283 * @since bbPress (r2828) … … 295 288 * @uses current_user_can() To check if the current user can edit the 296 289 * topic or reply 297 * @uses bbp_is_topic_anonymous() To check if the topic is by an298 * anonymous user299 * @uses bbp_is_reply_anonymous() To check if the reply is by an300 * anonymous user301 290 * @uses bbp_filter_anonymous_post_data() To filter the anonymous user data 302 291 * @uses update_post_meta() To update the anonymous user data 303 * @uses do_action() Calls 'bbp_a nonymous_metabox_save' with the topic/304 * reply id andanonymous data292 * @uses do_action() Calls 'bbp_author_metabox_save' with the reply id and 293 * anonymous data 305 294 * @return int Topic or reply id 306 295 */ 307 function a nonymous_metabox_save( $post_id ) {296 function author_metabox_save( $post_id ) { 308 297 309 298 // Bail if no post_id … … 320 309 321 310 // Bail if user cannot edit replies or reply is not anonymous 322 if ( ( !current_user_can( 'edit_reply', $post_id ) || !bbp_is_reply_anonymous( $post_id )) )311 if ( !current_user_can( 'edit_reply', $post_id ) ) 323 312 return $post_id; 324 313 … … 329 318 update_post_meta( $post_id, '_bbp_anonymous_website', $anonymous_data['bbp_anonymous_website'] ); 330 319 331 do_action( 'bbp_a nonymous_metabox_save', $post_id, $anonymous_data );320 do_action( 'bbp_author_metabox_save', $post_id, $anonymous_data ); 332 321 333 322 return $post_id; -
branches/plugin/bbp-admin/bbp-topics.php
r3119 r3120 92 92 93 93 // Anonymous metabox actions 94 add_action( 'add_meta_boxes', array( $this, 'a nonymous_metabox' ) );95 add_action( 'save_post', array( $this, 'a nonymous_metabox_save' ) );94 add_action( 'add_meta_boxes', array( $this, 'author_metabox' ) ); 95 add_action( 'save_post', array( $this, 'author_metabox_save' ) ); 96 96 97 97 // Add ability to filter topics and replies per forum … … 272 272 273 273 /** 274 * Add the anonymous user info metabox 275 * 276 * Allows editing of information about an anonymous user 274 * Add the author info metabox 277 275 * 278 276 * @since bbPress (r2828) … … 280 278 * @uses bbp_get_topic() To get the topic 281 279 * @uses bbp_get_reply() To get the reply 282 * @uses bbp_is_topic_anonymous() To check if the topic is by an283 * anonymous user284 * @uses bbp_is_reply_anonymous() To check if the reply is by an285 * anonymous user286 280 * @uses bbp_get_topic_post_type() To get the topic post type 287 281 * @uses bbp_get_reply_post_type() To get the reply post type 288 282 * @uses add_meta_box() To add the metabox 289 * @uses do_action() Calls 'bbp_a nonymous_metabox' with the topic/reply283 * @uses do_action() Calls 'bbp_author_metabox' with the topic/reply 290 284 * id 291 285 */ 292 function anonymous_metabox() { 293 294 // Bail if post_type is not a topic or reply 295 if ( get_post_type() != $this->post_type ) 296 return; 297 298 // Bail if topic author is not anonymous 299 if ( !bbp_is_topic_anonymous( get_the_ID() ) ) 286 function author_metabox() { 287 global $current_screen; 288 289 // Bail if post_type is not a topic 290 if ( ( empty( $_GET['action'] ) || ( 'edit' != $_GET['action'] ) ) || ( get_post_type() != $this->post_type ) ) 300 291 return; 301 292 302 293 // Add the metabox 303 294 add_meta_box( 304 'bbp_a nonymous_metabox',305 __( 'A nonymous User Information', 'bbpress' ),306 'bbp_a nonymous_metabox',295 'bbp_author_metabox', 296 __( 'Author Information', 'bbpress' ), 297 'bbp_author_metabox', 307 298 $this->post_type, 308 299 'side', … … 310 301 ); 311 302 312 do_action( 'bbp_a nonymous_metabox', get_the_ID() );313 } 314 315 /** 316 * Save the a nonymous user information for the topic/reply303 do_action( 'bbp_author_metabox', get_the_ID() ); 304 } 305 306 /** 307 * Save the author information for the topic 317 308 * 318 309 * @since bbPress (r2828) … … 323 314 * @uses current_user_can() To check if the current user can edit the 324 315 * topic or reply 325 * @uses bbp_is_topic_anonymous() To check if the topic is by an 326 * anonymous user 327 * @uses bbp_is_reply_anonymous() To check if the reply is by an 328 * anonymous user 329 * @uses bbp_filter_anonymous_post_data() To filter the anonymous user data 316 * @uses bbp_filter_author_post_data() To filter the author data 330 317 * @uses update_post_meta() To update the anonymous user data 331 * @uses do_action() Calls 'bbp_a nonymous_metabox_save' with the topic/332 * reply id andanonymous data318 * @uses do_action() Calls 'bbp_author_metabox_save' with the topic id and 319 * anonymous data 333 320 * @return int Topic or reply id 334 321 */ 335 function a nonymous_metabox_save( $post_id ) {322 function author_metabox_save( $post_id ) { 336 323 337 324 // Bail if no post_id … … 347 334 return; 348 335 349 // Bail if user cannot edit replies or reply is not anonymous350 if ( ( !current_user_can( 'edit_topic', $post_id ) || !bbp_is_topic_anonymous( $post_id )) )336 // Bail if user cannot edit replies 337 if ( !current_user_can( 'edit_topic', $post_id ) ) 351 338 return $post_id; 352 339 … … 357 344 update_post_meta( $post_id, '_bbp_anonymous_website', $anonymous_data['bbp_anonymous_website'] ); 358 345 359 do_action( 'bbp_a nonymous_metabox_save', $post_id, $anonymous_data );346 do_action( 'bbp_author_metabox_save', $post_id, $anonymous_data ); 360 347 361 348 return $post_id; -
branches/plugin/bbp-includes/bbp-general-functions.php
r3104 r3120 574 574 'bbp_anonymous_email' => !empty( $_POST['bbp_anonymous_email'] ) ? $_POST['bbp_anonymous_email'] : false, 575 575 'bbp_anonymous_website' => !empty( $_POST['bbp_anonymous_website'] ) ? $_POST['bbp_anonymous_website'] : false, 576 'bbp_anonymous_ip' => !empty( $_SERVER['REMOTE_ADDR'] ) ? $_SERVER['REMOTE_ADDR'] : false577 576 ); 578 577 … … 588 587 589 588 if ( empty( $is_edit ) ) { 590 if ( !$bbp_anonymous_ip = apply_filters( 'bbp_pre_anonymous_post_author_ip', preg_replace( '/[^0-9a-fA-F:., ]/', '', $bbp_anonymous_ip) ) )589 if ( !$bbp_anonymous_ip = apply_filters( 'bbp_pre_anonymous_post_author_ip', bbp_current_author_ip() ) ) 591 590 $bbp->errors->add( 'bbp_anonymous_ip', __( '<strong>ERROR</strong>: Invalid IP address! Where are you from?', 'bbpress' ) ); 592 591 } else { … … 595 594 596 595 // Website is optional 597 $bbp_anonymous_website = apply_filters( 'bbp_pre_anonymous_post_author_website', $bbp_anonymous_website );596 $bbp_anonymous_website = apply_filters( 'bbp_pre_anonymous_post_author_website', $bbp_anonymous_website ); 598 597 599 598 if ( !is_wp_error( $bbp->errors ) || !$bbp->errors->get_error_codes() ) … … 615 614 * @param array $post_data Contains information about the comment 616 615 * @uses current_user_can() To check if the current user can throttle 617 * @uses _get_meta_sql() To generate the meta sql for checking anonymous email616 * @uses get_meta_sql() To generate the meta sql for checking anonymous email 618 617 * @uses apply_filters() Calls 'bbp_check_for_duplicate_query' with the 619 618 * duplicate check query and post data … … 636 635 // Check for anonymous post 637 636 if ( empty( $post_author ) && !empty( $anonymous_data['bbp_anonymous_email'] ) ) { 638 $clauses = _get_meta_sql( array( array( 'key' => '_bbp_anonymous_email', 'value' => $anonymous_data['bbp_anonymous_email'] ) ), 'post', $wpdb->posts, 'ID' );637 $clauses = get_meta_sql( array( array( 'key' => '_bbp_anonymous_email', 'value' => $anonymous_data['bbp_anonymous_email'] ) ), 'post', $wpdb->posts, 'ID' ); 639 638 $join = $clauses['join']; 640 639 $where = $clauses['where']; … … 668 667 * @param false|array $anonymous_data Optional - if it's an anonymous post. Do 669 668 * not supply if supplying $author_id. 670 * Should have key 'bbp_a nonymous_ip'.669 * Should have key 'bbp_author_ip'. 671 670 * Should be sanitized (see 672 671 * {@link bbp_filter_anonymous_post_data()} … … 686 685 return true; 687 686 688 if ( !empty( $anonymous_data ) && is_array( $anonymous_data ) && !empty( $anonymous_data['bbp_anonymous_ip'] )) {689 $last_posted = get_transient( '_bbp_' . $anonymous_data['bbp_anonymous_ip']. '_last_posted' );687 if ( !empty( $anonymous_data ) && is_array( $anonymous_data ) ) { 688 $last_posted = get_transient( '_bbp_' . bbp_current_author_ip() . '_last_posted' ); 690 689 if ( !empty( $last_posted ) && time() < $last_posted + $throttle_time ) 691 690 return false; -
branches/plugin/bbp-includes/bbp-hooks.php
r3119 r3120 308 308 */ 309 309 function bbp_pre_anonymous_filters () { 310 310 311 // Post author name 311 312 $filters = array( -
branches/plugin/bbp-includes/bbp-reply-functions.php
r3102 r3120 446 446 update_post_meta( $reply_id, '_bbp_anonymous_email', $bbp_anonymous_email, false ); 447 447 448 // Set transient for throttle check and update ip address meta 449 // (only when the reply is not being edited) 450 if ( empty( $is_edit ) ) { 451 update_post_meta( $reply_id, '_bbp_anonymous_ip', $bbp_anonymous_ip, false ); 452 set_transient( '_bbp_' . $bbp_anonymous_ip . '_last_posted', time() ); 453 } 448 // Set transient for throttle check (only on new, not edit) 449 if ( empty( $is_edit ) ) 450 set_transient( '_bbp_' . bbp_current_author_ip() . '_last_posted', time() ); 454 451 455 452 // Website is optional 456 453 if ( !empty( $bbp_anonymous_website ) ) 457 454 update_post_meta( $reply_id, '_bbp_anonymous_website', $bbp_anonymous_website, false ); 455 458 456 } else { 459 457 if ( empty( $is_edit ) && !current_user_can( 'throttle' ) ) … … 477 475 // Update associated topic values if this is a new reply 478 476 if ( empty( $is_edit ) ) { 477 478 // Update poster IP if not editing 479 update_post_meta( $reply_id, '_bbp_author_ip', bbp_current_author_ip(), false ); 480 479 481 // Last active time 480 482 $last_active_time = current_time( 'mysql' ); -
branches/plugin/bbp-includes/bbp-topic-functions.php
r3101 r3120 453 453 update_post_meta( $topic_id, '_bbp_anonymous_email', $bbp_anonymous_email, false ); 454 454 455 // Set transient for throttle check and update ip address meta 456 // (only when the topic is not being edited) 457 if ( empty( $is_edit ) ) { 458 update_post_meta( $topic_id, '_bbp_anonymous_ip', $bbp_anonymous_ip, false ); 459 set_transient( '_bbp_' . $bbp_anonymous_ip . '_last_posted', time() ); 460 } 455 // Set transient for throttle check (only on new, not edit) 456 if ( empty( $is_edit ) ) 457 set_transient( '_bbp_' . bbp_current_author_ip() . '_last_posted', time() ); 461 458 462 459 // Website is optional … … 488 485 // Update associated topic values if this is a new topic 489 486 if ( empty( $is_edit ) ) { 487 488 // Update poster IP if not editing 489 update_post_meta( $topic_id, '_bbp_author_ip', bbp_current_author_ip(), false ); 490 490 491 491 // Last active time -
branches/plugin/bbp-includes/bbp-user-functions.php
r3116 r3120 127 127 setcookie( 'comment_author_email_' . COOKIEHASH, $anonymous_data['bbp_anonymous_email'], time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN ); 128 128 setcookie( 'comment_author_url_' . COOKIEHASH, $anonymous_data['bbp_anonymous_website'], time() + $comment_cookie_lifetime, COOKIEPATH, COOKIE_DOMAIN ); 129 } 130 131 /** 132 * Get the poster IP address 133 * 134 * @since bbPress (r3120) 135 * 136 * @return string 137 */ 138 function bbp_current_author_ip() { 139 $retval = preg_replace( '/[^0-9a-fA-F:., ]/', '', $_SERVER['REMOTE_ADDR'] ); 140 141 return apply_filters( 'bbp_current_author_ip', $retval ); 129 142 } 130 143 -
branches/plugin/bbp-includes/bbp-user-template.php
r3095 r3120 413 413 414 414 return apply_filters( 'bbp_get_admin_link', $before . '<a href="' . $uri . '">' . $text . '</a>' . $after, $args ); 415 } 416 417 /** User IP *******************************************************************/ 418 419 /** 420 * Output the author IP address of a post 421 * 422 * @since bbPress (r3120) 423 * 424 * @param mixed $args Optional. If it is an integer, it is used as post id. 425 * @uses bbp_get_author_ip() To get the post author link 426 */ 427 function bbp_author_ip( $args = '' ) { 428 echo bbp_get_author_ip( $args ); 429 } 430 /** 431 * Return the author IP address of a post 432 * 433 * @since bbPress (r3120) 434 * 435 * @param mixed $args Optional. If an integer, it is used as reply id. 436 * @uses get_post_meta() To check if it's a topic page 437 * @return string Author link of reply 438 */ 439 function bbp_get_author_ip( $args = '' ) { 440 441 // Default arguments 442 $defaults = array( 443 'post_id' => 0, 444 'before' => '<span class="bbp-author-ip">(', 445 'after' => ')</span>' 446 ); 447 448 $r = wp_parse_args( $args, $defaults ); 449 extract( $r ); 450 451 // Used as post id 452 if ( is_numeric( $args ) ) 453 $post_id = $args; 454 455 // Get the author IP meta value 456 if ( $author_ip = get_post_meta( $post_id, '_bbp_author_ip', true ) ) 457 $author_ip = $before . $author_ip . $after; 458 459 // No IP address 460 else 461 $author_ip = ''; 462 463 return apply_filters( 'bbp_get_author_ip', $author_ip, $args ); 415 464 } 416 465 -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/loop-replies.php
r3031 r3120 75 75 <tr id="post-<?php bbp_reply_id(); ?>" <?php bbp_reply_class(); ?>> 76 76 77 <td class="bbp-reply-author"><?php bbp_reply_author_link( array( 'type' => 'avatar' ) ); ?></td> 77 <td class="bbp-reply-author"> 78 79 <?php bbp_reply_author_link( array( 'type' => 'avatar' ) ); ?> 80 81 <?php if ( is_super_admin() ) bbp_author_ip( bbp_get_reply_id() ); ?> 82 83 </td> 78 84 79 85 <td class="bbp-reply-content"> -
branches/plugin/bbp-themes/bbp-twentyten/bbpress/single-topic.php
r3031 r3120 41 41 42 42 <tr class="bbp-topic-header"> 43 <td class="bbp-topic-author"><?php bbp_topic_author_link( array( 'type' => 'name' ) ); ?></td> 43 <td class="bbp-topic-author"> 44 45 <?php bbp_topic_author_link( array( 'type' => 'name' ) ); ?> 46 47 <?php if ( is_super_admin() ) bbp_author_ip( bbp_get_reply_id() ); ?> 48 49 </td> 44 50 45 51 <td class="bbp-topic-content"> -
branches/plugin/bbp-themes/bbp-twentyten/css/bbpress.css
r3109 r3120 55 55 /* =Tables 56 56 -------------------------------------------------------------- */ 57 58 #content table tbody td { 59 padding: 20px; 60 } 57 61 58 62 #content table tbody tr.even td { … … 107 111 } 108 112 113 span.bbp-author-ip { 114 font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif; 115 font-size: 11px; 116 font-weight: bold; 117 color: #aaa; 118 } 119 109 120 #content .bbp-forum-topic-count, 110 121 #content .bbp-forum-reply-count, … … 121 132 width: 20%; 122 133 } 123 .bbp-topic-author,124 .bbp-reply-author {125 width: 90px;134 td.bbp-topic-author, 135 td.bbp-reply-author { 136 width: 80px; 126 137 text-align: center; 127 padding: 0 10px;128 138 } 129 139 … … 131 141 #content tbody .bbp-reply-content { 132 142 vertical-align: top; 133 padding: 9px 10px;143 padding: 15px 20px 10px 10px; 134 144 } 135 145
Note: See TracChangeset
for help on using the changeset viewer.