Super Archives Plugin for WordPress

Comments have been closed as the plugin has not been updated almost forever. I would refer people to the Extended Live Archive which is the Super Archives with extra features.

As I mentioned earlier I had problems with javascripts interfering with each other while loading. While I sorted out my problems with regards to the javascript, the reason why I was playing around with javascripts has already been leaked, and by none other than Michael Heilemann of Binary Bonsai. Since this is inspired by his ideas I guess it’s only fair.

Introduction overwith, I hereby give you: The Engineered Boulderer’s Super Archives Plugin to WordPress

For a demonstration, head over to Michael’s archives page, I am going to put it on my archives page, but it requires a minor redesign before I do.

IMPORTANT The javascript functions in my script have been tested, however, if there are other function set to run when the body loads, and they have problems then the super archive Will Not Run. The process of debugging javascripts is arduous work as they simply fail silently, because of this I do not have time to perform technical support on other people’s javascripts. That said, if Michael could get Super Archives to run on the B with the combination of javascripts he uses, then you can too.

I have included some documentation below, and in the plugin package.

Changelog

Version 1.6.2: Fixed a bug where draft posts in a month would make it show up in the list of months, thanks for the heads up Matthew. Requires a rebuild of the cache (edit a post or post a comment to rebuild).

Version 1.6.1: Fixed a regression which would prevent the php script from reading the settings and cache.

Introduced a more robust Javascript method of attaching events to the loading of the window.

Version 1.6: Fetches the character set from the blog to show international characters correctly.

New functionality for truncating post titles, see documentation below or with the plugin.

Version 1.5.2: Added a missing " in the description. Check the result from each use of document.getElementById() so as to not call null objects.

Version 1.5.1: Put a more stringent check on the FAT object for the Fade Anything Technique.

Version 1.5: Fixed bug where moderated comments were counted. Also, made sure cache was updated for new comments, and post deletions, and pingbacks, etc.

Updated cache structure so the cache can update (for example due to a new comment) while people are browsing the archives without requiring a reload (the plugin should automatically update your cache if you are using an old version).

Included new functionality, see the documentation included below or with the plugin.

Version 1.2: Implements support for Internet Explorer. Many thanks to Chris Boulton for his solution which worked wonders.

Version 1.1: Fixed a bug in the javascript (simple typo, oops).

System Requirements

  • Wordpress 1.5 or later
  • PHP 4.3.0 or later

Documentation for The Engineered Boulderer’s Super Archive Plugin

The Super Archive plugin is one selfcontained bundle called teb-super-archive, which should be put into the plugin folder to yield the following structure:

wp-content/
	...
	plugins/
		...
		teb-super-archive/
			includes/
				super-archive.js
				tsa.php
				tsaAddLoadEvent.js
			teb-super-archive.php
		...
	...

The plugin writes some javascript information to the header of each page, and provides a single template function called teb_super_archive(). The function teb_super_archive() takes arguments in the url format as seen in wp_list_cats(), the tags in the arguments are described below.

If teb_super_archive() is called with the standard (empty) argument the following will be output


<div id="teb-super-archive">
	<ul id="teb-super-archive-year">
		<li id="teb-super-archive-year-2005">2005</li>
		...
	</ul>
	<ul id="teb-super-archive-month">
		<li id="teb-super-archive-month-5">May</li>
		...
	</ul>
	<ul id="teb-super-archive-post">
		<li id="teb-super-archive-post-...">...</li>
		...
	</ul>
</div>

which can be styled. The obvious result of the template tag is the <div id="teb-super-archive"></div>, the remaining code is written by javascript and is not visible by viewing source in the browser, it can be styled easily enough though.

The plugin provides an additional template function teb_sa_reset_cache() which deletes the cache files. As with any function which delete files, this function should only be used in an emergency! I have tested it on my test blog and with the help of Michael Heilemann, but there could still be bugs. Use with caution.

Tag parameters

newest_first
(boolean) Sets the sort order of years, months and posts. If true it will show the newest year, month, and post first.

  • 1 (true – default)
  • 0 (false)

id
(string) The id attribute for the base div of the archive, defaults to ‘teb-super-archive’.

selected_text
(string) The text that is shown after the currently selected year or month (the > sign in your example), defaults to ‘’. If you wish to use html entities (fx. &raquo; for ») you should encode it using urlencode().

selected_class
(string) Class for the currently selected year or month, defaults to ‘selected’.

num_entries
(boolean) Sets whether the number of entries for each year and month should be shown.

  • 1 (true)
  • 0 (false – default)

num_comments
(boolean) Sets whether the number of comments for each entry should be shown.

  • 1 (true)
  • 0 (false – default)

day_format
(string) A date format string to show the day (or date) for each entry (ie. ‘jS’ to show 1st, 3rd, and 14th), defaults to ‘’ (show no day). Format string is in the php date format.

number_text
(string) String to show for number of entries, can contain HTML, % is replaced with number of entries, defaults to ‘(%)’.

comment_text
(string) String to show for comments, can contain HTML, % is replaced with number of comments, defaults to ‘(%)’.

closed_comment_text
(string) String to show if comments are closed on an entry, can contain HTML, % is replaced with number of comments, defaults to ‘’ (empty string).

fade
(boolean) Sets whether changes should fade using the Fade Anything Technique, note that all elements on the page that have the class “fade” will fade, even those not in the archive.

  • 1 (true)
  • 0 (false – default)

error_class
(string) Class to put on paragraphs containing errors, defaults to ‘alert’.

hide_pingbacks_and_trackbacks
(boolean) Sets whether pingbacks and trackbacks should influence the number of comments on an entry. Changing this value does not take hold until the cache files are rebuilt. A true value will hide trackbacks and pingbacks from the comment number.

  • 1 (true)
  • 0 (false – default)

truncate_title_length
(number) Length at which to truncate titles, defaults to 0 (titles are not truncated).

truncate_title_at_space
(boolean) Sets whether at title should be truncated at the last space before the length to be truncated to, or if words should be truncated mid-senten… Has no effect if truncate_title_length is 0.

  • 1 (true – default)
  • 0 (false)

truncate_title_text
(string) The text that will be written after the titles that have been truncated, defaults to … (…). Same rule applies as for selected_text, use urlencode() to encode it.

