Forum Replies Created
-
Author
-
December 3, 2013 at 14:18 in reply to: Members directory page not showing about us information #7643SQadminKeymaster
Hi, That is the member age. You can remove it with this code added to sweetdate-child/functions.php
COPY CODE/* Remove age from member directory listing */ add_filter('kleo_bp_meta_fields', 'remove_age_from_member'); function remove_age_from_member($output) { unset($output['age']); return $output; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
You can use the same code that replaces the heart with a camera icon but instead of camera you can show nothing by changing return ‘camera’; to return ”;To disable the lightbox you need to redefine the shortcode that handles the rounded image.The code should go in sweetdate-child/functions.php
COPY CODEfunction kleo_img_rounded( $atts, $content = null ) { extract(shortcode_atts(array( 'src' => '', ), $atts)); $output = '<div class="circle-image">'; $output .= ' <img src="'.$src.'" alt=""> </div>'; return $output; } add_shortcode('kleo_img_rounded', 'kleo_img_rounded');
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYou need to follow the example in the header:
COPY CODE<a class="tiny secondary button radius" data-reveal-id="login_panel" href="#"><i class="icon-user hide-for-medium-down"></i> LOG IN</a>
You add the code in the editor but the text tab, not visual
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
1. You don’t need bbPress, it is optional just like any other plugin if you don’t need their functionality2. We are releasing tomorrow an v.2.3 theme version which will include the updated Revolution slider 4.0.3 which has an easier way of importing the sliders, just click import and the slider is ready to use like on our demo. Let me know if it is ok to wait for the update
3. You should check Revolution slider documentation. Normally you add it from Add layer: video
http://themepunch.com/codecanyon/revolution_wp/documentation/#!/video_layers4. You can add this css to hide the menu in Sweetdate – Styling options – Quick css
COPY CODE.home .top-bar { display: none; }
5. This is WordPress related. In page edit at the top of the screen click Screen options, check Discussion and a section will appear where you can uncheck the discussion area
Regards,
AbeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYou can try to disable with a code the search form when you are activating an account. Code should go in functions.php
COPY CODEif (isset($_GET['page']) && $_GET['page'] == 'gf_activation' ) { add_action('after_setup_theme', 'my_custom_code1'); } function my_custom_code1() { remove_action('after_header_content','render_user_search'); remove_action('after_header_content','render_user_register'); remove_action('after_setup_theme', 'kleo_home_form'); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, here is the content of our demo site:
COPY CODE[kleo_row] [kleo_one_third] Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. See more features [/kleo_one_third] [kleo_two_third][kleo_slider] [kleo_slider_image src="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/blog_slider_01.jpg"] [kleo_slider_image src="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/blog_slider_00.jpg"] [kleo_slider_image src="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/blog_slider_02.jpg"] [/kleo_slider][/kleo_two_third] [/kleo_row] [kleo_section bg="" centered=0 border=1][kleo_row][kleo_two_third][kleo_h3] Mission Statement [/kleo_h3][kleo_lead_paragraph] Contrary to popular belief, Lorem Ipsum is not simply random text. It has roots in a piece of classical Latin literature from 45 BC, making it over 2000 years old. [/kleo_lead_paragraph]Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.[/kleo_two_third] [kleo_one_third][kleo_h3] Our Philosophy [/kleo_h3]Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo. Nemo enim ipsam voluptatem quia voluptas sit aspernatur aut odit aut fugit, sed quia consequuntur magni dolores eos qui ratione voluptatem sequi nesciunt.[/kleo_one_third][/kleo_row][/kleo_section] [kleo_section bg="" centered=1 border=0] [kleo_h3] Meet [kleo_colored_text color="#F00056"] Our Team [/kleo_colored_text] [/kleo_h3] [kleo_one_third][kleo_img_rounded src="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/small_thumb_03.png"] [kleo_h4]Becca Morgan[/kleo_h4]Founder Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. [kleo_icon icon="twitter-sign" size=2x] [kleo_icon icon="facebook-sign" size=2x] [kleo_icon icon="pinterest-sign" size=2x] [/kleo_one_third] [kleo_one_third] [kleo_img_rounded src="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/small_thumb_03.png"] [kleo_h4]Michele Storm[/kleo_h4]Chief Technical Officer Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. [kleo_icon icon="twitter-sign" size=2x] [kleo_icon icon="facebook-sign" size=2x] [kleo_icon icon="pinterest-sign" size=2x] [/kleo_one_third] [kleo_one_third] [kleo_img_rounded src="http://seventhqueen.com/demo/sweetdatewp/wp-content/uploads/2013/06/small_thumb_03.png"] [kleo_h4]Brady Patterson[/kleo_h4]Director of Marketing Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. [kleo_icon icon="twitter-sign" size=2x] [kleo_icon icon="facebook-sign" size=2x] [kleo_icon icon="pinterest-sign" size=2x] [/kleo_one_third][/kleo_section]
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 add this javascript code to footer.php just before the wp_footer line:
COPY CODEjQuery(document).ready(function() { jQuery("a.play").each(function (e) { var videoId = jQuery(this).attr('data-videoid'); //e.preventDefault(); jQuery(".videoLoad").hide(); var videotoload = jQuery(this).attr("href"), viewportHeight = (jQuery(window).height()) - 533, scrolltovideo = jQuery("#markerPoint-"+videoId).offset().top; if (viewportHeight > 100) { scrolltovideo = scrolltovideo - (viewportHeight / 2); } else { scrolltovideo = scrolltovideo - 55; } jQuery('.play').show(); jQuery(this).addClass('disabled'); jQuery("html, body").animate({ scrollTop: scrolltovideo }, 500, function () { jQuery("#"+videoId+" iframe").attr('src', videotoload); jQuery("#"+videoId+" .videoLoad").fadeIn('slow'); jQuery("#"+videoId).slideDown(900); }); }); });
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHave you tried this plugin? http://wordpress.org/plugins/welcome-pack/
Also I think this is the buddypress function that has a filter to change from functions.phpCOPY CODEfunction bp_get_email_subject( $args = array() ) { $r = wp_parse_args( $args, array( 'before' => '[', 'after' => ']', 'default' => __( 'Community', 'buddypress' ), 'text' => '' ) ); $subject = $r['before'] . wp_specialchars_decode( bp_get_option( 'blogname', $r['default'] ), ENT_QUOTES ) . $r['after'] . ' ' . $r['text']; return apply_filters( 'bp_get_email_subject', $subject, $r ); }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYou can make use of this code to restrict access to your profile
COPY CODE/* Redirect user to levels page until he subscribes for a membership */ add_action( 'template_redirect', 'my_membersip_restrict', 1 ); function my_membersip_restrict() { if ( bp_is_my_profile() && !pmpro_hasMembershipLevel() ) { wp_redirect( pmpro_url() );exit; } }
For custom work please try hiring a developer.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, The code bellow added to sweetdate-child/functions.php will help you. You just leave the registration process as it is and after the user registers he won’t he able to do anything until he subscribes for a membership.
COPY CODE/* Redirect user to levels page until he subscribes for a membership */ add_action( 'template_redirect', 'my_membersip_restrict' ); function my_membersip_restrict() { global $pmpro_pages, $post; if ( is_user_logged_in() && !pmpro_hasMembershipLevel() ) { if (isset($post->ID) && !in_array($post->ID, $pmpro_pages)) { wp_redirect( pmpro_url() ); } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterMy answer above will change the link for the registration button to the levels page. The thing is you have to be registered to choose a membership.
You can redirect users of their first login to the membership levels page with the codes bellow added to sweetdate-child/functions.phpCOPY CODE//Whenever a new user is created, this function will add a custom field with value 1. function function_new_user($user_id) { add_user_meta( $user_id, '_new_user', '1' ); } add_action( 'user_register', 'function_new_user'); //The next function will check if it's the first login and redirect the user. function function_check_login_redirect($user_login, $user) { $logincontrol = get_user_meta($user->ID, '_new_user', 'TRUE'); if ( $logincontrol ) { //set the user to old update_user_meta( $user->ID, '_new_user', '0' ); //Do the redirects or whatever you need to do for the first login wp_redirect( pmpro_url("levels"), 302 ); exit; } } add_action('wp_login', 'function_check_login_redirect', 10, 2);
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterFrom Sweetdate – Homepage, where you set the slider, enable the Transparent header and then add this css to Sweetdate – Styling options – Quick css:
COPY CODE.revslider-head .just-after-header { z-index: 100; }
You need to style it probably, make it appear lower on the page, etc.
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, If you want to redirect to their profile then you need to add the following line
File is: wp-content/themes/sweetdate/framework/functions/facebook_login.phpCOPY CODE$redirect = bp_core_get_user_domain( $user_ID ).'profile/';
after
COPY CODE$logintype = 'login';
You will find two occurrences.
Then Search for:
window.location.reload();
replace with:
window.location = user.url;Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterRight now you can’t change it from admin, we will add this soon. As quick fix you can add the following line in sweetadmin/styling options/quick css box:
COPY CODE.buddypress .pagination span.current { background-color: #ffcc66; }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterAdd this to sweetdate-child/functions.php:
COPY CODEfunction kleo_copyright_text() { return; {
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, That requires some big changes. You can use the horizontal form that appears under the members page.
You can modify the homepage form with the horizontal one by editing by FTP the file wp-content/themes/sweetdate/page-parts/home-search-form.php
and replace:COPY CODEdo_action('kleo_bp_search_form', (sq_option('home_search_members', '1') ==1?true:false) );
with:
COPY CODEdo_action('kleo_search_form_horizontal', true);
cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 27, 2013 at 01:14 in reply to: Show normal select instead of the Foundation custom selects #7326SQadminKeymasterHi, You can do it by CSS:
.kleo-selectbox .custom.dropdown.expand {display:none;} .kleo-selectbox select { display: block !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterIf that is not workin try with the absolute a bit above:
COPY CODE<div class="row" style="position: absolute;"> <div class="four columns"> <?php echo do_shortcode('[gmw form="1"]'); ?> </div> </div><!–end row–>
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, Try with this css added to Sweetdate – Styling options – Quick css:
COPY CODEul.tabs-content > li:not(.active) { display: block !important; visibility: hidden; height: 0; } ul.tabs-content > li:not(.active) p { margin-bottom: 0; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, you can add in sweetadmin/styling options/quick css box the following line:
COPY CODE#pmpro_account .bordered { color: #1FA8D1; }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterReplace this:
with:COPY CODE<div style="position: absolute;" class="four columns">
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 25, 2013 at 11:58 in reply to: Hide tabs next to profile image if user is not a paying member #7202SQadminKeymasterHi, The code above has some missing parts. This should do the trick:
COPY CODEadd_action('bp_after_member_header','kleo_my_actions1', 1); function kleo_my_actions1() { global $bp_tabs; $bp_tabs = array(); $bp_tabs['base'] = array( 'type' => 'regular', 'name' => apply_filters('kleo_extra_tab2',__('About the artist', 'kleo_framework')), 'group' => 'General Info', 'class' => 'regulartab' ); $user_id = bp_displayed_user_id(); if (pmpro_hasMembershipLevel(array(5,6), $user_id)) { // Add tab 'Additional' $bp_tabs['additional'] = array( 'type' => 'regular', 'name' => __('Additional information', 'kleo_framework'), 'class' => 'regulartab' ); // Add tab 'Contact Details' $bp_tabs['contact details'] = array( 'type' => 'regular', 'name' => __('Contact Details', 'kleo_framework'), 'class' => 'regulartab' ); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHello,
1. There isn’t something like that included. You will need to develop yourself the functionality
2. The form searches only in profile fields
3. You can add this css to Sweetdate – Styling options – Quick css to change how many to display one one row:COPY CODE.article-content .woocommerce ul.products li.product { width: 25%; }
The above code will make 4 products on one row. Adjust the width to match your needs.
Thank you
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, to have video in front of revolution slider you need to add the following line in sweetadmin/styling options/quick css box:
COPY CODE.revslider-head.absolute-head .flex-video { margin-top: 238px; position: relative; z-index: 1; }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, right now you can’t do this from admin, we’ll fix this in next update release. Until then you can add in admin sweetdate/styling options/quick css box the following line:
COPY CODE.album .picture-thumb-box a.picture-thumb img { border-radius: 3px; }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, you can add in quick css box the following:
COPY CODE@media (max-width: 480px) { .widgets-container.sidebar_location { display: none; } }
Regards,
RobertHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionNovember 22, 2013 at 03:01 in reply to: Hide tabs next to profile image if user is not a paying member #7071SQadminKeymasterYou could try adding those two arrays in a if condition to check for level IDs:
COPY CODEif ( pmpro_hasMembershipLevel(array(2,3))) { $bp_tabs 2 arrays .... }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, You need some PHP and HTML knowledge
The PHP code for checking a logged in user field is like this and it has to be adapted and goes in header.php andCOPY CODE$current_user = wp_get_current_user(); $current_user_id = $current_user->ID; $usertype = xprofile_get_field_data('User type', $current_user_id); if ($usertype == 'Photo') { echo '<img src="" />'; } elseif ($usertype == 'Model') { echo '<img src="" />'; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterI gues you are talking about bp-Album and not rtMedia? for bpAlbum this css does the trick
COPY CODE.picture-gallery .picture-thumb-box .picture-thumb img { border-radius: 0; } .picture-thumb-box .picture-thumb img {width: auto;}
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 make a change in a file. Best practice is to activate the sweetdate-child theme.
After you have activated the child theme, by FTP copy the file from
wp-content/themes/sweetdate/custom_buddypress/kleo-bp-search.php
to
wp-content/themes/sweetdate-child/custom_buddypress/kleo-bp-search.phpThen edit the one you just copied and you need to edit line 203 that looks like this:
COPY CODE<div class="seven offset-by-five columns"><button class="button radius"><i class="icon-search"></i> <?php _e("SEARCH", 'kleo_framework'); ?></button></div>
and add the LOGIN button after the SEARCH button. You should add it before the closing div and it should look like:
COPY CODE<a href="/wp-login.php" class="button radius">LOGIN</a>
Cheers,
AbeHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterFor the upgrade account text, redefine this function in your sweetdate-child/functions.php
COPY CODEfunction kleo_membership_info() { global $membership_levels,$current_user; if (! $membership_levels) { return; } if (bp_is_my_profile()) { if (isset($current_user->membership_level) && $current_user->membership_level->ID) { echo '<a href="'.pmpro_url("account").'"><span class="label radius pmpro_label">'.$current_user->membership_level->name.'</span></a>'; } else { echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.__("Upgrade account",'kleo_framework').'</span></a>'; } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi,
I searched this on the net and it seems related to s2member and ajax login in general, not related to the theme. See topics opened on this issue:
http://wordpress.org/support/topic/redirect-not-working-for-non-admin-users
http://www.s2member.com/forums/topic/s2member-and-loginwithajax-issue/Anyway we have found a fix to disable the s2member default redirect. Add this to sweetdate-child/functions.php:
COPY CODEadd_filter('ws_plugin__s2member_login_redirect', create_function('$arg','return false;'));
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, We made it hidden by default. You can disable this by adding this css to sweetdate-child/style.css or in WP admin – Sweetdate – Styling options – Quick css:
@media only screen and (max-width: 767px) { .rev_slider_wrapper { display: block; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasteryour code has lots of errors
COPY CODE$author = sprintf( '<a href="%1$s" title="%2$s" rel="author">%3$s</a>', esc_url( bp_core_get_user_domain( get_the_author_meta("ID") ) ), esc_attr( sprintf( __( "View all posts by %s", "kleo_framework" ), get_the_author() ) ), get_avatar( get_the_author_meta("ID"), 32 ) );
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYou can only replace this class in sweetdate/custom_buddypress/class-bp-tabs.php and change it after each update
COPY CODEclass BpMembersTab_bp_album extends BpMembersTab { public function __construct($args) { parent::__construct($args); } public function title() { $active = ''; if($this->tabs_instance->active_tab === FALSE || $this->tabs_instance->active_tab == $this->args["name"] ) { $active = 'active'; $this->tabs_instance->active_tab = sanitize_title($this->args["name"]); } return '<dd class="sliderEvent '.$active.'"><a href="#'.sanitize_title($this->args["name"]).'">'.$this->args["name"].' <span class="radius label alert">'.bp_album_get_total_picture_count().'</span></a></dd>'; } public function has_profile_data($name) { global $bp; $save_current_action = $bp->current_action; $bp->current_action = 'hack-to-show-all-albums'; if (!function_exists('bp_album_query_pictures')) { return false; } bp_album_query_pictures('per_page=100'); if ( bp_album_has_pictures() ) : $this->tabs_instance->fields_data[$name] = '<div id="gallery-carousel">'; while ( bp_album_has_pictures() ) : bp_album_the_picture(); $this->tabs_instance->fields_data[$name] .= '<span class="circle">'; $this->tabs_instance->fields_data[$name] .= '<a href="'.bp_album_get_picture_original_url().'" class="imagelink" data-rel="prettyPhoto[gallery2]">'; $this->tabs_instance->fields_data[$name] .= '<span class="overlay"></span>'; $this->tabs_instance->fields_data[$name] .= '<span class="read"><i class="icon-'. apply_filters('kleo_img_rounded_icon','heart').'"></i></span>'; $this->tabs_instance->fields_data[$name] .= '<img src="'.bp_album_get_picture_original_url().'" alt="">'; $this->tabs_instance->fields_data[$name] .= '</a>'; $this->tabs_instance->fields_data[$name] .= '</span>'; endwhile; $this->tabs_instance->fields_data[$name] .= '</div><!--end #gallery-carousel-->'; $this->tabs_instance->fields_data[$name] .= '<div class="clearfix"></div> <div class="four columns centered btn-carousel hide-for-small"> <small><a href="#" id="stanga-prev">'. __("PREVIOUS", 'kleo_framework').'</a> <a href="#" id="dreapta-next">'. __("NEXT", 'kleo_framework').'</a></small> </div>'; else: $this->tabs_instance->fields_data[$name] = "User hasn't uploaded additional photos"; endif; $bp->current_action = $save_current_action; bp_album_query_pictures(); $this->tabs_instance->has_data[$name] = true; return true; } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, You should leave it like this and add this css to Sweetdate – Styling options – Quicks css to hide it:
COPY CODEbody:not(.my-account) #item-nav, body:not(.my-account) #item-body { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, You shouldn’t have replaced the customized CSS with the default one.
This code added to sweetdate-child/functions.php will make the bbPress pages full width:
COPY CODEadd_action('wp_head', 'kleo_bbpress_tpl', 11); function kleo_bbpress_tpl() { //user is viewing a forum page if(get_post_type() == 'forum' OR get_post_type() == 'topic' OR get_post_type() == 'reply') { //set to full width remove_action('kleo_before_content', 'kleo_sidebar'); remove_action('kleo_after_content', 'kleo_sidebar'); remove_action('kleo_before_content', 'kleo_extra_sidebar'); remove_action('kleo_after_content', 'kleo_extra_sidebar'); add_filter('kleo_content_class', create_function(null, 'return "twelve";')); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterThat is a problem with the plugin so best is to talk with the developer.
A quick fix from us to hide the textarea, add this css:COPY CODE.autosizejs { display: none; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterHi, You can override that by adding in sweetdate-child/functions.php:
COPY CODEfunction kleo_membership_info() { global $membership_levels,$current_user; if (! $membership_levels) { return; } if (bp_is_my_profile()) { if (isset($current_user->membership_level) && $current_user->membership_level->ID) { echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.$current_user->membership_level->name.'</span></a>'; } else { echo '<a href="'.pmpro_url("levels").'"><span class="label radius pmpro_label">'.__("Upgrade account",'kleo_framework').'</span></a>'; } } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionSQadminKeymasterYou can add a filter to set your register page with this added to sweetdate-child/functions.php:
COPY CODEadd_filter('kleo_pmpro_url_redirect', 'my_custom_redirect'); function my_custom_redirect() { if (is_user_logged_in()) { return pmpro_url("levels"); } else { return bp_signup_page(); } }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts