Forum Replies Created

Viewing 15 replies - 91 through 105 (of 210 total)
  • Forum: Fixing WordPress
    In reply to: Fatal Error

    EastonRoyce: I think it’s a php4 incompatibility thing. I’ve re-checked the code and uploaded as 3.0.1. Have a look and let me know if you’re still having trouble, thanks.

    Forum: Fixing WordPress
    In reply to: No widgets

    jancek: If you’re using a pre-release version from v3.0, there is a new version for download now available here.

    There was a problem with an earlier upload and it trigged the release to peoples blogs a bit before it’s ready. The widgets are now fixed in the latest version.

    If there are any other problems let me know and I’ll walk you through fixing them (been there, done that… 😉

    Hope that helps & thanks for the feedback.

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

    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.

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

    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.

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

    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!

    Forum: Plugins
    In reply to: SMS and MMS to new post

    WordPress already supports posting via email: Have a look under Options » Writing and there is a section there called Post by Email.

    There are plugins which provide more functions (like being able to add category selection to the post, etc.) but if it’s simple posting you want the WP built in should do it.

    As for SMS: I doubt it. You need somewhere for the messages to be stored to be picked up by WordPress, and you’d need to give that a SMS number recognizable by your provider.

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

    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.

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

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

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

    Hah, fair dos. Apologies for a snarky sounding message it was meant to be tongue in cheek but I sounded like an ass.

    You should probably be congratulated for getting working releases/updates out that regularly. When I try and roll and update in under an hour I inevitably break something obvious and/or stupid*.

    * may have something to do with alcohol consumption.

    Just a note: the bug was caused by the way the init function was being called above:

    add_action('widgets_init', adsensem_init_widgets(), 1);

    Should be…

    add_action('widgets_init', 'adsensem_init_widgets', 1);

    The first method is evaluated the plugin at the point where the action is added & attaching the result (i.e. nothing) to the action. This means it’s called before the widgets_init is set: thats the reason the functions weren’t available.

    Weird one to track down that.

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

    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)

    Forum: Plugins
    In reply to: AdSense Manager v3.0 RC1
    Thread Starter mutube

    (@mutube)

    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!

    Thread Starter mutube

    (@mutube)

    Oh my, I’m a plonker.

    I was calling on the action using add_action('plugins_loaded', adsensem::init(), 1); which of course triggered the action (to evaluate the function) but not the “right way”.

    Changing that to ‘adsensem::init’ (like I used EVERYWHERE ELSE in the plugin!) works a treat.

    Dumb, dumb, dumb.

    Thanks for the help & tip for ‘widgets_init’.

    Thread Starter mutube

    (@mutube)

    Thanks Otto42, as mentioned in the other thread it seems to make no difference. Clearly the problem here isn’t the order they’re loading in… I’ll have another look and see what I dig up

    Otto42: Thanks for that I wasn’t aware of the change, but in the plugin I’m working on it strangely doesn’t make any difference:

    function adsensem_init_widgets(){
    if (function_exists('wp_register_sidebar_widget') ){echo "WAAAAAAAAAAAAAAAAAAH";}	
    
    }
    add_action('widgets_init', adsensem_init_widgets(), 1);

    Putting the above in a file by itself rightfully outputs “WAAAAAAAAAAAAAAAAH” when the plugin is activated. Putting at the bottom of the plugin I’m developing has no effect. I’m a bit lost here… everything else about the plugin is functioning correctly, all other function calls work correctly, but for some reason widgets refuse to work.

    If you want to try, it’s the development version of AdSense Manager: put a die(); in after the function_exists(‘wp_register_sidebar_widget’) check and notice it doesn’t get activated.

    I’m stumped.

    Thanks.

Viewing 15 replies - 91 through 105 (of 210 total)