Chris
Forum Replies Created
-
Well that was a fast turnaround. Thank you so much!
Forum: Plugins
In reply to: [PayPal Framework] SSL Connection ErrorFor anyone who’s interested, I connected with the plugin developer about the HTTP/TLS version issue on Twitter last week, and submitted a Pull Request to fix the issue: https://github.com/aaroncampbell/paypal-framework/pull/1
He mentioned that it might take a while for him to accept it (busy on other projects), but if you need an immediate fix, the modified plugin at the link above should work in the interim.
Forum: Plugins
In reply to: [PayPal Framework] SSL Connection ErrorNot sure if this is still an issue for you, but I discovered that PayPal updated it’s SSL requirements. The issue isn’t with the PayPal Framework but rather with your server configuration.
You need:
– TLS 1.2 or higher
– Which requires OpenSSL 1.0.1 or higher (ideally 1.0.1g or higher, since 1.0.1f and lower are vulnerable to HeartBleed)If you’re running MAMP, here are instructions on how to update since OpenSSL 0.9.8 is baked into OSX and cannot be manually updated: http://www.grasmash.com/article/using-httpsssl-mamps-curl-osx
If you’re running on a remote server, your hosting provider or sysadmin should be able to advice you on how to update things.
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Loading Admin scripts/styles on the front endAh perfect, thanks!
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Donation SupportOh, various other support tickets. When I evaluate a newish plugin, I dig through support forums (and code) to get a sense for how good it is. I saw so many comments about how great you are providing support. They did not exaggerate!
I work primarily with animal rescue organizations, and will at some point need to integrate PayPal donations into other systems (newsletter lists, CRMs, etc). This plugin is going to be a lifesaver (literally). Thanks again!
Forum: Plugins
In reply to: [PayPal IPN for WordPress] Donation SupportWow, they weren’t kidding when they said support for this plugin was awesome! I’ll be leaving you a 5-star review as soon as I’ve had a chance to play around with this a little bit. Thanks!
Excellent. Thanks again Ryan!
Awesome, thanks Ryan! Done
Forum: Plugins
In reply to: [PayPal Framework] sendToExpressCheckout Helper?@aaron – Thanks! I’m newish to working with PHP classes, so I was attempting to reference the class incorrectly. Worked like a charm!
Forum: Plugins
In reply to: [Contact Form DB] Custom Role PermissionsNo worries, Michael. I totally understand. I appreciate the quick response. Cheers!
Forum: Plugins
In reply to: [Quick cache comment garbagecollector] Doesn't work with lastest versionAccording to the documentation on the latest version of Quick Cache, this plugin actually is no longer neccessary, as they’re automatically updating the cache when a new comment is posted:
Keep in mind that your Expiration Time is only one part of the big picture. Quick Cache will also purge the cache automatically as changes are made to the site (i.e. you edit a post, someone comments on a post, you change your theme, you add a new navigation menu item, etc., etc.).
Forum: Plugins
In reply to: [Contact Form 7] Adding an ID to the element markupI ended up using
node.parentNode.idto serve the same purpose. Thanks for the quick reply, and if at some point in the future you’d like to add a way to generate an ID on the form element itself, that would be awesome!Forum: Plugins
In reply to: [Contact Form 7] Adding an ID to the element markup@takayuki – Thanks for the quick response. Is there a reason why this decision was made? IDs are valid on the
<form>element, and useful for scripting purposes.Forum: Hacks
In reply to: List all posts on a page, split them by yearGood call. Mikos, I just bookmarked your code for future projects. Cheers!
Forum: Hacks
In reply to: List all posts on a page, split them by yearHi James,
Here you go! (Adapted from this Stack Overflow thread to include a permalink):
<?php // Get years that have posts $years = $wpdb->get_results( "SELECT YEAR(post_date) AS year FROM wp_posts WHERE post_type = 'post' AND post_status = 'publish' GROUP BY year DESC" ); // For each year, do the following foreach ( $years as $year ) { // Get all posts for the year $posts_this_year = $wpdb->get_results( "SELECT ID, post_title FROM wp_posts WHERE post_type = 'post' AND post_status = 'publish' AND YEAR(post_date) = '" . $year->year . "'" ); // Display the year as a header echo '<h2>' . $year->year . '</h2>'; // Start an unorder list echo '</ul>'; // For each post for that year, do the following foreach ( $posts_this_year as $post ) { // Display the title as a hyperlinked list item echo '<li><a href="' . get_permalink($post->ID) . '">' . $post->post_title . '</a></li>'; } // End the unordered list echo '</ul>'; } ?>