WPIntell

Source evidence

Double Tabs

BuddyPress for Sensei · support · 2017-06-13T10:15:00+00:00

mixedsentiment
mediumseverity
0.85relevance
9replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

3 / 31 rows with source links

9.7% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

28 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
mpiroh resolved
Hi, I see double entries on members page as below after plugin activation: All Members 49 My Friends 1 Teachers 2 Students 0 Students 0 Teachers 2 I didn’t find any configuration option to get rid of doubled tabs. Thank you for your help, Martin hi @mpiroh you can check the following discussion. http://www.buddyboss.com/support-forums/topic/how-to-remove-teacher-and-student-member-types-from-directory-filters/ Dear Varun, I don’t see how this is related to my issue. I’m not using member types plugin. After installing buddypress for sensei plugin I see double entries so I’m guessing something must be copied somewhere twice because these are entries from buddypres for sensei plugin. Re-installing plugin doesn’t work. Any suggestions? Thank you, Martin Hi @mpiroh , Try to deactivate other plugins and keep BuddyPress, Sensei, and BuddyPress for Sensei active only to replicate the issue. Hi Varun, I tried deactivating all the plugins but still it like: ALL MEMBERS 45 MY FRIENDS 1 TEACHERS 3 STUDENTS 0 STUDENTS 0 TEACHERS 3 ORDER BY: LAST ACTIVE This really doesn’t look nice and nowhere I can find a way how to deactivate double entries. Hope you can assist, Thanks, M. i don’t mind if they will be deactivated, but using below code in function.php file of my child theme doesn’t seem to have any effect. function bp_sensei_remove_tabs() { global $bp, $BUDDYPRESS_SENSEI; remove_action( ‘bp_members_directory_member_types’, array( $BUDDYPRESS_SENSEI->bp_sensei_loader, ‘bp_sensei_members_directory’ ) ); } add_action( ‘bp_init’, ‘bp_sensei_remove_tabs’); Hi @mpiroh , Please let me know which theme you are using. If we could get a copy of your theme, it might be easier to reproduce and understand what’s going on. Dear Varun, I’m using Kleo theme https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/6776630 . Thank you for your initiative, I really do appreciate you’re taking time to solve the issue Martin Hi @mpiroh These code snippets remove the duplicate tabs from member directory on the latest Kleo theme. We have tested with Kleo theme as well. function bp_sensei_remove_tabs() { global $bp, $BUDDYPRESS_SENSEI; remove_action( 'bp_members_directory_member_types', array( $BUDDYPRESS_SENSEI->bp_sensei_loader, 'bp_sensei_members_directory' ) ); } add_action( 'bp_init', 'bp_sensei_remove_tabs'); Hi Varun, Thank you again for your reply. Could you please clarify where this code needs to be added? I’m adding the code into function.php file in my Kleo child theme but it has no effect whatsoever. Should this be added somewhere else? Perhaps I’m doing something wrong … Thank you, Martin

Comments

9 shown
BuddyBoss 2017-06-13T13:49:00+00:00

hi @mpiroh you can check the following discussion. http://www.buddyboss.com/support-forums/topic/how-to-remove-teacher-and-student-member-types-from-directory-filters/

mpiroh 2017-06-13T14:03:00+00:00

Dear Varun, I don’t see how this is related to my issue. I’m not using member types plugin. After installing buddypress for sensei plugin I see double entries so I’m guessing something must be copied somewhere twice because these are entries from buddypres for sensei plugin. Re-installing plugin doesn’t work. Any suggestions? Thank you, Martin

BuddyBoss 2017-06-14T08:24:00+00:00

Hi @mpiroh , Try to deactivate other plugins and keep BuddyPress, Sensei, and BuddyPress for Sensei active only to replicate the issue.

mpiroh 2017-06-29T07:45:00+00:00

Hi Varun, I tried deactivating all the plugins but still it like: ALL MEMBERS 45 MY FRIENDS 1 TEACHERS 3 STUDENTS 0 STUDENTS 0 TEACHERS 3 ORDER BY: LAST ACTIVE This really doesn’t look nice and nowhere I can find a way how to deactivate double entries. Hope you can assist, Thanks, M.

mpiroh 2017-06-29T07:58:00+00:00

i don’t mind if they will be deactivated, but using below code in function.php file of my child theme doesn’t seem to have any effect. function bp_sensei_remove_tabs() { global $bp, $BUDDYPRESS_SENSEI; remove_action( ‘bp_members_directory_member_types’, array( $BUDDYPRESS_SENSEI->bp_sensei_loader, ‘bp_sensei_members_directory’ ) ); } add_action( ‘bp_init’, ‘bp_sensei_remove_tabs’);

BuddyBoss 2017-07-01T08:01:00+00:00

Hi @mpiroh , Please let me know which theme you are using. If we could get a copy of your theme, it might be easier to reproduce and understand what’s going on.

mpiroh 2017-07-01T17:32:00+00:00

Dear Varun, I’m using Kleo theme https://themeforest.net/item/kleo-pro-community-focused-multipurpose-buddypress-theme/6776630 . Thank you for your initiative, I really do appreciate you’re taking time to solve the issue Martin

BuddyBoss 2017-07-04T06:00:00+00:00

Hi @mpiroh These code snippets remove the duplicate tabs from member directory on the latest Kleo theme. We have tested with Kleo theme as well. function bp_sensei_remove_tabs() { global $bp, $BUDDYPRESS_SENSEI; remove_action( 'bp_members_directory_member_types', array( $BUDDYPRESS_SENSEI->bp_sensei_loader, 'bp_sensei_members_directory' ) ); } add_action( 'bp_init', 'bp_sensei_remove_tabs');

mpiroh 2017-07-04T15:28:00+00:00

Hi Varun, Thank you again for your reply. Could you please clarify where this code needs to be added? I’m adding the code into function.php file in my Kleo child theme but it has no effect whatsoever. Should this be added somewhere else? Perhaps I’m doing something wrong … Thank you, Martin