Jason
Forum Replies Created
-
Forum: Plugins
In reply to: [HungryFEED] Error while processing feed. Not writeable.The cache folder on your server needs to be writable /hermes/web01/b2349/moo.foxdropmediacom/wp-content/cache/ if you change that to writable it will fix the problem.
otherwise, another solution is to turn off caching by going to HungryFEED settings and set the cache duration to “0”
Forum: Plugins
In reply to: [Imsanity] [Imsanity] PHP Error on upload of imageIt appears that you installed GD without support for JPG images. (it can be configured to support various image types or not). Here’s some additional info – https://php.net/manual/en/image.installation.php
To help with debugging you can use this code snippet below which is basically the same way WordPress loads images. Just edit the path to a test image on your server and run this script (either through your browser or command-line is fine). It will output “OK” or “ERROR”
<?php
$image = imagecreatefromstring( file_get_contents( “/path/to/your/file.jpg” ) );
echo ( is_resource( $image ) ) ? “OK\n” : “ERROR\n”;
?>Forum: Plugins
In reply to: [Imsanity] Does Imsanity resize the images already on a Site?Thanks for posting that – Regenerate Thumbnails looks very interesting. It’s similar but not quite exactly what I had in mind. I use some of Viper’s other plugins so I’m sure the quality is good.
If I were to write a bulk converter feature for Imsanity, it would resize all of the existing originals (not thumbnails) in order to clear up disk space in the blog. People who have quota limits on their blog could possibly recover a lot of space by downsizing images.
Forum: Plugins
In reply to: [Imsanity] [Imsanity] PHP Error on upload of imageMy first guess is that the GD library may not be enabled for PHP on your server.
However I was not detecting errors correctly in Imsanity. I just updated the plugin to version 1.0.1. If you install this it should give you an error message explaining why the image is unable to be resized.
If it turns out there is a different error besides the missing GD libraires, it would be great if you can post the error message.
Forum: Plugins
In reply to: [Imsanity] how does Imsanity deal with thumb linked to original?amen!
Forum: Plugins
In reply to: [Imsanity] Does Imsanity resize the images already on a Site?It only changes new images after the plugin is installed.
I was thinking about making a “bulk convert old images” button perhaps on the settings page if that is a feature people are interested in…?
Forum: Plugins
In reply to: [Imsanity] how does Imsanity deal with thumb linked to original?Imsanity won’t touch any existing posts or images – it only resizes new images as they are uploaded. It would be perfectly safe for you to install it and then play around with it by uploading some new images.
As far as what imsanity does with the original file – it actually replaces the original with one that is resized according to whatever you set for the max width/height. In all other ways WordPress is the same – it still generates thumbnails and all of that. It’s just that your “original” is more reasonable sized file.
Hope that helps!
Forum: Plugins
In reply to: [HungryFEED] problem with templatesthanks, i appears that if a feed has no category field then it would cause an error. I just fixed this and submitted version 1.4.7 to wordpress which should be available in a few minutes
Forum: Plugins
In reply to: [HungryFEED] multiple categories, only displaying first oneI just updated to version 1.4.6 and if an item is assigned to multiple categories then it will show them as a comma-delimited list.
I just updated the plugin to 1.4.6 and it includes a new template tag that you can use {{index}} that outputs the index number of the item (ie 1,2,3, etc). So you could do this in the template:
<div id="player-container{{index}}" class="player-container"> <div id="player-container{{index}}" class="player-container">
If you have it working that is great. The only issue will be upgrading HungryFEED when updates are released, but that’s probably the only negative.
You could possibly solve the style issue like this:
<div id="player-container{{id}}" class="player-container"> <div id="player-container{{id}}" class="player-container">
then each container will have a unique id
Forum: Plugins
In reply to: [HungryFEED] multiple categories, only displaying first oneAh, I have been looking for an example feed with multiple categories, I wasn’t sure how it is implemented. Let me check that out and see if I can figure out how to make it work with HungryFEED. The template system is somewhat simplistic so I don’t know the best approach but maybe a comma-delimited list would work.
I would probably just use CSS so that you don’t have to modify the plugin code. you can style the first item (child) in any list using regular CSS & it’s supported in all major browsers: https://www.w3schools.com/cssref/sel_firstchild.asp
for the haiku player, the hungryFEED templates don’t process shortcodes but the haiku plugin simply generates HTML, and you could paste that HTML code into the hungryFEED template. Again it shouldn’t require modifying any plugin code.
That’s probably the route I would go for both of those – I’m pretty sure you can accomplish both things just by editing template code and CSS.
Forum: Fixing WordPress
In reply to: [HungryFEED] Number items in feedYou could do this fairly easily using the template feature, just use an ordered list html tag to display the feed items.
In the post put this:
<ol> [hungryfeed url="https://your.feed.url" template="1"] </ol>
In the HungryFEED settings for template 1 put something like this:
<li> <div><a href="{{permalink}}">{{title}}</a></div> <div>{{description}}</div> </li>
Forum: Plugins
In reply to: [HungryFEED] HungryFEED filter featurei just checked again, it seems to be the commas in your shortcode. i was able to reproduce your problem and when i removed the commas, it was fixed.
that did lead me to a minor bug, though, max_items is applied before the filter so if you have 5 items and one gets filtered out, only 4 display on the page. i’ll have to see about fixing that in the next release.