Forum Replies Created
-
Author
-
SQadminKeymaster
Hi,
Probably something from the server but try editing: sweetdate/page-parts/general-login-modal.php
You should use the child theme for changes. Take the file above and copy it in the same exact location in your sweetdate-child activated theme and modify it there.change line 6 with this one:
http://pastebin.com/GD3pL8FZ2. Add this to Sweetdate -> Styling options -> Quick css
COPY CODE.form-search.custom input[type="text"] {color:#ccc}
Change the #ccc color with your own
We will generate this color to match with others in 1.4.1 versionHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Yes it is related to the anchor. I have just checked it and worked if I am logged in on your site.
You can change the Looking for tab with another Profile Group by adding this in your functions.php:COPY CODEadd_filter('kleo_extra_tab1', 'custom_tab'); function custom_tab() { return 'Base'; }
You can add your changes to the template members/single/member-header.php
Also I guess you are using a plugin since some things are changed in the profile and registration.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
You need to do it from css to match the our form style.
To keep the same width of as the original form you could wrap the shortcode like this:COPY CODEfunction render_user_search() { if (is_page_template('page-templates/front-page.php') AND sq_option('home_search',1) == 1) { echo '<div class="twelve columns"> <div class="row"> <div class="five columns">'; echo do_shortcode('[my_shortcode]'); echo '</div> </div><!--end row--> </div><!--end twelve-->'; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
To hide Admin profile you could add this snippet to your sweetdate-child/functions.php:COPY CODEadd_action('bp_init', 'kleo_private_admin'); function kleo_private_admin(){ global $bp; if(is_super_admin()) { remove_action("wp_head","bp_core_record_activity"); //id SM is on, remove the record activity hook //then remove the last activity, if present delete_user_meta($bp->loggedin_user->id, 'last_activity'); } } add_action('bp_ajax_querystring','kleo_exclude_users',20,2); function kleo_exclude_users($qs=false,$object=false) { //list of users to exclude $excluded_user='1';//comma separated ids of users whom you want to exclude if($object!='members')//hide for members only return $qs; $args=wp_parse_args($qs); //check if we are listing friends?, do not exclude in this case if(!empty($args['user_id'])) return $qs; if(!empty($args['exclude'])) $args['exclude']=$args['exclude'].','.$excluded_user; else $args['exclude']=$excluded_user; $qs=build_query($args); return $qs; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
To change from rounded to squared we have added in 1.4.1 version an option from admin to switch from one to another.
If you want to do it right away, add this in Sweetdate -> Styling options > Quick css:COPY CODE.avatar,.attachment-shop_thumbnail,.carousel-profiles li,.carousel-profiles img,.buddypress.widgets ul.item-list .item-avatar,.buddypress.widgets .avatar-block .item-avatar,#bbpress-forums div.bbp-forum-author .bbp-author-avatar,#bbpress-forums div.bbp-topic-author .bbp-author-avatar,#bbpress-forums div.bbp-reply-author .bbp-author-avatar, .search-item .avatar img { border-radius: 3px !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, you can put in quick css box:
COPY CODE.row { width: 1170px; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
I don’t know what your code looks like. Please give more details on your problems.
You should end up having:COPY CODEfunction render_user_search() { if (is_page_template('page-templates/front-page.php') AND sq_option('home_search',1) == 1) echo do_shortcode('[my_shortcode]'); }
Like I said, this is an example and you need to put an actual shortcode there.
RegardsHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
We figured it out and it seems that was a problem in templates before 1.8 that the request-members page wasn’t loading.
We fixed this and will include it in our 1.4.1 update this week.
If you want to fix it untill then:
– Open groups/single/home.php
– Go to line 87 and replace it with this:COPY CODElocate_template( array( 'groups/single/request-membership.php' ), true );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
For the breadcrumb:
you can go and copy header.php to your activated sweetdate-child theme and modify it around line 189
before:COPY CODE<section> <div id="breadcrumbs-wrapp"> <div class="row"> <div class="nine columns"> <?php kleo_breadcrumb(array('container_class' => 'breadcrumbs hide-for-small')); ?> </div> <?php do_action('kleo_after_breadcrumb'); ?> </div><!--end row--> </div><!--end breadcrumbs-wrapp-->
after:
COPY CODE<section> <div id="breadcrumbs-wrapp"> <div class="row"> <div class="nine columns"> </div> <?php do_action('kleo_after_breadcrumb'); ?> </div><!--end row--> </div><!--end breadcrumbs-wrapp-->
The translation strings should be there. Try using CodeStyling Localization plugin for translating strings
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
This is a quick one 🙂
You need to have the sweetdate-child theme activated.
Open sweetdate-child/functions.php and add this remove action to the remove_actions function:
remove_action(‘kleo_after_breadcrumb’, ‘bp_add_profile_navigation’);So it looks like this:
COPY CODEadd_action('after_setup_theme','kleo_remove_actions'); /** * Override existing actions * Use these functions to replace/remove existing actions * @since Sweetdate 1.3 */ function kleo_remove_actions() { remove_action('kleo_after_breadcrumb', 'bp_add_profile_navigation'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
We have exported the style settings from car-sharing demo for you to import in Sweetdate-> Import/Export. Click on Import from text, then Import.
You will lose any settings you have previously set.COPY CODE###a:91:{s:8:"last_tab";s:21:"import_export_default";s:4:"logo";s:95:"http://seventhqueen.com/demo/sweetdatewp-travel/wp-content/uploads/2013/07/logo_car_sharing.png";s:11:"logo_retina";s:98:"http://seventhqueen.com/demo/sweetdatewp-travel/wp-content/uploads/2013/07/logo_car_sharing@2x.png";s:10:"small_logo";s:89:"http://seventhqueen.com/demo/sweetdatewp-travel/wp-content/uploads/2013/07/small_logo.png";s:7:"favicon";s:0:"";s:7:"apple57";s:0:"";s:8:"apple114";s:0:"";s:7:"apple72";s:0:"";s:8:"apple144";s:0:"";s:9:"analytics";s:0:"";s:17:"responsive_design";s:1:"1";s:10:"site_style";s:11:"boxed-style";s:16:"boxed_background";a:9:{s:4:"type";s:7:"pattern";s:7:"pattern";s:2:"p1";s:5:"image";s:0:"";s:10:"img_repeat";s:6:"repeat";s:12:"img_vertical";s:3:"top";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:4:"auto";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#020202";}s:14:"global_sidebar";s:5:"right";s:11:"sticky_menu";s:1:"1";s:11:"ajax_search";s:1:"1";s:17:"header_background";a:9:{s:4:"type";s:5:"image";s:7:"pattern";s:4:"blue";s:5:"image";s:0:"";s:10:"img_repeat";s:9:"no-repeat";s:12:"img_vertical";s:6:"center";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:7:"contain";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#3f375d";}s:17:"header_font_color";s:7:"#ffffff";s:20:"header_primary_color";s:7:"#ffffff";s:18:"menu_color_enabled";s:7:"#ffffff";s:18:"menu_primary_color";s:7:"#584e7c";s:22:"header_secondary_color";s:7:"#ffffff";s:20:"menu_secondary_color";s:7:"#47406d";s:17:"breadcrumb_status";s:1:"1";s:21:"breadcrumb_background";a:9:{s:4:"type";s:5:"color";s:7:"pattern";s:4:"blue";s:5:"image";s:0:"";s:10:"img_repeat";s:6:"repeat";s:12:"img_vertical";s:3:"top";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:4:"auto";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#2b2348";}s:21:"breadcrumb_font_color";s:7:"#f0f0f0";s:24:"breadcrumb_primary_color";s:7:"#ffffff";s:26:"breadcrumb_secondary_color";s:7:"#584e7c";s:15:"body_background";a:9:{s:4:"type";s:5:"color";s:7:"pattern";s:4:"gray";s:5:"image";s:0:"";s:10:"img_repeat";s:6:"repeat";s:12:"img_vertical";s:3:"top";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:4:"auto";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#ffffff";}s:15:"body_font_color";s:7:"#777777";s:18:"body_primary_color";s:7:"#333333";s:20:"body_secondary_color";s:7:"#3f375d";s:18:"sidebar_font_color";s:7:"#777777";s:21:"sidebar_primary_color";s:7:"#666666";s:23:"sidebar_secondary_color";s:7:"#3f375d";s:17:"footer_background";a:9:{s:4:"type";s:7:"pattern";s:7:"pattern";s:5:"black";s:5:"image";s:0:"";s:10:"img_repeat";s:6:"repeat";s:12:"img_vertical";s:3:"top";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:4:"auto";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#000000";}s:17:"footer_font_color";s:7:"#777777";s:20:"footer_primary_color";s:7:"#f00056";s:22:"footer_secondary_color";s:7:"#3f375d";s:15:"button_bg_color";s:7:"#332b50";s:17:"button_text_color";s:7:"#ffffff";s:21:"button_bg_color_hover";s:7:"#3f375d";s:23:"button_text_color_hover";s:7:"#ffffff";s:25:"button_secondary_bg_color";s:7:"#E6E6E6";s:27:"button_secondary_text_color";s:7:"#1D1D1D";s:31:"button_secondary_bg_color_hover";s:7:"#DDDCDC";s:33:"button_secondary_text_color_hover";s:7:"#1D1D1D";s:7:"heading";a:7:{s:2:"h1";a:4:{s:4:"size";s:4:"46px";s:4:"font";s:12:"Lato:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#222222";}s:2:"h2";a:4:{s:4:"size";s:4:"30px";s:4:"font";s:12:"Lato:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#222222";}s:2:"h3";a:4:{s:4:"size";s:4:"26px";s:4:"font";s:12:"Lato:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#222222";}s:2:"h4";a:4:{s:4:"size";s:4:"20px";s:4:"font";s:17:"Open Sans:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#222222";}s:2:"h5";a:4:{s:4:"size";s:4:"17px";s:4:"font";s:17:"Open Sans:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#222222";}s:2:"h6";a:4:{s:4:"size";s:4:"14px";s:4:"font";s:17:"Open Sans:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#222222";}s:4:"body";a:4:{s:4:"size";s:4:"13px";s:4:"font";s:17:"Open Sans:regular";s:5:"style";s:6:"normal";s:5:"color";s:7:"#777777";}}s:9:"quick_css";s:415:".rtmedia-container .rtmedia-action-buttons span { background: #fff !important; border: none !important; border-radius: 50% 50% 50% 50%; color: #333 !important; display: inline-block !important; font-size: inherit !important; margin-left: 0 !important; padding: 0 !important; width: 15px; height: 15px; line-height: 15px; margin-top: -4px; text-align: center; } ";s:11:"home_search";s:1:"1";s:19:"home_search_members";s:1:"1";s:19:"home_pic_background";a:9:{s:4:"type";s:5:"image";s:7:"pattern";s:5:"green";s:5:"image";s:91:"http://seventhqueen.com/demo/sweetdatewp-travel/wp-content/uploads/2013/07/hitch_hiking.jpg";s:10:"img_repeat";s:9:"no-repeat";s:12:"img_vertical";s:3:"top";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:5:"cover";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#332b50";}s:8:"bp_album";s:1:"1";s:18:"buddypress_sidebar";s:5:"right";s:14:"bp_search_form";a:9:{s:11:"before_form";s:156:"Find others going your way so you can Car-Share together.<br><small>Save money, cut your carbon and have fun! Great for both drivers and passengers.</small>";s:6:"fields";a:4:{i:0;s:2:"65";i:1;s:3:"162";i:2;s:1:"3";i:3;s:1:"6";}s:22:"before_form_horizontal";s:0:"";s:17:"fields_horizontal";a:3:{i:0;s:3:"162";i:1;s:1:"3";i:2;s:1:"6";}s:11:"button_show";s:1:"1";s:8:"agerange";s:1:"0";s:8:"agelabel";s:3:"Age";s:8:"numrange";s:1:"0";s:6:"match1";a:2:{i:1;s:1:"0";i:2;s:1:"0";}}s:12:"bp_sex_field";s:1:"0";s:12:"bp_age_field";s:1:"0";s:20:"buddypress_age_start";s:2:"18";s:18:"buddypress_age_end";s:2:"75";s:18:"buddypress_perpage";s:2:"12";s:20:"bp_header_background";a:9:{s:4:"type";s:5:"color";s:7:"pattern";s:4:"gray";s:5:"image";s:0:"";s:10:"img_repeat";s:6:"repeat";s:12:"img_vertical";s:3:"top";s:14:"img_horizontal";s:6:"center";s:8:"img_size";s:4:"auto";s:14:"img_attachment";s:6:"scroll";s:5:"color";s:7:"#332b50";}s:20:"bp_header_font_color";s:7:"#ffffff";s:23:"bp_header_primary_color";s:7:"#ffffff";s:25:"bp_header_secondary_color";s:7:"#584e7c";s:21:"bp_items_transparency";s:3:"0.1";s:11:"owner_email";s:0:"";s:11:"owner_phone";s:0:"";s:7:"twitter";s:0:"";s:8:"facebook";s:0:"";s:10:"googleplus";s:0:"";s:9:"pinterest";s:0:"";s:8:"linkedin";s:0:"";s:7:"gps_lat";s:0:"";s:7:"gps_lon";s:0:"";s:9:"fb_app_id";s:0:"";s:13:"mailchimp_api";s:0:"";s:10:"terms_page";s:1:"#";s:12:"privacy_page";s:1:"#";s:11:"tf_username";s:0:"";s:9:"tf_apikey";s:0:"";s:16:"tdf_consumer_key";s:0:"";s:19:"tdf_consumer_secret";s:0:"";s:16:"tdf_access_token";s:0:"";s:23:"tdf_access_token_secret";s:0:"";s:17:"tdf_user_timeline";s:0:"";s:16:"tdf_cache_expire";s:0:"";s:10:"social_top";i:0;s:9:"admin_bar";i:0;s:14:"facebook_login";i:0;s:17:"facebook_register";i:0;s:18:"squeen-opts-backup";s:1:"1";}###
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Users appear in members page. If you search them, they have to complete their profile fields to appear in results.Also you need to change the profile fields that appear under the name in member listing . To change those values in profile listing you need to change some values to a configuration array:
Add it in the remove actions function from the sweetdate-child and change with your own fields:COPY CODEglobal $kleo_config; // Profile fields to show on members loop, below the name $kleo_config['bp_members_loop_meta'] = array( 'I am a', 'Marital status', 'City'); //From which profile field to show member details on members directory page $kleo_config['bp_members_details_field'] = 'About me';
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
I resolved this issue and will be fixed in 1.4.1 update.
Until then you can put as a quick fix this code in Sweetdate/Styling options/Quick css box.COPY CODE.bbp-topics .sticky.fixed { height: inherit; position: relative; z-index: 0; }
We put it also in our demo: http://seventhqueen.com/demo/sweetdatewp/forums/forum/general-discussion/general-relationship-discussion/
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
There is no setting for changing into square but I’ll give you a code snippet. You can paste it into Sweetdate/Styling options/Quick css box.COPY CODE.avatar, .attachment-shop_thumbnail, .carousel-profiles li, .carousel-profiles img, .buddypress.widgets ul.item-list .item-avatar, .buddypress.widgets .avatar-block .item-avatar { border-radius: 3px !important; }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi
Indeed, by default Buddypress doesn’t allow you to set visibility options to Name field.
To achieve that you can add this piece of code into your sweetdate-child/functions.php file(you need to activate the child theme)COPY CODEadd_filter(‘bp_xprofile_get_hidden_fields_for_user’,'bp_define_hidden_fields’, 10 ,3 ); function bp_define_hidden_fields( $hidden_fields, $displayed_user_id, $current_user_id ) { //if not admin or if not the the profile of the current userif if ( !is_super_admin( $current_user_id) AND ($displayed_user_id != $current_user_id) ) { //add name field ( id = 1 ) to the hidden fields $hidden_fields[] = 1; } return $hidden_fields; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi
Add this to sweetdate-child/functions.php to in the remov actions function:remove_filter( ‘bp_get_the_profile_field_datebox’, ‘custom_bp_datebox’,10,7);
Then, bellow add this:
COPY CODEfunction my_custom_bp_datebox($html, $type, $day, $month, $year, $field_id, $date) { $current_year = date("Y"); $allowed_year = $current_year - 13; if($type == 'year'){ $html = '<option value=""' . selected( $year, '', false ) . '>----</option>'; for ( $i = $allowed_year; $i >= 1920; $i-- ) { $html .= '<option value="' . $i .'"' . selected( $year, $i, false ) . '>' . $i . '</option>'; } } return $html; } add_filter( 'bp_get_the_profile_field_datebox', 'my_custom_bp_datebox',10,7);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi Claudio,
I think we forgot about that pink colors from popups, we will fix this in next update. Until then you can change colors applying directly in admin Sweetdate/Styling options/Quick css box like this:COPY CODE.reveal-modal .pink-text { color: #1eb6c7; }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi
You need to change this in header.php
You’ll need to replace the existing line:COPY CODE<title ><?php wp_title( '|', true, 'right' ); ?></title >
Also do not modify main theme file. Use the included child theme.
Copy header.php to sweetdate-child/header.php and do the changes thereHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Please use, for example, Firebug for Mozilla to inspect css
For the notifications add this to your style.css from sweetdate-child/style.css or to quick css section from Admin -> Sweetdate -> Styling options:COPY CODE.kleo-message-count { background: none repeat scroll 0 0 #F00056; } .kleo-friends-req { background: none repeat scroll 0 0 #01A8DA; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterIt is possible that your PHP version is lower than 5.3.
You can modify your 404.php page by copying it to your sweetdate-child theme and do this changes there:
Replace these 2 lines
add_filter(‘kleo_main_section_class’, function() { return ‘text-center’; } );
add_filter(‘kleo_content_class’, function() { return ‘twelve’; } );
withCOPY CODEadd_filter('kleo_main_section_class', 'custom1' ); function custom1() { return 'text-center'; } add_filter('kleo_content_class', 'custom2' ); function custom2() { return 'twelve'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
You can change the function that renders the search form by adding this in sweetdate-child/functions.phpCOPY CODEfunction render_user_search() { if (is_page_template('page-templates/front-page.php') AND sq_option('home_search',1) == 1) get_template_part('page-parts/home-search-form'); }
Try changing get_template_part(‘page-parts/home-search-form’); with what you want to show. It you want to display a shortcode you can do this:
COPY CODEecho do_shortcode('[my_shortcode]');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYou should just the the Sex fields under Sweetdate -> Buddypress and after that change the shortcodes in the Homepage like this:
COPY CODE[kleo_status_icon type="Uomo" subtitle="Men online"]
Also do not change main theme files, activate the sweetdate-child theme
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
To use different walker class you can change with your own in header.php:COPY CODE<?php wp_nav_menu( array( 'container' => false, 'menu_class' => 'left', 'theme_location' => 'primary', 'fallback_cb' => 'sweetdate_main_nav', 'walker' => new sweetdate_walker_nav_menu) ); ?>
Instead of -> sweetdate_walker_nav_menu put your class name.
Then in your sweetdate-child you can duplicate our sweetdate_walker_nav_menu class and edit there.
Also we didn’t liked all those added classes and removed them but we left the commented like that adds the classes in functions.php ->COPY CODE//$output .= $indent . '<li id="nav-menu-item-'. $item->ID . '" class="' . $depth_class_names . ' ' . $class_names . '">';
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Monday we are releasing v1.4 which fixes this. Until then you can edit:
sweetdate/framework/inc/oauth-twitter-feed-for-developers/StormTwitter.class.php
replace this at line 9:COPY CODErequire_once('oauth/twitteroauth.php');
with
COPY CODEif (!class_exists('TwitterOAuth')) { require_once('oauth/twitteroauth.php'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHI,
We fixed it in v1.4
Here is the fix until it is published:COPY CODE.widgets-container.sidebar_location .widgets ul#profile-thumbs li {padding:0;} .widgets-container .widgets ul#profile-thumbs li:before {content:'';margin-left: 0;}
Thanks for pointing that out
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi
If you have translated your fields you have to add this function to functions.php from your sweetdate-child theme:COPY CODEfunction render_bp_meta() { $output = array(); if (get_member_age(bp_get_member_user_id())) $output[] = get_member_age(bp_get_member_user_id()); //fields to show $bp_config = array( 'sex' => 'I am a', 'marital_status' => 'Marital status', 'city' => 'City', ); foreach ($bp_config as $key => $val): if(bp_get_member_profile_data( 'field='.$val )): $output[] = bp_get_member_profile_data( 'field='.$val ); endif; endforeach; $output_str = implode(" / ", $output); echo '<div class="search-meta">'; echo '<h5 class="author"><a href="'. bp_get_member_permalink().'">'. bp_get_member_name().'</a></h5>'; echo '<p class="date">'.$output_str.'</p>'; echo '</div>'; }
Change only the fields “I am a”, etc under the $bp_config array.
In v1.4 which is going out today we also have applied a filter to that array to change it easily
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
For the search to work you need to enable matching field from Sweetdate -> Buddypress. You should match “I am a” and “Looking for”(your translated ones).If you have translated you fields then you need to change the kleo_status_icon shortcodes from the homepage to match your translated ones:
COPY CODE[kleo_status_icon type="Translated Man" image="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/apple-touch-icon.png" subtitle="Man online"]
Change the name under the type attribute with your translated one
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Menu it designed to stay that way for the moment.
When you update you need to change parent theme. Child theme contains your changes
1) In v.14 which is gonna be released tomorrow we included support for default values in search form
4. Here is an example:COPY CODE[kleo_status_icon type="total" image="http://sweetdate.local/wp-content/uploads/2013/07/Capture.png" subtitle="Total members"]
7. Yes we added this in 1.4 to have a default value
9. That I guess is something different, I asked for a screenshotHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Yes it does check for the email address.
– Users are saved to the db. If you stop Facebook integration everything is fine
– Registration using Facebook will be disabled from our next update because it skips the required profile fields.
Button can be changed by adding this code to your functions.php in sweetdate-child:COPY CODEadd_action('after_setup_theme','kleo_remove_actions'); function kleo_remove_actions() { remove_action('fb_popup_button', 'fb_button' ); } function my_fb_button() { ?> <a href="#" id="facebook_connect" class="radius button facebook"><i class="icon-facebook-sign"></i> <?php _e("LOG IN WITH Facebook", 'kleo_framework');?></a> <?php } add_action('fb_popup_button', 'my_fb_button' );
To add it in other places do:
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
I was showing you how to use Firebug to see the styles when on hover.
I will give you the style if you can’t find it:COPY CODEform.custom div.custom.dropdown:hover a.selector:after, form.custom div.custom.dropdown.open a.selector:after { border-color: #222 transparent transparent; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
Add this to your functions.php under sweetdate-shild theme
COPY CODEadd_filter('kleo_extra_tab1', 'custom_tab'); function custom_tab() { return 'Base'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterFrom version 1.3 you can set this with a filter from your sweetdate-child/functions.php
Uncomment the code bellow or add it if it doesn’t existCOPY CODEadd_filter('kleo_bp_profile_default_top_tab','my_default_tab'); function my_default_tab() { return 'looking-for'; }
You can change it to: my-photos or info
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi
If you have changed the Profile Group name then do add this to your child theme functions.phpCOPY CODEadd_filter('kleo_extra_tab1', 'custom_tab'); function custom_tab() { return 'Base'; }
Change “Base” with your group name
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterFrom version 1.3 you can set this with a filter from your sweetdate-child/functions.php
Uncomment the code bellow or add it if it doesn’t existCOPY CODEadd_filter('kleo_bp_profile_default_top_tab','my_default_tab'); function my_default_tab() { return 'looking-for'; }
You can change it to: my-photos or info
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts