jacof
Forum Replies Created
-
Note that you have to reload the page to see the list as its not auto populated with JS.
I could resolve this by modifying
$lists_array = $MCHandler->lists($apikey);
to$lists_array = $MCHandler->lists();
in wpcj-chimp/index.php
This is the correct way according to the mailChimp API wrappers, btw.You can check if there’s an error by using
if ($MCHandler->errorCode){ echo "Unable to load lists()!"; echo "\n\tCode=".$MCHandler->errorCode; echo "\n\tMsg=".$MCHandler->errorMessage."\n"; }
Which in my case allowed me to see that the Datacenter being used was the wrong one (the -us2 or -us1 after your API key). So I headed to wpcj-chimp/MCAPI.class.php and I just changed in line 42:
$this->apiUrl = parse_url("https://api.mailchimp.com/" . $this->version . "/?output=php");
To
$this->apiUrl = parse_url("https://us2.api.mailchimp.com/" . $this->version . "/?output=php");
You can just put your datacenter before the .api there.
Note that I don’t think this is the proper way to define your datacenter when using the mailChimp API, so you’re welcome to look for a better method that doesn’t alter the MCAPI.class.php.
Forum: Fixing WordPress
In reply to: Thumbnails cropping on the center by default?The ticket has been assigned.
Forum: Fixing WordPress
In reply to: Thumbnails cropping on the center by default?Forum: Fixing WordPress
In reply to: Thumbnails cropping on the center by default?I can’t believe no one will answer this. This is a serious mistake in WordPress’ coding and planification.
Forum: Fixing WordPress
In reply to: Thumbnails cropping on the center by default?Update: Quick fix -Not user-friendly: Regenerating thumbnails with “Regenerate Post Thumbnails” plugin after modifying it’s dimensions in the Image Editor gives de correct thumbnails, but results in a overload of files in the server. (i.e. all of the thumbnails for the original + original + all of the thumbnails for the resized + resized). Maybe a modification of this plugin to delete prior thumbnails from fs as well as from db would make a temporary fix, given there’s no point in saving “backup” copies of the thumbnails.
Forum: Fixing WordPress
In reply to: Thumbnails cropping on the center by default?