Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/load.php on line 651

Notice: Trying to access array offset on value of type bool in /home/halcyonr/public_html/d3so/wp-includes/theme.php on line 2241

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 2443

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-adspace.php on line 204

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-blogauthor.php on line 244

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-embed.php on line 229

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-flickr.php on line 236

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-subscribe.php on line 175

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-tabs.php on line 231

Deprecated: Function create_function() is deprecated in /home/halcyonr/public_html/d3so/wp-content/themes/canvas/includes/widgets/widget-woo-component.php on line 238
Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com - The Urban Lifestyle Blog
Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Fix Adsense-Deluxe Plugin for WordPress 3.0

It seems that this was a popular plugin back then, and when someone recommended it, I found out it didn’t work with the current version of wordpress. I sought out a fix and this should be able to get the Adsense-Deluxe plugin working again, for the 3.0.1 version of wordpress at least.

Before we get started, take note that I’m not liable for any damages that you might experience when editing the plugin. Edit at your own risk!

You need to edit two areas of the plugin code to access the menu for the plugin.

First, go to “Plugins”, then “Editor”. Select “Adsense-Deluxe” from the list to edit it.

Before touching any code, back it up by copy and pasting onto Notepad.

Now, find the first code to edit toward the bottom near line 1013.

You need to comment out the conflicting code by inputting /* on the line above and */ on the below.

Next, add this code below what was commented out:

function add_adsense_deluxe_menu(){

add_options_page(__('AdSense-Deluxe Configuration', 'adsense-deluxe'), 

__('AdSense-Deluxe', 'adsense-deluxe'), 8, 'adsense-deluxe', 

'AdsenseDeluxeAdminPage');

} 

function AdsenseDeluxeAdminPage(){

require (WP_PLUGIN_DIR . '/adsense-deluxe.php');

}

addel4 by you.

The last piece of code can be edited around line 1095. Find and delete this code:

add_action('admin_head', 'add_adsense_deluxe_menu');

Replace it with this code:

add_action('admin_menu', 'add_adsense_deluxe_menu');

After that, just click “Update”. Make sure the file permissions are set to 666 or 777, whatever works, so you can update the file accordingly. You should be able to gain access to the plugin settings and use it as you desire. This fix currently works with WordPress 3.0 using Adsense-Deluxe 0.8; there’s no guarantee it’ll work with future versions. I hope the developers get around to updating the plugin. In the mean time, take care!

P.S. Do you know of a better adsense plugin? Share it here!

P.P.S. Here’s the edited plugin file that I use myself. Download

P.P.P.S. I don’t offer any tech support for this plugin. It either works for you or it doesn’t.


Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 2443


Notice: compact(): Undefined variable: limits in /home/halcyonr/public_html/d3so/wp-includes/class-wp-comment-query.php on line 853

Notice: compact(): Undefined variable: groupby in /home/halcyonr/public_html/d3so/wp-includes/class-wp-comment-query.php on line 853

Notice: compact(): Undefined variable: groupby in /home/halcyonr/public_html/d3so/wp-includes/class-wp-comment-query.php on line 853

25 Responses to Fix Adsense-Deluxe Plugin for WordPress 3.0


  1. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb September 21, 2010 at 8:05 am #

    This was a plugin i used back in day and was disappointed when I saw it no longer working as I used it to display ad codes besides Adsense as well. I'll try your fix and see what happens.


  2. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb September 22, 2010 at 5:10 am #

    O.k. I keep getting an nexpected T FUNCTION error on line 1025 where you said to paste new code starting with "function add_adsense_deluxe_menu"

    There seems to be some punctuation missing or what?


  3. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    d3so September 22, 2010 at 11:14 am #

    Did you correctly comment out the code before pasting the code below it?


  4. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    PPC Ian September 22, 2010 at 1:43 pm #

    D3so,
    You are talented! Thanks for sharing this technical stuff, it keeps me on my toes!
    Best,
    Ian


  5. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb September 23, 2010 at 6:06 am #

    Well i put the slash star in the line directly above it then star slash on the line after the end of that particular code?


  6. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    d3so September 24, 2010 at 2:02 am #

    Yes, if you did that correctly then maybe other plugins or your theme is conflicting with the adsense plugin.


  7. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Justin Dupre September 26, 2010 at 7:38 pm #

    Very informative post on how to fix Adsense-Deluxe in WordPress.


  8. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb September 26, 2010 at 10:46 pm #

    What would help me out on this one is if you could either post the whole .php file so i can simply copy and paste or email it to me…this way it would surely be exactly as it should, so will you do this ❓


  9. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    d3so September 29, 2010 at 4:41 am #

    what is your email?


  10. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Web Design LA September 30, 2010 at 9:08 pm #

    Well thanks for the same. I am little weak in coding But I will try it sure.


  11. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb October 1, 2010 at 12:03 am #

    It should show up in your WP Admin Comments page for any comment I made..


  12. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Rosa October 12, 2010 at 8:30 am #

    I have never use adsense deluxe for my blog, I am afraid that this would violate google TOS … thks for info


  13. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    d3so October 12, 2010 at 10:15 am #

    how would it violate google's TOS?


  14. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Build Email List October 22, 2010 at 6:39 am #

    Hi D3so,

    I had no idea you could do this kind of stuff I'm impressed.

    But before I try to do what you suggest, let me ask you a few questions:

    Do you use the Deluxe plug in on this blog?

    Did it finally work for Caleb who commented above?

    P.S By the way I now have a logo on y blog. You were wondering about how creative I can get with it. Well, have a look and let me know what you think.

    Thanks,
    Vance


  15. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb October 25, 2010 at 6:45 am #

    No as I never got the the file in its entirety emailed to me..what's up d3so?


  16. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    d3so October 26, 2010 at 3:40 am #

    My bad.
    Here it is:
    http://www.mediafire.com/?krd2g8nr776j5gn


  17. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb October 27, 2010 at 7:03 am #

    Although I had to edit line 1038 to require (WP_PLUGIN_DIR . '/adsense-deluxe_wp_plugin_v0.8/adsense-deluxe.php');

    Now it works like a charm…thanks 🙂


  18. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Alexander October 28, 2010 at 8:15 pm #

    Thank you for sharing this. I was looking into using this plugin for my blog once it came to start advertising but was sad to realize that it was outdated.


  19. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    d3so October 31, 2010 at 3:04 pm #

    I hope the developers come back and release an official update.


  20. Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382

    Deprecated: Function get_magic_quotes_gpc() is deprecated in /home/halcyonr/public_html/d3so/wp-includes/formatting.php on line 4382
    Caleb November 2, 2010 at 5:46 am #

    If they do you should get the credits 🙂

Trackbacks/Pingbacks

  1. wp-popular.com » Blog Archive » Fix Adsense-Deluxe Plugin for WordPress 3.0 - September 20, 2010

    […] this article: Fix Adsense-Deluxe Plugin for WordPress 3.0 Tags: deluxe,fix,not, plugin, […]

  2. MY IDC » Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A … - September 20, 2010

    […] reading here: Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A … 分类: adsense, wordpress 标签: adsense, developers, developers-get, hope-the-developers, […]

  3. Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A … « GB Bilder - September 20, 2010

    […] hier den Beitrag weiterlesen: Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A … […]

  4. Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A … - - Money On Demand - September 21, 2010

    […] Read more: Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A … […]

  5. TweetMeme Button | Wordpress Plugin | Script ebooks - September 21, 2010

    […] Fix Adsense-Deluxe Plugin for WordPress 3.0 | D3so.com – A Celebrity In The Making […]