-
Author
-
December 8, 2014 at 18:50 #38166
Laura
ModeratorHello, try this code ๐
COPY CODEadd_action('after_setup_theme','kleo_my_member_data'); function kleo_my_member_data() { global $kleo_config; //this is the details field, right now it take the "About me" field content $kleo_config['bp_members_details_field'] = 'Bรกsico'; //this display the fields under the name, eq: 36 / Woman / Divorced / Berlin. Modify with the names of the fields you want to appear there $kleo_config['bp_members_loop_meta'] = array( 'Eu sou', 'Relacionamento', 'Idade', 'Cidade' ); }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 13:08 #38285renatokeuller36
ParticipantWhere should I put this code?
I put in functions.php in the theme child but gave error.
December 9, 2014 at 13:15 #38286Laura
ModeratorHello, what error does it give you?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 13:37 #38287renatokeuller36
ParticipantIt worked now Laura. In membris page data is appearing each. However, on the profile page, not aprece tabs [Looking for] and [About me] as it has in the default theme. In my theme, I would put the four groups [Bรกsico] [Sobre mim] and [Minhas fotos].
December 9, 2014 at 13:45 #38293Laura
ModeratorHello, great it worked ๐ Lets do the profile tabs now, can you tell me the exact name of each of the groups of fields you want in the profile?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 13:52 #38294renatokeuller36
ParticipantYes. [Bรกsico] [Sobre mim] and [Minhas fotos].
December 9, 2014 at 14:02 #38295Laura
ModeratorHello, try to add this , i do not know if you use bp album or rtmedia so i added both:
COPY CODE//my changes to profile tabs add_action('after_setup_theme','kleo_my_custom_tabs'); function kleo_my_custom_tabs() { global $bp_tabs; $bp_tabs = array(); $bp_tabs['looking-for'] = array( 'type' => 'regular', 'name' => __('Sobre mim', 'kleo_framework'), 'group' => 'Sobre mim', 'class' => 'regulartab' ); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => __('Bรกsico', 'kleo_framework'), 'group' => 'Bรกsico', 'class' => 'regulartab' ); /* rtMedia tab - only if plugin installed */ if (class_exists('RTMedia')) { $bp_tabs['rtmedia'] = array( 'type' => 'rt_media', 'name' => __('Minhas fotos', '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' => __('Minhas fotos', 'kleo_framework'), 'class' => 'mySlider' ); }Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 14:07 #38296renatokeuller36
ParticipantI rtmedia use. but where should I add this code?
December 9, 2014 at 14:21 #38297Laura
ModeratorHello, yes add it to functions.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 14:30 #38298renatokeuller36
Participantin /wp-content/themes/sweetdate/functions.php
Parse error: syntax error, unexpected end of file in /home/booktins.com/www/wp-content/themes/sweetdate/functions.php on line 1464in /wp-content\themes\sweetdate-child\functions.php
Parse error: syntax error, unexpected end of file in /home/booktins.com/www/wp-content/themes/sweetdate-child/functions.php on line 76Both give error !!!
December 9, 2014 at 14:32 #38299Laura
ModeratorHello, please give me access to your ftp and i will do it, also a link to your website.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 14:42 #38300renatokeuller36
ParticipantAcess to site
http://www.booktins.com
Password: rk251011326291FTP
Host: http://ftp.booktins.com
User: booktins.com
Password: ccz69k6iPainel
http://booktins.com/wp-login.php
User: booktins
Password: rk251011December 9, 2014 at 14:51 #38301Laura
ModeratorHello, its fixed now ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 14:55 #38302renatokeuller36
ParticipantCongratulations Laura. You’re very good at it. But, is to leave the tab [Basic] as standard, rather than [about me]?
December 9, 2014 at 14:55 #38303Laura
ModeratorHello, sure, doing it now! ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 14:57 #38304Laura
ModeratorHello, its done ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 15:01 #38305renatokeuller36
ParticipantYes, very good. A problem that was already extending for more than 20 days, you solved in two days. Thank you very much.
But there’s another error in another item. Can you help me?
December 9, 2014 at 15:02 #38306Laura
ModeratorHello, no problem, its my job :D, and sure what can i do for you?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 15:10 #38307renatokeuller36
ParticipantCurrently, there are 3 members online. Being that they are two men and a woman. The icons of the home page should appear in the image (001) below is what I did in Photoshop. Ie 2 online men and 1 woman Online.
But is appearing all “0” online. As shown in the image (002).
I think the problem must be in shortecode of my “Home” page, however, could not find the error.
December 9, 2014 at 15:12 #38310Laura
ModeratorHello, i will take a look at your page and i will let you know.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 15:47 #38314Laura
ModeratorHello, should be working now! ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 15:49 #38317renatokeuller36
ParticipantYes, you are the best. But just a question. You have replaced some .php file? Because I realized that some items that translate into my language (Portuguese – Brazil), returned to the English language.
December 9, 2014 at 15:53 #38319Laura
ModeratorHello, the file is in your sweetdate child theme, you should make all modifications there because any update will override the changes, sweetdate-child/custom_buddypress/bp-functions.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 15:57 #38320renatokeuller36
ParticipantUnderstand. But I realized that in the “Members” page, the [+] and [-] buttons are gone.
December 9, 2014 at 15:58 #38322Laura
ModeratorHello, those buttons, did you add them with a function or directly inside bp-functions? Because they dont come with the theme
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 16:02 #38323renatokeuller36
ParticipantYes, they come in is yes. See the demo page:
http://seventhqueen.com/demo/sweetdatewp/members/
Moreover, they were just there until you change some files.
December 9, 2014 at 16:03 #38325Laura
ModeratorHello, i see it now, let me try to update it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 16:07 #38326renatokeuller36
ParticipantIf you update the theme, all translations I did for Portuguese in .php files return to the English language, for me it will be a loss to have to translate everything back to Portuguese.
December 9, 2014 at 16:08 #38327Laura
ModeratorHello, its fixed, sorry i had an outdated version of bp-functions.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 16:09 #38329Laura
ModeratorHello, the only file you need to translate is bp-functions.php as you made before, i didnt know you modified it.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 16:13 #38330renatokeuller36
ParticipantThank you Laura, you were a great help and very attentive. A complete and dedicated professional. I still have some other questions, but I will only send them tomorrow to not overwhelm you. Thanks again.
December 9, 2014 at 16:18 #38334Laura
ModeratorHello, dont worry you can ask all you want ๐ I’m here all day.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 16:48 #38338renatokeuller36
ParticipantSorry Laura. But I realized that users icons again be showing “0” online as before. This occurred when updated bp-functions.php
December 9, 2014 at 17:09 #38341Laura
ModeratorHello, fixed ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 17:29 #38347renatokeuller36
ParticipantLaura. I’m so sorry to bother you again. However, translate some words in bp-functions.php and again failed to show online users icons. ๐
December 9, 2014 at 17:40 #38350Laura
ModeratorHello, maybe you are translating an old file, i will fix it again, so what you need to do is reconnect to your ftp and not edit the file in local, if you use filezilla, check to download the file again so you get the fixed one.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 17:42 #38352Laura
ModeratorHello, fixed, re download the file again before changing it ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 9, 2014 at 17:47 #38354renatokeuller36
ParticipantThanks again. I’ve done changes to the current file. Have a great day.
December 9, 2014 at 18:04 #38359Laura
ModeratorHello, have a great day ๐
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
You must be logged in to reply to this topic.