-
Author
-
October 22, 2014 at 01:02 #32513
kasselnightt
ParticipantNot sure if I posted that privately…I quickly changed my password from ++GGXXyy to admin696969 just in case!!
October 24, 2014 at 15:47 #32923Abe
KeymasterSupport offered here should be limited to theme functionality problems or other issues as well as improvements recommendations. Any custom work you might need isn’t supported by the team from the support site.
1. you should do your changes over FTP and if you crash it then just undo the changes to the file. for this you will probably need custom work to match your needs.
2. Depending on how you want to change it you can accomplish it using CSS.
3. Css solution here also.
4. Disable Buddypress modules that you don’t want in WP admin – Settings – Buddypress
5. Check out our demo. maybe you have done something wrong there with some changes
6. Interesting idea. I don’t think I have seen similar one
A little guidance and example: add this CSS for the pink colors
COPY CODE.pink-text { color: #f00056; } .button.alert { background-color: #ed0058; border: 1px solid #ed0058; }Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 22, 2014 at 19:58 #36389Miriam
ParticipantHi,
does this instruction works with Kleo Theme as well?
You just speak of Sweetdate in your postings.
Thanks,
MiriamNovember 26, 2014 at 01:06 #36647Abe
KeymasterThis topic is created under Sweetdate and is not available in KLEO
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 7, 2014 at 17:24 #38013ofcentral
ParticipantHi,
I’m referring to Post .
I translated the fields “I am a” and “Looking for” both in the .po-File as well as in the WordPress-Profile Fields-Section. As soon as I translate the fields in the Profile Fields-Section (only in the .po-File doesn’t work), the matching algorithm doesn’t work, altough I also translated it in your custom code:COPY CODE//change matching system add_action('after_setup_theme','kleo_my_match'); function kleo_my_match() { global $kleo_config; $kleo_config['matching_fields']['starting_score'] = 1; //If we want to match by members sex. values: 0|1 $kleo_config['matching_fields']['sex_match'] = 1; //required for initial match. If the sex preference matches it will continue to the specified fields below $kleo_config['matching_fields']['sex'] = 'Translation 1'; $kleo_config['matching_fields']['looking_for'] = 'Translation 2'; //sex percentage $kleo_config['matching_fields']['sex_percentage'] = 49; ); }Can you help me? Thanks a lot!
December 7, 2014 at 20:02 #38036Abe
KeymasterHave you also renamed/translated the profile fields in WP admin – USers – Profile fields?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 7, 2014 at 22:26 #38074ofcentral
ParticipantThank you very much for your fast reply, that’s what I call great support!
yes, I also renamed it there, I tried it several times. Maybe there’s something wrong with the code?
December 8, 2014 at 20:33 #38188Abe
Keymaster@ofcentral try to give me temp access to your site.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionDecember 8, 2014 at 22:12 #38216ofcentral
ParticipantThank you @Abe!
URL: http://testsystem.oliver-flueckiger.ch/login
Blog Password: F*4P8aGNp*wTbdwZ@T^^
Username: abe-temporary
Password: W8*5&$ty8shbf6Hs2qEXMy functions.php:
COPY CODE<?php /** * @package WordPress * @subpackage Sweetdate * @author SeventhQueen <themesupport@seventhqueen.com> * @since Sweetdate 1.0 */ /** * Sweetdate Child Theme Functions * Add extra code or replace existing functions */ //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['base'] = array( 'type' => 'regular', 'name' => __('About me', 'kleo_framework'), 'group' => 'Base', 'class' => 'regulartab' ); $bp_tabs['Ich suche'] = array( 'type' => 'regular', 'name' => __('Ich suche', 'kleo_framework'), 'group' => 'Ich suche', 'class' => 'regulartab' ); $bp_tabs['Aussehen'] = array( 'type' => 'regular', 'name' => __('Aussehen', 'kleo_framework'), 'group' => 'Aussehen', 'class' => 'regulartab' ); $bp_tabs['Meine Vorlieben'] = array( 'type' => 'regular', 'name' => __('Meine Vorlieben', 'kleo_framework'), 'group' => 'Meine Vorlieben', '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' ); } } /* Disable WordPress Admin Bar for all users but admins. */ show_admin_bar(false); //change matching system add_action('after_setup_theme','kleo_my_match'); function kleo_my_match() { global $kleo_config; $kleo_config['matching_fields']['starting_score'] = 1; //If we want to match by members sex. values: 0|1 $kleo_config['matching_fields']['sex_match'] = 1; //required for initial match. If the sex preference matches it will continue to the specified fields below $kleo_config['matching_fields']['sex'] = 'Ich bin'; $kleo_config['matching_fields']['looking_for'] = 'Ich suche'; //sex percentage $kleo_config['matching_fields']['sex_percentage'] = 49; //single value fields like select, textbox,radio $kleo_config['matching_fields']['single_value'] = array ( 'Status' => 10, 'Country' => 5, 'City' => 5, 'Drinking Habits' => 5, 'Dietary Preferences' => 5, 'Smoking Habits' => 5 ); //multiple values fields like multiple select or checkbox $kleo_config['matching_fields']['multiple_values'] = array ( 'For' => 5, 'Interests' => 5, ); } ?>December 12, 2014 at 10:51 #38735ofcentral
Participant@abe, did you already have time to check that?
maybe you can implement a backend-function to translate these fields. I think many users have this problem.December 15, 2014 at 17:31 #39173Abe
KeymasterYes we are working on this for 2.8 version since there are a lot of requests on this matter 🙂
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.