Fork me on GitHub

Friday, April 11, 2008

Blog / General / News / ‘PathInfo’ URLs in rev140

‘PathInfo’ URLs in rev140

just to let you know, less-ugly-urls[ยน] (no mod_rewrite) are now available in SVN rev140 by setting the PRETTYURLS_PATHINFO constant in plugin.prettyurls.php to true; then your urls will look like

http://example.com/flatpress/index.php/2008/04/11/my-site/

files that changed are two:

you should be able to test them with alpha3 (I can’t assure it will work older alphas, and they probably won’t work with even older versions)

[ยน] well, really I don’t think that standard URLs are ugly anymore, with the new “?x=…” syntax :)

Sunday, April 6, 2008

Blog / General / News / Announcements / ‘Let’s party like it’s Christmas time’, or ‘Alpha 3 out’

‘Let’s party like it’s Christmas time’, or ‘Alpha 3 out’

…which is really a beta, I’d say, because if you don’t find any other bugs there are chances this will become final

Get it here

For people using SVN, this is just rev138.

Changelog

fix: when using file_exists on a directory
fix: double quotes in subject field for entries
fix: erroneous 404s
fix: the infamous ”session bug” 
fix: forgot stripslashes 
add: made login session-less

And this even though I’m busy.

Please, DO NOT USE the contact form for SUPPORT REQUESTS, or SHAME ON YOU.

Register at the forums! If you register you’ll get all the benefits of talking to a not-already-annoyed-because-bugged-via-mail developer! :D

Saturday, March 29, 2008

Blog / General / News / Antispam and ’session’ bugs hopefully gone

Antispam and ’session’ bugs hopefully gone

Commit 135 should finally fix this really annoying issue

from the commit message:

the infamous “session bug” with antispam should be in fact a bug with prettyurls;

some themes might refer their images (or, generally speaking, their resources) via relative paths, which are translated into wrong urls when prettyurls are enabled;

e.g.:

 <img src=”my-img.png” alt=”image” /> 

should refer to an image in your blog root, for instance http://example.com/flatpress/my-img.png

but when you’re on a comment, with prettyurls, URL will be:

http://example.com/flatpress/2008/03/29/this-is-a-post/comments/

and therefore the relative path would be translated into

http://example.com/flatpress/2008/03/29/this-is-a-post/comments/my-img.png

now, this was previously ignored by the plugin, which would have served instead the page at

http://example.com/flatpress/2008/03/29/this-is-a-post/comments/

so, your entry comment page

this led to secondary requests to the same comment page, which made the plugin regenerate the question!

the bug looked random because when those request came BEFORE the main page had been rendered the question stored in session would have been still correct; otherwise, if those came AFTER, the correct question would have been overwritten, and therefore the result would have been reported as wrong even though at a first glance it was not;

of course, computes are never liars, it was really comparing the answer to the wrong question, which had been already overwritten!

now prettyurls correctly 404s when you point to a resource with a wrong path: update your themes if they are suffering from this bug (hey, really, you did not wondered why some images were not displayed sometimes??) :)

now people are still reporting some issues with passwords, strange, the wp_hash should be ok now.

bye

Tuesday, March 25, 2008

Blog / General / News / Announcements / Alpha2 Out

Alpha2 Out

Image does not exist: images/lolcats.jpg

Should fix most of the issues in alpha1, adding new cool features

  • prettier URLs (thanks David for bugging me :)) without plugin (PrettyURLs adds mod_rewrite based as always; I’ll work on pathinfo, just not now)
  • print.css stylesheet (thanks laborix for *again* bugging me, and thanks for your contribution)
  • some graphic glitches with browsers (thanks again to laborix for testing)
  • php-session independent forms (almost all), should fix those “smartyvalidate” warnings you used to see
  • favicon plugin bundled
  • comment lock bug

many other fixes…

remember you can find live stats at this address.

FYI this is SVN revision 131

Updating

Updating from Alpha-1 will require you to do your usual backup ;) overwrite the old files with new, then go to the Maintainance panel and clear your template cache; otherwise you might get all kinds of warnings all around ;)

Upgrading

Upgrading from a 0.70x version requires the usual work of copy&restore (just for your safety) and reinstall (mandatory). See the old post

Downloading

Download it from here

Reporting bugs, asking for support, annoying the developer

For all of this, please, USE THE FORUMS!

DO NOT contact me via contact form, DO NOT report bugs via comments, it makes it harder for me to track everything down

kthxbye

I love this thing! I want to give away all of my money to you!

You can use the tiny buttons all around this pages

My cute sister feels the spring and has fallen in love with you, can I donate her?

First, pics.

Saturday, March 8, 2008

Blog / General / News / Forum under heavy load

Forum under heavy load

Looks like either the forum is under a heavy load or my (cheap, yes that’s why I ask to donate ;)) host is under heavy load, but I’ve found a bit difficult accessing the forum in the last few minutes.

Now, see why I like FlatPress? :D