-
Author
-
December 16, 2014 at 13:10 #39285sealagencyParticipant
hello,
I ask you to help with a problem I can not solve,
We added and modify user profile fields and categories. As you can see from the attached file.
I would like to
– Change the name of the category “base” and that it always appears in the top face of the avatar, now if i change the name category “base” to “profile” for example, it disappears in front of the avatar.
– Change the display order always in front of the current avatar: At the present moment “Base – photo”, to “Apropos de moi, Profil (change from base), Photos”Thanks for help
Attachments:
You must be logged in to view attached files.December 16, 2014 at 16:48 #39306LauraModeratorHello, you can share with me your ftp and wp-admin, also what tabs you want to show next to profile photo? please say the name as you want it. Order and any other tip for me to help you fix it 🙂
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 🙂
December 17, 2014 at 06:15 #39400LauraModeratorHello, i need your website link in order to add it for you, i will share the code and tell you how to do it 🙂
Go to sweetdate child theme functions.php and add the following:COPY CODE//Profile tabs add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); /* This is the code you need to use as a base for each profile tab, the display changes if you use Regular type or Cite tab, cite is a quote, bigger style for a lot of text, while regular is small When wanting to change the style, change it at type and class , citetab , regulartab You can start to copy the custom code from here */ $bp_tabs['CUSTOMGROUP'] = array( 'type' => 'regular', 'name' => __('Profil', 'kleo_framework'), 'group' => 'Profil', 'class' => 'regulartab' ); /* To here, the above code is what you need to copy and paste to make new tabs. The order of the tabs changes as it is in the code. */ $bp_tabs['A-propos-de-moi'] = array( 'type' => 'regular', 'name' => __('A propos de moi', 'kleo_framework'), 'group' => 'A propos de moi', 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('Photos', 'kleo_framework'), 'class' => 'mySlider' ); } /* Bp-Album tab - only if plugin installed */ elseif (function_exists('bpa_init')) { $bp_tabs['bp-album'] = array( 'type' => 'bp_album', 'name' => __('My photos', 'kleo_framework'), 'class' => 'mySlider' ); } }
Acteur – comédien – figurant are separated groups? or 1? I suggest to not use special symbols as names like –
This code explains how to do it, also check:
https://archived.seventhqueen.com/forums/topic/how-to-add-tabs-next-to-profile-image-extendedHi 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 🙂
December 18, 2014 at 19:32 #39606sealagencyParticipantYES !
it’s work perfectly with this codeCOPY CODE..... $bp_tabs['A propos de moi'] = array( $bp_tabs['A propos de moi'] = array( 'type' => 'cite', 'name' => __('A propos de moi', 'kleo_framework'), 'group' => 'A propos de moi', 'class' => 'citetab' ); $bp_tabs['Profil'] = array( 'type' => 'regular', 'name' => __('Profil', 'kleo_framework'), 'group' => 'Profil', 'class' => 'regulartab' ); if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('Photos', 'kleo_framework'), 'class' => 'mySlider' ); }
Very big thanks
If I could I would do you a kiss!Acteur – comédien – figurant are separated groups? or 1? I suggest to not use special symbols as names like –
This code explains how to do it, also check:Yes is one group, but this group is not use in custom tabs. It’s annoying to use “-” anyway?
I can use “,” but I prefer “-” …Attachments:
You must be logged in to view attached files.December 19, 2014 at 16:34 #39693LauraModeratorHello, so its solved or need something else?
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 🙂
January 21, 2015 at 23:01 #42972sealagencyParticipantHello,
In the same vein, some members send videos via rtmedia in their albums, is it possible to add a tab “videos” and display thumbnail or something. Because now there is no indication that a profile has video!
Thanks
Attachments:
You must be logged in to view attached files.January 22, 2015 at 18:41 #43063LauraModeratorHello, i know rtmedia pro adds some features like playlists tab, you can check it out here: https://rtcamp.com/products/rtmedia-pro/
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 🙂
January 24, 2015 at 14:08 #43316sealagencyParticipantHello Laura,
Yes rtmedia pro adds some features, but i do not think the value for money is very profitable …
January 25, 2015 at 07:40 #43361LauraModeratorHello, you can try looking for a plugin that does that in https://buddypress.org/extend/plugins/
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 🙂
-
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.