saenrl
Forum Replies Created
-
Forum: Plugins
In reply to: [WP-PostRatings] Broken images for Stars Crystal@gamerz Well, I can’t tell you how they managed that cause I’m just the poor guy now tasked with upgrading the blog (and learning wordpress along the way…).
I’m just going to change the file and be done with it.
Forum: Plugins
In reply to: [WP-PostRatings] Broken images for Stars Crystal@gamerz well maybe YOU have but the blog I’m currently supporting hasn’t ??
Also people might add their own images with a special character in their name, so imho the better solution is to use a method that escapes special characters instead of removing them.
Forum: Plugins
In reply to: [WP-PostRatings] Broken images for Stars CrystalSimilar issue here that’s mostlikely also linked to
sanitize_file_name
. When trying to usestars(png)
as name of the ratings folder it is saved asstarspng
. Of course this directory doesn’t exist, meaning the image alt text is displayed instead.- This reply was modified 6 years, 2 months ago by saenrl.
Forum: Plugins
In reply to: [WP-PostRatings] Wp-Postratings onmouseover and onmouseout not working?Hi everyone,
I’m running into this exact problem when running the blog I’m maintaining in a local environment (with Docker).ReferenceError: current_rating is not defined onmouseover https://localhost/postId/postName/:1:1
Same error happening with a ratings_off function.
On a different note: There seems to be some trouble with image filenames that contain parenthesis. When trying to use
stars(png)
as ratings image name it is saved asstarspng
. Of course this directory doesn’t exist, meaning the image alt text is displayed instead.Last side note: When setting a different ratings image is it really necessary to reset the templates as well? This makes testing rather tedious imo.
- This reply was modified 6 years, 2 months ago by saenrl. Reason: fixing formating