Forum Replies Created
-
Author
-
Radu
ModeratorHi,
Please replace content of this file /wp-content/plugins/buddypress-cover-photo/profile-cover.php with this http://pastebin.com/raw/BaaZSNtm
We will release an plugin update regarding to this soon today or tomorrow.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Please wait for next sweetdate update.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
First, please provide your licence key here in a private reply.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Normally this is not happend, on my local environment it works without any problems with rtmedia and rest of the recommended theme plugins, do you have enabled wp_debug ? https://codex.wordpress.org/WP_DEBUG#Usage what errors appears ? Leave wp_debug_log ON ( https://codex.wordpress.org/WP_DEBUG#WP_DEBUG_LOG ) to catch all erros in the file
Maybe is a server setting related problem like memory limit or execution time….do you have custom modifications to the theme ? Or in child theme ?
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
You can do that with pmpro or with this plugin : https://wordpress.org/plugins/restrict-content/
Install it and then go to your desired page and set the level for who is able to see the page.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
It seems that your problem is no sweetdate related and is buddypress related, i suggest you to open a ticket on buddypress forums, anyway your problem is because that members doesn’t has logged never.
Your issue is caused by lack of last_activity values for each member and the function that laura has provided its do that.
COPY CODEadd_action('bp_core_activated_user', 'kleo_add_member_activity'); function kleo_add_member_activity($user_id) { add_user_meta( $user_id, 'last_activity', date("Y-m-d H:i:s")); }
I suggest you to run this function and if is not work open a ticket on buddypress forums because it is a problem between you import users and BuddyPress.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
You can add new button or reorder existing items by modifying this file : /wp-content/themes/sweetdate/custom_buddypress/bp-functions.php from line 2234 to 2360 , between these lines are the buttons builded ( This is not update proof, you should backup this file locally )
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Yes it will overwrite the settings that you have made in Theme options but you can save theme settings from parent theme and then you can import settings in child theme from wp-admin -> theme options -> import/export -> show exported text -> save in a notepad on your computer that content and after you activate child theme go to same place (wp-admin -> theme options -> import/export ->) and press Import from text button there you will need to paste settings.
I’ve pasted properly the function into your kleo-child/functions.php now you can replace BLA with your desired text.
The forums can be created from here : http://www.reikiexchange.com/wp-admin/edit.php?post_type=forum
An user is not able to create forum from profile ( http://www.reikiexchange.com/members/reikiexchange/forums/ )
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Yes use SEO by Yoast plugin and after you install the plugin go to that pages in backend
groups | mysite name
site-wide activity | mysite name
members | mysite name
Forums Archive | mysite name
Forum | group forum name | mysite nameAnd you can set for these a custom title (see screenshot)
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.Radu
ModeratorHi,
I’ve looked at your website and i see that the menus are displayed correctly by selected language when you edit menus make sure you change language from wp admin top bar (black bar) – see attachment LANG SWITCH.png and rest of screenshots.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.Radu
ModeratorHi,
This “Last thing, could it be possible to have a category select bar just on top of the grid to filter what is displayed ?” and this “Is it possible to add the title of the product on hover ?” unfortunately are not possible without custom modifications to the theme
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorOk,
Open a ticket on wordfence forum support
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorThere are two password fields, which one ?
Please provide a sketch to understand how do you want to align inputs on form.Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Can you check ?
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi again,
I don’t think so, the theme works good on local environment, maybe you have some plugin installed an causes some conflict ? Or maybe you have made custom modifications with kleo-child ?
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Can you please provide your page url where the that thumbs need to be fitted ? and a additional print screen to identify easily the element.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
The wp-content/themes/ is located on your server and you can access that folder by using your file manager from cpanel or by using an FTP client
See this small tutorial how to operate and how to change folder permissions via FTP https://www.youtube.com/watch?v=GvUXNp84d_s , in the presented video the permissions are changed for uploads folder but you need to change it for the themes folder.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Make sure that the wp-content/themes/ has writing permission, try to set 755 for the themes folder and try again, if you was able to upload the theme please set back permissions, if this advice is useless please make this follow settings:
Add to php.ini next values
COPY CODEmax_execution_time = 60 memory_limit = 256M post_max_size = 64M upload_max_filesize = 64M
You can contact your hosting company for more details and assistance on it.
Let me know
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
You can control width of a embedded item by using this
COPY CODE.wpb_column iframe { max-width: 75% !important; }
The css can be added from wp-admin -> theme options -> general settings -> quick css.
But i’ve embedded now on my local install an youtube video and it fits ok.
What theme version do you have ? if you don’t have latest theme 3.1.3 please update it and also the plugins especially Visual composer and K-Elements.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorCan you please provide FTP ?
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Please provide some user credentials to can view your described behaviour.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Please go to wp-admin -> appearance -> menus -> CHECK Primary Menu
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Please go to wp-admin -> theme options -> Miscellaneous -> Admin toolbar -> OFF
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
This is not possible, but you can try to create a page with VC and use Kleo Posts visual element and choose 3 items per row and set to hide all these options :
- Show Layout Switcher
- Show post meta
- Show post excerpt
- Show post footer
It’s not the same, but it looks similar.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi nuriflurry,
Please read here how you can load a custom font to kleo theme : https://archived.seventhqueen.com/forums/topic/custom-font
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorYou’re welcome
Have a nice week
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Ok, please disable all plugins, and try to switch from https to http then try,
Let me know
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorYes
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Solution here : https://archived.seventhqueen.com/forums/topic/buddypress-cover-photo-doesnt-work#post-99132
Let me know if is ok
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I no logged need for the cpanel or ftp credentials i’ve figure out and i’ve fixed, please check and let me know.
If someone have this problem, until we release a new plugin update, please replace content of this file /wp-content/plugins/buddypress-cover-photo/profile-cover.php
with this
COPY CODE<?php /** * Class BPCoverPhoto * Adds profile cover functionality * @author Seventhqueen * @version 1.0 */ class BPCoverPhoto { function __construct() { //setup nav add_action( 'bp_xprofile_setup_nav', array( $this, 'setup_nav' ) ); function bpcp_remove_theme_profile_cover_link() { remove_action('bp_before_member_header', 'kleo_bp_cover_html', 20); } add_action( 'after_setup_theme', 'bpcp_remove_theme_profile_cover_link', 99 ); add_action( 'bp_before_member_header', array( $this, 'add_profile_cover' ), 20 ); //inject custom css class to body add_filter( 'body_class', array( $this, 'get_body_class' ), 30 ); //add css for background change add_action( 'wp_head', array( $this, 'inject_css' )); add_action( 'wp_print_scripts', array( $this, 'inject_js' ) ); add_action( 'wp_ajax_bpcp_delete_cover', array( $this, 'ajax_delete_current_cover' ) ); } //inject custom class for profile pages function get_body_class($classes){ if( bp_is_user() ) { $default_cover = bp_get_option( 'bpcp-profile-default' ); if ( $default_cover ) { $classes[] = 'bp-default-cover'; } if ( bpcp_get_image() || $default_cover ) { $classes[] = 'is-user-profile'; } } return $classes; } function add_profile_cover () { global $bp; $output = ''; if ( bp_is_my_profile() || is_super_admin() ) { if ( bpcp_get_image() ) { $message = __("Change Cover", 'bpcp'); } else { $message = __("Add Cover", 'bpcp'); } $output .= '<div class="profile-cover-action">'; $output .= '<a href="' . bp_displayed_user_domain() . $bp->profile->slug . '/change-cover/" class="button">' . $message . '</a>'; $output .= '</div>'; } $default_cover = bp_get_option( 'bpcp-profile-default' ); if ( bpcp_get_image() || $default_cover ) { $output .= '<div class="profile-cover-inner"></div>'; } echo $output; } //add a sub nav to My profile for adding cover function setup_nav() { global $bp; $profile_link = bp_loggedin_user_domain() . $bp->profile->slug . '/'; bp_core_new_subnav_item( array( 'name' => __('Change Cover', 'bpcp'), 'slug' => 'change-cover', 'parent_url' => $profile_link, 'parent_slug' => $bp->profile->slug, 'screen_function' => array($this, 'screen_change_cover'), 'user_has_access' => (bp_is_my_profile() || is_super_admin()), 'position' => 40 ) ); } //screen function function screen_change_cover() { global $bp; //if the form was submitted, update here if ( ! empty($_POST['bpcp_save_submit']) ) { if ( ! wp_verify_nonce($_POST['_wpnonce'], 'bp_upload_profile_cover') ) { die( __('Security check failed', 'bpcp') ); } $current_option = $_POST['cover_pos']; $allowed_options = array('center', 'bottom', 'top'); if( in_array( $current_option, $allowed_options ) ) { $user_id = bp_loggedin_user_id(); if ( is_super_admin() && ! bp_is_my_profile() ) { $user_id = bp_displayed_user_id(); } bp_update_user_meta( $user_id, 'profile_cover_pos', $current_option ); } //handle the upload if (isset($_FILES['file']) && $_FILES['file']['name'] != '' && $this->handle_upload()) { bp_core_add_message(__('Cover photo uploaded successfully!', 'bpcp')); @setcookie( 'bp-message', false, time() - 1000, COOKIEPATH ); } } //hook the content add_action('bp_template_title', array($this, 'page_title')); add_action('bp_template_content', array($this, 'page_content')); bp_core_load_template(apply_filters('bp_core_template_plugin', 'members/single/plugins')); } //Change Cover Page title function page_title() { echo __('Add/Update Your Profile Cover Image', 'bpcp'); } //Upload page content function page_content() { ?> <form name="bpcp_change" id="bpcp_change" method="post" class="standard-form" enctype="multipart/form-data"> <?php $image_url = bpcp_get_image(); if ( ! empty( $image_url ) ): ?> <div id="bg-delete-wrapper"> <div class="current-cover"> <img src="<?php echo $image_url; ?>" alt="current cover photo"/> </div> <br> <a href='#' id='bpcp-del-image' data-buid="<?php echo bp_displayed_user_id();?>" class='btn btn-default btn-xs'><?php _e('Delete', 'bpcp'); ?></a> </div> <?php endif; ?> <p><?php _e('If you want to change your profile cover, please upload a new image.', 'bpcp'); ?></p> <label for="bpcp_upload"> <input type="file" name="file" id="bpcp_upload" class="settings-input"/> </label> <h3 style="padding-bottom:0px;margin-top: 20px;"> <?php _e("Please choose your background repeat option", "bpcp");?> </h3> <div style="clear:both;"> <?php $selected = bpcp_get_image_position(); $cover_options = array('center' => __('Center', 'bpcp'), 'top' => __('Top', 'bpcp'), 'bottom' => __("Bottom", 'bpcp')); foreach( $cover_options as $key => $label ): ?> <label class="radio"> <input type="radio" name="cover_pos" id="cover_pos<?php echo $key; ?>" value="<?php echo $key; ?>" <?php echo checked($key,$selected); ?>> <?php echo $label;?> </label> <?php endforeach; ?> </div> <br/> <br/> <?php wp_nonce_field("bp_upload_profile_cover"); ?> <input type="hidden" name="action" id="action" value="bp_upload_profile_cover"/> <p class="submit"> <input type="submit" id="bpcp_save_submit" name="bpcp_save_submit" class="button" value="<?php _e('Save', 'bpcp') ?>"/> </p> </form> <?php } //handles upload, a modified version of bp_core_avatar_handle_upload(from bp-core/bp-core-avatars.php) function handle_upload( ) { $uploaded_file = BPCP_Utils::handle_upload(); //if file was not uploaded correctly if (!empty($uploaded_file['error'])) { bp_core_add_message(sprintf(__('Upload Failed! Error was: %s', 'buddypress'), $uploaded_file['error']), 'error'); return false; } $user_id = bp_loggedin_user_id(); if ( is_super_admin() && ! bp_is_my_profile() ) { $user_id = bp_displayed_user_id(); } //assume that the file uploaded successfully //delete any previous uploaded image self::delete_cover_for_user( $user_id ); //save in user_meta bp_update_user_meta( $user_id, 'profile_cover', $uploaded_file['url'] ); bp_update_user_meta( $user_id, 'profile_cover_file_path', $uploaded_file['file'] ); @setcookie( 'bp-message', false, time() - 1000, COOKIEPATH ); do_action('bpcp_cover_uploaded', $uploaded_file['url']);//allow to do some other actions when a new background is uploaded return true; } //inject css function inject_css() { if( ! bp_is_user() ) { return false; } $profile_cover_html_tag = apply_filters( 'bpcp_profile_tag', 'div#item-header' ); /* Default cover check */ $default_cover = bp_get_option( 'bpcp-profile-default' ); if ( $default_cover ) { ?> <style type="text/css"> body.buddypress.bp-default-cover <?php echo $profile_cover_html_tag; ?>, .bp-default-cover #buddypress <?php echo $profile_cover_html_tag; ?> { background-image: url("<?php echo $default_cover; ?>"); background-repeat: no-repeat; background-size: cover; background-position: center center; } </style> <?php } /* User cover */ $image_url = bpcp_get_image(); if ( empty( $image_url ) || apply_filters('bpcp_iwilldo_it_myself', false) ) { return; } $position = bpcp_get_image_position(); ?> <style type="text/css"> body.buddypress.is-user-profile <?php echo $profile_cover_html_tag; ?>, .is-user-profile #buddypress <?php echo $profile_cover_html_tag; ?>{ background-image: url("<?php echo $image_url;?>"); background-repeat: no-repeat; background-size: cover; background-position: <?php echo $position;?>; } </style> <?php } //inject js if I am viewing my own profile function inject_js() { if ( ( bp_is_my_profile() || is_super_admin() ) && bp_is_profile_component() && bp_is_current_action( 'change-cover' ) ) { wp_enqueue_script('bpcp-js', plugin_dir_url(__FILE__) . 'bpcp.js', array('jquery')); } } //ajax delete the existing image function ajax_delete_current_cover() { //validate nonce if (!wp_verify_nonce($_POST['_wpnonce'], "bp_upload_profile_cover")) { die('what!'); } $user_id = bp_loggedin_user_id(); if ( isset( $_POST['buid'] ) && (int)$_POST['buid'] != 0 ) { if ( bp_loggedin_user_id() != (int)$_POST['buid'] && is_super_admin() ) { $user_id = (int)$_POST['buid']; } } self::delete_cover_for_user( $user_id ); $message = '<p>' . __('Cover photo deleted successfully!', 'bpcp') . '</p>';//feedback but we don't do anything with it yet, should we do something echo $message; exit(0); } //reuse it static function delete_cover_for_user( $user_id = null ) { if ( ! $user_id ) { $user_id = bp_loggedin_user_id(); } //delete the associated image and send a message $old_file_path = get_user_meta( $user_id, 'profile_cover_file_path', true ); if ($old_file_path) { @unlink( $old_file_path );//remove old files with each new upload } bp_delete_user_meta( $user_id, 'profile_cover_file_path' ); bp_delete_user_meta( $user_id, 'profile_cover' ); } } /** * * @param integer $user_id * @return string url of the image associated with current user or false */ function bpcp_get_image( $user_id = false ){ if( ! $user_id ) { $user_id = bp_displayed_user_id(); } if( empty( $user_id ) ) { return false; } $image_url = bp_get_user_meta( $user_id, 'profile_cover', true ); return apply_filters( 'bpcp_get_image', $image_url, $user_id ); } function bpcp_get_image_position( $user_id = false ){ if( !$user_id ) { $user_id = bp_displayed_user_id(); } if( empty( $user_id ) ) { return false; } $current_position = bp_get_user_meta( $user_id, 'profile_cover_pos', true); if( ! $current_position ) { $current_position = 'center'; } return $current_position; }
Cheers
Have a nice week
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Can you please provide and FTP access, i’ve figure out what’s going on, but i need ftp to can fix this more comfortable.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I cannot view your page : http://www.vincentmoreau.fr/work/
COPY CODEError 520: Website not authorized on OVH CDN This website does not seem to be activated on OVH CDN. If you are a visitor of the website, please try to come back in a few minutes. If you are the administrator of the website, please check your domain/host/CDN configuration. In case the problem persists, please contact us.
The url is correct ?
In that way you can disable animations but i need to view the page to can investigate this,
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
The only issue remains the cover image ?
Can you please provide some credentials to test the behaviour ? On my local install i cannot reproduce this.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi the text from the footer can be edited with this function, add this snippet to wp-content/themes/sweetdate-child/functions.php . NOTE : Sweet Child Theme needs to be activated.
COPY CODEif(!function_exists('kleo_copyright_text')): function kleo_copyright_text() { echo 'Bla'; } add_action('kleo_footer_text','kleo_copyright_text'); endif;
Regarding to the group creation problem, please provide admin credentials to take a look.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
I have identified what causes this, the problem is : Image Effects Generator i deactivated.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Ok in this case you should try to use the function that i have provided you, if the function doesn’t help you please open a ticket to wordfence support forum.
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
First, for an easy procedure of debugging please disable all additional plugins except buddypress, geo dir and rtmedia, then see if the media appears under http://www.texpu.com/wp-admin/upload.php , if these are useless please enable wp debug, see here how : https://codex.wordpress.org/WP_DEBUG then repeat the actions and see if some error appears, if not please leave the debug on and let me know.
Please try also to increase your wp max memory limit : http://seventhqueen.com/blog/code-snippets/increase-php-memory-limit-in-wordpress.html
Let me know
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionJanuary 18, 2016 at 16:30 in reply to: wpbakery visual composer grid layout – large gap under titles #99100Radu
ModeratorHi,
Add this css to wp-admin -> Theme options -> general settings -> quick css
COPY CODEbody.page-id-8915 .vc_gitem-zone-mini .vc_gitem_row .vc_custom_heading h4 { margin: 0px !important; padding: 0px !important; } body.page-id-8915 .vc_gitem-zone-mini .vc_gitem_row .vc_custom_heading { padding:0 !important;margin: 0px !important;}
Let me know
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Can you provide an account to see your described behaviour ?
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionRadu
ModeratorHi,
Please add this css after the css that i have provided you earlier
COPY CODEbody.home form#register_form_front .five.columns { margin:0px !important;float: left;text-align: right !important;} form#register_form_front .three.mobile-one.columns { width: 58%; text-align: right !important; float: right; } body.home form#register_form_front .mobile-one label { text-align: right !important; }
Cheers
Radu
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts