How to include “Favorit” button in an image page?


#1

The Like button provided by rtmedia does not show who have liked. The default Favorit button provided by Buddypress is used by other media solutions like Buddypics, Buddy album etc. Since the Activity stream “Favorit” and rtmedia Favorit(“Like”) is not in sync it is confusing. The following can show “Favorit” button: <?php do_action( 'bp_media_before_activity_meta' ); ?> <?php if ( is_user_logged_in() ) : ?> <?php if ( !bp_get_activity_is_favorite() ) : ?> " class=“fav” title="<?php _e( 'Mark as Favorite', 'buddypress' ) ?>"><?php _e( 'Favorite', 'buddypress' ) ?> <?php else : ?> " class=“unfav” title="<?php _e( 'Remove Favorite', 'buddypress' ) ?>"><?php _e( 'Remove Favorite', 'buddypress' ) ?> <?php endif; ?> <?php endif;?>

Howevr when I do this, for example in, wp-content/plugins/buddypress-media/templates/media/media-single.php I do get the “Favorit” link/button but it is missing something

/activity/favorite//?_wpnonce=f99fe2d956 the above is supposed to be /activity/favorite/x/?_wpnonce=f99fe2d956 where x is something like 6, 7, 8 etc


#2

Hello @rosyteddy,

We are already planning to implement the sync of BuddyPress activity favorites with rtMedia likes.

You can check the status here. -> https://github.com/rtCamp/rtMedia/issues/614

This feature is part of rtMedia-PRO -> https://rtcamp.com/products/rtmedia-pro/

You can see demo at our demo site here -> demo.rtcamp.com/rtmedia/

The full featured list of other rtMedia-PRO is listed here -> http://docs.rtcamp.com/rtmedia/addons/rtmedia-pro/features/

Thank you.


#3