Fork me on GitHub

Tuesday, May 29, 2007

Blog / NoWhereMan’s guide to upgrade

NoWhereMan’s guide to upgrade

This is how I updated my personal blog (www.nowhereland.it - ita)[1].

My blog is located under the blog/ directory.

First of all (optional) I’ve put an index.html under blog/. This index.html looked like this page which is saying “the site is being updated, please stand by, blah blah” :P also I’ve renamed index.php to index.php- so that it was temporarily disabled

Then I’ve created a blog_2 directory where I’ve uploaded the fp package.

I finally moved my /blog/fp-content/ to blog_2/fp-content/ [1]

Now you can already test if the installation under blog_2/ works, just browse to http://mysite/blog_2/

Some content may look weird: your entries may be ordered from older to newer: this is because the caching method changed from 0.612 to 0.703 (and this is why I suggest you (1)to upgrade, and (2)to upgrade using this method :)): just empty your fp-content/cache/

If you have still issues (but you shouldn’t) use the maintenance tab in your control panel or re-install

Finally, rename blog/ to blog_old/, blogxxx/ or something

rename blog_2/ to blog/

You’re done :)

Now if you encounter any big issue, repeat the procedure in reverse (always empty the cache) and you’re back to your old fp installation

And don’t forget to report your bug!

Enjoy :)


[1] Please notice that this may not work the same in our next releases.

Tuesday, May 29, 2007

Blog / Kubrick fixed

Kubrick fixed

There’s something sexy about WP’s Kubrick theme you can’t say.

People love it, that’s why the new leggero theme looks a bit like it (simple but nice).

By the way people still *wants* the original kubrick, so they get to fpthemes and install it.

Kubrick has been suffering from a little encoding-related bug, which could have broken validation. If you customized your CSS you can drop-in the update from fpthemes, keeping your old res/* and imgs/*; the file that changed is actually just index.tpl, so that’s what you should actually replace.

It broke validation. You may not mind about that, but if you wondered why in firefox there was a small question mark next to you “add a comment” link, well that was the reason :)

I’d suggest you to update.

bye

Monday, May 28, 2007

Blog / Bug in bbcode

Bug in bbcode

There is a bug in how urls are handled by bbcode plugin in our last beta.

get a patched version here:
http://www.nowherela … lugin.bbcode.php.txt

remove the .txt extension and overwrite the file you have in fp-plugins/bbcode/

I’ve already fixed it on my pc, a release candidate will be out soon… I’m so busy with my exams, d’oh :/

bye!

Saturday, May 19, 2007

Blog / RSS Bug

RSS Bug

RSS support in beta (and probably in alpha) is broken

paste this code in your fp-interface/sharedtpls/rss.tpl as a quick workaround :)

<?xml version=”1.0” encoding=”{$flatpress.CHARSET}” ?>
<rss version=”2.0” xmlns:content=”http://purl.org/rss/1.0/modules/content/”>
	<channel>
		<title>{$flatpress.TITLE}</title>
		<link>{$flatpress.WWW}</link>
		<description><![CDATA[{$flatpress.SUBTITLE}]]></description>
		<copyright>Copyright 2006, {$flatpress.AUTHOR}</copyright>
		<managingEditor>{$flatpress.EMAIL}</managingEditor>
		<language>{$flatpress.LANG}</language>
		<generator>FlatPress</generator>
		{entry_block}
			{entry}
			<item>

			<title>{$subject}</title>
			<link>{$smarty.const.BLOG_BASEURL}{$id|link:post_link}</link>
			<description><![CDATA[{$content|tag:the_content}]]></description>
			{if ($categories)} <category>{$categories|@filed} </category>{/if}
			<guid isPermaLink=”true”>{$smarty.const.BLOG_BASEURL}{$id|link:post_link}</guid>
			<author>{$flatpress.AUTHOR} {$flatpress.EMAIL}</author>
			<pubDate>{$date|date_format:”%a, %d %b %Y %H:%M:%S %z”}</pubDate>
			<comments>{$smarty.const.BLOG_BASEURL}{$id|link:comments_link}</comments>

			</item>
			{/entry}

		{/entry_block}

	</channel>
</rss>

Thanks to Tonicwater for noticing this :)

Thursday, May 17, 2007

Blog / FlatPress 0.703 (Crescendo) beta1

FlatPress 0.703 (Crescendo) beta1

So, after a long long awaiting, looks like it’s time for it to come, it’s not final, so I expect some bugs to be there (actually I’ve just found a stupid one and quick-fixed already, it will be patched better in the next package). Just tell me and I’ll fix them.

Still not on sourceforge for now

flatpress-0.703-crescendo-beta.tar.bz2

Cimangi sent me a good bunch of fixes, and even a date localization patch, but unfortunately it worked only under certain circumstances (in fact, a windows server); also the |date_format modifier is needed in English for the rss module, so the whole thing need some rethinking;
don’t worry it’s on the todo (maybe not very-very sooon, as it is harder than you may think ;))

CHANGELOG
Crescendo beta1
added: 		some entry/cache hooks
added:		many plugin translations thanx to cimangi (http://luielei.altervista.org/)
added:		panel notifications for plugins
added:		new theme, new icons (updated old admin css)
added:		comment cookie, if jsutils is enabled
fixed:		lightbox updated and fixed
fixed:		removed quote escaping in entries (removed and added fix for old versions)
fixed:		directory deletion under php5 (thx cimangi)
fixed:		entry_delete did not remove visit counter (cimangi)  
fixed:		session retaining in control panel under certain conditions (smartyvalidate)
changed:	some behaviours in cache; need some rework as introduced a little bug… d’oh! 

bye!