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 !
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…
Michael Heilemann, Il y a 2 ans, 10 moiss
I’m loving it! :D
Chris, Il y a 2 ans, 10 moiss
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. :)
The General, Il y a 2 ans, 10 moiss
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!
Brendan, Il y a 2 ans, 10 moiss
This is very very cool.
Have implemented and must say being able to access categories as well as months really kicks ass.
Nicely done!
The General, Il y a 2 ans, 10 moiss
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.
CarLBanks, Il y a 2 ans, 10 moiss
The only thing I prefer about Live Archives is the look of it. Could you somehow incorporate the look of Live Archives into this?
BoBB, Il y a 2 ans, 10 moiss
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
Arno, Il y a 2 ans, 10 moiss
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.
CarLBanks, Il y a 2 ans, 10 moiss
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.
CarLBanks, Il y a 2 ans, 10 moiss
My mistake, it is based on the CSS.
Tom, Il y a 2 ans, 10 moiss
In the words of paris hilton, “thats hot”.
Arno, Il y a 2 ans, 10 moiss
So second try : 0.9-beta is out. See above for the changelog.
Comments, critics, recommandations and bug report are more than welcome.
Chris, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
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 ?
Chris, Il y a 2 ans, 10 moiss
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. :)
Arno, Il y a 2 ans, 10 moiss
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 ?
Chris, Il y a 2 ans, 10 moiss
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.
Arno, Il y a 2 ans, 10 moiss
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.
The General, Il y a 2 ans, 10 moiss
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!
kusaeni, Il y a 2 ans, 10 moiss
nice , I loving it ….
claus, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
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 ?
CarLBanks, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
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
dumb as snot, Il y a 2 ans, 10 moiss
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?
Bobly, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
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.
Kyle, Il y a 2 ans, 10 moiss
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!
The General, Il y a 2 ans, 10 moiss
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!
The General, Il y a 2 ans, 10 moiss
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.
amory, Il y a 2 ans, 10 moiss
how would I go about limiting the ouput to posts from a single category only?
Arno, Il y a 2 ans, 10 moiss
The General,
Good catch : it’s been corrected and will make it in the next release.
Armory,
the option is on my todo list.
Viitoria, Il y a 2 ans, 10 moiss
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.
Viitoria, Il y a 2 ans, 10 moiss
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>.
Arno, Il y a 2 ans, 10 moiss
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.
Viitoria, Il y a 2 ans, 10 moiss
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?
Jeffly, Il y a 2 ans, 10 moiss
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.
Ox, Il y a 2 ans, 10 moiss
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.
Arno, Il y a 2 ans, 10 moiss
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,
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é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…
Viitoria, Il y a 2 ans, 10 moiss
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?
Claus, Il y a 2 ans, 10 moiss
(I’d replied before but obviously this got lost)
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?
Michael Heilemann, Il y a 2 ans, 10 moiss
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.
Arno, Il y a 2 ans, 10 moiss
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.
Jeffly, Il y a 2 ans, 10 moiss
Arno,
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 no2005.datfile. 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.Arno, Il y a 2 ans, 10 moiss
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 ?
Milton, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
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…
Claus, Il y a 2 ans, 10 moiss
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
Bharath, Il y a 2 ans, 10 moiss
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
BoBB, Il y a 2 ans, 10 moiss
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?
Eberth, Il y a 2 ans, 10 moiss
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?
BoBB, Il y a 2 ans, 10 moiss
if you add the following css to your style it will remove the dots …
#af-ela ul li {
list-style-type: none;
}
Eberth, Il y a 2 ans, 10 moiss
: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 :)
Arno, Il y a 2 ans, 10 moiss
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.
Eberth, Il y a 2 ans, 10 moiss
Tnx a lot :) worked perfectly :)
:)
Arno, Il y a 2 ans, 10 moiss
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.
Bharath, Il y a 2 ans, 10 moiss
thx Amo and BoBB. i will wait untill K2 final version is released and then see how it goes. thx for ur replies.
BoBB, Il y a 2 ans, 10 moiss
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.
Arno, Il y a 2 ans, 10 moiss
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.
BoBB, Il y a 2 ans, 10 moiss
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.
Dr. ZAx, Il y a 2 ans, 10 moiss
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.
Arno, Il y a 2 ans, 10 moiss
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.
The General, Il y a 2 ans, 10 moiss
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!
Chris Velazco, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
that’s just a CSS issue. Add :
padding: 0;in your CSS under #af-ela.
Will be pushed in the next release.
The General, Il y a 2 ans, 10 moiss
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?
Arno, Il y a 2 ans, 10 moiss
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.
tinyau, Il y a 2 ans, 10 moiss
I found that the most recently posted message cannot be counted in both “By month” and “By category”.
Dr. ZAx, Il y a 2 ans, 10 moiss
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.
Arno, Il y a 2 ans, 10 moiss
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 :)
Bilal, Il y a 2 ans, 9 moiss
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…
Arno, Il y a 2 ans, 9 moiss
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.
Arno, Il y a 2 ans, 9 moiss
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.
Dr. ZAx, Il y a 2 ans, 9 moiss
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.
Tony, Il y a 2 ans, 9 moiss
Can someone please post there function call because mine is not passing any parameters.
Arno, Il y a 2 ans, 9 moiss
Tony,
Example at comment #54 and comment #39
tinyau, Il y a 2 ans, 9 moiss
The problem of most recent post not shown is fixed now, thanks.
PJ, Il y a 2 ans, 9 moiss
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!
Bharath, Il y a 2 ans, 9 moiss
where should i place the af-ela-style.css
Bilal, Il y a 2 ans, 9 moiss
I can’t delete the teb-super-archive cache folder. :S
Gives me a permission denied error…
Arno, Il y a 2 ans, 9 moiss
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…
PJ, Il y a 2 ans, 9 moiss
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 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.
Arno, Il y a 2 ans, 9 moiss
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).
PJ, Il y a 2 ans, 9 moiss
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.
Bharath, Il y a 2 ans, 9 moiss
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
Bilal, Il y a 2 ans, 9 moiss
Bharath, you can insert the af-ela-style.css in your main CSS file too. That’s what I have done.
BoBB, Il y a 2 ans, 9 moiss
The CSS in af-ela-style.css needs to be added to your themes style.css
Bilal, Il y a 2 ans, 9 moiss
Just wanted to say it again. This is a great plugin!
Thanks for your work. :)
Eberth, Il y a 2 ans, 9 moiss
:S problems!!!
i get this msg when i try to access categories view: Could not open cache file ‘cat-.dat’
Arno, Il y a 2 ans, 9 moiss
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… :)
Eberth, Il y a 2 ans, 9 moiss
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 =
Eberth, Il y a 2 ans, 9 moiss
forget it it disappeared when reloading the page
tnx :)
Eberth, Il y a 2 ans, 9 moiss
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/