This version adds a new setting, namely the ability to display the month links in the block as numbers from 01 to 12.

The plugin is now fully translatable.

Finally, the cache file is now located in the uploads directory, so that you don’t have to mess with file permissions anymore.

Comments (37)

  • Joey Cruz says:

    I placed in the page the “smart_archives” function and when I go to the archive.php page I get an error that says that the function is undefined, even though I’ve installed the plugin. Thanks.

    Joey Cruz

  • Joey Cruz says:

    Here’s the error:

    Fatal error: Call to undefined function smart_archives() in /home/.nebbu/lesterhead/clintonhillblog.com/staging/wp-content/themes/chb/archive.php on line 56

  • Joey Cruz says:

    Just to be clear, I used the open and close php tags around the function. I didn’t use ‘[smart_archive]‘

    • scribu says:

      Of course – otherwise you wouldn’t be getting the error. Speaking of which, have you tried using the shortcode instead? If that works, then I have no ideea why the PHP function isn’t found.

  • Joey Cruz says:

    I’m not sure what you mean by “shortcode”. Alright, here’s what I did. I installed the plugin through the wp plugin admin screen and activated it. I then created a “archives.php” page and put “smart_archives()” in the body of the page and it gives me that error I showed you above.

    • scribu says:

      Yes, that’s the normal procedure. The shortcode is just what you mentioned earlier [smart_archives]. To use it, just create a new page and add that text as the content.

  • Joey Cruz says:

    So nothing has to be customized in the code as far as where files are pointing to? ‘Cause this error would signify a problem w/ the directory structure no?

    Thanks for your help by the way…

    • scribu says:

      You shouldn’t modify anything in the plugin code.

      You would get a different error if a file was misplaced.

      And you’re welcome. :)

  • Joey Cruz says:

    Now one more thing and I’ll get out of your hair…You asked me before if my archive.php page was a template file. What makes a file a template file? Is there code that must be placed in there in order for it to be a template file or is it simply a matter of dropping that file into the same directory where the other theme files are?

    • scribu says:

      To make it a template file, you have to add this comment at the beginning:

      <?php
      // Template Name: My Archives
      ?>

      Then it will appear in the template list, when you write a page.

      You can read more about page templates here.

  • Joey Cruz says:

    Thank you very much…..

  • 3104 says:

    I appreciate your plug-in.

    But, I have a problem.

    I checked “Use wp-cron”.
    But, Smart Archives Reloaded don’t work automatically when I post new entry.

    Why?

    I tried by WP2.7.1 and 2.8.

    I was wondering if you could give me a few tips.

    • scribu says:

      There could be many reasons why wp-cron isn’t working. Just try unchecking it.

      • 3104 says:

        Thank you for your advice.

        I might figure out.

        I usually use MarsEdit (it’s OSX’s blog editer).

        I tried to post from Dashboard of Wordpress.
        And then, worked (unchecking “Use wp-cron”).

  • Brian says:

    I had to rename smart-archives-reloaded.php to main.php.

    1.5.0.1
    WP 2.7

    • scribu says:

      Instead of doing that, you should have deactivated and then reactivated the plugin. (I assume you didn’t use the automatic upgrader)

      • Brian says:

        Correct – I did not use the automatic upgrader. Deactivating first works. Thanks.

  • ned says:

    Hey there,

    Thanks for your great plugin. A small question though.

    I'm trying to use Smart Archives Reloaded with Wordpress 2.8, but for some reason am unable to modify the Settings. The "Save Changes" button appears as a button with "action" as its label, and it never changes any settings I make to the plugin. Basically I want to exclude certain categories from the archives, but for some odd reason no change I make to the plugin settings gets saved. Is this a version compatibility issue?

    Thanks for your help!

  • Niko L. says:

    Would it be possible to add option to show author’s name after each blog post title? That would be very useful in a multi-author blog.

  • Dave says:

    Hi-

    I just updated to 1.5.2.1 and now when I update a post or page I get the following error:

    Warning: implode() [function.implode]: Invalid arguments passed in /usr/www/users/bbg/blogs/expedition/wp-content/plugins/smart-archives-reloaded/smart-archives-reloaded.php on line 104

    Warning: Cannot modify header information – headers already sent by (output started at /usr/www/users/bbg/blogs/expedition/wp-content/plugins/smart-archives-reloaded/smart-archives-reloaded.php:104) in /usr/www/users/bbg/blogs/expedition/wp-includes/pluggable.php on line 865

    Any suggestions?

    • scribu says:

      Make sure you have “Use wp-cron” checked on the settings page.

      If that doesn’t work, just put 12345 in the “Exclude category” field.

      I’m currently away, so I can’t look into the issue properly.

      • Dave says:

        I checked “Use wp-cron” and the errors are gone when updating a post. Thank you.

  • Dan says:

    Is there any way of paginating the list? I have over 5000 posts on my site and though the cache certainly helps, it’s still a lot to render on one page.

    • scribu says:

      Having all the posts on a single page is the whole point of the plugin. To get a paginated display, you can just edit your theme’s archives.php file.

  • Ed says:

    Getting this error under WP 2.8.

    Warning: implode() [function.implode]: Invalid arguments passed in /home1/husarus/public_html/dyingbutnotdead/wp-content/plugins/smart-archives-reloaded/smart-archives-reloaded.php on line 104

  • Mary says:

    How do I remove the abbreviation for the months? Love the plugin, thanks for the support!

  • Ron says:

    Warning: implode() [function.implode]: Invalid arguments passed in /home/thewisd2/public_html/Blog/wp-content/plugins/smart-archives-reloaded/smart-archives-reloaded.php on line 104

    Any ideas

    • scribu says:

      What version are you using?

      • saus says:

        Hi, I am also suddenly receiving a similar error when doing things like posting or updating, in 2.8.3 with 1.5.2.1. Posts still go up in the background but the error message appears. This started on the update to 2.8.3 from 2.8.2 I believe.

        Thanks for the excellent plugin