subramanya1 / buddypress-media

Automatically exported from code.google.com/p/buddypress-media
0 stars 0 forks source link

Need add action to incorporate BP share buttons #99

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hey guys, I want to include BP share buttons to your plugin but it's missing an 
add action. I'd rather you guys add it in the current version of your plugin 
instead of me having to tell users to edit template files that will just get 
overwritten on upgrade. - modemlooper

            <div class="activity-content">
                <div class="activity-meta">
                    <?php if ( is_user_logged_in() && bp_activity_can_comment() ) : ?>
                        <a href="<?php bp_activity_comment_link() ?>" class="acomment-reply" id="acomment-comment-<?php bp_activity_id() ?>"><?php _e( 'Reply', 'buddypress' ) ?> (<span><?php bp_activity_comment_count() ?></span>)</a>
                    <?php endif; ?>

                    <?php if ( is_user_logged_in() ) : ?>
                        <?php if ( !bp_get_activity_is_favorite() ) : ?>
                            <a href="<?php bp_activity_favorite_link() ?>" class="fav" title="<?php _e( 'Mark as Favorite', 'buddypress' ) ?>"><?php _e( 'Favorite', 'buddypress' ) ?></a>
                        <?php else : ?>
                            <a href="<?php bp_activity_unfavorite_link() ?>" class="unfav" title="<?php _e( 'Remove Favorite', 'buddypress' ) ?>"><?php _e( 'Remove Favorite', 'buddypress' ) ?></a>
                        <?php endif; ?>
                    <?php endif;?>
***** need this here --->   <?php do_action( 'bp_media_activity_meta' ); ?>
                </div>
            </div>

[Is this feature relevant to many different kinds of websites? Explain
why?]

[Please attach a sketch / wireframe of the feature to the ticket. (If
applicable)]

Original issue reported on code.google.com by modemloo...@gmail.com on 1 Jul 2012 at 4:34

GoogleCodeExporter commented 9 years ago
Was this handled with your commits to the repo? Or are there still changes that 
need to made?

Original comment by fanquake on 30 Jul 2012 at 4:33

GoogleCodeExporter commented 9 years ago

Original comment by fanquake on 30 Jul 2012 at 4:51

GoogleCodeExporter commented 9 years ago
Added the actions to repo

Comment #1 on issue 99 by fanquake: Need add action to incorporate BP share 
buttons
http://code.google.com/p/buddypress-media/issues/detail?id=99

Was this handled with your commits to the repo? Or are there still changes that 
need to made?

Original comment by modemloo...@gmail.com on 30 Jul 2012 at 5:17

GoogleCodeExporter commented 9 years ago
Ok. Closing as fixed.

Original comment by fanquake on 30 Jul 2012 at 7:44