wunderdojo
Forum Replies Created
-
Forum: Plugins
In reply to: [Regenerate Thumbnails] Regenerate FailureIt’s an issue with ImageMagick and hosting limitations. Adding this line to the top of my .htaccess file to limit ImageMagick to a single thread resolved it for me:
SetEnv MAGICK_THREAD_LIMIT 1
Since I just needed to do this on a site I figured I’d post a quick solution. I used Advanced Custom Fields to add a meta field to the ditty_news_ticker post type. You can use whatever post_meta plugin you prefer.
In my case the date is stored in Ymd format, ex: 20160629
I wanted to display the latest non-expired ticker (if there is one) in the header of the site so I just used the following get_posts() query — note that the meta_key for my custom field is expiration_date:
//- get most recent news ticker $args = array( 'post_type' => 'ditty_news_ticker', 'posts_per_page' => 1, 'meta_query' => array( 'relation' => 'OR', array( 'key' => 'expiration_date', 'compare' => 'NOT EXISTS' ), array( 'key' => 'expiration_date', 'value' => date( 'Ymd' ), 'meta_compare' => '<=' ) ) ); if( $ticker = reset( get_posts( $args ) ) ){ if( function_exists( 'ditty_news_ticker' )){ ditty_news_ticker( $ticker->ID ); } }
Forum: Plugins
In reply to: WordPress 4.5 Inline Link Toolbar not working on custom wp_editor instanceJust ran into the same issue with one of my plugins. In my case I opted to simply remove the modal-open class from the body using;
//- stop modal from adding modal-open class to body -- breaks new inline link editor $( document ).on( 'shown.bs.modal wplink-open', function( e ){ $( document.body ).removeClass( 'modal-open' ); } );
Thanks for pointing me in the right direction, hope this helps someone else.
I’m a current Pro customer myself (and have been for something like 4-5 years now) as well as a plugin developer and I think it’s pretty shoddy to display a nag across all sites in a network if someone opts not to continuing paying for your plugin.
Newbro: If you open up em-admin.php in the Events Manager plugin (not the Pro one) you’ll see at like 168 it checks to see if the constant EMP_DISABLE_WARNINGS is defined. So just add the following to your wp-config.php file to turn the warnings off:
DEFINE(‘EMP_DISABLE_WARNINGS’, true);
Not sure why they wouldn’t just tell you that.
Hmm. I notice you just updated it about 8 hours ago. I reinstalled and all my settings are still there. Looks like something in your update process erased the files. I don’t (and didn’t) have auto-updates enabled.
This just happened to me. Using Wordfence for a year now, pay for the premium version. Went to the Network Plugins page to add one and got an error about Wordfence being missing. Checked on the server and sure enough, files are gone. Was working earlier today and I haven’t been in the sites or touched anything.
The server is a Digital Ocean droplet I manage myself, definitely not a hosting issues.
Forum: Plugins
In reply to: [The Taxonomy Sort] Disappearing categoriesI’ve fixed (hopefully) all the bugs that people are reporting. You can grab a copy of the revised plugin here: https://wunderdojo.com/blog/2014/05/01/taxonomy-sort-plugin-enhanced/
Forum: Plugins
In reply to: [cPanel Manager (from iControlWP)] Using this with WordPress NetworkI know this is an old thread but I was looking for the same thing (ability to use it in a WP multisite environment). Ended up downloading the plugin and taking a look through the code. Looks like they dropped development midway through — lots of stuff has “to do later” etc.
I went ahead and started rewriting it use in multi-site and added a few featured — ability to list / create / delete email forwarders, for example.
I’m happy to share what I’ve done, but I plan to write a clean plugin from scratch and release it in the next few months. If you’re interested in that, let me know and I’ll ping you when it’s ready.
Forum: Reviews
In reply to: [Disable Password Change Email] Not workingAdd this to your functions.php
if ( !function_exists( 'wp_password_change_notification' ) ) { function wp_password_change_notification() {} }
Just overriding the built in notifications with a blank function (doesn’t do anything so no emails sent).
Forum: Fixing WordPress
In reply to: Drop down menu not working after upgrade to 3.5.1Started having this same issue with a site. Found that if you use a custom link for the top level menu item instead of a page it works as expected. In other words, if your menu structure had something like:
Page 1
— subpage 1
— subpage 2Changing Page 1 to be a custom link will make it start working correctly again. Haven’t had a chance to look into what’s going on, just needed to get it fixed fast for a client. I’ll follow up when I’ve had a chance to look at what’s causing this.
In the meantime, you can “fix” it by manually creating the top level links.
Forum: Fixing WordPress
In reply to: Is there a way to disable the new Media Manager?Just wanted to say thanks for the plugin — I’ve had clients freaking out over the new media manager. They can’t figure out how to order the pix in a gallery and they don’t like the interface. This is a life saver.
It’s due to changes in PHP. Add the following:
if ( !isset( $custom_login->settings ) )
$custom_login = new StdClass();
$custom_login->settings = get_option( ‘custom_login_settings’ );Okay, I’ll check that out, thanks.
Forum: Fixing WordPress
In reply to: WordPress hanging Hostgator support can't find the solutionJosh, I’ve had some of these sites running on this reseller server for over a year. I never had this hanging issue so I never thought there was a problem. But in checking with clients I’m now finding out that apparently they have had sporadic slow connections in that period as well, just nothing bad enough that they bothered to complain to me. Post back what you find out from Hostgator but I really think the issue is over subscribed servers. The load may not be much but maybe they’ve got the MySQL max queries locked down to something low — WordPress can run a lot of queries generating a page so if there are lots of WordPress sites on a reseller server that could be the choke point.
Forum: Fixing WordPress
In reply to: WordPress hanging Hostgator support can't find the solutionDon’t think that’s it ponderconsulting. This started a few weeks ago so end of month wouldn’t affect it.
Here’s some more details to help narrow it down.
I have a WordPress plugin / theme package that I’m running for multiple clients. Exact same set up for all of them. A few are hosted on my Hostgator reseller server and are hanging like crazy when I try to work on them. Today I was doing updates to one of the ones that isn’t on Hostgator (can’t remember of the top of my head where they are) and it worked no problem.I also have a dedicated server with Hostgator and a shared server. The dedicated has no problems. The shared and reseller do.
Changing the permalinks seemed like it helped but I have still had a couple of hangups, not as severe though.
Seems pretty clear to me at this point that whatever Hostgator is claiming about server load, etc. there is an issue with their shared / reseller servers. Partially confirmed by one tech support guy recommending that the “solution” to the problem was upgrading to a dedicated server.
I’ve been with Hostgator for 5+ years now but I think I’m going to have to scout out other options. What’s the point of offering a $30 a month reseller plan if it isn’t stable?