MScharf
Forum Replies Created
-
Forum: Plugins
In reply to: [The Events Calendar] Getting error when opening Event SettingJust to confirm, I am also experiencing this same issue when trying to access the Events->Settings screen. I tested on a fresh install of WP on PHP 8.0.28-Win32-vs16-x64 and encountered the same error.
Forum: Plugins
In reply to: [Better Search Replace] BeTheme compatibilityNo, most plugins that work with the content like search and replace do not work with BeTheme. I have been looking for a good search plugin that will include BeTheme content without success. The issue is BeTheme saves all its into in meta fields instead of in the content field in the database and search plugins do not work with meta fields in general. I think it also saves this data in serialized form, which further complicates search operations.
I’ve solved this issue. The PHP extension ‘php-gd’ needed installed. Once this was done, I restarted Apache and all worked like a charm.
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Calendar Error on time.ly siteI almost forgot, I found the link at http://time.ly under:
Company->Our Calendar
It’s also linked in the footer.
It would be nice if the link to http://try.time.ly/ were in the header menu somewhere. The Our Calendar link was the only one I could find to have a look at how the calendar works. A big green button that says “Try A Demo” or something would be really nice as I suspect ALOT of other folks go there looking for a demo.
Thanks again for the great plugin!
Forum: Plugins
In reply to: [Timely All-in-One Events Calendar] Calendar Error on time.ly siteThat’s awesome. I figured there was something wonky going on. Thanks for fixing the demo! I might just be able to use this after all.
In light of the apparent lack of interest in fixing the issue at the WP core level, it makes sense for Photocrati to address within the plugin. It looks pretty bad when thumbnails don’t show up in a photo management plugin, regardless of what the underlying issue is.
Keeping to “best practices” is a noble cause, but the space-stripping behavior of esc_url() means it’s currently not the right function for this task.
Just my 2 cents.
Thanks so much for looking into this!It seems that NextGen Gallery Plugin is now intolerant of image filenames that contain spaces. Since I have a few thousand images, all with spaces in filenames, and I had tried changing the filenames without success (see my first post), I located the lines to change that should fix thumbnail image issues in the admin screens. Please be aware that these are core files and changes will need re-applied after upgrading the plugin.
To fix the Sort Gallery page, open up:
/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/manage-sort.php
change the following line (126) from:
<div class=”imageBox_theImage” style=”background-image:url(‘<?php echo esc_url( $picture->thumbURL ); ?>’)”></div>
to:
<div class=”imageBox_theImage” style=”background-image:url(‘<?php echo $picture->thumbURL; ?>’)”></div>To fix the thumbnail images in Manage Galleries area, open up:
/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/manage-images.php
change the following line (~510) from:
<img class=”thumb” src=”<?php echo esc_url ( add_query_arg(‘i’, mt_rand(), $picture->thumbURL) ); ?>” id=”thumb<?php echo $pid ?>” />
to:
<img class=”thumb” src=”<?php echo add_query_arg(‘i’, mt_rand(), $picture->thumbURL); ?>” id=”thumb<?php echo $pid ?>” />When clicking on View under the images on Manage Gallery page, the popup also
fails to load the image. To correct this and make the image display once again,
open up:/nextgen-gallery/products/photocrati_nextgen/modules/ngglegacy/admin/manage-images.php
change the following line (~484) by removing the esc_url function that wraps $picture->imageURL. (couldn’t put that piece of code in the post here, sorry.)
It seems the esc_url function provided by wordpress cannot tolerate the spaces, and may need some work. For now though, removing that from the plugin code has fixed my problems.
Photocrati, please consider fixing this issue in a future release. I’m sure most Windows users will have some photos with spaces in filenames. Since making these simple changes fixed the problem I was having, and images now display just fine, there seems to be no need for this aggressive cleansing of image urls.
I hope this helps someone else out there in WordPress Land.