Featured media always displays logged in users featured media (rtMedia 3.0.6)


#1

Hey guys, best plugin ever. Can’t believe some of the negative comments by some people in relation to rtMedia. I don’t know how people can be so rude and complain about something when its free.

Anyway… Not sure if this was a bug or by design…but I was having trouble with the featured media always showing my (logged in users) featured media, even when viewing another users profile.

Found the problem within the function get() at line 62 of app/main/controllers/media/RTMediaFeatured.php.

change…
$this->user_id = get_current_user_id();

to…
$this->user_id = bp_displayed_user_id();

Hope this helps someone


#2

Thanks for letting us know. We will correct this in the next release.


#3