rtMedia can't use groups/single/plugins.php template of buddypress


#1

Hello,

This is what I have in the functions.php file of default BP theme:

function rtmedia_main_template_include($template, $new_rt_template) {  
	return locate_template( 'groups/single/plugins.php' );  
}  
add_filter('rtmedia_main_template_include', 'rtmedia_main_template_include', 20, 2);

and this is what I see - http://i.share.pho.to/7fb596d4_o.png (empty page).
How to fix it?


#2

If you are using BuddyPress default theme than why you are filtering the locate template? rtMedia works fine with the BuddyPress default theme.

Just remove this code from the file and check.


#3