Tagline Rotator plugin v2.0 is now available

NB: If you are having any problems with taglines not rotating after the upgrade, please de-activate and re-activate the plugin. This is due to WordPress no longer calling the activation hook when you upgrade a plugin through the Dashboard.

As is often the case over the holidays, I had a little free time to update my Tagline Rotator plugin, which was in need of some serious cleaning up. Version 2.0 is now available on the WordPress plugin repository, and includes the following improvements:

  • Entire plugin is now class-based and the code is significantly cleaned up and better organized
  • All the MySQL queries that the plugin used are eliminated. Instead of using a separate table, the plugin now stores its data in the wp_options table
  • If you’re upgrading from a previous version, the plugin will pull your current taglines from the table and save them to the wp_options table. It will not delete the old table (something like wp_tagline_rotator), so your old taglines will still be there. Once you’ve confirmed the taglines are working properly, you can safely delete the table. I’ll be adding an option to delete any tables created by the plugin thru the admin dashboard in a future version.

As always, if you encounter any problems or have any suggestions, please leave a comment on the plugin’s homepage.

12 comments

  1. PerfectCr says:

    Hello! I just upgraded to the newest version of your plugin, but all my taglines are gone 🙁 How do I recover them without having to retype them all? I am on WP 3.03. Can I recover them from a file in the DB somewhere? Thanks! Great plugin BTW!

  2. PerfectCr says:

    Ok so I uninstalled/reinstalled and now it DID pull my quotes in, but the issue still remains with the / being added to words with an apostrophe in them. 🙁 Thanks for any help you can provide!

  3. Erica says:

    Hey there, yep I'm getting a similar problem after upgrading to 3.0.4 – I do have a mySQL 5 db, and have installed the 2.0 version of tagline rotator. I'm receiving the following error:

    Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in /FOO/wp-content/plugins/tagline-rotator/tagline-rotator.php on line 34

    WordPress throws a fatal error when i try to activate. Any suggestions?

  4. vaskenhauri says:

    @Erica,

    I had someone else run into the same problem. This error is likely produced by PHP4, which is unable to recognize the __construct() function used in PHP5. The other person who ran into the problem had it go away once they upgraded to PHP5 (which their web host allowed them to do). If you possibly can, I highly recommend upgrading to PHP5, since PHP4 hasn't been patched for security since 2008. However, I am in the process of patching the plugin so it will be backwards-compatible, so if your host doesn't allow you to upgrade your PHP, look for version 2.3 in the very short term.

  5. Zane Selvans says:

    I've just been migrating from the Advanced Tagline plugin, which looks like it's derelict now, and I found yours. It looks much better laid out. A couple of things that would be great, if you've got the time, would be the allow each tagline to have an optional URL associated with it, making the taglines into links, if it's there….

  6. Chvad says:

    Hello,

    I've been using your plug in for awhile and its seems that after the upgrade it just doesn't work anymore. On the back end everything looks correct but the taglines just remain static on the site. Any help would be great. Thanks.

    • vaskenhauri says:

      @Chvad,

      If you try de-activating and then re-activating the plugin, does that help, or do you get any errors when you try to do so?

      WordPress no longer calls the activation hook when you upgrade, so you may need to do the de-activation/activation in order to upgrade your tagline database.

      Hope that helps!

  7. PM says:

    A very nice plugin. Thank you.

    I was wondering whether I can set it up easily in the editor to program its “rotation” – for instance “change everytime” or “change every second reload” – THANK YOU!

Leave a Reply

Your email address will not be published. Required fields are marked *