Forum Replies Created
-
Author
-
cbodini
ParticipantThanks for the reply. I have made the hidden group public and created a test group today. The oldest groups I made and shown in the screenshots you provided, had the photos centered. But new groups don’t center photos. When I upload a new photo or create a new group I do get an option to “crop the image”. But the image does not appear/it’s not possible to crop it (screenshot attached).
I’ve temporarily changed them groups from hidden to public so that you can see them on the groups page: https://embrasurespace.com/groups/
Attachments:
You must be logged in to view attached files.cbodini
ParticipantThank you both for all your help. The screenshot with the hint that something in wp-content lead to a dead path help me figure this out.
This was caused by a plugin that offloads some of the media to an amazon S3 bucket and servers the content from the bucket instead of my server. The plugin in question is the RtMedia Amazon S3 plugin, changed the settings within that plugin has resolved the display issues noted above.
Again, thank you.
– Chance
cbodini
ParticipantThanks Radu.
I’m still looking into this. I have a feeling that this may be related to a plugin that offloads uploads to an Amazon S3 bucket…I’ll update you guys when it’s resolved.
Thanks for all this help.
cbodini
ParticipantForgot to add the screenshot of the /lib/my_functions.php
Attachments:
You must be logged in to view attached files.cbodini
ParticipantThank you for all these Kieran, this is truly great support for the theme.
I ran out of time today, but will take a look at just cleaning up the child theme…It actually looks like my functions.php was moved into lib. I had a developer do some work to make videos uploaded to the site upload to video press. I don’t think it actually ever worked though and I no longer need the function. I’m thinking I can paste the code you provided as the minimum for a style.css and a functions.php in the child theme and delete the /lib/. Would that basically reset the child theme to what was pre-packaged with Kleo without erasing the theme settings I’m using?
The code in the my_functions.php is:
COPY CODE<?php /** * Redirect buddypress and bbpress pages to registration page */ function kleo_page_template_redirect() { //if not logged in and on a bp page except registration or activation if( ! is_user_logged_in() && ( ( ! bp_is_blog_page() && ! bp_is_activation_page() && ! bp_is_register_page() ) || is_bbpress() ) ) { wp_redirect( home_url( '/register/' ) ); exit(); } } add_action( 'template_redirect', 'kleo_page_template_redirect' ); function rtamazon_can_upload_to_bucket( $status, $attachment_id ) { // Get the mime type for uploading media. $mime_type = get_post_mime_type( $attachment_id ); $type_arr = explode( '/' , $mime_type ); // Get media type. $type = $type_arr[0]; // Check if it is video type, then skip uploading to bucket. // Other types you can define i.e 'image', 'audio' etc. if ( ! empty( $type ) && 'video' === $type ) { $status = false; } return $status; } add_filter( 'rtawss3_can_upload_to_bucket', 'rtamazon_can_upload_to_bucket', 99, 2 ); function wc_ninja_remove_password_strength() { if ( wp_script_is( 'wc-password-strength-meter', 'enqueued' ) ) { wp_dequeue_script( 'wc-password-strength-meter' ); } } add_action( 'wp_print_scripts', 'wc_ninja_remove_password_strength', 100 );
cbodini
ParticipantThanks Kieran,
After clearing the caches (server and cloud flare) and enabling development mode, it appears that using the parent theme instead of the child theme resolves this issue.
It looks like in the child theme there’s an error on line 11 (see screenshots attached). I actually don’t need any custom functions made available in the child theme, but I would like to keep the theme settings/layout I have worked on in the child theme when activating the parent theme…
What’s the best way to resolve this? Should I just export Kleo child theme settings from dashboard> theme options > import/export; export the settings in the child theme, then activate parent theme and import settings?
Also
WP debug mode returns the following message above gravity forms:
Deprecated: Function mcrypt_get_iv_size() is deprecated in /www/wp-content/plugins/gravityforms/common.php on line 5155 Deprecated: Function mcrypt_create_iv() is deprecated in /www/wp-content/plugins/gravityforms/common.php on line 5158 Deprecated: Function mcrypt_encrypt() is deprecated in /www/wp-content/plugins/gravityforms/common.php on line 5158
However that appears to be something that needs to be resolved by gravity forms.
Attachments:
You must be logged in to view attached files.cbodini
ParticipantHi Kieran,
A page you can see with a gravity form is here: https://embrasurespace.com/on-podcasts/build-your-podcast-page/
It appears that the error is isolated to Safari browsers on desktop/laptops.
I can see the form when using chrome, firefox, and a mobile device (apple iPhone 6 using safari mobile browser).
-
AuthorPosts