improved query

git-svn-id: https://plugins.svn.wordpress.org/ls-buddypress-activity-plus-tabs-extension/trunk@788687 b8457f37-d9ea-0310-8a92-e5e31aec5664
fix some notices


git-svn-id: https://plugins.svn.wordpress.org/ls-buddypress-activity-plus-tabs-extension/trunk@791648 b8457f37-d9ea-0310-8a92-e5e31aec5664
version 2.6

git-svn-id: https://plugins.svn.wordpress.org/ls-buddypress-activity-plus-tabs-extension/trunk@791651 b8457f37-d9ea-0310-8a92-e5e31aec5664
use of bp_locate_template 

git-svn-id: https://plugins.svn.wordpress.org/ls-buddypress-activity-plus-tabs-extension/trunk@791669 b8457f37-d9ea-0310-8a92-e5e31aec5664