jamesbruce
Forum Replies Created
-
Online test showing the problem: https://www.phpliveregex.com/p/eZI
Forum: Reviews
In reply to: [Sidekick] DISGUSTING BUSINESS PRACTICESYour marketing director needs a swift kick in the balls, because this could have been a fantastic gesture.
The really tragic thing is that this is actually an innovative and useful plugin. Imagine if I’d have woken up to an email from MT saying “Hey, we’ve partnered with this great new plugin from Sidekick that teaches you everything about WordPress interactively while you use it, and we’ve giving you the premium version of the plugin for free – just activate it from your plugins page”.
I would absolutely have installed it on some client sites, and probably would have added it to a mental list of why I love MediaTemple.
And yet the exact same gesture, when forced upon someone, elicits this kind of response.
Everyone loves a free chocolate. But waking up to find one has been rammed in your throat is just not pleasant.
;(
Forum: Plugins
In reply to: [Sidekick] how to remove your pluginAre you hosted with MediaTemple by any chance? They’ve entered into a partnership, and been installing this without permission on all of my live sites.
You should see it on a list of your plugins however, under “Sidekick”.
This is of course a shockingly bad business practice – not to mention the security violation given every install is reporting back to base for tracking purposes – and I’d encourage you to vote 1 star for this disgusting company.
Forum: Plugins
In reply to: [Publish to Schedule] Not Posting as Options are SetOpen up the plugin file and find the pts_getMaxPostsDay function, replacing with the code as follows:
function pts_getMaxPostsDay($datetimeCheck){ $options = get_option('publish-to-schedule'); $opt = 'pts_'.date('w',$datetimeCheck); return $options[$opt]; }
Forum: Plugins
In reply to: [Publish to Schedule] Can't post less than 1 post a dayI fixed this issue by replacing the following function from the plugin file with this code:
function pts_getMaxPostsDay($datetimeCheck){ $options = get_option('publish-to-schedule'); $opt = 'pts_'.date('w',$datetimeCheck); return $options[$opt]; }
Forum: Plugins
In reply to: [Plugin: W3 Total Cache] don't cache comment form<!– mfunc comments_template(); –><!– /mfunc –>
Works fine. Bear in mind, you may be logged in as a user, in which case it wont show, or you havent visited the required number of times, or it has already been shown. I’ve implemented this pllugin on https://ipadboardgames.org to show after 3 visits, and show just once, and tested fine in chrome – try for yourself.
Forum: Plugins
In reply to: [ReciPress] [Plugin: ReciPress] Insert image not workingYeh, me too. Tammy, it’s definitely not using medium right now. I had this problem on another site though, when trying to pull medium size image, so I dont think theres anything wrong with your coding as such. It might be best to eventually add a custom resizing method, and the images used inside the recipe may be smaller than user set medium size anyway. CSS workaround is fine for now, I think, though inefficient.
Tammy, it’s great to see you’re so pro-active as a developer here. Can’t wait to see the pro version! By the way, I’ve written up an article highlighting the plugin at MakeUseOf.com – it’ll be published in a week or so I think. Once it’s a tiny bit more developed, I’d be happy to add it to our Best of WordPress Plugins page too, and the pro version of course.
Forum: Plugins
In reply to: [ReciPress] [Plugin: ReciPress] Insert image not workingreagrding the fullsize image problem, i fixed that using the following css (adjust for your sizes obviously)
/* Change to the width of your post section, this refers to the step pictures */
#recipress_recipe.recipress-recipress img {
width: 450px ;
height: auto ;
margin: 10px 0 ;
}
/* Assume thumbnail size of 150px for first image in recipe */
#recipress_recipe.recipress-recipress img.wp-post-image{
width: 150px;
height: auto;
margin: 10px 0;
}Interesting solution with the concatenate_scripts thing. Never heard of that.
Forum: Plugins
In reply to: [ReciPress] [Plugin: ReciPress] Insert image not workingThe images for instruction step. Running latest WP. It was giving errors around line 21 of back.js – wasnt able to grab the img elements from the HTML data string. Fixed with:
var data = jQuery(html).filter(‘img’);
imgurl = data.attr(“src”);
classes = data.attr(“class”);Forum: Plugins
In reply to: [ReciPress] [Plugin: ReciPress] Insert image not workingI had the same problem. I think there’s a jQuery error going on in the back.js file, but after a few hours of fiddling the code I managed to get it working.
Replace your js/back.js file in plugin directory with the full code added here: https://pastebin.com/5cbKakpb and it should work