WordPress.org

Ready to get started?Download WordPress

Forums

AdSense Manager v3.0 RC1 (32 posts)

  1. mutube
    Member
    Posted 6 years ago #

    Announcing AdSense Manager v3.0 RC1!

    Over 3 months in development the latest version of the Ad management plugin is now available for testing.

    DO NOT USE THIS ON YOUR PRODUCTION SITES

    With the big warning out the way, please feel free to download and try out this version on your test blogs etc. It has been tested extensively by myself but the best way to find bugs is to try it on as many setups as possible.

    Features in v3.0 RC1

    • Supports both Classic and Slot-based AdSense Ads
    • Support for new AdSense UI settings (curved edges)
    • Native support for AdRoll, AdBrite, Commission Junction, HTML Code, ShoppingAds and WidgetBucks.
    • Extendible to support any Ad network

    To get to this stage took more or less a complete rewrite of the code (hence the 3 months) but that brings a few exciting possibilities planned for the next releases after 3.0.

    Coming Soon

    • Ad Zones give Ad rotation, switching, etc. based on visitor details (language, location, referrer, etc.)
    • Support for Yahoo Publisher Network, Amazon Affiliates and more
    • Localisation (support for non-English users)

    Help Needed!

    Download the latest version, post feedback in this forum and help get v3.0 ready for wide release.

    Additionally if there are any networks that you would like to support simply send a copy of your networks ad code and it will be added to the next release.

    Thanks for your feedback!

  2. ievolve
    Member
    Posted 6 years ago #

    Very excited to see this plugin progress. I installed it without first disabling it and it didnt like that one bit. I just copied over the top of the old version. The fix I found was to delete from the DB the stuff associated with version 2, then try again.

    Got it all set up now. I was a little confused and clicked the import button without any code in the textarea and it bombed.

    So I now have a google ad block all set up and went to the presentation >> widget page. I didnt have a widget there to drop into the sidebar.

    I still havent figured out how to get the ads to my front page, is sidebar widget support going to be coming back?

  3. moshu
    Member
    Posted 6 years ago #

    Trying to activate in a local install (XAMPP):

    Warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'adsensem_admin::add_admin_pages' was given in C:\apachefriends\xampp\htdocs\23\wordpress\wp-includes\plugin.php on line 164

    On a live (online) test installation with no ther plugins activated:
    Plugin could not be activated because it triggered a fatal error.

    Will try on different installations...

  4. mutube
    Member
    Posted 6 years ago #

    What a good start! :) Yes the sidebar widget support will be coming back: technically it should be there already but for some reason I cannot access functions to start widgets from within my plugin. Very very odd. I'll dig around for a fix! Can you confirm your using standard WordPress widgets (not Sidebar Modules)? Thanks.

    It's supposed to upgrade existing ads (i.e. from v2.x > v3.0 - and also offer to import AdSense Deluxe blocks if they exist). I'd tested it on an "ideal" import rather than doing what you did (and almost everyone else will do) and just drop it in the same folder.

    Thanks for the heads up on the blank import, that's fixed.

    Thanks for the feedback much appreciated!

  5. nclester
    Member
    Posted 6 years ago #

    I tried installing it over the last version. Didn't work, so I un-installed the old version and installed the new version.

    No dice. A little help?

    Fatal error: Call to undefined function _process_v2_x_to_3_0() in /home/stickine/public_html/wp-content/plugins/adsense-manager/class-upgrade.php on line 90

    Thanks

  6. ievolve
    Member
    Posted 6 years ago #

    nclester, that is the same error I was getting, both when I would hit the plugin page, and also on the front page of my website. I had to delete the plugin, a couple entries from the option table in the DB (I think they started with 'plugin_'), then reinstall the plugin.

    @mutube, yep all standard workpress widgets.

  7. mutube
    Member
    Posted 6 years ago #

    Thanks folks the bug with the upgrade should now be fixed. It's been uploaded give a few minutes to refresh and re-download.

    I'm looking into the Widget problem appears to be something weird with loading order of files in WordPress. Bit confused but working on it.

    Much appreciated!

  8. deletedpenguin
    Member
    Posted 6 years ago #

    When I try to activate this plugin, even with it deactivated and completely removed from the site, I get the following error.

    Plugin could not be activated because it triggered a fatal error.

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in .../domains/spain.iliveherenow.com/html/wp-content/plugins/adsense-manager/adsense-manager.php on line 115

  9. nclester
    Member
    Posted 6 years ago #

    ievolve, I deleted the plug-in from my directory and re-installed it with little luck.

    I'm still kind of new when it comes to WP, could the problem be that I haven't updated WordPress?

    I have no idea how to fix it, and I need to. Bummmmmmer

    Thanks for the help, hope to get this working soon.

  10. ievolve
    Member
    Posted 6 years ago #

    @nclester, did you try the new version he just posted?

    If you are still stuck and have to have it working do you have access to the database that feeds your wordpress install?

  11. nclester
    Member
    Posted 6 years ago #

    ievolve, I just tried the new version, with the same issues.

    fatal error: Call to undefined function adsensem_upgrade_process_v2_x_to_3_0() in /home/stickine/public_html/wp-content/plugins/adsense-manager-1/class-upgrade.php on line 90

    I have access to the bluehost.com database, where my web-site is stored. I'm a bum dude, I don't know what database you mean?

    Sorry for sounding like a jackass. Thanks for your help dude, it means a lot!

  12. ievolve
    Member
    Posted 6 years ago #

    in your database there is a table that ends in "_options" in that table there is an entry "plugin_adsensem"... delete that row and reinstall the plugin and you should be back in business.

  13. lorigreenberg
    Member
    Posted 6 years ago #

    I am getting the same error as above:

    Parse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/beadner/public_html/wp-content/plugins/adsense-manager/adsense-manager.php on line 115

  14. skumpic
    Member
    Posted 6 years ago #

    Same problem here with last version of adsense manager (3.0 released on 28-2-08)

    PHP Fatal error: Call to undefined function adsensem_upgrade_process_v2_x_to_3_0() in /siti/ben1/wp-content/plugins/adsense-manager/class-upgrade.php on line 90

    Any help will be appreciated :)
    Thanks Skumpic

  15. linxbaijy
    Member
    Posted 6 years ago #

    I have the same error as above:

    arse error: syntax error, unexpected T_STATIC, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /home/sites/chineseherbblog.net/public_html/wp-content/plugins/adsense-manager/adsense-manager.php on line 115

  16. alpinism
    Member
    Posted 6 years ago #

    The "syntax error, unexpected T_STATIC" i think is because the plugin is no longer compatible with php4

  17. tlongren
    Member
    Posted 6 years ago #

    Just upgraded to version 3.0 from 2.5 and getting this error message:

    Fatal error: Call to undefined function adsensem_upgrade_process_v2_x_to_3_0() in /home/.celia/tlongren/longren.org/wp-content/plugins/adsense-manager/class-upgrade.php on line 90

  18. mutube
    Member
    Posted 6 years ago #

    Thanks for the testing. I'll sort out the errors tonight when I get home... And see if I can fix the php4 incompatibility.

  19. mutube
    Member
    Posted 6 years ago #

    The upgrade run should now work rather than throwing an error. Apologies to the people who downloaded this by accident it was incorrectly tagged final release: if you want the old AdSense Manager back just download from extend.

    The problem with the widgets appears to be a WordPress bug: most other plugins don't have it because of how they manage their functions, but it's not really feasible to do it that way in AM. I'll wait and see if a fix is coming, if not I can code a way around it...

    Thanks for the feedback folks.

  20. mutube
    Member
    Posted 6 years ago #

    Turns out the problem was a bug in my head. Latest version uploaded (with plugin support and some slightly smarter data checking).

    The upgrade process should now work although it appears to be dropping account ids in some cases, will look into this.

    Let me know how you get on & thanks for the help!

  21. ievolve
    Member
    Posted 6 years ago #

    Nice!!! Widgets work like a charm. I didnt have to do an upgrade so I cant confirm that, but widgets are definitely back in the saddle.

    Here's to some more ad revenue coming your way shortly!

  22. ievolve
    Member
    Posted 6 years ago #

    One small thing. If you gave the widget a name, it saves it ok and shows on the site. But if I go back to edit the name I just saved, it doesnt pull up the name for me to edit, it is just blank.

  23. mutube
    Member
    Posted 6 years ago #

    ievolve: Thanks for that, I'll patch it up this afternoon and update. The fixes for PHP4 will be along the same time & a fix for the upgrade account-id bug.

    After that I don't know of anything else that's broken!

    (....waits for sounds of breakage)

  24. mutube
    Member
    Posted 6 years ago #

    Fixes applied and in the SVN now, download here. Thanks!

    (P.S. Wait 15 minutes for the download to update...)

  25. mutube
    Member
    Posted 6 years ago #

    Quick note: there is a change in the way that account details (i.e. publisher IDs) are stored in the latest update to RC1. This means that if you've created units before they will not be able to find the correct network ID.

    Simple way to fix it: Put some code from your ad network into the box at the bottom of the Manage » Ad Units page and click "Import to Defaults" or "Import to Ad Unit".

    Either of these will update the the network account ID and the ads will start functioning again.

  26. mutube
    Member
    Posted 6 years ago #

    Latest update should fix import problems (and everything else). Download and try please to check it on your setup.

    Once that's done we're good to go!

  27. romo9
    Member
    Posted 6 years ago #

    is RC1 relatively stable for use?

    Unlike the other issues like i posted in my topic i was getting none of the fatal errors they were posting

    edit:
    Installed RC1 and went to view site and it just like completely blanked my site

  28. mutube
    Member
    Posted 6 years ago #

    romo9: I'd take that as a no :)

    Not had any other reports of that happening... Would you mind giving more information about your setup (version WordPress, PHP, etc. if you know these) and any other plugins installed?

    Did you have an earlier version of AdSense Manager installed before? Could you access the admin side while 'blanked'?

    Any help much appreciated. We're getting there...

    Update... I think I've got it: Can you redownload in ~15mins and see if the problem is fixed. Thanks.

  29. info@simpleresults.com
    Member
    Posted 6 years ago #

    I can't activate 3.0 I get this fatal error preventing activation:

    Parse error: parse error, unexpected T_VARIABLE in /home/content/f/e/q/fequity/html/wp-content/plugins/adsense-manager/class-admin.php on line 285

    I'm using WP 2.3.3 hosted on Godaddy (not sure of php version)

  30. mutube
    Member
    Posted 6 years ago #

    Have another go now: Seems like a php4 problem. I've tried to gut the final bits of php5 code in there (quite difficult when developing on a php5 system & it throws no errors!)...

    Hopefully that should be the problem sorted, but if not let me know and I'll be more brutal with the code.

    Note: The Adpinion network is now supported too.

Topic Closed

This topic has been closed to new replies.

About this Topic