-
Author
Tagged: roles, member types, sensei, pmpro
-
May 22, 2018 at 21:59 #198617ChristelijkPodiumParticipant
On the profile overview page: https://www.christelijk-podium.nl/christelijke-talenten/ you can see the different member types.
Teachers and Students are show twice.
How can I remove these member types from this profile overview page.
Ivanildo
May 23, 2018 at 14:57 #198695LauraModeratorHello, please try by adding this to style.css of child theme
COPY CODEdiv#subnav li:nth-child(9) { display: none !important; } div#subnav li:nth-child(8) { display: none !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 23, 2018 at 15:33 #198702ChristelijkPodiumParticipantHi Laura, thank you!
It seems to work as a logged in user. If I am not logged in, I still see Teacher and Student mentioned twice!
But what I really want is for both logged and not logged in users to don’t see the Student Member Type. It is ok if Teacher is being shown, but if it means that a Teacher cannot be an Artiest, Spreker, Techneut or Organisator, then Teacher should also not be a Member Type here.
Because the Member Types Artiest, Spreker, Techneut and Organisator are the most important Member Types by which users should be found. What could be the case is that an Artiest, Spreker, Techneut and Organisator can be both Students or Teachers, but it should not replace their Member Type as an Artiest, Spreker, Techneut or Organisator. Otherwise they would not be found by website visitors for their specific expertise.
Is it possible for a user to have both (for example) a Teacher and Artiest Member Type or Role?
May 24, 2018 at 03:01 #198793LauraModeratorHello, maybe its because of the cache that you still see it, try clearing your browser cache, the code is global it doesnt mind logged in or not 🙂
So you want to directly hide student and teacher selection?
Because they will still show at ALL MEMBERSHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 25, 2018 at 07:44 #198961ChristelijkPodiumParticipantHi! I just used a private/incognito browser, but I still see the member types Teacher and Student.
Yes! I want to hide the Student and Teacher member type. Profiles should not be having this Member Type, unless it is possible for profiles to have both, for example Teacher and Artiest.
I basically don’t want profiles to be searchable and found as Teacher or Student and I don’t want these categories to be visible as Member Type search filters.
May 26, 2018 at 00:18 #199045LauraModeratorHello, then you should delete those member types because at All members they will show up eventually
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 29, 2018 at 12:08 #199256ChristelijkPodiumParticipantHi Laura,
I believe these Member Types are automatically created by Sensei. Do you know how I can delete them?
Ivanildo
May 30, 2018 at 03:59 #199341LauraModeratorHello, will assign the ticket to a higher support level who can help and advise you in your query.
Thanks! ?Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
May 30, 2018 at 18:39 #199394RaduModeratorHi,
I have found this snippet on the buddyboss forums at this link : https://www.buddyboss.com/support-forums/topic/how-to-remove-teacher-and-student-member-types-from-directory-filters/
COPY CODEfunction 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');
The code should be added to wp-content/themes/kleo-child/functions.php and the child theme should be installed and activated.
Let me know
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMay 30, 2018 at 19:38 #199406ChristelijkPodiumParticipantHi Radu!
When I add the code to the file, using the WordPress editor, I am getting the message:
Er is iets fout gegaan. Je wijziging is mogelijk niet opgeslagen. Probeer opnieuw. Er is een kans dat je dit handmatig moet repareren en het bestand uploaden via FTP.
Translation: something went wrong. The changes might not have been saved. Try again. There is a change that you should manually repare this and upload the file using FTP.But when I download the file to add the code manually, I do see the code added to the file (see attachment)
Nevertheless, the changes did not take place on the profile overview page:
https://www.christelijk-podium.nl/christelijke-talenten/Attachments:
You must be logged in to view attached files.May 31, 2018 at 18:17 #199499RaduModeratorI see that’s wired, in this case i recommend you to ask the sensei what’s the properly way to remove those from directory and search, since it belongs to their plugin
Cheers
RHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘Plugins questions’ is closed to new topics and replies.