Title: lukeyates1981's Replies | WordPress.org

---

# lukeyates1981

  [  ](https://wordpress.org/support/users/lukeyates1981/)

 *   [Profile](https://wordpress.org/support/users/lukeyates1981/)
 *   [Topics Started](https://wordpress.org/support/users/lukeyates1981/topics/)
 *   [Replies Created](https://wordpress.org/support/users/lukeyates1981/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/lukeyates1981/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/lukeyates1981/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/lukeyates1981/engagements/)
 *   [Favorites](https://wordpress.org/support/users/lukeyates1981/favorites/)

 Search replies:

## Forum Replies Created

Viewing 12 replies - 1 through 12 (of 12 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7 - Campaign Monitor Addon] WordPress 4.0 compatibility issues](https://wordpress.org/support/topic/wordpress-40-compatibility-issues/)
 *  [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/wordpress-40-compatibility-issues/#post-5351437)
 * Hi,
 * If you need to get this working in WP 4.0.1 with CF7 v4.0.2, you need to change
   the function mentioned above, but you also need to change:
 * add_action( ‘wpcf7_admin_before_subsubsub’, ‘add_cm_meta’ );
 * to:
 * add_action( ‘wpcf7_admin_notices’, ‘add_cm_meta’ );
 * around line 40 of cf7-campaignmonitor.php 🙂
 * As soon as I found this little gem hidden away on Google, the campaign monitor
   settings all popped up again and were still set to the previous settings.
 * P.S. Thanks fmzac for the function change 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Twitter Widget Pro] Authorising Twitter: The "request token" for this page is invalid](https://wordpress.org/support/topic/authorising-twitter-the-request-token-for-this-page-is-invalid/)
 *  [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/authorising-twitter-the-request-token-for-this-page-is-invalid/#post-3527865)
 * Hi, sorry to re-open this thread after so long, but I am having the same problem
   on one of our sites.
 * I have created the app on Twitter, including the Callback URL, copied the consumer
   keys across etc etc as per the instructions, and when I click the “Authorize 
   New Account” button I get the following message from Twitter:
 * > **Whoa there!**
   >  The request token for this page is invalid. It may have already
   > been used, or expired because it is too old. Please go back to the site or 
   > application that sent you here and try again; it was probably just a mistake.
 * We have one site where we are using this plugin with no problems, and one site
   where we get this error. They are using different Twitter accounts, but seems
   kinda strange that we are now getting this error.
 * FYI, the site with the problem is using Version 2.5.4 of your plugin, and version
   3.4.2 of WordPress.
 * For now I will need to find another twitter plugin, but I am really hoping we
   can resolve this issue as we really like your plugin 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] custom on_sent_ok jQuery action](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/)
 *  Thread Starter [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/#post-2283724)
 * P.S. the reason it won’t be evaluated is because the line is wrapped in single
   quotes.
 * Anything in PHP wrapped in single quotes will be sent literally, anything in 
   double quotes will evaluate variables, although it is still better practice (
   IMO) to break out of the quotes and concatenate the variable into the line e.
   g.
 * `$random = "This is a random line with a " . $variable . " in it!";`
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] custom on_sent_ok jQuery action](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/)
 *  Thread Starter [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/#post-2283723)
 * The first thing I can see is:
 * `header('Location: http://campuzoic.us2.list-manage1.com/subscribe?u=e014c12069e8858be934de06e&
   id=e5c704e1b9&MERGE0=$email');`
 * At the end of that line where you have `&MERGE0=$email`, the $email wont be evaluated,
   but will instead send exactly “$email” in the URL. To make it evaluate you will
   need to change `...04e1b9&MERGE0=$email');` with `...04e1b9&MERGE0='.$email);`
 * Also, if it isn’t redirecting you could throw in some echo / error_log statements
   to make sure the code is executing and making it into the if statement.
 * Hope it helps 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] custom on_sent_ok jQuery action](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/)
 *  Thread Starter [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/#post-2283703)
 * That seems to be good enough for what I want to do 🙂 Not a problem that it isn’t
   Javascript, all I need is to add people’s details to an external newsletter system
   if they have ticked the box on the form, so a quick cURL should sort that out
   nicely 🙂
 * Thanks very much nagarsoft 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] custom on_sent_ok jQuery action](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/)
 *  Thread Starter [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-custom-on_sent_ok-jquery-action/#post-2283402)
 * To clarify, I am looking to pick up the “on_sent_ok” action outside of the plugin
   in my own functions file, so that I dont have to mod the plugin itself. Something
   like:
 * `$('.wpcf7').onSentOk(function(data) { });`
 * would be great!
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] Use an image for a submit button](https://wordpress.org/support/topic/plugin-contact-form-7-use-an-image-for-a-submit-button/)
 *  [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-use-an-image-for-a-submit-button/#post-2281655)
 * no problem 🙂
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [[Contact Form 7] Wrong formatting of the text areas](https://wordpress.org/support/topic/wrong-formatting-of-the-text-areas/)
 *  [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/wrong-formatting-of-the-text-areas/#post-2276700)
 * if you want the text above the input element e.g.
 * Name:
    <text element here>
 * then in your CSS add something like:
 * `.wpcf7 input[type="text"], .wpcf7 textarea { display: block; }`
 * that should force all the input elements to display on a new line under the text
   preceding them.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] Resizing form boxes](https://wordpress.org/support/topic/plugin-contact-form-7-resizing-form-boxes/)
 *  [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-resizing-form-boxes/#post-2273692)
 * try this in your CSS file:
 * `#contentcol .wpcf7 input[type="text"], #contentcol .wpcf7 textarea { width: 
   275px; margin: 0px; padding: 2px 3px; }`
 * Adjust as required! I have set the width of 275px as it should fit your sidebar
   on the site you linked to above 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Contact Form 7] [Plugin: Contact Form 7] Use an image for a submit button](https://wordpress.org/support/topic/plugin-contact-form-7-use-an-image-for-a-submit-button/)
 *  [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-contact-form-7-use-an-image-for-a-submit-button/#post-2281651)
 * I have done this a few times using CSS. The following should help:
 * `.wpcf7-submit { background: url('images/btnsendmessage.png') top left no-repeat
   transparent; border: none; padding: 0px; margin: 0px; text-indent: -50000px; 
   width: 118px; height: 40px; }`
 * If you stick that in your CSS file it will change the button to use an image 
   instead. You just need to change the path in the “background” url, the “width”
   and the “height”.
 * Hope it helps 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Magazine Columns] [Plugin: Magazine Columns] This plugin needs a fix… and here it is!](https://wordpress.org/support/topic/plugin-magazine-columns-this-plugin-needs-a-fix-and-here-it-is/)
 *  Thread Starter [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-magazine-columns-this-plugin-needs-a-fix-and-here-it-is/#post-2251848)
 * No Problem. There are a few more flaws in your plugin, like the fact that you
   can only have one set of columns per page, and the code it outputs isn’t always
   valid HTML (some tags get opened, but not closed, and vice-versa), but it is 
   still pretty much the best columns solution I have found so far…. except the 
   one I just wrote! Once I am happy there aren’t any bugs, I might submit the plugin
   on here 🙂
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Magazine Columns] [Plugin: Magazine Columns] This plugin needs a fix… and here it is!](https://wordpress.org/support/topic/plugin-magazine-columns-this-plugin-needs-a-fix-and-here-it-is/)
 *  Thread Starter [lukeyates1981](https://wordpress.org/support/users/lukeyates1981/)
 * (@lukeyates1981)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-magazine-columns-this-plugin-needs-a-fix-and-here-it-is/#post-2251589)
 * oh… and if the developer is going to update the plugin, please also tidy your
   code up! it won’t hurt you to press the space / tab button a few times, or even
   to add a couple of empty lines so that the code is easier to read.
 * It will make future changes easier for YOU!

Viewing 12 replies - 1 through 12 (of 12 total)