WordPress.org

Profiles

Profile picture of
  • Member Since: March 1st, 2009
  • @timbishop on WordPress.org
  • Find me on:

  • Posted a reply to [Plugin: All in One Adsense and YPN] Donation code off by one?, on the site WordPress Support Forums:
    nareshg: view the source of your webpage and check the adsense ID is correct.

    8 years ago

  • Posted a reply to [Plugin: All in One Adsense and YPN] Donation code off by one?, on the site WordPress Support Forums:
    Actually, $d_pct = intval($donation); Is probably all that's required for that line.

    8 years ago

  • Posted a reply to [Plugin: All in One Adsense and YPN] Donation code off by one?, on the site WordPress Support Forums:
    How about this: $donation = get_option('ai_donation'); $d_pct = intval(round(intval($donation))); if($d_pct){ $d_rand = mt_rand(1,100); if($d_rand <=…

    8 years ago

  • Posted a reply to [Plugin: All in One Adsense and YPN] Donation code off by one?, on the site WordPress Support Forums:
    Here's your code (trimmed down and tided a bit, but functionally identical): $donation = get_option('ai_donation');…

    8 years ago

  • Created a topic, [Plugin: All in One Adsense and YPN] Donation code off by one?, on the site WordPress Support Forums

    8 years ago