Where it came from…

Some time ago, Jonas Rabbe released his wonderful Super Archives Plugin. Based on an idea discussed on Binary Bonsai, this plugin implements a dynamic, AJAXified way of digging into the archives of a blog.

I got to say I loved it. But down the road, being the annoying-never-satisfied guy I am, I got frustrated the plugin only allow that much of ordering. Eventually I wanted a way of applying the same scheme to categories instead of year/month.

Where it is now…

So here we were and here is the latest and final 0.9.x.

And if you enjoy the Extended Live Archive plugin in any way, feel free to…

Or you could just look into one of those ads: your clicks will be much appreciated !

Do not download and use ELA unless you understand what a beta version is.
This is not the latest version of the ELA plugin.
Therefore, there will be no support related to this code.
So, please, give a try to the 0.10.x version before even starting to curse me.

For a demonstration of what the latest version can do, head over to my archives page.

Enjoy, folks…

 

Blogons un peu...

RSS:  Feed des commentaires
  • 1
    Gravatars

    Michael Heilemann,    

    I’m loving it! :D

  • 2
    Gravatars

    Chris,    

    Very awesome. Thanks much for working this out.

    Sorry, I don’t speak Francais but I do appreciate your writing this up in English for we lesser peoples. :)

  • 3
    Gravatars

    The General,    

    This is an awesome addition to Jonas’s plugin! I’ve just finished incorporating it into my Archive page, it’s running perfectly, as is Jonas’s original!

    As a side note, for english speakers, you’ll want to modify the following file:

    /wp-content/plugins/af-extended-live-archive/includes/af-ela.php

    Comment out line 210, and uncomment line 211. Then either delete the “__(” and “)” surrounding each string of text (i.e., each month), or delete the entire line, and paste the following in its place:

    $month_names = array('', 'January', 'February', 'March', 'April', 'May', 'June', 'July', 'August', 'September', 'October', 'November', 'December');

    This will make the months appear in English rather than French.

    Again, brilliant plugin!

  • 4
    Gravatars

    Brendan,    

    This is very very cool.

    Have implemented and must say being able to access categories as well as months really kicks ass.

    Nicely done!

  • 5
    Gravatars

    The General,    

    Here is an interesting “bug” I’ve just discovered, which applies equally to Jonas’ original version.

    I’m going on vacation next week, so I’ve started writing posts which won’t be officially published until next week, when I’m on vacation. So far I’ve only done one, but it shows up in the live archives! Of course, when I click on it, I get a “404″ error.

    You can see the “bug” for yourselves on my Archives page; the first post, Tuesday Random Ten-Vacation… isn’t scheduled to publish until next Tuesday.

  • 6
    Gravatars

    CarLBanks,    

    The only thing I prefer about Live Archives is the look of it. Could you somehow incorporate the look of Live Archives into this?

  • 7
    Gravatars

    BoBB,    

    This plugin is awesome. I am currently setting it up and testing it out on my testblog, but you can be sure to see it on my site just as soon as macworld is over or I get bored enough and can find a power outlet :-D

  • 8
    Gravatars

    Arno,    

    The General :
    Oops. The months in french instead of English slip thru my last check.
    Sorry about that : will be corrected soon.

    As for the post in the fitire : I take notes and will work on this.

    CarlBanks :
    The CSS file included in the package should contain the needed styling to give the little thing the look it has here, on my archives page. Isn’t that what the original Live Archive was looking like ? If not, please provide a like.

  • 9
    Gravatars

    CarLBanks,    

    I’m using it on my site at http://project-c.info/archives/

    It actually isn’t all black and white like on your site.

  • Gravatars

    CarLBanks,    

    My mistake, it is based on the CSS.

  • Gravatars

    Tom,    

    In the words of paris hilton, “thats hot”.

  • Gravatars

    Arno,    

    So second try : 0.9-beta is out. See above for the changelog.

    Comments, critics, recommandations and bug report are more than welcome.

  • Gravatars

    Chris,    

    Only having one problem. I keep getting a ‘not found’ error for “af-ela.php” I know it’s there and I’ve gone so far as setting the permissions to 777 just to be sure. Am I missing something?

  • Gravatars

    Arno,    

    Chris,

    As far as I can tell, a 755 should be enough. Anyway, this 404 sounds super weird. If you have copied over the af-extended-live-archive directory in your plugins folder, I don’t see any explanation.

    Care to give some details ?

  • Gravatars

    Chris,    

    http://sandbox.restiffbard.com/archives/

    ok, I’ve copied the folder to the plugins directory. I set permissions to 755. Added the “af_ela_super_archive()” function to the template.

    2 things, possibly unrelated. 1, No posts show up in category view for “uncategorized”. 2. The activity log for the page keeps throwing up a “not found” error for af-ela.php and any calls to af-ela.php.

    I don’t think this is really a 404. You can go to:
    http://sandbox.restiffbard.com/wp-content/plugins/af-extended-live-archive/includes/af-ela.php?
    and see the file. It’s there but, not.

    I feel like this is some sort of Zen mystery. I’m also sure this will all end up being my fault and I’ve just embarrased myself in front of thousands of people. :)

  • Gravatars

    Arno,    

    Chris,

    For what I can see, the cache file for the Uncategorized category is empty (cat-1.dat). Did you try to empty the cache ?

    It may also be some issue with the time associated to the posts : it seems those are new. Is your GMT Offset set properly ?

  • Gravatars

    Chris,    

    The offset seems right. EST -4. It’s 2:28am and that’s what WordPress says the time is.

    As for emptying the Uncategorized cat-1.dat I wouldn’t know how. Terribly sorry I’m not more help with this. I do appreciate your trying, though.

  • Gravatars

    Arno,    

    Emptying the cache : in the admin panel, just go in the option menu, then go in the Ext. Live Archive sub-menu and hit the button there.

    Worse case scenario, trash the entire af-extended-live-archive directory in wp-content and reload the archives page after that.

  • Gravatars

    The General,    

    Hey Arno,

    Just uploaded 0.9-beta2 of the plugin. The months now default to English, as you listed. However, I’m still seeing the future post appear, and it still leads to a 404 error when I try to select it. Not a super big deal for me, but I thought you might like to know. You can see the latest version in action here if you’d like to see what it’s doing: Archives.

    Again, I can’t tell you how excellent I think this plugin is!

  • Gravatars

    kusaeni,    

    nice , I loving it ….

  • Gravatars

    claus,    

    Bonjour,

    Your plug-in looks awesome. However, I could not implement it on my site. I always get “Could not create cache. Make sure the wp-content folder is writable by the web server.” wp-content sure is writable, othe plugins do write to it. I tried some tweaking around, but so far nothing has paid off (I’m a php newbie anyway). Any idea what could be wrong?

  • Gravatars

    Arno,    

    The General,
    Did you rebuild your cache through the admin option menu ?

    Claus,
    2 reasons may explain thing :
    #1, the PHP code can’t create the directory and set the proper permission (775) on it.
    #2, the PHP code can’t create the files inside this directory

    Under wp-content, do you have a af-extended-live-archive directory ? If so, what to you find inside it ?

  • Gravatars

    CarLBanks,    

    I’m just curious about one thing. On my site the live archives – the original plugin, is showing future posts that aren’t on the site. Have you added a safety feature for this?

  • Gravatars

    Arno,    

    CarLBanks,

    Indeed : Future posts should not show up in the by/month nor in the by/category lists anymore. Get yourself the beta2, empty your cache in the admin option panel to have a look at it

  • Gravatars

    dumb as snot,    

    I can’t for the life of me figure out how to implement this plugin. I’ve activated it, but the only options I can see in the admin section is to clear the cache.

    How do I make the page that shows the archives? All I can find in the documentation is stuff that assumes I already know how to code php, and obviously I don’t. Any help for the rest of us dumber than snot regular people?

  • Gravatars

    Bobly,    

    I activated and went to admin options and cleared cache. All I get it this error:

    Warning: mkdir(/path/to/blog/wp/wp-content/af-extended-live-archive/cache-files/): No such file or directory in /path/to/blog/wp/wp-content/plugins/af-extended-live-archive/af-extended-live-archive.php on line 210

    Any idea why that would be?

  • Gravatars

    Arno,    

    Bobby,

    to be honest, I don’t really know what’s wrong here. The mkdir call is only done if the directory doesn’t exist already. If your never built the cache before cleaning it up, this should go ahead and built it for you.

    Try to go ahead and trash the /path/to/blog/wp/wp-content/plugins/af-extended-live-archive/ directory altogether. Then just call the template function or clear the cache through the admin panel.

    dumb as snot,
    Just edit your template files and create a call to the function af_ela_super_archive(). This takes arguments in the url format as seen in wp_list_cats, the tags in the arguments are described in the documentation included in the package.

  • Gravatars

    Kyle,    

    I am having trouble. I got it started perfectly. Then I rewrote and installed it so that I could ditch my test posts and low and behold it doesn’t work entirely. Now, I can see things in the regular live archives view. however, your added category view I can only see the categories and no posts within them.

    For some reason I cannot delete the cache files either. It just says I can’t: [R] 550 Could not delete 2005.dat: Permission denied

    Anyway, if you can help please do!

  • Gravatars

    The General,    

    Hey Arno,

    Sorry for the delay, just got home from work. I didn’t originally clear the cache, so I just now did it.

    The future post is still showing though. Hopefully this is just some minor bug that pertains only to me because of my web host’s server config or something.

    Thanks for being so quick to respond, I really appreciate it!

  • Gravatars

    The General,    

    Ok, this is interesting, just noticed it when I switched back to my archives page. The future post shows up when I view my posts by month – yet when I switch to categories and select the category that my future post is under, it doesn’t show up.

    Hope that helps Arno.

  • Gravatars

    amory,    

    how would I go about limiting the ouput to posts from a single category only?

  • Gravatars

    Arno,    

    The General,

    Good catch : it’s been corrected and will make it in the next release.

    Armory,

    the option is on my todo list.

  • Gravatars

    Viitoria,    

    I’m rather archives retarded, so bear with my problem. I made an archives page, and using the create an archive index method from the codex, placed the af_ela_super_archive() tag in archives.php template. However, when I try to access the archives page, nothing shows up. I check the code and this is what I get: and that’s it.

  • Gravatars

    Viitoria,    

    Sorry for double posting, my code snippet thing didn’t show up. I check the code and this is what I get: <div id=”af-ela”></div>.

  • Gravatars

    Arno,    

    Viitoria,

    Only the opening and closing div will show up in the source code. The rest of the data is written by the javascript. So you can to insert some alert(); statements in the javascript to see if it gets initialized and called properly.

  • Gravatars

    Viitoria,    

    Hi. Sorry to bother again, but is there any tutorials or futher instructions on installing? Because simply inserting the tag on the page doesn’t seem to work for me. At the end, I tried manually adding the javascript and stylesheet links in the header, which got it working to some extent. However, now it looks like this, with bullets and no number of posts… What exactly am I doing wrong?

  • Gravatars

    Jeffly,    

    I came across something odd. I’ll post it here in case anybody else has the same problem. I kept getting errors about the cache. At first I thought it was permissions so I changed the attributes to 775. That fixed some errors but then I got erros about not being able to open the cache files (cannot open 2005.dat).

    I discovered that the Empty Cache Now button in the Ext. Live Archive Options was not writing the cache-files directory with accompanying files to the server. I checked the wp/wp-content/af-extended-live-archive/ directory but there was no cache-files directory. I refreshed several times and still no directory.

    Come to find out, the cache-files directory WAS being written to the server, but it was being written to wp/wp-content/af-extended-live-archive/cache-files/*.dat) instead of wp/wp-content/plugins/af-extended-live-archive/cache-files/*.dat.

    In the af-extended-live-archive.php file I changed
    this line:

    $af_ela_sa_cache_root = ABSPATH . ‘wp-content/af-extended-live-archive/’;

    to:

    $af_ela_sa_cache_root = ABSPATH . ‘wp-content/plugins/af-extended-live-archive/’;

    It works now.

  • Gravatars

    Ox,    

    Can someone please post an example of their code that shows how they are using the af_ela_super_archive() function. That would be of great help to us lesser mortals. No matter many times I read through the wp_lists_cat documentatin I just don’t get it.

  • Gravatars

    Arno,    

    Viitoria,

    wp-content/plugins/af-extended-live-archive/settings.dat is not a file that is supposed to exist. Whatever changes you made to the code lead you to trying to open the wrong file. *.dat are ALL located in wp-content/af-extended-live-archive/ (note there is no plugins/ in the path)

    Jeffly,

    Come to find out, the cache-files directory WAS being written to the server, but it was being written to wp/wp-content/af-extended-live-archive/cache-files/*.dat) instead of wp/wp-content/plugins/af-extended-live-archive/cache-files/*.dat.

    which is exactly what it is supposed to do. The changes you did just changed the path to the cache dir. But it is my understanding that wp-content/plugins/ should not content anything but plugins code (no dynamic file there)
    Anyway, what you describe look very much like some issues with the configuration of your Apache or whatever HTTP server you are using.
    Bottom line is that the cache creation and reset processes are working fine with the path set in the original package.

    Ox,

    You have a good point : an example is always useful. So here is the call I have in my archive page :

    <?php
    af_ela_super_archive('
    menu_month='.urlencode('Par ordre chronologique').'
    &menu_cat='.urlencode('Par cat&eacute;gorie').'
    &num_entries=1
    &num_comments=1
    &number_text=<span>%</span>
    &comment_text=<span>%</span>
    ');
    ? >

    The urlencode thingy are just there to demonstrate the fact that it is possible to pass non-ASCII text.

    So what we have here is respectively and line by line:
    1. Overwrite the default menu header for months,
    2. Overwrite the default menu header for categories,
    3. Shows the number of posts per year and month,
    4. Shows the number of comments per post,
    5. Format string for the number of posts per year and month
    6. Format string for the number of comments per post

    Here we go, folks, hope it helps…

  • Gravatars

    Viitoria,    

    Ah, I see. It works now. However, to get rid of default bulleting, this line of css was needed in the #af-ela ul of the stylesheet:

    list-style-type: none;

    And yes, the example was very helpful. Also – show the person have to manually define the stylesheet and Javascript pages in their header like I had to in order to get it to work or was it suppose to add it by default?

  • Gravatars

    Claus,    

    (I’d replied before but obviously this got lost)

    Claus,
    2 reasons may explain thing :
    #1, the PHP code can’t create the directory and set the proper permission (775) on it.
    #2, the PHP code can’t create the files inside this directory

    Well, that’s exactly the *problem*. The script just won’t write to wp-content, however all permissions are correct. I’ve even tried creating the cache folders manually, but that doesn’t change things.

    As for your reply to Jeffly, I’ve also thought of a server-side problem, but I’m using other plugins that write and cache to wp-content without a problem. I’ve turned them off & on to check for conflicting issues, but to no avail. Eventually, I tried out Jonas’s original version, which isn’t working either but comes up with the message “Could not open cache file for years”. So I’m pretty confused now – what the heck could be going wrong here?

  • Gravatars

    Michael Heilemann,    

    This is a problem I had with the original Super Archives as well; when you click a year, month or category link, it has to fetch the info from the server. This usually takes a little while, and unless you’re paying attention to the status line, you wouldn’t know anything was going on.

    So I would very much like to see an indication of some sort, which shows when ELA is busy fetching new info.

  • Gravatars

    Arno,    

    Viitoria,

    The bullet thing is a good point. It’s been noted and will make it in the next release.

    Claus,

    To be quite honest, I have very little idea of what could be wrong. Do you have by any chance access to PHPInfo page of your hosting server ? This could be caused by some deactivated php file-access-related function on the host side. My previous host was not happy about some remove() call in the original Super Archive for instance.

    Michael,

    This was actually a question I tried to resolve over the past few days : how to show something is going on until the fetching process is over. I kind of like the way Gmail does it (red box top right corner showing a “loading…” message.
    I have been experimenting with that a little lately but it is still far from perfect.

  • Gravatars

    Jeffly,    

    Arno,

    which is exactly what it is supposed to do. …snip…
    Anyway, what you describe look very much like some issues with the configuration of your Apache or whatever HTTP server you are using. Bottom line is that the cache creation and reset processes are working fine with the path set in the original package.

    Oh, I see. I changed that line back to the original code and now I get this error on the archives page: Could not open cache file '2005.dat' I’ve looked in the cache-files and there is no 2005.dat file. I assume this is because so far I’ve only posted blogs for previous years (I’m transferring an old blog to WordPress), none with a 2005 date yet.

  • Gravatars

    Arno,    

    Jeffly,

    Well that odd. This should not be looking for 2005.dat if no post exist in that year.

    I’ll try to check this out some time this week-end. In the meantime can you provide a link to your archives page, if it is online somewhere, or is it just a localhost playground ?

  • Gravatars

    Milton,    

    I get this when trying to empty cache.

    Warning: mkdir( /public_html /wp /wp-content /plugins /af-extended-live-archive /cache-files/):
    Permission denied in
    /public_html /wp /wp-content /plugins /af-extended-live-archive /af-extended-live-archive.php on line 210

    Why would it warn me about this directory if it writes cache to the af-extended-live-archives directory one level above the plugins directory?

  • Gravatars

    Arno,    

    Milton,

    Because you are using a modified version of the code…

    No offense to anyone but stop complaining the stuff is broken if it breaks because of the changes YOU or whoever made to the original php.

    mkdir($af_ela_sa_cache_path, 0775)
    has no way to generate such a warning (compare the paths) when the static declaration of the global variable $af_ela_sa_cache_path is:

    $af_ela_sa_cache_root
    = ABSPATH . 'wp-content/af-extended-live-archive/';
    $af_ela_sa_cache_path
    = $af_ela_sa_cache_root . 'cache-files/';

    I am more than happy to help when I can and more than grateful that so many of you are helping to debug the released BETA code. But I am not, in any way, telepath or clairvoyant. So please stick to the released code or you’re on your own… :)

    And, BTW, I am that close to disregard any comment coming from Utah State University. Concidered yourself warned, Milton, Jeffly, Ox…

  • Gravatars

    Claus,    

    Sorry to bother you again, but as I’m not from Utah State I hope you won’t mind ;-) (and just for the record, I do appreciate it very much that you care at all)

    To answer your question, I took a look at my phpinfo file, but I could not find anything irregular. What should I be looking for?

    I’ve also tried the plugin with a different, bare-bone WP install (same host though), but that keeps spilling out mkdir errors similar to those already mentioned by some

  • Gravatars

    Bharath,    

    i am using K2 theme which comes prepackaged with code and styling to support this plugin. my cache dir is wp-content/af-extended-live-archive/. and i put af-extended-live-archive folder in plugins. i emptied cache and even then i am gettinng this 404 error.. can some one help me pls

  • Gravatars

    BoBB,    

    Bharath:

    K2 comes with support for the original live archives plugin … as far as the 404 error, when I unpacked this archive on my server I noticed the permissions for all of the files were not suitable for a standard web server. I had to chmod all the directories from 700 to 755 and all of the files from 600 to 644, this is probably not the problem if you are getting a 404 error however, as that means its looking for a file that doesnt exist, what file are you getting the 404 on and are you sure that it exists?

  • Gravatars

    Eberth,    

    Hi, i got it working after 2 hours, hehe, it’s great, now i just need to remove the little dots(circles)that appear :S

    http://blog.eternalsight.net/archivos/

    could you plz tell me how to do this?

  • Gravatars

    BoBB,    

    if you add the following css to your style it will remove the dots …

    #af-ela ul li {
    list-style-type: none;
    }

  • Gravatars

    Eberth,    

    :o woah, that’s fast :) ,tnx a lot, great plugin

    another quick question

    what do i have to edit in order to translate this two tabs?
    * By month of posting
    * By category
    tnx in advance :)

  • Gravatars

    Arno,    

    Elderth,

    Look at the documentation included in the package, you’ll find the various paramters you can pass there.

    In your case you want to add a menu_month and a menu_cat parameters so that the call will look like
    <?php af-extended-live-archive('
    whateveralreadythere
    menu_month='.urlencode('Par ordre chronologique').'
    &menu_cat='.urlencode('Par catégorie').'
    ); ?>

    Look at comment #39 for a complete example

    BoBB,

    I’ll check the permission out in the zipped release from now on.

    Bharath,

    The last K2 alpha will indeed support ELA. But as far as I could see lurking on your webpages, the problem is related to the fact the archives page is not created by K2. I know Michael is working on this. But in the meantime, head over on Binary Bonsai to figure out what to do.

  • Gravatars

    Eberth,    

    Tnx a lot :) worked perfectly :)
    :)

  • Gravatars

    Arno,    

    0.9.0 is out.

    As far as ther caching stuff goes, it should be quite stable now.

    This release adds to beta2 some rationality in the way categories were handle (namely, the order is the same as wp_list_cat and children can now be differentiated).

    You probably want to rebuild the cache after installing this version. Head to the option panel or simply edit or create a new post.

    Hope you like it.

  • Gravatars

    Bharath,    

    thx Amo and BoBB. i will wait untill K2 final version is released and then see how it goes. thx for ur replies.

  • Gravatars

    BoBB,    

    How about a feature to exclude categories from the category browser? I would think that some people would want certain categories, such as an asides category, to not be listed in the archive browser since posts in a category like that would not be organized by its category name. Just a suggestion.

  • Gravatars

    Arno,    

    BoBB,

    It could indeed be nice. Since I’ll expect some big rewrite for 0.10 (support for pages), I’ll play around with your idea as well.

  • Gravatars

    BoBB,    

    Hrmm, I dug into the code a little and it seems the best(only?) place to do this would be in the af_ela_sa_create_cache() function inside the $categories result if() statement. The problem I ran into was that the only place I could find the settings that are passed to the function are in settings.dat which is deleted before af_ela_sa_create_cache() is run and is not recreated until the main function is executed. I don’t think this feature will be possible until the plugin stores all of the options in the wp options databse.

  • Gravatars

    Dr. ZAx,    

    Hi Arno,

    First up, thanks for all the hard work. I have implemented ELA on my site but it’s not working and I’m at a loss as to why not. I also have Super Archives installed and it’s working fine (I’m sure it’s not a compatibility problem because I’ve tried them individually with the same results).

    I’m sure I haven’t implemented it well but I’m positive it should be working.

    See it here: http://www.elvery.net/drzax/index.php/archives/.

    The cache files are all being created correctly as far as I can tell. I haven’t made any modifications to your code. I’m calling the template function without any parameters (i.e. ). As far as I can tell there are no PHP or JavaScript errors being generated.

    Am I missing something obvious? Any help you can offer would be appreciated.

    Cheers,
    S.

  • Gravatars

    Arno,    

    Dr ZAx,

    I got to say I am clueless. Calling af-ela.php directly works like a charm and the javascripts seem to be in place.

    It is quite late here at SF, so I am gonna hit the sack but I’ll give it a closer look in the next few days.

  • Gravatars

    The General,    

    Hey Arno,

    Just uploaded the new version of the plugin. I deleted both of the old directories (and their contents) as you suggested first, and then attempted to play with the plugin.

    The “By month” tab works perfectly, no complaints there. However, when I tried to click on the “By categories” tab, I got the following error:

    Could not open cache file 'cat-0.dat'

    I then went to my options panel, and attempted to clear out the cache. When I did this, I got the “Cache emptied” message as expected; but above that I also got the following error message:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT post_id FROM wp_post2cat WHERE category_id =

    I haven’t attempted to fix any of these errors, and I’ve left the current version of the plugin enabled in case you want to see this behavior for yourself. If I find any clues to the solution before you respond, I post them here. Thanks in advance!

  • Gravatars

    Chris Velazco,    

    Hey, I’ve got to say that I absolutely love this plugin. There is however, one issue – when my blog is viewed in Firefox, everything looks fine. However, when it’s viewed in Internet Explorer, everything seems to have shifted out of place. I’m using the default CSS – do you have any idea as to how to fix this?

  • Gravatars

    Arno,    

    that’s just a CSS issue. Add :
    padding: 0;
    in your CSS under #af-ela.

    Will be pushed in the next release.

  • Gravatars

    The General,    

    I don’t know if this will help, but I’ve been poking around my blog a little bit. I’ve discovered that there is no cat-0.dat file in /cache-files/ directory, only cat-1.dat – cat-32.dat.

    I’ve also checked my categories, and their is no category 0 – my count starts at category 1. I also have a gap between categories 30 and 32; I deleted the category that was in place at 31. Perhaps this is what is generating the error?

  • Gravatars

    Arno,    

    It would seems that ELA does not like very well the presence of the original Super Archive and vice versa.

    To safely play with ELA, get rid of Super Archive first.

  • Gravatars

    tinyau,    

    I found that the most recently posted message cannot be counted in both “By month” and “By category”.

  • Gravatars

    Dr. ZAx,    

    Hi again Arno,

    In light of your suggestions in comment 67 I have de-activated and deleted anything to do with Super Archives but still have the same problem with ELA. (See my comment number 61.) I’m very stumped. I hope you have time to trouble shoot, but I know you time is precious. I love the category functionality but I’m becoming very tempted to just go with Super Archives.

  • Gravatars

    Arno,    

    tinyau,

    It is most probably some weirdness in the timestamp of the post versus the time your blog serves the archive page.
    I got to admit Relying on the GMT offset and the post date instead of just the GMT post date was a mistake.
    Next version will correct this but in the mean time, rest assured that eventually, after some relatively short time (12 hours worse case scenario depending where you are on the globe), the post will show up.

    Dr. ZAx,

    thanks for you patience : it’s been some busy days for me, without even mentionning ELA. So eventually, I will have a closer look that. I am just swamped and still need to sleep at least a couple hours a night :)

  • Gravatars

    Bilal,    

    I get this error when I click on “By Category”
    Could not open cache file 'cat-0.dat'

    I tried clearing my cache from Options > Ext. Live Archive. But over there, I get this error.
    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT post_id FROM wp_post2cat WHERE category_id =

    Help please…

  • Gravatars

    Arno,    

    All,

    0.9.1 is out and should solved some of the bugs reported in the previous comments.

    To those who add issues and to the others, please give it a try.

  • Gravatars

    Arno,    

    Oops,

    Gonna have to wait two minutes here : didn’t upload the right code. Back to 0.9.0 for super little while.

    Update: and here we have a 0.9.2 that should do the trick.

  • Gravatars

    Dr. ZAx,    

    Ok, it’s working and I’m really not sure why it should be (given that it wasn’t before).

    I installed the new version (0.9.2) and no change. Then I realised (which I should have done much sooner) that it is almost certainly a JavaScript issue and that means it’s browser dependent and I hadn’t tested in anything other than Firefox. IE and Opera worked a treat (asside from some CSS issues).

    So I had a little fiddle around with it to try and get it displaying reasonably nicely in IE and Opera but didn’t change anything but column widths.

    Then I stuck a <br style=”clear:both” /> in the template file after the call to af_ela_super_archive(); so that all the stuff below it would clear it properly.

    Then I flicked back to Firefox hit the refresh button and there it was – looking even better than in IE or Opera. I’m not sure what fixed it but I’m suspecting it was the <br style=”clear:both” /> bit.

    Thanks for all you help anyway Arno. I’m very glad to have it working. :)

    S.

  • Gravatars

    Tony,    

    Can someone please post there function call because mine is not passing any parameters.

  • Gravatars

    Arno,    

    Tony,

    Example at comment #54 and comment #39

  • Gravatars

    tinyau,    

    The problem of most recent post not shown is fixed now, thanks.

  • Gravatars

    PJ,    

    Hi – I’ve tried installing Extended Live Archives, and it’s *nearly* working. Problem is that only my first post shows up in the post listings; it doesn’t matter if I’m looking at date or category digging, I can only see that one post. I can see the proper categories; it’s just the posts that aren’t coming across.

    Take a look at http://www.reowire.com/archives and you’ll see what I mean.

    I’m guessing that maybe a permissions problem is to balme, but I’ve tried chmod-ing every combo I can think of that might work and nothing seems to help. Any ideas?

    Thanks in advance!

  • Gravatars

    Bharath,    

    where should i place the af-ela-style.css

  • Gravatars

    Bilal,    

    I can’t delete the teb-super-archive cache folder. :S
    Gives me a permission denied error…

  • Gravatars

    Arno,    

    Guys,

    I am all about helping you making this plugin working… But come on : CSS stuff is a template and I am not the admin of your host webserver… So head over to Google before asking silly questions…

  • Gravatars

    PJ,    

    Well, my question wasn’t CSS-related or web host related.

    In the meantime, I’ve successfully installed Super Archives. Works like a charm after a little permissions work.

    Yet I’m not having any luck with live archives. Heh.

    I’ll have a working copy of live archives up at http://www.reowire.com/archives-2/ in a minute for your viewing pleasure. Note in the source that the js calls are there, but the meta information is missing in the header. Can’t figure that out.

  • Gravatars

    Arno,    

    PJ,

    Seems like yet another weirdness with server GMT time and post date.

    Since 0.9.2, ELA will not show post that have a post_date_GMT in the future compare to the GMT time of the PHP server.

    I know it could be an issue if the PHP and the SQL servers GMT time are not exactly identical. But there is pretty much nothing I can do to avoid that : anyway, your post will probably show up in some hours as they did on my localhost (assuming the cache is rebuilt by a comment or a new post or an edition of some kind).

  • Gravatars

    PJ,    

    Fair enough, and I get that. Patience has never been my strong suit, so I’ll just have to wait. ;-)

    The other issue, though, is that I can’t get the category selector to pull up any posts? When I select archives ‘by category,’ I get the categories sniffed out, but no posts.

    I’ll keep the link active at /archives-2 in case you feel like looking at it. Thanks for your help.

  • Gravatars

    Bharath,    

    amo sorry but i am not sure if i have to use that af-ela-style.css… i am using k2theme and cant get live archives to work. thgt u might tell me whether i shd put it in wp-content folder r theme folder. thx

  • Gravatars

    Bilal,    

    Bharath, you can insert the af-ela-style.css in your main CSS file too. That’s what I have done.

  • Gravatars

    BoBB,    

    The CSS in af-ela-style.css needs to be added to your themes style.css

  • Gravatars

    Bilal,    

    Just wanted to say it again. This is a great plugin!
    Thanks for your work. :)

  • Gravatars

    Eberth,    

    :S problems!!!

    i get this msg when i try to access categories view: Could not open cache file ‘cat-.dat’

  • Gravatars

    Arno,    

    Elbeth,

    Get yourself 0.9.2 and rebuild the cache through the admin panel option page for ELA.

    And as a general comment, a lots of questions are answered already, just read… :)

  • Gravatars

    Eberth,    

    just did that and now it works well but i am getting this new error:

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT post_id FROM wp_post2cat WHERE category_id =

    WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near '' at line 3]
    SELECT post_id FROM wp_post2cat WHERE category_id =

  • Gravatars

    Eberth,    

    forget it it disappeared when reloading the page

    tnx :)

  • Gravatars

    Eberth,    

    ooh but now i do have a problem :(

    not all the categories are shown, and some are not well aligned:

    http://blog.eternalsight.net/archivos/

  • Gravatars

    Arno,    

    Eberth,

    Read the pink warning, top of this page

  • Gravatars

    Bharath,    

    thx for all your help guys.. i just updated my theme and the live archives is working straight away. so i think all these days its a problem in the theme. u can see it working in my blog. thx a lot all

  • Gravatars

    Bharath,    

    btw forgot to tell u how gr8 the plugin is.. good work. keep it up and thx

  • Gravatars

    Eberth,    

    Hi arno,

    i just repaired the db but the categories are still displaying with those spaces between them.

  • Gravatars

    Arno,    

    Eberth,

    I’ll put some more error handling code in there this weekend and release an update soon.

  • Gravatars

    Stefan,    

    Hello,

    call me stupid … but how can I activate the Script? I want to put it into a wp-”Page” but everytime I try it only the tag appears.

    S.

  • Gravatars

    Steven,    

    Why is there a space above and below the Chemistry category in my category archives? How can I get rif of it?

  • Gravatars

    Arno,    

    All,

    0.9.3 is out. This is merely an error handling release to work around the database corruption problem that results in warning and blank lines in the categories listing. So it should temporarely solve Steven and Eberth issues…

    Still : given the SQL call that generates the problem (a very simple SELECT of all elements in the categories table), I still believe this is related to SQL corruption.

    So now, back up your base and REPAIR it !!

    PS: anyone that do not have any blank lines issue with 0.9.2 could stick to it since there is no other change in the code.

    PPS: as always, clear your cache once 0.9.3 is installed !

  • Gravatars

    Bilal,    

    Thanks Arno for the heads up.

  • Gravatars

    Eberth,    

    tnx a lot! it worked perfectly :)

  • Gravatars

    The General,    

    Hey Arno,

    My FTP server has been mysteriously down for almost a week now, so I finally just copied over the old plugin files and cleared the cache (I know, I know, but I was frustrated).

    Anyhow, everything is working great now. Just wanted to thank you for all the hard work and perserverance. This is an awesome plugin!

  • Gravatars

    Walker,    

    Christ, if this isn’t the most cumbersome, difficult to setup Wordpress plugin in existence, I’d love to see the one that is.

  • Gravatars

    Arno,    

    Walker,

    Huh ???…

    Step 1: upload the file (I got to admit this is the first that requires this)

    Step 2: activate the plugin (I got to admit again this is the first that requires this)

    Step 3: put the PHP call in one of your template (I got to admit again this is the first that requires this)

    Step 4 – Optionnal: Copy/Paste the CSS template in your CSS file (I got to really admit here, that this is the one of the few plugins that might need this)

    Bottom line: write that you don’t like it, I’ll be fine with that ! And I even be happy to get any one of the critics/comments you want to raise. But saying the plugin is difficult to set up ??? I don’t get it… Care to explain so that I can improve it on this specific matter ?

  • Gravatars

    Walker,    

    It’s difficult to configure, as demonstrated by quite a few comments here, and that was my criticism (which you’re fine with – right?). By the way, I did upload the files correctly, I did activate the plugin, I did put the PHP call in my template, I did check the cache folder was created, but could I get it to display anything at all after sixty minutes playing with it and continually going over the same comments on this page? No I could not. I use seven other Wordpress plugins and even disabled them all for an hour (screwing up my site even more) in case they were screwing up your script. They weren’t. So forgive me, but I’ve moved on.

  • Gravatars

    Eberth,    

    Walker, it’s easy, i dont know why you’re saying it’s difficult, here, i just made this guide, hope it helps you to install it.

    http://eternalsight.net/guide/

  • Gravatars

    Arno,    

    Walker,

    Thanks for the feedback. Also I don’t know the specific of why nothing is showing up (I’ll be happy to have a look if you can provide a link), I got to agree that the parameter list is NOT the most convenient ever.
    This is actually one thing on my to do list: having all the settings pushed into the admin panel option page.
    Again, thanks for the feedback that I DO appreciate.

    Eberth,

    Nice guide indeed.

  • Gravatars

    Chad,    

    I’m using Michael’s K2 theme here. By my understanding, all I have to do is add ELA to my plugins folder and enable it, correct? The text explaining the plugin shows on my archives page, but the actual java doesn’t.

  • Gravatars

    Arno,    

    Chad,

    Your understanding is correct. Providing a link to your page could be useful for me to have a quick look :)

  • Gravatars

    Chad,    

    Thanks. Webpage is http://nielsenfarms.com

  • Gravatars

    Arno,    

    Chad,

    First thing first : your various pages look perfectly fine.

    But the following error is returned by the DOM listener of Geiko :
    Error: [Exception... "'Permission denied to call method XMLHttpRequest.open' when calling method: [nsIDOMEventListener::handleEvent]" nsresult: "0x8057001e (NS_ERROR_XPC_JS_THREW_STRING)" location: "" data: no]

    This has pretty much nothing to do with the plugin. I am told by folks way more into this than I am at the mofo that it has been reported to be a typical symptom of a cross-site attack, which, to be quite honest, I don’t fully understand.

    Still, let’s forget about technical stuff. This basically could be explained by the discripency in you site URLs : looking at the source of any page of your blog, your got a _http://nielsenfarms.com as a domain for some element (feeds and RPC at least) and _http://www.nielsenfarms.com in some others (CSS files).

    This makes the browser to refuse security credential to the Javascript and basically, this is bad. Until I sign the script (which is not among my action items) this will remain. So what you can do is check the URIs in the General Options of the admin panel. Those should be “complete” as in “beginning by http://”. I would also recommend having the same domain for both Blog and WordPress URI if you can.

    Let me know if it helps.

  • Gravatars

    Chad,    

    Well I’ll be darned. Sometimes the easiest thing is the one you miss. Adding the www took care of it. Thanks for helping out!

  • Gravatars

    Arno,    

    Chad,

    You’re very welcome. I am glad it solved the issue.

  • Gravatars

    Martin,    

    Hey, I love what you did with the plugin, it’s awesome! It took me a bit of tweaking before I got it working right but thanks.

    I do have a problem though (or maybe it’s a feature request?), is there a way to sort the categories by alphabetical order? It just seems a lot easier to find things that way, thanks and let me know!

  • Gravatars

    jack,    

    Is it possible to show the posts (listed by category) in alphabetical order? Searched this page for that option but got no results.

  • Gravatars

    jack,    

    Me again… just wanted to add to my previous comment (117) that it would also be nice if the categories themselves could be ordered alphabetically, together with the posts. You see, I’m not using the dates in front of the posts, because I always felt that that is not very relevant.

    Also I read this: “Support for Asides, meaning a way of exclude a specific category from being listed (and to exclude the corresponding posts from the chronological list)”.

    I’m using a hack (the_category_image) which gives me the opportunity to add an image next to a post if it corresponds to a certain category. This works better than the plugin with the same name. But these are ‘fake’ categories, and never the primary category. So I have a category named ‘animals’ which has a picture in it which can be enlarged. so I add the category ‘enlarge’ which will result in the placement of a small magnifying glass next to the post. I used wp_list_cats (exlude..) to NOT list those categories by name, but because the posts always also belong to another category they themselves will always be listed.

    Can this be done with your plugin? Or the next version?

  • Gravatars

    Arno,    

    Jack,

    Alphabetical order for Categories eand Posts have been added to the list of the 0.10’s features.

    I’ll look into this although I got to admit that I am not sure it would be really userfriendly as far as posts are concern. At least if the alphabetical order is a global thing affecting all the posts of all categories… May be a per category ordering would be useful here.

    Anyway I’ll look into this.

  • Gravatars

    jack,    

    I was thinking purely for myself: Personally I thinks that most of the archive pages (with hundreds of titles) I see on weblogs are pretty useless. If you never visited a certain weblog before you’re going to browse through the months or the categories. Wordpress already provides you with that opportunity by using wp_list_cats and then deviding the catpages in multiple pages. The only reason for me to use an archivepage is when I know a post had something to do with ‘cats’, so the category (if it exists) would probably be ‘animals’, but forgot the name. Then it’s nice to be able to browse through a page, quickly looking at all the poststitles. And in that case the choice for alphabetical ordering would be helpfull.

    Anyway, perhaps a choice would be great :)

    And I have to get rid of those four categories (groot, interactief, video and geluid), that you can see on my testpage: http://www.spoenk.nl/weblog/index-beta.php?page_id=417

    And one last thing: typing is extremely slow on this site, because of the ‘live’ copying below.

    Great plugin though!

  • Gravatars

    Arno,    

    Jack,

    Concerning the slow typing thingy, that’s quite odd since it is purely client-side javascript stuff. So get rid of your has-been browser or replace your 1992 486SX33 all together :)

  • Gravatars

    jack,    

    Oui oui :) . I’m postponing a new computer just a little bit (now a PII-450), but my browser is the state-of-the-art Firefox 1.0.5, so I’m not thát oldfashioned, am I? :)

  • Gravatars

    jack,    

    I was reinstalling the plugin in another place, but it’s impossible to delete those files. Keep getting an 550 error. Can’t chmod, can’t rename, can’t delete, can’t do anything with those files. Can you help me with this?
    I’ve tried with filezilla, dreamweaver, wsftp etc.

  • Gravatars

    Arno,    

    Jack,

    Again, I am all to help as much as possible when it comes to this plugin but FTP stuff related mainly to your host is something you want to Google, nothing more…

    BTW, state-of-the-art would be a nightly build of Deer Park or the alpha 2 version, or at least Firefox 1.0.6

  • Gravatars

    Bilal,    

    Just a suggestion. =]

    How about integrating Rate it! Plugin by Chris J Davis into Extended Live Archives? So it shows an icon beside the admin’s/author’s favorite posts.

    What do you think?

  • Gravatars

    e,    

    great plugin! thanks for all your hard work!

  • Gravatars

    cuetip,    

    First off, thanks for putting this together. I’ve been playing with it for a couple hours but still can’t get it to work… I’m having the same problem as Dr. ZaX which doesn’t bode well since he couldn’t figure out why it started working =).

    If you have a chance, can you take a look at http://cuetip.org/archive/ ? I would appreciate it very much. I tried with Safari 2.0 and Firefox, but neither shows anything, which is very very strange. Just for kicks I installed the original Super Archive and that worked fine, but now i’ve removed all traces of it.

  • Gravatars

    Daniel Spisak,    

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

    Currently anytime I enter a new post that post is not put into the ELA cache-files 2005-8.dat or proper category .dat files as best as I can tell. I am currently running WP 1.5.1.3 and using K2 alpha four theme(yes I know its alpha).

    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 00:50:02 2005] [error] PHP Warning: file_get_contents(../../../af-extended-live-archive/settings.dat): failed to open stream: No such file or directory in /home/nonmundane/docs/wordpress/wp-content/plugins/af-extended-live-archive/includes/af-ela.php on line 42

    I also have the Super Archive plugin installed and if I look at its 2005-8.dat file under the cache-files directory I see all my entries in that file. Why is the ELA not updating properly? I have tried deleting the cache-files as well as removing the plugin and reinstalling.

    If you could help I would greatly appriciate it very much. Thanks!

    -Dan S.

  • Gravatars

    Arno,    

    cuelip and Daniel Spisak,

    Very very busy week for me : I’ll try to have a look this week-end.

  • Gravatars

    cuetip,    

    Arno,

    I hope your week gets better. I actually figured out my problem; I needed to set the permissions for both the includes/ and the javascript files in that directory so that it was accessible to the web server. Thanks for the great plugin!

  • Gravatars

    Daniel Spisak,    

    Arno,

    Thanks for the response back. The problem isn’t critically urgent or anything I was just spending a lot of time last night trying to figure out what was the matter and not coming up with any good explanations so I figured I would ask the wonderful person who wrote the plugin I like so much! Anyways I will keep an eye out on my inbox to see if you come up with anything when you get the time. Thanks!

  • Gravatars

    Arno,    

    cuelip,

    Happy to read you figured it out.

    Dan,

    Looking at the .dat file and your archives page, it looks like you be experiencing some time stamp issue. Check your UTC offset, the UTC time of your server… Although I got to admit I don’t quite get what is wrong with this, you’re not the first one to have the issue. Still I thought 0.9.3 solved it.

  • Gravatars

    Daniel Spisak,    

    Looking at my archive today I just noticed that this problem seems to have fixed itself without me doing anything? As far as the UTC offset goes its set to GMT -7 at the moment. What does the time have to do with the plugin if I may ask?

  • Gravatars

    Arno,    

    Dan,

    One complain about Super Archive was that future posts were showing up (before behing actually published). ELA is trying (!) to correct the issue so that you can write a post that will only show up on, say, Friday.

  • Gravatars

    Mark,    

    Hello,

    With paramater “day_format=m/d/Y”, I found original archives by month works fine, but the archives by category does not. By category shows something like 12/31/1999 in date.

    Version 0.9.3

  • Gravatars

    Arno,    

    Mark,

    I’ll check that out as soon as I found sometime, which might not be so soon actually. Anyway, I’ll have a look.

  • Gravatars

    Ole Lindi,    

    Great plugin!
    Works like a charm – the first time. No glitches, just doing the job.
    Damn good!

  • Gravatars

    Phoenix,    

    Bonjour Arnaud,
    Hé bien tu aurais pu faire une petite documentation en français, car c’est hard… Je viens de connaître Wordpress, je ne maîtrise pas trop l’anglais et je dois dire qu’une doc en français aurait été la bienvenue….
    Bref… J’ai pu l’installer tout de même, par contre j’ai des soucis de style que je n’arrive pas à résoudre
    Voici ma page d’archives : http://www.phoenixgayblog.com/archives
    J’utilise Wordpress 1.5.1.3 avec le thème MX4
    Comme tu peux le voir les archives sont en bas de page :-’(
    De plus le menu indique “By month of posting” alors que le code dans la page archives indique bien celui de ta doc…
    Aurait tu la solution a ces deux soucis ?
    Merci
    En tout cas chapeau c’est clean j’adore ! Bonne continuation à toi !

  • Gravatars

    tinyau,    

    I have changed my web hosting and found the problem of most recently posted message cannot be shown is still existed in 0.9.3.

    Archives Page

  • Gravatars

    Bharath,    

    i too have same problem . the latest post takes more than 1 day to show up in ELA. but i am happy with the fact that its working atleast and is too good.

  • Gravatars

    Arno,    

    Guys,

    I am working on this recurring issue. Since the selection by past dates vs future ones is exactly the same as the one used in WP code to display or not a post in the index page, my best theory so far is that the process of building the cache file is a little to long on some host server to be negligeable versus time granularity.

    Worse case scenario, as it is right now, the last post will show up when the cache is rebuilt (ie when one posts a new entry, edits one, or one posts a comments to any entry or edits one). I’ll try to add some margin to include posts dated at CurrentTime+2/3 minutes in next release. That should help a bit I hope.

  • Gravatars

    Don,    

    I have no clue on how to call the functions. The only thing I did know was to upload the files into the wp-content/plugin/ directory.

    What should I do next? How do I create an Archives page?

    Sorry for the bother. I’m new at this and desperately need your help. All the talk above sounds so Greek to me. Can someone show me a step by step procedure?

    Thanks in advance!

  • Gravatars

    Arno,    

    Don,

    To create a page and fill it in with the plugin call, a go start would be the Codex. You’ll find all the tutorials needed to do just that. Then, either you are confident in creating a template for it (again Codex) and edit it (by hand or through thr WP admin panel) or you can just fill it in like a normal post (in that case, you’ll need a plugin called RunPHP).

    Hope it helps.

  • Gravatars

    Don,    

    I finally got it working!

    For newbies like me, here’s an easy guide:

    1. Download the plug-in
    2. Upload the necessary files to your /wp-content/plugins folder
    3. Go to http://www.redalt.com and download EzStatic. This simplifies everything. All you have to do is to check the box to run php scripts on any page. Upload this to your plugins folder and activate.
    4. Write a new page the normal way through the WP admin panel
    5. On the new page you just created, put these three lines:

    6. Edit your theme’s archives.php to reflect div id=”af-ela” and call the af_ela_super_archive() function.

    Save everything and you’re done.

    If I left out anything, please feel free to comment.

  • Gravatars

    Don,    

    Here it is again… I hope this works.

    <script type=”text/javascript” src=”/af-extended-live-archive.js”></script>
    <script type=”text/javascript” src=”/af-elaAddLoadEvents.js”></script>
    <?php af_ela_super_archive(); ?>

  • Gravatars

    Arno,    

    Actually, Don, the javascript lines are automatically included if your header.php file has a call to wp-header() (which is the case in Kubrick, K2, the classic theme and most of the theme out there…) and I would strongly suggest, if you need to put in the javascript lines because of a custom exotic theme, to refer to the files through absolute paths…

    PS: I took the liberty to remove the 2 middle tries in this already big page. No offense intended just wanted to clarify the flow.

  • Gravatars

    Don,    

    See, it’s even easier. I didn’t know that. Thanks again.

    Oh, I forgot to mention for the newbies like me:

    Copy the contents of the af-ela-style.css onto your theme stylesheet.

    That’s it.

  • Gravatars

    Viper007Bond,    

    Just a head’s up — this plugin requires at least PHP 4.3.0 since it uses “file_get_contents()”. Was driving me nuts why I couldn’t get it working on my local PHP install which is v4.3.2 (yes, yes, I know I need to upgrade).

    For once, I actually liked having PHP setup to create “errors.txt” files. :D

  • Gravatars

    Viper007Bond,    

    Also, any idea why the layout of my Extended Live Archive is all weird?

    http://www.viper007bond.com/archives/

  • Gravatars

    Arno,    

    Viper,

    The provided CSS template is made to fit a 510px wide column. Yours is probably wider than that. Just play with the width property of the af-ela-post, af-ela-month, af-ela-year and af-ela-category divs and you should be able to fix that.

  • Gravatars

    Eberth,    

    Hi again, my web hosting just moved my website to another server, i thought everything was fine, but now the new posts doesnt show on the extended live archives :S?

    any idea how can i solve this issue?

    blog: http://blog.eternalsight.net/
    archives: http://blog.eternalsight.net/archivos/

    tnx in advance

  • Gravatars

    Viper007Bond,    

    The provided CSS template is made to fit a 510px wide column. Yours is probably wider than that. Just play with the width property of the af-ela-post, af-ela-month, af-ela-year and af-ela-category divs and you should be able to fix that.

    What if say I were to not want it to be the width of my column? It’s already in a div, but divs further down the page move up next to it.

  • Gravatars

    Darrell Schulte,    

    Very nice work with extending the plugin. Will be looking out for the category exclusion option.

    Anyway, I had a need to not use a permalink and instead use a custom field — in this case, a field called, ‘url’. I changed the following lines below to grab the post meta information I needed and it worked great. This might be too specific (I might be the only one needing it), but perhaps a new parameter tag could be created so that if you pass a custom tag of this nature, it will go grab the url listed in the particular field. Again, probably too specific of a need but I thought I’d send the note along nonetheless.

    line 309 of the af-extended-live-archive.php plugin

    `//$posts[$year][$month][$post_result->ID] = array($post_result->day, $post_result->post_title, get_permalink($post_result->ID), $num_comments, $post_result->comment_status);`

    `$posts[$year][$month][$post_result->ID] = array($post_result->day, $post_result->post_title, get_post_meta($post_result->ID,’url’,TRUE), $num_comments, $post_result->comment_status);`

    line 385
    `//$posts_in_cat[$category[0]][$post_result->ID] = array($post_result->day, $post_result->post_title, get_permalink($post_result->ID), $num_comments, $post_result->comment_status);`

    `$posts_in_cat[$category[0]][$post_result->ID] = array($post_result->day, $post_result->post_title, get_post_meta($post_result->ID,’url’,TRUE), $num_comments, $post_result->comment_status);`

  • Gravatars

    Eberth,    

    hi, i reinstalled everything, and i’m having the same problem, i also changed the url…
    http://www.eternalsight.net
    archives: http://www.eternalsight.net/archivos

  • Gravatars

    Adio,    

    Okay ladies and gents, either i’m a moron or……. well probly just a moron.

    But it seems that this plugin is unfriendly to Linux Apache hosts. Because Apache sets permissions to 644 as oppossed to 777. When this plugin creates the CACHE files, they’re set as 644, thus giving you “the owner” no rightes to it. Because technically the PHP code is the owner. I am now stuck with several folders i cannot delete because I didn’t create them. The php did, i cannot change permissions, and the plugin does not work. It will not add any new posts to the archive because it can’t write to the cache files, because the permissions are at 644. So it’s pretty much useless unless you OWN your own dedicated server and are able to change permissions via remote.

    Since I do not know php that well, I haven’t been able to find the code that generates the cache files in the wp-content folder called af-extended-live-archive.

    Arno I don’t know if you could change this but, is there a way to make the php generate the cache files with higher permissions?

    Just a thought.

  • Gravatars

    Arno,    

    Adio,

    Arg… It should stuck a 777 already on the stuff it created. I developped it on a stock EasyPHP Apache/PHP combo and never had any issue, I’ll double-check this out.

    Elberth,

    The last-post-not-showing bug is a know issue I am working on expect some news about this soon.

    Darrell,

    I am intrigued. What is the final purpose of this hack ? Any chance you could provide a link to a live use of the code-change ?

  • Gravatars

    sened,    

    Arnaud, Je vais sûrement commencer à te courir sur le haricot, mais j’ai installé live archives, créé une page d’archive, mais je ne sais tout simplement pas quoi faire ensuite…

  • Gravatars

    sened,    

    tu peux effacer mon post précédent, j’ai trouvé. Merci pour live archive!!!

  • Gravatars

    Arno,    

    Very welcome :)

  • Gravatars

    Bharath,    

    hi amo as i told u before this plugin is working fine and the only problem i had is the latest post taking min 4 hrs to show up in live archives. today when i am checking the error logs of my blog i found this

    [error] PHP Warning: Cannot modify header information – headers already sent by (output started at /home/obk/public_html/blog/wp-content/plugins/af-extended-live-archive/includes/af-ela.php:43) in /home/obk/public_html/blog/wp-content/plugins/af-extended-live-archive/includes/af-ela.php on line 117
    [error] PHP Warning: file_get_contents(../../../af-extended-live-archive/settings.dat): failed to open stream: No such file or directory in /home/obk/public_html/blog/wp-content/plugins/af-extended-live-archive/includes/af-ela.php on line 43

    this error comes when ever i tried to clear the cache.
    donno wat that error is. do u have any idea

  • Gravatars

    sened,    

    Re arnaud,

    Alors, j’ai essayé de vider le cache file dans le tableau d’option, il m’a d’abord dis que:

    Cache file is not writable by the server (ou quelque chose dans le genre).

    et depuis, Live archive ne veut plus rien entendre. il me dis juste:

    Could not open cache file ‘2005.dat’

    Que se passe-t-il? Arrgh! Au secours! Que va devenir mon blog sans l’innénarable plugin?

  • Gravatars

    sened,    

    Et voilà, encore une fois, j’ai posté trop vite… Tout est rentré dans l’ordre… Tout seul, sans que je n’ai à lever le petit doigt… Désolé pour “the disturbance”.

    P.S.: Je n’ai pas pu m’empêcher de remarquer que tu utilisais une traduction de “time since” sur SOS. J’ai essayé de faire la même chose, mais je me retrouves avec “moiss” dés qu’il y en a plusieurs. Et je n’ai pas la logique mathématique nécessaire ni les talents de programmeur qui me permettront de coutourner l’ajout de s pour les mois… Une suggestion?

  • Gravatars

    Usayd,    

    hey
    great plugin, thanks alot. I was wondering if you were thinking of making a table availaible which shows specific authors posts?
    Sorry if i missed that already.

    thanks

    usayd

  • Gravatars

    Darrell Schulte,    

    Arno, hopefully you got my email about that custom hack (email directly if you haven’t). I have issue that cropped up today.

    Could not open cache file ‘2006.dat’

    I’m using the EventCalendar3 plugin to pre-date some events. Things seemed to be cruising along nicely with the ELA until I hit 2006.

    2006.dat just isn’t showing up in the cache-files. I’ve cleared the cache from Options > ELA — no luck. Did a new post, no luck.

    The current years.dat file contents:
    a:5:{i:2006;a:1:{i:0;s:1:”0″;}i:2005;a:1:{i:0;s:2:”40″;}i:2004; \ a:1:{i:0;s:2:”14″;}i:2003;a:1:{i:0;s:2:”50″;}i:2002;a:1:{i:0;s:2:”34″;}}

    The ELA, as I don’t recall, didn’t have an issue with any of the 2005 future dates, but now its got an issue with something. Could it be that it doesn’t like a date > 2006 ?

    If you can offer any ideas, I’d greatly appreciate it.

  • Gravatars

    Arno,    

    Hell ! For what I see, the problem is that 2006.dat would have been empty (no post to be show there) so it was not created at all instead of being created empty.

    I am off this weekend. But I’ll try to wrap up something to correct this next week. And if you all are nice enough, I may even be ready to throw a very early 0.10 alpha with some of the new features I have been playing with…

    BTW,
    Darrel : I got your email and it seems quite feasible.
    Usayd : nice idea. will see what I can do.
    Sened : je t’envoie ca par email dès que je peux mettre la main dessus (ce qui risque de devoir attendre lundi ou mardi)

  • Gravatars

    Viper007Bond,    

    The provided CSS template is made to fit a 510px wide column. Yours is probably wider than that. Just play with the width property of the af-ela-post, af-ela-month, af-ela-year and af-ela-category divs and you should be able to fix that.

    Are you sure you just aren’t missing a “</div>” somewhere?

    It shouldn’t be doing that.

  • Gravatars

    Arno,    

    Viper,

    No Div missing afaik. But Firefox reflow bug may be one reason of this weird behavior.

  • Gravatars

    Viper007Bond,    

    Well, I believe it was doing it in IE as well.

    It is really weird. I mean, I even put the whole function call inside a div and it still didn’t work. :|

  • Gravatars

    Drew Dionisio,    

    Hi.. this live archive is awesome. Just one problem, if you guys can help me. It works great woth Mozilla Firefox/Netscape Navigator browsers but it wont show in Internet Explorer. Was there something missing when I inserted the code from Don’s instructions. I used ezStatic like how he directed newbies. Thanks!

  • Gravatars

    Bilal,    

    Works perfectly fine in IE here.

  • Gravatars

    Viper007Bond,    

    Weird. Oh well, I went back to my old archive method and I guess I’ll just stick to that.

  • Gravatars

    Paul Stamatiou,    

    I have extended live archives installed and working on my site. However, recently I noticed that the most recent post is not being shown in the live archives. I can keep posting stuff, but it is always the last post that is not shown on the live archives.

    Thanks for any help.

    You can see my dilemma here: http://www.paulstamatiou.com

  • Gravatars

    fallen,    

    HI! it’s very cool!! but way I can’t see it in IE?
    firefox is ok!

  • Gravatars

    Paul Stamatiou,    

    Nevermind… it seems to have fixed it self after a reboot

  • Gravatars

    Steve,    

    I just noticed that my latest post isn’t showing up in my archives. I tried clearing the cache to no avail…

  • Gravatars

    Arno,    

    Steve and Paul,

    This is a known issue on which I am working.

  • Gravatars

    Bilal,    

    Arno,
    How about implementing Rate it! Plugin into Extended Live Archives? So it shows an icon beside your favorite posts. What do you think?

  • Gravatars

    Don,    

    I just noticed that since I upgraded to the latest WP edition, the extended live archives will not show unless someone reading my blog is logged on. Please help. Thank you.

  • Gravatars

    Don,    

    To log on, please use this temporary username and password: guest

  • Gravatars

    Arno,    

    Hi all,

    Just to let anyone having issues with 0.9.3 know that 0.9.4 is out.

    First : if 0.9.3 is doing what you want, don’t bother with this release.

    Second : I’d be very happy to get any feedback from people who had issues with the latest post not showing up. I try to match the way WP code is determining which post is in the future in this release, but being unable to reproduce this bug I am kind of working blind here.

    Last : I pushed in 2 others bug-fixes in this one. See the changelog above.

  • Gravatars

    Julius,    

    Extended live archive wouldn’t work with permissions set to either 755 or 775. I tried setting them to 777 and everything works just fine now. What’s with this? I mind a little bit that there is a folder writable to just about anyone on my server…

  • Gravatars

    Julius,    

    Update: Changing permissions afterwards to 775 works just as well.

  • Gravatars

    Arno,    

    I thought I’d throw a little update on 0.10.

    So the indication of data being fetch is basically done. As is the admin panel which will replace the ugly nasty parameters that one had to pass to the function call.

    Support for Asides is almost there. There is still some stuff that need more work (like what to do witrh a post that is in both the Asides category and another one) but the global framework is there.

    I have playing with a bunch of potential options as well. Chronological vs alphabethical order for posts in categories, or for categories themself, or retrieving the most-commented vs latest posts when limiting the number of posts per categories. But, gash, this is some funky shit to put together.

    And I still need to look into some more specific and may-be less commonly requested features here and there.

    In the meantime, if anyone have the big idea for a feature, the one I am shamelessly forgetting here, throw your 2 cents in…

  • Gravatars

    BoBB,    

    What about the option to exclude certain categories from the category listing. As I recall the code I threw together was very easy but it didn’t seem possible to do with the way it stored the settings in the javascript file that got deleted and recached everytime it refreshed the listing making it impossible for the function that actually did the queries to know which category to exclude. I remember you mentioning something about switching all the settings over to store in wp_options, if that has been done then it should be no problem to implement. Feel free to email me if you need any more info

  • Gravatars

    diego,    

    Hi,

    I’ve installed this excellent plugin, but I’ve a kind of bug.

    If I create a post, I see it at the moment with no problems at the month tab, but It doesen’t appear at the category tab.

    I’m making different tests, and it appears to be something about sub-categories.

    I call the function by this way:

    %
    &comment_text=%
    ‘);
    ?>

    Where could be the problem?

  • Gravatars

    diego,    

    ups… an error of coding here :)

    Hi,

    I’ve installed this excellent plugin, but I’ve a kind of bug.

    If I create a post, I see it at the moment with no problems at the month tab, but It doesen’t appear at the category tab.

    I’m making different tests, and it appears to be something about sub-categories.

    af_ela_super_archive(‘
    menu_month=’.urlencode(‘Por fecha’).’
    &menu_cat=’.urlencode(‘Por categoría’).’
    &num_entries=1
    &num_comments=1
    &number_text=%
    &comment_text=%
    ‘);

  • Gravatars

    Arno,    

    Diego,

    Any chance you have a link to the problematic page for me ?

  • Gravatars

    diego,    

    of course,

    http://www.esade-campus.com/e-joventut/weblog/?page_id=7

    i am testing all before publish it, so don’t worry about the awful names :D

  • Gravatars

    madha77er,    

    Out of curiosity what plugins are you using for your comments section? i.e. avatar, box around comment and the comment # to the far right?

    Thanks

  • Gravatars

    Arno,    

    madha77er,

    Just the regular gravatar pluging, some homebrew php for the number and my theme is doing the rest

  • Gravatars

    Darrell Schulte,    

    Arno,

    The issue from my comment at Comment #164 has gone away and the archive is working just fine with future posts.

    Thanks for the update.

    Darrell

  • Gravatars

    Arno,    

    I am glad to read that.

  • Gravatars

    diego,    

    I’m astonished… without doing nothing now works fine!!

    It could be something about the caché?

  • Gravatars

    Arno,    

    That’s the wonder of Wordpress and ELA :)

    That said, I just wanted to wrap up a quick update on 0.10.

    1) The indication of data being fetched is done.

    2) The admin panel, after a complete do-over from scratch this week end is way faster than the earlier implementation I made of it.

    3) Support for Asides is pretty much done as well.

    So this could very well mean an alpha release soon (by the end of this week I hope) to some nice hand-picked guinea-pigs-testers.

  • Gravatars

    don,    

    Whatever you did on the updated release answered all my troubles in installing.

    Thanks again. ;)

  • Gravatars

    Arno,    

    Glad to read that :)

  • Gravatars

    don,    

    okay… i spoke too soon…

    it appeared for a few minutes… and now it’s gone.

    i didn’t do anything and yet it’s gone. ughhh! HELP please!!!

  • Gravatars

    Michael Heilemann,    

    Could you “get in touch”:http://binarybonsai.com/colophon/#contact with me? I’ve got a weird error with double categories showing up.

  • Gravatars

    Arno,    

    Don,

    Except for some weirdness in the layout, the Live Archive part seems to be working for I can see. If not, let me know.

    Michael,

    Done…

  • Gravatars

    betchay,    

    just wanna ask… will this run in safe mode?

  • Gravatars

    Arno,    

    Well betchay, I am working on this but I can’t really garanty it since safe mode config is one thing that differs with every webhosts I encounter.

  • Gravatars

    Arno,    

    All,

    Just wanted to let you know 0.10beta1 is out. There are, I am sure, some bugs in there so please, if you are unsure of what you are doing : don’t use it. Also, some features are stillmissing : I know that so please only reports bugs within the current package code on the support forum.

  • Gravatars

    Rob,    

    Wow, this is the best implementation of the super archives plugin I’ve seen. Even me — a dangerous newbie — can install it and get it working!

    One question. I’ve got a couple other archive plugins active on my archives page (weighted words, weighted categories), and when I include the Extended Live Archives, I get some funny text justifying. Is there a preferred method of anchoring sections apart from each other? Does that make sense?

  • Gravatars

    Arno,    

    Rob,

    To be honest I have no clue but please : support forum