[ad_1]
Right now you are are referencing the buddypress tables like this:
// Activity table.
$activty_table = $wpdb->prefix . ‘bp_activity’;
This is incorrect, as these tables can be moved by filters etc, and infact on muktisite that will always be wrong on any site outside the main one. A far better way is to use the buddypress globals e.g.
global $bp
$bp->activity->table_name
that way you will alway reference the right table. Can you please fix this? I would really like to use yur plugin but right now I cannot
Pete
