[buddypress-trac] [BuddyPress] #2988: Blog comment CSS to mimic Activity stream.

buddypress-trac at lists.automattic.com buddypress-trac at lists.automattic.com
Wed Jan 5 20:10:27 UTC 2011


#2988: Blog comment CSS to mimic Activity stream.
--------------------------+---------------------------
  Reporter:  modemlooper  |      Owner:
      Type:  enhancement  |     Status:  new
  Priority:  normal       |  Milestone:  1.3
 Component:  Theme        |    Version:
Resolution:               |   Keywords:  needs-testing
--------------------------+---------------------------

Comment (by karmatosed):

 If we want to have reply / edit the best method I can find is in the
 bp_dtheme_blog_comments function to change the code:

 {{{
                 <div class="comment-meta">
                                 <a href="<?php echo
 get_comment_author_url() ?>" rel="nofollow"><?php echo
 get_comment_author(); ?></a> <?php _e( 'said:', 'buddypress' ) ?>
                                 <em><?php _e( 'On', 'buddypress' ) ?> <a
 href="#comment-<?php comment_ID() ?>" title=""><?php comment_date()
 ?></a></em>

                                         <?php echo comment_reply_link(
 array( 'depth' => $depth, 'max_depth' => $args['max_depth'] ) ) ?>
                                         <?php edit_comment_link( __(
 'Edit', 'buddypress' ), '', '' ); ?>

                         </div>
 }}}

 But give or take some styling that would need to occur (and it would)..
 this is without:


 {{{
 <div class="comment-options">
 }}}

 Which is wrapped around the reply / edit.

 So... the problems are thus:

 1. Can this be solved using CSS positioning alone and no nasty solution
 2. Is changing this function acceptable?
 3. If we change the function is loosing the class div acceptable or does
 some method of keeping it be needed to be found

 I don't really want to patch as we are due another one and this needs
 pondering and input from you modemlooper as you may have a thought on a
 better or alternative method / adjustment.

-- 
Ticket URL: <http://trac.buddypress.org/ticket/2988#comment:8>
BuddyPress <http://buddypress.org/>
BuddyPress


More information about the buddypress-trac mailing list