294 Responses to “Super Archives Plugin for WordPress”

  1. Stu Schaff Says:

    Beautifully implemented on the B, by the way. Well done, Jonas.

  2. somefoolwitha.com » Live Archives beep beep Says:

    […] ur Nose, 3 June 2005 Live Archives beep beep Check out the new BB Live Archives, so good that I got ‘em too. […]

  3. Arno Says:

    Bug #1: Not resizing when going from, say, a 20-entry month to a 5-entry month
    Firefox 1.0.3 Windows.

  4. Arno Says:

    But very very nice job ! :)

  5. Chris Says:

    This is so slick. Totally changes the way I was going to try doing archives on Zoroaster. You’re a mad genius. :)

  6. Nat Says:

    hi i just installed this plugin, but for some reason only is showing up when i run

  7. Nat Says:

    so im calling just the basic tag like you said to but im only getting the opening and closing div. can you explain why and how to fix this?

  8. Binary Bonsai » Archive » Live Archives in Effect Says:

    […] 6 months ago. Remarkable, as Jonas is only 4 days into WordPress! Oh, you want them too? Run along over to Jonas for your fix then. My Implementation […]

  9. Jonas Rabbe Says:

    Arno,

    Bug #1: Not resizing when going from, say, a 20-entry month to a 5-entry month
    Firefox 1.0.3 Windows.

    Could you provide a screenshot, or somewhere I can see the behavior? I, unfortunately, don’t have access to a PC so I can’t test it.

    Nat,

    so im calling just the basic tag like you said to but im only getting the opening and closing div. can you explain why and how to fix this?

    Only the opening and closing div will show up in the source code. The rest of the data is written by the javascript. You can try to insert some alert(); statements in the javascript (for example in the tsaLiveReqInit() and tsaLiveReqProcessReqChange() functions) to see if it gets initialized and called.

  10. jarkolicious Says:

    Live Archives

    Quite possibly the best plug-in for Wordpress ever, Live Archives, allows for “live” browsing through the archives. I have implemented it here on my archive page and it is fabulous. Shouts definitely go out to BB for the wicked implement…

  11. Vitor Says:

    My congrats again Jonas.
    Just wanna let you know that the script outputs an error on IE 6 (line 105) causing the script not to run…
    Hope you solve this soon!

  12. centripetal forces » Blog Archive » Live archives Says:

    […] Live archives are now implemented, as mentioned here, here and of course by the author, here.

    Technorati Tags: wordpress, plugi […]

  13. Weblog Tools Collection » WP Plugin: Super Archives Plugin Says:

    […] 5/9/2005 WP Plugin: Super Archives Plugin Categories – General — Mark WP Plugin: Super Archives Plugin Javascript based “live […]

  14. davidbisset.com » Super Archives Plugin for WordPress Says:

    […]

    davidbisset.com

    Super Archives Plugin for WordPress Very cool script for WordPress 1.5 for blog archives. You can […]

  15. Arno Says:

    From the B : after I clicked April 2005 and then back on May 2005.

    Notice the large blank section: this is the space that the post of april were covering

  16. Jonas Rabbe Says:

    Notice the large blank section

    This appears to be a general problem with Firefox (or Gecko based browsers in general?). Does anyone know of a way to reflow content in firefox using javascript?

  17. WordPress Italy » Archivio Blog » Plugin WordPress: Super Archives Plugin Says:

    […] n WordPress: Cosmos Link Plugin WordPress: Super Archives Plugin Super Archives Plugin è un plugin, basato su javascript, per […]

  18. Arno Says:

    Nope and this has been my major issue since I began working on a plugin called … LiveArchives :) I guess my pain stopped yesterday with your awesome job. But I am sure there is a way to solve that : I’ll d/l and play along with your code tonight to see if I can help figuring this out.

  19. Jonas Rabbe Says:

    I’ll d/l and play along with your code tonight to see if I can help figuring this out.

    Any help is welcome. If nothing else I guess I might spring for the rhino book in a few days time.

  20. MEX Blog » WP Archiv: Super Archives Plugin Says:

    […] t Artikelüberschrift und Anzahl Kommentare. Interesse an einer Implementierung? Quelle: The Engineered Boulderer Demo: binarybonsai Archive
    Stich […]

  21. spyderfcs.com » Live Archives Says:

    […] latest and greatest thing to hit blogs; Live Archives. Technically they are being called Super Archives by the pl […]

  22. Jeff Wheeler Says:

    Wonderful plugin. Thank you very much.

    There is a small bug however in which moderated (or in moderation) comments are counted in the total, offsetting the correct amount dramatically in some cases.

  23. scud Says:

    I may be dumb, infact I’m pretty sure I am. But why am I not able to create a page and call this function? Should I go about getting the super-archives to work besides doing ‘make page’ with this as it’s body?

  24. Nat Says:

    hmm still not working…

    so now ive resorted to teb_super_archive(‘num_comments=1&fade=0&num_entries=1&closed_comment_text=”-”’) teb_sa_header()

    of course those are called noramlly but its slow and doesnt look right. see it here: http://www.pseudoweb.net/wordpress/314/ any suggestions?

  25. Stephen Carr Says:

    Thanks for the cool plugin. I was wondering if it is at all possible to hack the plugin to filter out a particular category, or even treat a particular category different to the others?

    Basically I want to either keep my remainder links out of the super archive list or brand them with a different css style so they stand out as being different from normal posts.

    Any help/suggestions would be most welcome.

  26. Jonas Rabbe Says:

    Jeff Wheeler,

    Thanks, I’ll look at it. At present I don’t check the comment status. I’ll have to look at it but that shouldn’t be too hard.

    scud,

    You will have to put the php code with the function call to teb_super_archive() in a template for it to work. As far as I know, php code entered into the page contents will just be displayed, it won’t be run. Hope that helps.

    Nat,

    That problem, in your case, is that the Fade Anything Technique javascript is called after the Super Archives javascripts. If you look in the bottom of the twFAT.js file it says:


    window.onload = function ()
    {
    Fat.fade_all();
    }

    This overwrites the cumulative created by the Super Archives. Either the inclusion of the twFAT.js file should be moved above the Super Archive javascripts, or the Fade Anything Technique should be initialized the same way as the Super Archive.

    About the speed, it seems alright when I try it. The feeling of lag is mostly connected to the fetching from the cache by the javascript, the faster your connection and javascript implementation, the faster it feels.

    Stephen Carr,

    It can be done, but it’s a quite large code change (think v. 1.5 / 2.0) as it has to do with the way the cache is structured, ie. either the cache has to be changed for each exclusion, or the categories for each post has to be cached too. It’s on my feature wishlist, but it’s not something that’s coming tomorrow. You are welcome to look at the code if you want to.

  27. Danny Says:

    Hi. So, I have installed, and the resulting page outputs only the DIV tags, with no content between. One comment above suggests that this may be due to a javascript conflicts (and you suggest, rather understandably, that it is not your fault if our bad js conflicts with yours).

    I just want to confirm that the problem I am seeing is due to this, and that I should start trying to debug, etc.

    Thanks,

    Danny.

  28. (plexus) - music and events from the plexus fold » Blog Archive » Updates (odds & sods) Says:

    […] 8217;t normally that useful (they just never work that well) but the drill down lists from Jonas Rabbe are really handy. Try them yourself here or follo […]

  29. Jonas Rabbe Says:

    I just want to confirm that the problem I am seeing is due to this, and that I should start trying to debug, etc.

    It does indeed seem like that is the case. There might be a problem with the png fix javascript on for windows machines (I am on a mac so my browser doesn’t even see that javascript). The problem, however, is with the onload="..." in the body tag. You could create a javascript function which performs the functions in the onload attribute, and use the tsaAddLoadEvent() function to call this new function when the page has loaded.

  30. Nat Says:

    well i found the first plugin conflict with your plugin

    Twilight Fade anything Plugin at http://twilightuniverse.com/2005/05/twilight-fade-anything/

    does not work with your plugin. if you deactivate it. everything works fine. :)

  31. PseudoBlog » Blog Archive » Live Archives Says:

    […] y need some time so i can run through it and clean it up. The Digital Archive of Babylon Official “Super Archives” page Live Archioves at […]

  32. Andrew Escobar Says:

    Jonas,

    The plugin RunPHP allows you to put PHP code into a post or page, and have it ‘evaluated. Just checkmark the “eval() Ccontent” box when creating a post or page.

  33. Vitor Says:

    I have a “FAT not defined error” on IE.
    Any help on solving it?

  34. Jonas Rabbe Says:

    have a “FAT not defined error” on IE.
    Any help on solving it?

    Try version 1.5.1 which checks if the variable FAT is ‘undefined’ instead of simply checking the implicit value of the object.

  35. John Says:

    Running tag at http://deep.mastersfamily.org/?page_id=346 and getting the message: “Could not open cache file for years” appearing in the body of the page where the tag resides. I’m guessing it may a permissions problem, but I’ve played around with that and not had success. Any suggestions?

  36. Jonas Rabbe Says:

    It appears that the plugin cannot write to your wp-content folder. The web server must have write permissions to your wp-content folder for the plugin to work.

  37. Vitor Says:

    I am using 1.5.1 and still no luck solving the “FAT not defined error”
    I just don’t get. BB and other sites are ok in IE with the script! Why isnt mine!
    Thanks Jonas

  38. zaque Says:

    Hello Jonas. I was using your plugin fine, but all of the sudden, I started getting this error:

    Error: uncaught exception: Permission denied to call method XMLHttpRequest.open

    in Firfox’s Java Console. Is this a server problem or a browser problem, because I have no idea…

    thanks for your fine work. Live Archives is the best thing I’ve seen in a very long time.

  39. zaque Says:

    nevermind.

  40. MyEurotrip.org » Blog Archive » Archives Page Says:

    […] with this new theme for to long now. I was browsing over at The B earlier and say the new Live Archives plu […]

  41. BoBB Says:

    Love this plugin man. Great job! Any chance there could be a feature in the works to truncate post titles to a user defined length? A few of my posts go over the length of the post div width.

  42. Jonas Rabbe Says:

    Vitor,

    I meant version 1.5.1 of the plugin (see the changelog above). Sorry for the confusion.

    BoBB,

    I’ve written it on the feature request list. It should make it into the next feature update, I don’t have any timeline though.

  43. BoBB Says:

    Awesome :-D I will keep my eye out for it!

  44. Vitor Says:

    :) Working 100% with script version 1.5.1!
    Thanks!

  45. Arno Says:

    Running tag at http://deep.mastersfamily.org/?page_id=346 and getting the message: “Could not open cache file for years” appearing in the body of the page where the tag resides. I’m guessing it may a permissions problem, but I’ve played around with that and not had success. Any suggestions?

    John, in a nutshell and without warranty : change the chmod to 755 line 185 in teb-super archives.

    if( !is_dir($teb_sa_cache_path) ) {
    if( !mkdir($teb_sa_cache_path, 0755) ) {
    return false; }}

    Btw, not sure why the group should get writting write : 99% of the PHP server I have seen have a uname to root when it come to file system actions…

  46. Martin Says:

    Great plugin.

    However, it appears to have a problem with special characters such as æøåôõö (not sure these characters show up in this comment since they’re stripped from the comment preview – but being danish you’ll know what I talk about).

    Also the names of the months do not respect the custom settings made in locale.php.

  47. Jonas Rabbe Says:

    Btw, not sure why the group should get writting write : 99% of the PHP server I have seen have a uname to root when it come to file system actions…

    Mine is the remaining 1%. When I upload to my server am usually the owner and the webserver is the group. To make sure the plugin can write my cache I need the web server to have write permissions.

    However, it appears to have a problem with special characters such as æøåôõö (not sure these characters show up in this comment since they’re stripped from the comment preview – but being danish you’ll know what I talk about).

    There are problems, and they stem from the use of Unicode being passed back and forth between the web server and the javascript. I haven’t done anything in particular to be nice to special characters, so I’m sure they are FUBAR.

    Also the names of the months do not respect the custom settings made in locale.php.

    The month names are written by the tsa.php script and does not take the settings in WordPress into account at all. I’ve written it into the feature list so I’ll look at it next time I work on it.

  48. Jonas Rabbe Says:

    Awesome :D I will keep my eye out for it!

    Look no further than the new version 1.6 of the plugin, released today. It also fixes one of the problems mentioned by Martin:

    However, it appears to have a problem with special characters

    As you can see I’ve also fixed the use of internation characters in the live preview (which I have communicated to Jeff Minard), and in Textile 2 (Improved). If anyone knows how to get in touch with Adam Gessaman who has made Textile 2 (Improved), I can’t seem to comment on his blog, and most of the new comments are spam.

  49. Martin Says:

    Indeed, the international characters now show up. Thanks for your help :)

  50. Awesome Date Archives [ Tempus Fugit | TxFx.net ] Says:

    […]

    May 15th, 2005

    Awesome Date Archives

    Michael’s implimentation of the Super Archives Plugin (which was his original […]

  51. Alisha Says:

    I am just wondering what I need to do to fix this error:
    Warning: mkdir(/home/sarcasmi/public_html/backlog/wp-content/teb-super-archive-cache/): Permission denied in /home/sarcasmi/public_html/backlog/wp-content/plugins/teb-super-archive/teb-super-archive.php on line 82
    Could not open cache file for years

    What file should I make writable because there is no file called teb-super-archive-cache included in your plugin, unless it is the main file teb-super-archive, which is automatically defaulted 755.

    Anyway, I am sort of confused so any help would be greatly appreciated.

  52. Jonas Rabbe Says:

    Alisha,

    It’s the wp-content directory which must be writeable by the web server. The line in question creates the teb-super-archive-cache directory in the wp-content directory.

  53. Alisha Says:

    Thanks for answering my question. The plugin works now. :)

  54. Henrik Says:

    I have set all the correct permissions, but still get “Could not open cache file for years”. Any tips?

  55. Ian D Says:

    I have the same issue as Henrik. Permissions set correctly – in fact version 1.2 worked a treat – the latest one keeps on erroring with “Could not open cache file for years”. Any help would be greatly appreciated.

  56. Jonas Rabbe Says:

    Henrik and Ian,

    It seems that the plugin still can’t create the the cache folder in wp-content. At least the teb-super-archive-cache folder doesn’t exist inside wp-content on both sites.

    Since I can’t duplicate this behavior without changing the permissions on wp-content, I don’t have a solution, sorry. If anyone with php and debugging experience see this, I would appreciate some more feedback.

  57. empdesign » Blog Archive » Plugins Wp Says:

    […] ios, recibiendo un correo electrónico cuando se añada un nuevo comentario a ese hilo. […]

  58. Hansi Says:

    Thanks for the plugin it’s awesome but I’m having some problems with it as can be seen on this site:
    http://hansr.net/archives/

    I can’t seem to get rid of the bulletin :( I’ve tried everything I can think of and it doesn’t seem to be related to any CSS sheet so I thought it might be part of the plugin but I have no idea how to remove it. This is the code I’m using for the page:

    %&comment_text=
    %&closed_comment_text= – &selected_text=’.urlencode(’‘)); ?>

  59. Hansi Says:

    Okay the code didn’t come out correctly in the above comment so here it is:
    http://hansr.net/myndir/livearchives.png

  60. Jonas Rabbe Says:

    Hansi,

    This seems to be a pure CSS problem. You should use the CSS property list-style with the property none on each list that is returned.

    you have a CSS rule that specifies the id teb-super-archive and then the tag ul, in this rule the list-style: none should be included.

    (I found out that textile doesn’t play well with hash marks, I guess it’s a good thing I don’t write about c-sharp).

  61. Hansi Says:

    Okay thanks a lot, that worked :)

  62. Henrik Says:

    I got it working. Was just using the wrong code to call the script.

  63. Henrik Says:

    But now something else is wrong. The archive worked great, but now the page appears empty without having made any changes. You can see it at http://henriksand.com/archives/. Any suggestions to what I can do?

  64. Jonas Rabbe Says:

    You have two occurences of the body tag in the HTML of your archives page. For one, the double occurrence of the body tag might confuse the javascript. Also, the onload attribute of the second body tag means the super archive javascript is never initialized, as in comment 65 above.

  65. Henrik Says:

    Fixed it. The problem was the second body tag. Thanks for a nice archive solution!

  66. Secret Weapon Labs » Blog Archive » Plugin Mania Says:

    […] manage image uploads for and Wordpress writer MonthChunks Customizable Comment Listings Super Archives – I can’t get it to fully work […]

  67. Denken Über » Anuncio: Problemas de performance. Says:

    […] amente tiraba mucho tiempo y queries (cosa ridícula) y también la mejoré con el plugin Super Archives de Jonas Rabbe […]

  68. Bobd Says:

    not sure if I am just stupid but… whenever I try to display it on a page, all I get is some text with the year, then the months in that year, then the post, but they are all vertical, none are displayed sideways and expands like I think it should.

    I might have just missed something somewhere but could some one please tell me what to do to fix it?

  69. Jonas Rabbe Says:

    Bobd,

    whenever I try to display it on a page, all I get is some text with the year, then the months in that year, then the post, but they are all vertical, none are displayed sideways and expands like I think it should.

    The behavior you explain is a CSS “issue”. You can start by looking at the CSS that Michael uses as described on the Binary Bonsai. Alternatively you could look at some of the CSS books about, look for authors like Dan Cederholm, Dave Shea, or Eric Meyer.

  70. Geremy F Says:

    Great script— I’ve been looking for an archives organization solution like this for a while now, but I’m having some problems.

    I’m pretty sure that it’s something that I’ve forgotten to do, since this seems like an isolated incident, but I’m getting a Fatal error: Call to undefined function: teb_super_archive() in /home/geremolo/public_html/archives2.php on line 78" error when I try to call the function.

    The function that I am using is the same as the one that Michael listed on BB, and I’m pretty sure that I’ve put the files in the correct directory structure.

    Thanks

  71. Jonas Rabbe Says:

    I’m pretty sure that it’s something that I’ve forgotten to do, since this seems like an isolated incident, but I’m getting a Fatal error: Call to undefined function: teb_super_archive() in /home/geremolo/public_html/archives2.php on line 78 error when I try to call the function.

    You should turn the plugin on in the WordPress adminstration interface.

  72. Geremy F Says:

    I just realized that I was using the wrong vesion of wordpress… I should’ve checked the requirements first. Now I’m having a problem with the script only displaying the div tags in the source code, but I’ll look in to it a little deeper later on.

  73. clint Says:

    I’m having the same problem with no ul showing up between the div… I’m not using any other javascript and am not sure how to tackle this…..

  74. clint Says:

    ok for some strange reason, the scripts werent being embedded in the head of my doc, so I linked them manually and it works fine, odd tho as I tried it also on the default them and the scripts were embedded fine. maybe this is the same prob others might be having when no ul appears in the div…

    nice work on this.. it rocks….

  75. Jonas Rabbe Says:

    clint,

    ok for some strange reason, the scripts werent being embedded in the head of my doc, so I linked them manually and it works fine, odd tho as I tried it also on the default them and the scripts were embedded fine.

    Make sure that you have a call to wp_head(); as the last thing before your </head> tag in your header. Otherwise, plugins won’t be able to include things like scripts.

  76. Pankaj Narula Says:

    Hi There

    Thanks for great plugin. It was pretty easy to get it working on Beta Thoughts . I seem to have run into a benign bug but never the less a bug. Archives work beautifully when I use the following URI

    http://www.pnarula.com/archives

    But fail to show anything when I use the URI without www i.e.

    http://pnarula.com/archives

    Any help would be greatly appreciated.

    Cheers
    Pankaj Narula

  77. Jonas Rabbe Says:

    Pankaj Narula,

    But fail to show anything when I use the URI without www

    That is the weirdest bug. I’ve looked at it and can’t see anything that should trigger it. The only thing I can think of, is that the browser will not load the javascript since it is essentially a different site (the one with www compared to the one without), and could be an example of cross-browser scripting. if you look at the function teb_sa_header() in the plugin file teb-super-archive.php. and change the plugin path from

    $plugin_path = get_settings('siteurl') . '/wp-content/plugins/teb-super-archive';

    to

    $plugin_path = '/blog/wp-content/plugins/teb-super-archive';

    as it would specifically be in your case. See if this works. If it does. let me know and I’ll look at it.

  78. henna Says:

    Hi!
    Love your plugin but I was wondering if there is a way to hide specific posts or posts from a specific category…

  79. Pankaj Narula Says:

    Jonas

    See if this works. If it does. let me know and I’ll look at it.

    Yes it worked. Please check :D

  80. Jonas Rabbe Says:

    henna,

    Love your plugin but I was wondering if there is a way to hide specific posts or posts from a specific category

    Not at present. It’s on the feature request list, but I don’t have a timeline.

    Pankaj Narula,

    That’s cool, I’ll look at using relative paths in a future upgrade, to prevent this kind of problem. Thanks for helping me isolate the bug.

  81. Tracy Says:

    I think I must be slow on this one. Why do I not have a link to /archive when I impliment this? I don’t appear to have an archive.php as well. Using WordPress 1.5.1.1.

    Any help would be greatly appreciated.

  82. Huang’s Blog » super archive安装经验 Says:

    […] 装经验

    归类于 杂感杂谈 — 海 @ 10:20 am 收藏到黄页书签

    Super Archive是wordpress的一个插件。其效果如我的 […]

  83. Jonas Rabbe Says:

    Tracy,

    To get an archives page you have to create a page in WordPress 1.5 or later. The archive.php we are talking about is a theme template you would use for the archives page. It is with a theme in the wp-content/themes folder. The Codex has more information about templates and using static pages.

  84. matthew Says:

    There appears to be a slight bug in your fantastic Super Archives, if you look at my archives (you may have to refresh the page or click on the header then ‘archives’ to get it to load – maybe another bug?) – there is an entry for September 2005 with ‘0’ posts. This, I guess is due to the draft post I have there – just a heads up.

  85. Jonas Rabbe Says:

    matthew,

    There appears to be a slight bug in your fantastic Super Archives

    Thanks for the heads-up. I’ve released 1.6.2 which should fix this bug. It requires a rebuild of the cache, the cache is rebuilt if a post is saved or a comment is posted.

  86. matthew Says:

    A fixed, cool :-)

  87. clint Says:

    has anyone been able to get this to work in IE5x? eg, the archive year and archive months clickable… the site i’m dev’ing will have a predominant modern browser base (FF if my advocacy/evangelism pays off), but I’d like to shoot for 5x if possible, and if not then a subtle info message with a link to ff…

  88. Jonas Rabbe Says:

    has anyone been able to get this to work in IE5x?

    It depends on which version of IE 5 (mac or windows). There is an article on the javascript event models over at Apple’s developer site. This was used as background info when developing Super Archive.

  89. Stormgrass Says:

    New Archives Implemented

    After fiddling around for ages (due to my complete and utter lack of knowledge of how stuff works), I’ve managed to implement the Super-Archive by Jonas Robbe. It’s a beautiful and convenient way of looking through my archives, and much bet…

  90. Dave Says:

    Love the plugin. I had a slight error with special characters.

  91. Marc Says:

    I believe I have set up everything correctly but the page only shows the code, (), vice the output of the archives.

    I currently run WP 1.5 and plugin version 1.6.2

    You can see the result here.

    The js scripts are being called into the header and I have tried both with/without using Runphp for the page.

    Thanks for any help you can give.

  92. Marc Says:

    Oops, never mind Jonas. I just inserted Binary Bonsai’s code and everything is working.

  93. FirstLeft » Delicious Links Says:

    […] e.net/~diogenes/meaning1.htm”>The Meaning of Life The Engineered Boulderer » Blog Archive » Super Archiv […]

  94. Drew Vogel Says:

    I would very much like to use this plugin. It installs and activates without problems, but when I create a PAGE with the following:

    teb_super_archive();

    and view the page, it displays a page with only the word “Archive” as a header on it. Nothing else. IE tells me that the page has errors, and when I click to see them, I get the following:

    Line: 126
    Char: 3839
    Error: Object required
    Code: 0
    URL: http://www.drewvogel.com/index.php/archives/

    Can anyone shed any light on this for me?

  95. Jonas Rabbe Says:

    and view the page, it displays a page with only the word “Archive” as a header on it. Nothing else. IE tells me that the page has errors

    When I access the page in Safari I can see that there is a javascript exception. The problem seems to be that the web server cannot read the super-archive.js file, at least the exception is as follows:

    You don’t have permission to access /wp-content/plugins/teb-super-archive/includes/super-archive.js on this server.

  96. Drew Vogel Says:

    THANK YOU! A quick permissions check revealed that ownership was wrong. It’s working now.

    Can you describe what I need to do to make my archive page (http://www.drewvogel.com/index.php/archives/) look like Michael’s (http://binarybonsai.com/archives/)?

  97. Drew Vogel Says:

    Hrm. I noticed that I am still getting an error on the page (though the archive items are now displaying), but cannot display what the error is…

  98. Jonas Rabbe Says:

    I only see the error once and a while (and I’ve only seen it on your site).

    Anyway, for the look and feel of Michael’s archive I can only refer to his writeup where he gives away his secrets (the code and css).

  99. Footsteps in the Mirror » The Very Long List Of Things… Says:

    […] upport onto the server. Live Comment Preview no nofollow Popularity Contest Dofollow Super Archive Theme Switcher S […]

  100. mbablogger Says:

    Great plug-in it works like an absolute charm.

    The display though had one bug that I can’t seem to figure out, I am sure it has something to do with my implementation as compared to the code, but would appreciate any feedback. Preceeding any title, (either month name or post name) there is this little icon, more like a circle within a circle. Would you know what could be causing it? Or how I could fix it?

    For my implementation of the plug in go here.

  101. Jonas Rabbe Says:

    mbablogger,

    The “problem” stems from this rule in your stylesheet:


    #content ul li {
    background: url('img/bullet.png') no-repeat 0 7px;
    padding-left: 1.5em;
    }

    you should be sure to reset the background property for the list items in the Super Archive.

  102. mbablogger Says:

    Jonas,

    You are a genius! :) It worked like a charm.

    I am a newbie at css and php but I knew enough to go through the style sheet for the super archive tag, but I stopped there pulling my hair out in frustration when I couldn’t find any image references. I wasn’t smart enough to think that it was a global variable.

    Thanks once again for the great plug in and super fast response over a bug not even caused by your plug in.

    Regards!

  103. MBA Blogger » Archives Says:

    […] o. The missing piece fell into place thanks to Jonas Rabbe, who has developed the ‘super-archive‘ plug in for word press that is currently […]

  104. zaque Says:

    I have no idea what this error is:

    Error: [Exception… “‘Permission denied to call method XMLHttpRequest.open’ when calling method: [nsIDOMEventListener::handleEvent]” nsresult: “0×8057001e (NS_ERROR_XPC_JS_THREW_STRING)” location: “” data: no]

    but in shows up in my Javascript inspector (within Firefox) everytime I call my Archives page. The end result being that Live Archives doesn’t work.

  105. Steven Says:

    I get the following error:

    Could not open cache file for years

    http://robot.f2o.org/live-archives/

  106. Jonas Rabbe Says:

    Steven,

    The cache files could not be created, verify that the permissions on the wp-content directory are correct. Contact your system administrator if necessary.

  107. Steven Says:

    What should the permissions be?

  108. Steven Says:

    I changed the permissions and now there is nothing…
    http://robot.f2o.org/live-archives/

  109. Ulrich Says:

    Hi.

    Having some problems. I’ve tried to update to 1.6.2 but no luck. I often use the function to publish ahead of time. But the forward published enties show up in the Super Archives. See http://www.bojko.dk/arkiv.php for a glance.

    Is it me who’s been messing up. I’ve implemented the Super Archive after instructions on The B. Everything else works like a charm.

    Now if there was a way to setup the categories the same way…. But that’s another story.

  110. Comme si tu veux » Super Archives Says:

    […] :dark 在海豚的帮助下安装成功。 效果见俺页首的archives页面。 1,在下载最新版本。 2,解压,把teb-super-archive文件 […]

  111. Weblog ku » Arsip Ku Says:

    […] earchive dan nicetitle. LiveArchive Pertama ambil terlebih dahulu plugin SuperArchive di sini. Kemudian urai berkas tersebut , dan kirim ke folde […]

  112. Mark Andrachek Says:

    It looks like javascript is having some problems with the tsa.php in my installation of 1.6.2 — don’t know what’s going wrong. I’ve setup an alert for the responseText on http://webmages.com/archives/ so the errors are visible.

    I’ve checked, and it is able to write to the cache directory (I’ve blown it away a few times).

  113. Mark Andrachek Says:

    Another problem – it appears to run on every page of the blog, causing excess server hits (don’t need to hit tsa.php if we’re not actually on an archives page).

  114. Mark Andrachek Says:

    Ok, so, if it looks like you’re getting no output, but there don’t appear to be any javascript errors, it’s likely an issue with PHP. The tsa.php causes notices to be thrown about a whole bunch of variables, and if you have your error messages set in PHP to display those, the script fails (it’s unable to parse the errors out of what’s being returned).

    I’d suggest the author might want to fix the tsa.php to run without notice/error/warning (E_ALL).

    Also, here’s an updated tsaLiveReqInit() function that checks to see if teb_super_archive() has been called, and if not halt processing (preventing the xmlhttprequests from running on every page load).

    function tsaLiveReqInit() {
    // check to see if the teb-super-archive id exists in the document.
    // if not, then no need to send a request.
    var test_obj = document.getElementById(‘teb-super-archive’);
    if (test_obj) {

    if (navigator.userAgent.indexOf(“Safari”) > 0) {
    // branch to get to internet explorer
    } else if (navigator.product == “Gecko”) {
    // branch to get to internet explorer
    } else {
    tsaIsIE = true;
    }
    tsaLiveReqDoReq(’‘);
    }
    }

  115. Jonas Rabbe Says:

    Mark,

    Thanks for all the debugging. I’ve been busy with other projects and haven’t laid eyes on Super Archive for almost a month. I’ve tried being nice in the php with regards to errors, but I guess there are places I could prevent warnings from cropping up.

    Thanks also for the update of the tsaLiveReqInit() function. It’s is certainly nice to prevent the javascript calling tsa.php on every page, I’ll be sure to include it with the plugin soon. My intention was to clean up the code after the initial release (which was a bit rushed with Michael breathing down my neck), but with one thing and the other I never got around to it. If my more pressing projects get cleared up this weekend, I’ll make sure to look at it.

  116. justanobsession » Blog Archive » Films and Film Says:

    […] ge in the archives page (only viewable on certain themes). I changed what plugin I used to Super Archives. The Archives will continue to develop with mo […]

  117. Dusty Dreams Blog » Archive » New Layout! Says:

    […] ary Bonsai for several things. I spotted his Live Archives, which are a script from “The Engineered Boulder”, although Michael had done a lo […]

  118. Chetan’s monologue » Random thoughts Says:

    […] ension I really enjoyed. Del.icio.us Direc.tor is amazing! This is something similar to a super archives plugin for WordPress. It was amusing to comme […]

  119. The Benjo Blog » Blog Archive » Y.A.S.U. Says:

    […] tent yet, but trust me you’ll like it when I do). Credit for this plugin belongs to Jonas Rabbe who took the time to code it, and Michael Heilema […]

  120. Bryan Veloso Says:

    Hey Jonas,

    I don’t know what’s going on with this… but I’ve been getting this error in Firefox:

    Error: [Exception… “Component returned failure code: 0×80004005 (NS_ERROR_FAILURE) [nsIDOMNSHTMLElement.innerHTML]” nsresult: “0×80004005 (NS_ERROR_FAILURE)” location: “JS frame :: http://www.avalonstar.com/wp-content/plugins/teb-super-archive/includes/super-archive.js :: tsaLiveReqProcessReqChange :: line 95” data: no]
    Source File: http://www.avalonstar.com/wp-content/plugins/teb-super-archive/includes/super-archive.js
    Line: 95

    The script works and shows up fine in Safari, but doesn’t appear at all in Firefox. Mike’s archives show up fine, so I have no idea what could be wrong.

  121. Bilal Says:

    Hi,

    It’s not really working for me. Well, it doesn’t display the menu. Have a look at the little screenshot so you get what I’m saying.
    http://img119.imageshack.us/img119/5215/arch8ss.png

    That’s all I get. :S

  122. Jonas Rabbe Says:

    Bilal,

    It’s not really working for me.

    Your image shows that your lists have not been styled. Look at the CSS Michael has made available to try and get it to work.

  123. justanobsession » Blog Archive » Untitled Post Title Says:

    […] it was way too muggy to have been held outdoors. And, finally… Why won’t the plugin on my archives page work?! Arrrghe!! It stopped puttin […]

  124. Bilal Says:

    Thanks Jonas. It worked! :)

  125. Bilal Says:

    By the way, they don’t really work properly in IE for me. Is there a fix for it?

    Thanks.

  126. insraq Says:

    Test Code

    2005
    ...

    May
    ...

    ...
    ...

  127. Bilal Says:

    So is there a fix for it in IE?

  128. Jonas Rabbe Says:

    Bilal,

    I have no clue what the problems are in IE, as I have only tested it in Firefox and Safari. If I have to deliver a fix I need some more information to find out what the cause of the problem is.

  129. Bilal Says:

    Sorry, I’m annoying you.

    Check this page in IE, if you can. http://xeenat.com/wordpress/archives
    Sometimes, the Live Archive work properly and sometime they don’t. =/
    Right now, I can’t even see them.

    All perfect in Firefox though. If you don’t know what the problem is, then I can leave it like that. :)

  130. Extended Live Archives at Binary Bonsai Says:

    […] Arno went ahead and added category support to Jonas’ Super Archives plugin; releasing it as the Extended Live Archives Plugin; fantastic! […]

  131. 天佑的自由天地 » Blog Archive » Extended Live Archive Plugin Says:

    […] 我現在 Archives page 內使用的是 Super Archives 的 WordPress plugin,本來我都很滿意的,但今天我發現 Arnaud Froment 將 Super Archives Plugin 改良成為 Extended Live Archive,不但擁有 Super Archives Plugin 的用年和月搜尋有關文章的功能。 […]

  132. Centripetal Forces » Blog Archive » Super extended archives Says:

    […] I have implemented an advanced version of live archives, based on Jonas’ original, as mentioned briefly by Michael – check it out. […]

  133. Archives updated at Apostrophe S Says:

    […] I’ve implemented Jonas’ Super Archives plugin, which makes it a breeze to sort through the Apostrophe S archives. Go ahead, try it. Just click on “archives.” It’s pretty cool. […]

  134. 二三街角 » Blog Archive » WP-plugin: Extended Live Archive Says:

    […] 之前介紹的 Super Archives Plugin 已經讓我很滿意了, 沒想到有人將這個 plugin 加強, 除了按照月份以外, 還可以依照分類顯示過往文章, 效果請看這, 我就不貼圖了. […]

  135. Almaren goes K2 at Almaren Says:

    […] Super Archive, par Jonas Rabbe […]

  136. Blogging Pro China » Wordpress Plugin: Extended Live Archive Says:

    […]   Extended Live Archive可以生成动态的存档显示,这里有一个演示。这个插件和我使用的Super Archives Plugin有一定关系,相比之下它多了按照Categories分类的功能很实用。 […]

  137. Lvx ex Caelis » Blog Archive » Plugins List 050713 Says:

    […] Super Archive:用以製作 Live Archive 。 […]

  138. MacBlog » WordPress Super Archive Plugin and Extended Live Archives Plugin Says:

    […] 昨天晚上,把 WordPress 的 Super Archive Plugin 及 Extended Live Archives Plugin 給裝起來 尤於我不是使用預設的 Theme,加上用的 Theme 剛好沒有 archives.php 所以得 hack 一下 除了修改 style.css 外(其實就是把那些 Plugins 附的 css 剪下貼上) 由於沒有 archives.php,所以我只好直接從 index.php 下手了 加上底下這段來判斷: […]

  139. MacBlog » WordPress Super Archive Plugin and Extended Live Archives Plugin Says:

    […] 昨天晚上,把 WordPress 的 Super Archive Plugin 及 Extended Live Archives Plugin 給裝起來 由於我不是使用預設的 Theme,加上用的 Theme 剛好沒有 archives.php 所以得 hack 一下 除了修改 style.css 外(其實就是把那些 Plugins 附的 css 剪下貼上) 由於沒有 archives.php,所以我只好直接從 index.php 下手了 加上底下這段來判斷: […]

  140. CarLBanks Says:

    On my site this is showing a future post that isn’t live yet.

  141. irgeek.net » Blog Archive » Extended Live Archives Says:

    […] Thanks to binarybonsai.com I was informed about the new plugin Extended Live Archives. This plugin is an addon to the Super Archives plugin, also known as Live Archives, which adds category support into the archive browser. […]

  142. Milane Says:

    I was looking for a WP archive code and your was sooo awesome for me that i had to try but one problem is that:

    Okey i installed the plugin but i dont know how to make it show on my page i tried using and that brought up this error Fatal error: Call to undefined function get_teb_super_archive() in c:\wamp\www\milane\wp-content\themes\once-upon-a-time\sidebar.php on line 48. Sorry i dont know what to do. Your help would surely be nice

  143. Jonas Rabbe Says:

    Milane,

    brought up this error Fatal error: Call to undefined function get_teb_super_archive() in c:\wamp\www\milane\wp-content\themes\once-upon-a-time\sidebar.php on line 48.

    You must activate the plugin in the plugin section of the WordPress administration panel by clicking the activate link.

  144. vitor azevedo.com » Blog Archive » Archives Tree Says:

    […] If you know something about .php and a little about javascript, then I need your help: I want to create an “Archives Tree” plugin for my Wordpress blog with the structure described in this picture: The image is self-explanatory. I think it would be a good way to browse the archives, and faster than Ajax scripts like Super Archives (that I use and that I think are great but… slow). […]

  145. ZEO Says:

    If you are having problem with “Could not open cache file for years” it is because you dont have an archive more than 1 year. just make a dummy post and change the timestamp to 2002 or 2001.

  146. Live Archives Up and Running at Silver Shift Says:

    […] I finally got around to working on my Archives page. Live Archives now officially works, thanks to a little realization on my part that I did not even have the Super Archives plugin installed. Sometimes my doltishness simply astounds me. Anyway, for those of you out there who are befuddled by the rather broken state of your K2 archives page, here are some user-proof (read: idiot-proof) steps to set it up: 1. [Do this only if you get a 404 error when trying to access your achives page] Make like you are going to use WordPress to manually edit your archives page, and, without actually changing anything, press “Edit This Page.” 2. Install either the Super Archives plugin or the Extended Live Archives plugin. 3. Make your wp-content directory world-writable (CHMOD 777). […]

  147. Daniel Spisak Says:

    I recently seem to be having some problems with your Super Archives plugin on my site at http://blog.nonmundane.org/

    Currently anytime I load my archives page up I get a series of error messages in my Apache logfile I would like to eliminate. I am currently running WP 1.5.1.3 and using K2 alpha four theme(yes I know its alpha). This is on an OpenBSD 3.6 system and apache runs under the user www and not root.

    In any case when looking at my Apache 1.3 error log I get these messages and was wondering how I could make them go away?

    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: posts in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 109
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 152
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 152
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 152
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: fade_year in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 158
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: num in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 179
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: fade_month in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 185
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: cmt_text in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 221
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: cmt_text in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 221
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: cmt_text in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 221
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: cmt_text in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 221
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: cmt_text in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 221
    [Fri Aug 5 01:13:19 2005] [error] PHP Notice: Undefined variable: fade_post in /home/nonmundane/docs/wordpress/wp-content/plugins/teb-super-archive/includes/tsa.php on line 227

    I also have the Extended Live Archive plugin installed as well. Could they be conflicting by chance?

    If you could help I would greatly appriciate it very much. As you can see just one access to my archives page generates a lot of errors and I’d rather see “real” errors as such. Hope you can understand! Thanks!

    -Dan S.

  148. Tauquil’s Blog » Blog Archive » From Super to Live Archives Says:

    […] With that in mind, I present to you Extended Live Archives – think of it as Super Archives with a bigger cape. The original Super Archives allowed users to browse through posts by date published in a dynamic AJAX-ified way. Live Archives builds upon this foundation and adds the ability to also browse through the blog categories in the same manner. Very cool. Check it out over at my archives page. […]

  149. airtonix Says:

    great work buddy, can we get the header hook to only run on a certain page, er um like could we put a field in the options admin bit that allows us to say which posts, pages or posts it shows up on?

    It looks for the div element outputted by the main function.
    if i don’t have it on every page, it throws an error saying it can;t find the element, cause i only run it on my archives page, which is a static_page made by the extended static page plugin, so i can use:

    if(is_page(‘32’)){
    echo ‘’;
    }
    buit this isn’t working, pro’ly sumfing im doin left as opposed to right. hehe

    or can i run the header hook from the static page, thus only loading the script tag when its on the archiove page? proly not cause the output isn;t buffered before rendering. but worth a ? i think.

  150. Jonas Rabbe Says:

    Daniel Spisak,

    I also have the Extended Live Archive plugin installed as well. Could they be conflicting by chance?

    Could be. I haven’t played with the XLA, but since they’re based on the SA, there could be something there.

    airtonix,

    can we get the header hook to only run on a certain page

    I’ve been thinking the same thing, but at present I don’t have an obvious answer. I don’t have any time presently, but I’ll put it on the todo list for v. 2.0.

  151. “Tindómierel sindaroniello…” » Blog Archive » Dando los últimos toques… Says:

    […] Super Archive Version: 1.6.2 Plugin url: http://www.jonas.rabbe.com/archives/2005/05/08/super-archives-plugin-for-wordpress/ Author: Jonas Rabbe […]

  152. K2 at Weblog Says:

    […] Super Archives […]

  153. 天佑的自由天地 » Blog Archive » Extended Live Archive Plugin 教學 Says:

    […] 這個 plugins 究竟有什麼用途呢?在之前的文章談及之餘再在此講解一下,這個 plugin 是提供搜尋 archives 功能的,你或許會問:「這個功能 WordPress 不是已經內置嗎?」WordPress 內置的 archives 搜尋功能是比較簡單和基本的,而 Extended Live Archive Plugin 就不同了,這個 plugin 是根據 Super Archives Plugin 再作改進,它用了 AJAX 的方式以年份月份及文章分類的形式搜尋文章,它的效果如下: […]

  154. PaulHi Says:

    Hey Jonas,

    Newbie here. I just installed word press and now I’m trying to install your Archive plugin. Problem is I can’t get it work. I unzip te zip file and put the folders in the correct structure as you mention, all within the Plugin Dir. But I have no option to activate the plugin in My Wordpress Admin.

    Am I being so stupid, have I missed an instruction…Please help.

    Also, Would I have to create a new folder called “Archives” or is it or built using this pluing. Please help, like I say I’m a bit of a noob to PHP.

    Thanks

  155. Kelly Says:

    I am having the same problem as you paul. It seems like a lot of the plugins that are published are set up for people who already know a lot about php. I dont know how to write the code to call up the archives. I tried some based on the snippets of examples I’ve seen but I just cant get it to work.

    I am getting the “Could not open cache file for years”. My wp-content folder is set to writable so I am assuming it must be the code. Here’s the link to the archives page I am trying to use. If anyone can help me, I would really appreciate it.

    http://fivemoreminutes.com/wonderblog/wordpress/?page_id=32

  156. Jonas Rabbe Says:

    PaulHi,

    To use the Super Archives Plugin you have to create a page which will be your archives page. For this page you must create a template that calls the plugin.

    Kelly,

    It seems the plugin is called allright, but the cache files are not created correctly. If you try to goto /wp-content/teb-super-archive-cache/cache-files/years.dat which is where the yearly cache file should reside, you get a 404. I know you say that the wp-content folder is writable, but it seems the plug-in can’t create the cache files.

  157. Kelly Says:

    As I have it set up now, the plug in package is in my plugin folder in the wp-content directory. The link you post shows a seperate folder in the content directory. Should I set that stuff up manually?

  158. Jonas Rabbe Says:

    Kelly,

    If the plugin can write to the wp-content directory, it should set up the cache files and settings files by itself. If the file and directories linked to in the previous post exist and it still doesn’t work, then I don’t know what’s wrong.

  159. 새로운 워드프레스 테마 “K2″ Beta1 at . 0 8 2 N e T . Says:

    […] Extended Live Archives or Super Archives […]

  160. El tema K2 y los plug-ins integrados at La Taberna del Turco Says:

    […] Extended Live Archives or Super Archives […]

  161. archives at Talk Without Speaking Says:

    […] […]

  162. Crash Override Says:

    круто, работает

  163. Blogging Pro China » WordPress Plugin: rss live archive Says:

    […]   rss_live_archive,另一个存档加强软件,好像也是参考了Super Archives Plugin for Wordpress。 by Scott | posted in WordPress Plugins Trackback URL | Comment RSS Feed Tag at del.icio.us | Incoming links […]

  164. Loading... Says:

    […] I’ve finally took the step of implementing the runphp-plugin on my site… And it comes out really rewarding to me… As you can now search through my live-archive.. which I owe to the fabulous super-archive plugin… […]

  165. Mike Horn Says:

    I can’t figure out why this AWESOME plugin works in FireFox but not IE? For some reason the months are not clickable in IE 6 But everything works great in FireFox. Any ideas?

    Thanks again for a GREAT plugin!!!

    Here is the page: Archive Page

  166. Darrell D. Says:

    Has anyone implemented this with the Connections Theme?

    I’m pretty sure that I’ve got the thing installed correctly, but the output is pretty bad.

  167. billray Says:

    Still having a problem with the install. With I get no output.

    Headers are being modified with the following files src’ed:
    /plugins/teb-super-archive/includes/tsaAddLoadEvent.js
    /plugins/teb-super-archive/includes/super-archive.js
    /plugins/teb-super-archive/includes/tsa.php

    Cache and settings.dat files are being created in wp-content\teb-super-archive-cache

    I have put an alert in tsaLiveReqInit() and it fired.
    Alert in tsaAddLoadEvent()did not fire.

    Environment is XP Pro, IIS5.0, PHP 5 all on local machine so far.

    Fresh out of ideas, any help greatly appreciated. And Thanx in Advance.

  168. Jonas Rabbe Says:

    The reason why the alert in tsaAddLoadEvent() did not fire is because that function isn’t used anymore, I just haven’t gotten around to cleaning up the plugin. That tsaLiveReqInit() is called tells me that the javascript is initialized properly.

    If you visit /plugins/teb-super-archive/includes/tsa.php in a browser, what do you then get?

  169. AD Says:

    How do you put “By year” or “By Month” or “By Category” into the teb_super_archive() function? I can’t figure out how you do it.

    Thanks.

  170. Jonas Rabbe Says:

    I don’t understand what you mean by “By year” or “By month” and especially not “By Category” as the super archives don’t support categories, I guess you’re looking for the Extended Live Archives plugin which is made by some other cool dude.

  171. billray Says:

    re:If you visit /plugins/teb-super-archive/includes/tsa.php in a browser, what do you then get?

    a boat load of
    “Undefined variable: posts in C:\Sites\Sensient\wp\wp-content\plugins\teb-super-archive\includes\tsa.php on line 109”

    num, fade_year, etc.

    I must have done something stupid, huh?

  172. billray Says:

    My Previous comment amended:

    I do get
    * 2005
    * 2004
    * 2003

    * October

    though.

  173. billray Says:

    Jonas,

    Any ideas why the above is not working?

    Thanx,
    billray

  174. Rehan Says:

    Jonas,

    Thanks for your great plugin—I love it!

    One problem however is that posts which are set in WP to be published at a later date, still show up before they are published in the archives plugin.

    Can you provide a fix for this please? Thank you again for giving this to the WP community!

  175. aNiu’Blog » Extended Live Archive 0.10 版本教學(摘) Says:

    […] Extended Live Archive Plugin(以下簡稱 ELA)究竟有什麼用途呢?ELA 是提供搜尋 archives 功能的,你或許會問:「這個功能 WordPress 不是已經內置嗎?」WordPress 內置的 archives 搜尋功能是比較陽春的,而 ELA 就不同了,它是根據 Super Archives Plugin 再作改進,現在它的功能已經遠遠超越了 Super Archives Plugin 了。 […]

  176. ivogomes.com » Algumas novidades no blog Says:

    […] Juntamente com o novo sistema de gestão de fotos, instalei também um novo sistema de arquivo. Mais uma vez usei um plugin do WordPress para implementar este novo sistema. A ideia é simples, ter um menu navegável por datas em que não é necessário carregar a página sempre que se selecciona um ano ou um mês. Para isso muito contribui o uso de tecnologia AJAX! […]

  177. d3x7r0 Says:

    Is it possible to print the actual links in the source? Cause my layout is getting destroyed because of that, the clear=all I’m using just makes the page stretch all the way to the bottom and it won’t follow the real size :?

    Can anyone help me debug this?

    link: my arquive page

  178. Jonas Rabbe Says:

    @d3×7r0,

    I’m sorry, but it looks fine when viewed in Safari or Firefox on my mac. This indicates that you problem is a CSS problem rather than a problem with the Super Archives plugin. If you are seeing the problem in Internet Explorer you should try an look for CSS references in relation to Internet Explorer.

  179. d3x7r0 Says:

    Well I’m using firefox and didn’t you noticed how the box takes up the entire space untill the bottom of the page? It’s not suposed to do that but if I take the br clear=“all” out it will overlap with my footer and the box won’t be big enough for the archives so yes it’s “sort of” a CSS problem but It’s not just mine…

  180. New theme :) Says:

    […] Now another bad part was, the theme had no archive page, I wanted to add super archive but that also didn’t work well with it…so I have kept archive page as pending…will work on it tonight… […]

  181. rich Says:

    hi, i’m having problems deleting the settings.dat and cache files created by this plugin. i can’t seem to chmod the files to get adequate permissions to delete them.

    when chmoding i get ‘Operation Not Permitted’ in SmartFTP.

    i’m not sure how old this version of the plugin was. i did implement it a while ago, and now i’ve closed the site it used i’d like to wipe the webspace clean to use again!

    any idea whats causing this?

  182. ggwu Says:

    for those who has questions about “Could not open cache fi