cplummer4
Forum Replies Created
-
Forum: Plugins
In reply to: [OGraphr for WordPress] Filtering doesn't appear to be workingMy apologies, I think it was not working to this setting:
“Only once when saving a post (default, better performance)”
I noticed that when an editor made a change to the post that it refreshed the og:image tags.
Forum: Plugins
In reply to: [Custom Image_Src] Custom Image_Src defaultsAnd to be clear, I think allowing this to be set per post is still the way to go instead of a global override. Some editors might want to customize their post. Its just the default values I’d like to fix…
Yes that did work. I re-enabled APC, and for the profiler I unchecked the option “Attempt to disable opcode optimizers (recommended)” under Advanced Settings. I did not get any strangely skewed pie chart, however the chart results were slightly different.
Question, when P3 profiler is first activated, does it automatically start a scan if one does not already exist? If so, I would turn off that feature and let the user trigger when to scan. I say this because my first several experiences with this plugin was that after activating the plugin my site immediately went down.
I would also recommend only install this plugin on a non-production server.
FYI, I tried to get this plugin working on three separate occasions. I’d have to immediately deactivate it due to 500 internal server errors. I finally got around to cloning my production machine to another server. After much tinkering I was able to figure out that the www pool for php-fpm was crashing:
tail -f /var/log/php-fpm.log
WARNING: [pool www] child 2895 exited with code 1 after 34.515471 seconds from startMy solution was to disable APC during profiling:
vi /etc/php.d/apc.ini
apc.enabled=0
service php-fpm restartAfter that I was able to run the profiler without it crashing, albeit slower. However I was able to obtain accurate results which I then used to make changes on my production server that I had cloned.
Forum: Plugins
In reply to: [HungryFEED] [Plugin: HungryFEED] Filter by title onlyI was able to fix this, but I only needed to filter by titles, and didn’t care about descriptions.
Edit hungryfeed.php:
// if any filters were specified, then only show the feed items that contain the filter text if (count($filters)) { $match = false; $item_will_be_included = false; foreach($filters as $f) { // Filter on titles only // if (stripos($description,$f) !== false || stripos($title,$f) !== false) if (stripos($title,$f) !== false) { $match = true; break; } } if (!$match) { // didn't match the filter, exit the foreach loop continue; } }