Pat K
Forum Replies Created
-
Forum: Plugins
In reply to: [EventPrime – Events Calendar, Bookings and Tickets] User Rose Based OffersThanks. I can confirm role based discounts are working now in the development sandbox I created. Much appreciated!
Thank you eventprimesupport; I look forward to increased flexibility via additional shortcode parameters. Without the ability to control the order of Upcoming Events on event-type pages, a large portion of this plugin’s functionality cannot be used because it’s simply too cumbersome to manage manually (by adjusting the date created relative to all other events).
Also thank you @lpint! This may interest you: after MUCH experimentation (including messing with custom functions & custom sort order plugins without success) I found a simple workaround – although it involves manually tweaking one line of code in the plugin.
I realize that modifying plugin code is ill-advised, but having to update one line of code each time there is a plugin update is MUCH simpler than having to manually adjust the publication date for each event relative to existing events.
If you open this file:
eventprime-event-calendar-management\includes\event_types\controllers\class-ep-event-type-controller-list.php
…and scroll to line 412 (below ‘// get upcoming events for event_type’) you’ll find this:'orderby' => 'em_start_date',Comment this out and replace it with ’em_start_date_time’, like so:
// 'orderby' => 'em_start_date',
'orderby' => 'em_start_date_time',Then upload it to the server.
In my tests, this automatically & correctly orders Upcoming Events by their start date & time regardless of the publication date.
In the unlikely event this causes problems, it’s easy enough to undo this change; simply remove the new line of code and uncomment the original line of code (then save & upload it).
cheers, pk
Update: I just figured out (in case this is useful information for anyone) that the default order of upcoming events is determined by the date the event was CREATED. In other words, it’s possible (but not easy) to manually control the order in which upcoming events are ordered by modifying the publication date for each event – including each event recurrence.
Painfully slow to do this manually – but possible. It would be SO much better if there were available shortcode parameters so they could be ordered by event date & time.
Forum: Plugins
In reply to: [EventPrime – Events Calendar, Bookings and Tickets] User Rose Based OffersThanks for taking the time to provide clarification! Much appreciated. I look forward to the new release.
Forum: Plugins
In reply to: [EventPrime – Events Calendar, Bookings and Tickets] User Rose Based OffersOk – thanks. Does that mean you plan to confirm it’s not working and fix it so Role Based Offers works as advertised OR does it mean you plan to remove the functionality in the free version ….OR something else?
And what kind of timeline are we talking about (a day, a week, a month, a year)? I have a project that’s getting close to completion and I’d like to know if I should be considering alternative solutions.
Ok. Thanks for clarifying.
For others who wish to set up a ticketed event that has more than 1 date (e.g. a course) and only have the ticket apply to the first date, I created a somewhat clunky workaround. It involves creating 2 event-types; example: “Course” and “Course (part of a series)”. Course is a ticketed event and is a single event. Course (part of a series) has no ticket(s) and is recurring. I gave them both the same color code for the calendar – so at least they appear to be connected.
The ability to toggle “apply ticket only to first event in the series” would be a great addition to this plugin.
Forum: Plugins
In reply to: [EventPrime – Events Calendar, Bookings and Tickets] User Rose Based OffersOops – typo. Title should read “User Role Based Offers”. Even better, “User Rose Based Offers Do Not Work”.
It would be nice if eventprimesupport followed up on tickets they mark as “resolved” when the resolution consists of “our team is working on it”.
In this case, I found a Starter Guide for version 3 of EventPrime.
https://theeventprime.com/starter-guide/ …in case it’s of use to anyone.It seems odd that the developer would go to the trouble of creating documentation and then failing to follow up on requests for access to it.
Thanks for lending your support to this request. Just to clarify, the form labels don’t need to be visible. As long as they are present & accessible to machines (bots, screen readers, etc.) it will pass WCAG 2.0 accessibility testing. There are accessible methods to turn off visibility of elements such as labels – so their visibility could be turned off by default (using CSS) and optionally turned on either via a plugin option or custom CSS.
Forum: Plugins
In reply to: [Translate Wordpress with GTranslate] Please warn about breaking changes!Thanks. I’ll make a note to check the changelog on your plugin before updating it in the future. Just my opinion, but I suspect you’d have fewer rants & complaints in the support forum if you gave a heads-up on the plugin update screen.
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Empty Cache: Image Files Not Being GeneratedHi Takis,
I know, very weird – and no errors reported! The images are present in the uploads directories – but for some reason the database seems to have stopped registering them (similar to this: https://wordpress.org/support/topic/wordpress-media-not-showing-images/).
When I have a few minutes, I’ll set up a fresh WordPress install in a sub-directory using a core WP theme and only your plugin. NOTE: I do have BulletProof Security running – which modifies the root .htaccess file, but I have disabled BPS and replaced it with the default file during testing – and doing so made no difference. I will report back asap.
Thanks again for your time,
pkForum: Plugins
In reply to: [Adaptive Images for WordPress] Empty Cache: Image Files Not Being GeneratedHi Takis,
The site I referenced earlier today was hosted on a server running the Plesk control panel. So I tried processing the update on a test site on a server running cPanel and got exactly the same result: no images. In fact, not only are the images not loading on the front end, they aren’t loading in the media library either (including my avatar). Oddly PDF files are present and there is 1 .ico file showing (a favicon).
This is the AI relevant code from the .htaccess file – located in the subdirectory – at the same level as the wp-config file:
# BEGIN Adaptive Images #======================= <IfModule mod_rewrite.c> RewriteEngine On # Watched directories RewriteCond %{REQUEST_URI} /wp2022/wp-content/uploads [OR] RewriteCond %{REQUEST_URI} /wp2022/wp-content/themes # Redirect images through the adaptive images script RewriteRule \.(?:jpe?g|gif|png)$ /wp2022/wp-content/plugins/adaptive-images/adaptive-images-script.php [L] </IfModule> # END Adaptive ImagesWhen I use the Developer Tools console in my browser, all images are reported as “broken”. When I open an image URL, this is the message that loads in my browser:
“Original image not found or not available.”When I append ?debug=true to the URL, the following information loads:
ADAPTIVE IMAGES DEBUG ######################## Script status ============== You are viewing this page instead of the image you requested. This is part of the debugging capabilities of the Adaptive Images plugin. Seeing this means the plugin is running alright and that the .htaccess configuration file is setup correctly! Client width 2048 Pixel density 1.25 HiDPI TRUE Resolution 1024 Cache writable YES User settings ============== $resolutions 1024,600,480 $cache_dir cache/adaptive-images $jpg_quality 65 $sharpen TRUE $watch_cache TRUE $browser_cache 604800 Image requested ================ Image /wp2022/wp-content/uploads/2022/04/filename.jpg Exists NO Mime - Dimensions - Size - --- Remove "?debug=true" in the url to see your image. Add "?debug=original" to see the original, non-resized image. Add "?resolution=xxxx,y" to see the image resized in xxxx pixels and y pixel density.Deactivating or rolling back to the previous version restores the images in the media library – and images are restored on the front end.
Oddly I’m still not seeing any errors being logged.
Oh yeah, I did several hard refreshes as you suggested – no change.
pk- This reply was modified 3 years, 8 months ago by Pat K.
Forum: Plugins
In reply to: [Adaptive Images for WordPress] Empty Cache: Image Files Not Being GeneratedHi Takis. I received notification about the recent posts in this thread by kcwebguy (prior to his posts being redacted) and your follow-up asking if he had updated to the latest version of the plugin. I didn’t realize you had updated the plugin…I’ve been waiting for a follow-up in the support thread. Thanks the update… BUT I promptly logged in and processed the update then checked the site on my phone – to generate some cached image files – only to see NO IMAGES. So I checked on my desktop and NO IMAGES (only background images are showing). So I uninstalled the plugin and the images were restored. Weird. I don’t have time at the moment to troubleshoot this – but thought you should know.
pkForum: Plugins
In reply to: [Adaptive Images for WordPress] Empty Cache: Image Files Not Being GeneratedThank you Takis!
pkForum: Plugins
In reply to: [Adaptive Images for WordPress] Print Debug PHP ErrorThanks Takis. I look forward to the updated version of your plugin.