-
Author
-
December 16, 2014 at 13:10 #39285
sealagency
Participanthello,
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
December 16, 2014 at 16:48 #39306Laura
ModeratorHello, 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 solutionDecember 16, 2014 at 21:46 #39350sealagency
ParticipantThank you for your quick response.
my sftp:
user : pat
pw : wFs4e74_madmin wp:
id : admin
pw : cGklbU8R6f3Vin Utilisateurs->champs de profil i have the categories :
– Base (Primaire)
– A propos de moi
– Acteur – comédien – figurant
– …….i want have:
– Profil (Primaire)
– A propos de moi
– Acteur – comédien – figurant
– …….And in my profil page i want see in front of the current avatar the button diplay the data of :
– A propos de moi -> open by default
– Profil
– photosI hope is clear … I am not Anglophone!
Called me how you made that I may understand
Thank youDecember 17, 2014 at 06:15 #39400Laura
ModeratorHello, 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 solutionDecember 18, 2014 at 19:32 #39606sealagency
ParticipantYES !
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 “-” …December 19, 2014 at 16:34 #39693Laura
ModeratorHello, 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 solutionJanuary 21, 2015 at 23:01 #42972sealagency
ParticipantHello,
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
January 22, 2015 at 18:41 #43063Laura
ModeratorHello, 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 solutionJanuary 24, 2015 at 14:08 #43316sealagency
ParticipantHello 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 #43361Laura
ModeratorHello, 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 solution -
AuthorPosts
The forum ‘Sweetdate – WordPress’ is closed to new topics and replies.