Forum Replies Created
-
Author
-
Abe
KeymasterExactly.
Closing topic
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterThat plugin should have a setting to put your APP ID since in Theme options is used for Login functionality
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterGreat 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymaster@jasonmwestbrook you need basic programming knowledge to start editing templates…
for example you have line 55 to replace with ‘#’
I suggest hiring a programmer to helpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.October 17, 2014 at 00:35 in reply to: Quick profile navigation only with prefer sex (Looking for) #31969Abe
KeymasterYou need some custom coding to achieve that since there is not an option in the theme for that
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterAlso this topic has been created in Sweetdate theme, is that correct?
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi. Sorry for the late reply. You can enable wp_debug by setting it to true in wp-config.php file to see what error you get. You should use the plugin versions as they come with the theme. You can provide me ftp details to take a quick look and mark the reply as private
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterThank you very much Franklin, we are very happy to hear that 🙂
@sharmstr you are a star 🙂Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi @Stoyne
Please contact Envato to help you with the transfer since we can’t do anything on that matter.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymasterhi, Those come from Buddypress plugin so make sure you fully translate it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi, If you want to have the Facebook like then it has nothing to do with the theme settings, just keep that disabled since it is related to Facebook Login. For the Facebook Like look for a plugin that adds this functionality.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymaster@woekerzee
It just stroke me 🙂 Why don’t you disable the logo resize on scroll from Theme options – Header and upload your logo 50% height smallerHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.October 15, 2014 at 14:13 in reply to: Translating into Turkish, and tempalte difference with or without translation fl #31801Abe
KeymasterHi @szbence86
those are related to Buddypress plugin and you need to translate it.Media probably comes from rtMedia plugin
Album comes from bpAlbum plugin.
bpAlbum translation files reside in sweetdate/lib/bp-album/languages
You need to copy the bp-album folder to your computer and translate it with Poedit.
If you are using a child theme put the .mo and .po in sweetdate-child/languages/
The file name should follow this example: bp-album-en_US.mo or bp-album-fr_FR.moHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterNot this week.. in next update probably at the end of the month
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi @jasonmwestbrook
you need to remove the small thumbs href link and replace it with a #
Take a look in woocommerce templates folder inside the theme
wp-content/themes/kleo/woocommerce/single-product/product-thumbnails.phpHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymastersure @sharmstr
closed itHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterRobert’s solution should allow you to do that
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterNo problem. Glad you figured it out.
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi, You should contact them about types of application integration. From what we know, you can use the theme as a Web view application since it is responsive and will look just like your site
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHello, Here is the link to the Updates section in the documentation https://archived.seventhqueen.com/documentation/kleo#updates
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi, the developer of the APP is actually you 🙂 So check out this tutorial on configuring Facebook APP and getting the Facebook APP ID
http://thechamplord.wordpress.com/2014/01/16/getting-the-facebook-app-id/Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterThank you @sharmstr for the solutions.
Here is another way on adding icons to the social icons section:COPY CODEadd_action( 'kleo_get_social_profiles', 'kleo_my_extra_social_icons' ); function kleo_my_extra_social_icons( $icons ) { $icons .= '<li><a href="http://google.com"><i class="icon icon-eye"></i> <div class="ts-text">Eye</div></a></li>'; return $icons; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymaster@diegonofx
Sorry for that.. it was contributed … and thank you for sharing it.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterRevslider has a manual update button in it’s page. Use that and upload the provided updated .zip file. It should not happen anything with your data but to be safe make a database backup
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymaster@ashish963
Also since 2.1 version that should come this week you will be able to put Login, Register, Logout links from Appearance – menus – KLEO and also you can use a placeholder in menu Link to go directly to user profile pageHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi @macamacaron
what problem you encounter? As I said above, the loading times are directly related to hosting and installed plugins
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi, this is KLEO forum, not Sweetdate as in your pictures. check your page code though
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHi, it is not enabled for pages. to add it, put this code in page.php just before the endwhile
COPY CODE<comments_template( '', true );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterI have edited the code with the vc_map and it was missing some code before it. Here is the attached file for the ajax search form
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files.Abe
KeymasterTry to remove the buddypress-media folder from your server plugins folder and install a fresh new copy
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
Keymasterhaha, not true, you inspired it 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterThanks @sharmstr
For the redirect try a plugin like https://wordpress.org/plugins/peters-login-redirect/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHere are some changes to the search form until the update https://archived.seventhqueen.com/forums/topic/live-search-disable-enter-key
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterI just need to add the forums AJAX results to it
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterWell, here goes the updated files for the search form changes 🙂
I have added the context attribute to filter the search only by content selected and it will apply to ajax too. Also I have added an option to disable ajax or form submit.wp-content/plugins/k-elements/shortcodes/shortcodes.php
COPY CODEfunction kleo_search_form_func( $atts, $content = null ) { $form_style = $type = $placeholder = $context = $el_class = ''; extract(shortcode_atts(array( 'form_style' => 'default', 'type' => 'both', 'context' => '', 'placeholder' => '', 'el_class' => '' ), $atts)); global $kleo_config; $class = ''; if ($el_class != '') { $class = ' '. $el_class; } $class .= ' search-style-'. $form_style; //Defaults $action = home_url( '/' ); $hidden = ''; $input_name = 's'; $ajax_results = 'yes'; $search_page = 'yes'; if ( $type == 'ajax' ) { $search_page = 'no'; } elseif ( $type == 'form_submit' ) { $ajax_results = 'no'; } if ( function_exists('bp_is_active') && $context == 'members' ) { //Buddypress members form link $action = bp_get_members_directory_permalink(); } elseif ( class_exists('bbPress') && $context == 'forum' ) { $action = bbp_get_search_url(); $input_name = 'bbp_search'; } elseif ( $context == 'product' ) { $hidden .= '<input type="hidden" name="post_type" value="product">'; } $output = '<div class="kleo-search-wrap kleo-search-form'. $class .'">'; $output .= '<form role="search" method="get" id="searchform" ' . ($search_page == 'no' ? ' onsubmit="return false;"' : '') . ' action="' . $action . '" data-context="'. $context .'"> <div class="input-group"> <input name="' . $input_name . '" id="' . $input_name . '" autocomplete="off" type="text" class="ajax_s form-control input-lg" value="" placeholder="' . $placeholder . '"> <span class="input-group-btn"> <input type="submit" value="Search" id="searchsubmit" class="button"> </span> </div> '.$hidden.' </form>'; if ($ajax_results == 'yes' ) { $output .= '<span class="kleo-ajax-search-loading"><span class="kleo-loading-icon"></span></span><div class="kleo_ajax_results"></div>'; } $output .= '</div>'; return $output; }
wp-content/plugins/k-elements/compat/plugin-js-composer/config.php around 2302
COPY CODE/* Search form */ $kleo_post_types = array(); if ( function_exists( 'bp_is_active' ) ) { $kleo_post_types['Members'] = 'members'; } $kleo_post_types['Posts'] = 'post'; $kleo_post_types['Pages'] = 'page'; $args = array( 'public' => true, '_builtin' => false ); $types_return = 'objects'; // names or objects, note names is the default $post_types = get_post_types( $args, $types_return ); $except_post_types = array('kleo_clients', 'kleo-testimonials', 'topic', 'reply'); foreach ( $post_types as $post_type ) { if ( in_array( $post_type->name, $except_post_types ) ) { continue; } $kleo_post_types[$post_type->labels->name] = $post_type->name; } vc_map( array( 'base' => 'kleo_search_form', 'name' => 'Search Form', 'weight' => 6, 'class' => 'kleo-search', 'icon' => 'kleo-search', 'category' => __("Content",'js_composer'), 'description' => __('Insert search form','kleo_framework'), 'params' => array( array( "param_name" => "form_style", "type" => "dropdown", "holder" => "div", "class" => "hide hidden", "heading" => __("Form Style"), "value" => array( 'Default' => 'default', 'Transparent' => 'transparent' ), "description" => 'This affects the look of the form. Default has a border and works for white backgrounds.' ), array( "param_name" => "type", "type" => "dropdown", "holder" => "div", "class" => "hide hidden", "heading" => __("Form Type"), "value" => array( 'Form submit + AJAX results' => 'both', 'Just Form Submit' => 'form_submit', 'Just AJAX results' => 'ajax' ), "description" => 'Here you can disable Form Submit or AJAX results.' ), array( "param_name" => "context", "type" => "checkbox", "holder" => "div", "class" => "hide hidden", "heading" => __("Search context"), "value" => $kleo_post_types, "description" => 'What content do you want to search for. If you select just Members then the form submit will go to members directory. Same applies for Forums and Products.' ), array( "type" => "textfield", "holder" => "div", "class" => "", "heading" => __("Placeholder"), "param_name" => "placeholder", "value" => '', "description" => __("Placeholder to show when the input is empty") ), $el_class ) ) );
wp-content/themes/kleo/lib/theme-functions.php
COPY CODEfunction kleo_ajax_search() { //if "s" input is missing exit if( empty( $_REQUEST['s'] ) ) die(); $output = ""; $context = "any"; $defaults = array( 'numberposts' => 4, 'post_type' => $context, 'post_status' => 'publish', 'post_password' => '', 'suppress_filters' => false, 's' => $_REQUEST['s'] ); if ( isset( $_REQUEST['context'] ) ) { $context = explode( ",", $_REQUEST['context'] ); $defaults['post_type'] = $context; } $defaults = apply_filters( 'kleo_ajax_query_args', $defaults); $query = http_build_query( $defaults ); $posts = get_posts( $query ); $members = array(); $members['total'] = 0; if ( function_exists( 'bp_is_active' ) && ( $context == "any" || in_array( "members", $context ) ) ) { $members = bp_core_get_users(array('search_terms' => $_REQUEST['s'], 'per_page' => $defaults['numberposts'], 'populate_extras' => false)); } //if there are no posts nor members if( empty( $posts ) && $members['total'] == 0 ) { $output = "<div class='kleo_ajax_entry ajax_not_found'>"; $output .= "<div class='ajax_search_content'>"; $output .= "<i class='icon icon-exclamation-sign'></i> "; $output .= __("Sorry, we haven't found anything based on your criteria.", 'kleo_framework'); $output .= "<br>"; $output .= __("Please try searching by different terms.", 'kleo_framework'); $output .= "</div>"; $output .= "</div>"; echo $output; die(); } //if there are members if ( $members['total'] != 0 ) { $output .= '<div class="kleo-ajax-part kleo-ajax-type-members">'; $output .= '<h4><span>' . __("Members", 'kleo_framework') . '</span></h4>'; foreach ( (array) $members['users'] as $member ) { $image = '<img src="' . bp_core_fetch_avatar(array('item_id' => $member-> ID, 'width' => 25, 'height' => 25, 'html' => false)) . '" class="kleo-rounded" alt="">'; if ( $update = bp_get_user_meta( $member-> ID, 'bp_latest_update', true ) ) { $latest_activity = "<br>" . char_trim( trim( strip_tags( bp_create_excerpt( $update['content'], 50,"..." ) ) ) ); } else { $latest_activity = ''; } $output .= "<div class ='kleo_ajax_entry'>"; $output .= "<div class='ajax_search_image'>$image</div>"; $output .= "<div class='ajax_search_content'>"; $output .= "<a href='" . bp_core_get_user_domain( $member->ID ) . "' class='search_title'>"; $output .= $member->display_name; $output .= "</a>"; $output .= "<span class='search_excerpt'>"; $output .= $latest_activity; $output .= "</span>"; $output .= "</div>"; $output .= "</div>"; } $output .= "<a class='ajax_view_all' href='" . bp_get_members_directory_permalink() . "?s=" . $_REQUEST['s'] . "'>" . __('View member results','kleo_framework') . "</a>"; $output .= "</div>"; } //if there are posts if( ! empty( $posts ) ) { $post_types = array(); $post_type_obj = array(); foreach ( $posts as $post ) { $post_types[$post->post_type][] = $post; if (empty($post_type_obj[$post->post_type])) { $post_type_obj[$post->post_type] = get_post_type_object($post->post_type); } } foreach ($post_types as $ptype => $post_type) { $output .= '<div class="kleo-ajax-part kleo-ajax-type-' . esc_attr( $post_type_obj[$ptype]->name ) . '">'; if (isset($post_type_obj[$ptype]->labels->name)) { $output .= "<h4><span>" . $post_type_obj[$ptype]->labels->name . "</span></h4>"; } else { $output .= "<hr>"; } foreach ($post_type as $post) { $format = get_post_format($post->ID); if (get_the_post_thumbnail($post->ID, 'thumbnail')) { $image = get_the_post_thumbnail($post->ID, 'thumbnail'); } else { if ($format == 'video') { $image = "<i class='icon icon-video'></i>"; } elseif ($format == 'image' || $format == 'gallery') { $image = "<i class='icon icon-picture'></i>"; } else { $image = "<i class='icon icon-link'></i>"; } } $excerpt = ""; if (!empty($post->post_content)) { $excerpt = "<br>" . char_trim(trim(strip_tags(strip_shortcodes($post->post_content))), 40, "..."); } $link = apply_filters('kleo_custom_url', get_permalink($post->ID)); $classes = "format-" . $format; $output .= "<div class ='kleo_ajax_entry $classes'>"; $output .= "<div class='ajax_search_image'>$image</div>"; $output .= "<div class='ajax_search_content'>"; $output .= "<a href='$link' class='search_title'>"; $output .= get_the_title($post->ID); $output .= "</a>"; $output .= "<span class='search_excerpt'>"; $output .= $excerpt; $output .= "</span>"; $output .= "</div>"; $output .= "</div>"; } $output .= '</div>'; } $output .= "<a class='ajax_view_all' href='" . home_url( '/' ) . '?s=' . $_REQUEST['s'] . "'>" . __('View all results', 'kleo_framework') . "</a>"; } echo $output; die(); }
Add this in wp-content/themes/kleo/assets/js/app.js around line 1548, after
COPY CODEvalues += "&action=kleo_ajax_search";
COPY CODEif ( form.data('context') ) { values += "&context="+form.data('context'); }
Hope I haven’t missed any 🙂
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterI’ll do that, put a search placeholder in the search form.
Also I have made the FAQ public again so replies are opened now.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterWhat phone are you using? I have tested it on a Samsung Galaxy S4 and looks like this
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Attachments:
You must be logged in to view attached files.Abe
KeymasterI came with this code because I tested your suggestion and wasn’t matching if you didn’t had a shortcode inside
COPY CODE$sh = preg_match_all('~\[kleo_feature_item([\s\S]*)]([^\[\]]*)\[/kleo_feature_item]~', $content, $childs);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterYes indeed, I will work later on the context attributes
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer.Abe
KeymasterHello, You can’t post to the sticky any more?
I am extending the functionality too so you could choose where to search in from the shortcode and I will put a checkbox for ajax search and to disable the enter key. I will try to finish today and give you an update with the code.We did some changes to the styling so look now on the demo: http://seventhqueen.com/themes/kleo/e-learning-home/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution---
@ SeventhQueen we do our best to have super happy customers. Thanks for being our customer. -
AuthorPosts