Skip to:
Content

BuddyPress.org

Ticket #1715: before_mentions_tab_action_2.patch

File before_mentions_tab_action_2.patch, 1.5 KB (added by MrMaz, 15 years ago)

This is a newer patch that reflects the change from 'atme' to 'mentions'

  • index.php

    # This patch file was generated by NetBeans IDE
    # Following Index: paths are relative to: \\UBU\www\sandbox2\public_html\wp-content\plugins\buddypress\bp-themes\bp-default\activity
    # This patch can be applied using context Tools: Patch action on respective folder.
    # It uses platform neutral UTF-8 encoding and \n newlines.
    # Above lines and this line are ignored by the patching process.
     
    3737                                                        <li id="activity-favorites"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/favorites/' ?>" title="<?php _e( "The activity I've marked as a favorite.", 'buddypress' ) ?>"><?php printf( __( 'My Favorites (<span>%s</span>)', 'buddypress' ), bp_get_total_favorite_count_for_user( bp_loggedin_user_id() ) ) ?></a></li>
    3838                                                <?php endif; ?>
    3939
     40                                                <?php do_action( 'bp_before_activity_type_tab_mentions' ) ?>
     41
     42 No newline at end of file
    4043                                                <li id="activity-mentions"><a href="<?php echo bp_loggedin_user_domain() . BP_ACTIVITY_SLUG . '/mentions/' ?>" title="<?php _e( 'Activity that I have been mentioned in.', 'buddypress' ) ?>"><?php printf( __( '@%s Mentions', 'buddypress' ), bp_get_loggedin_user_username() ) ?><?php if ( bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) : ?> <strong><?php printf( __( '(%s new)', 'buddypress' ), bp_get_total_mention_count_for_user( bp_loggedin_user_id() ) ) ?></strong><?php endif; ?></a></li>
    4144
    4245                                        <?php endif; ?>