b2 [project page / test blog] [login] [register]

[ This is a test blog, with posts about the development of b2, and comments ]

[ Bugs/suggestions ? Check the Forums ! ]


For the upcoming 0.5.2 and CaféLog: added the possibility to display only some categories on your page, or to display all but some of them.

How it works: first line of your blog template, you would add this line: <?php $cat="1and3" ?> to display only categories #1 and #3, or $cat="not2" to display all posts but category #2, or $cat="not2and4" to exclude #2 and #4. Or you can also make that into the querystring, with ?cat=not2and4.
Syntax: put 'and' between two numbers to associate them, and/or 'not' in front of all the string to exclude them.

michel v @ 18:18:49 138
4 comments, no trackback, no pingback


:: comments


Ricardo - email - url
This is excellent! To accomplish this I had modified the motor line and them some things started acting funny on me =)
This way I can have for instance, the index page with all categories except the guestbook and photo album on Ana's site without messing with sql queries =)
07.12.01 @ 19:21:40 181


Terminator - email - url
Thanks !!!
09.12.01 @ 12:23:25 891


ian - email - url
i recommend you do the separation thing with commas. programmer's manual.
10.12.01 @ 13:47:44 949


michel v - email - url
commas are not going to work well in an url.
10.12.01 @ 14:59:17 999


:: leave a comment





your comment

Auto-BR (line-breaks become <br> tags)


[powered by b2.]

march 2004
january 2004
december 2003
november 2003
october 2003
july 2003
june 2003
may 2003
march 2003
november 2002
october 2002
september 2002
august 2002
july 2002
june 2002
may 2002
april 2002
march 2002
february 2002
january 2002
december 2001
november 2001
october 2001
september 2001
august 2001
july 2001
june 2001

What is b2 ?
A classy news/weblog tool (aka logware).

How does it work ?
You type something and hit "blog this" and in the next second it's on your page(s). You can write extended entries, or even entries that span multiple pages. You can also use BloggerAPI clients to post to your b2 weblog.
What's original in b2 ? Pages are generated dynamically from the MySQL database, so no clumsy 'rebuilding' is involved. It also means faster search/display capabilities, and the ability to serve your news in different 'templates' without any hassle.

Requirements ?
A server that can run PHP4, and a MySQL database (you can install b2 in an already existing database, and you can put several b2's in one database).

Where can I download it ?
b2 0.6 is the latest public release.
You can also visit the CVS server for the latest code, at your own risks.
See the ReadMe file for requirements and installation instructions.

Contact info ?
E-mail: m@tidakada.com
Forums: over there. :)

Post categories:



They are powered by b2:

e-mail me when you install b2 on your site, include your URL to be linked here.


Recently updated b2 weblogs:

To be included in that list whenever you post to your weblog, please use b2 v0.6 or later, and then e-mail update@tidakada.com with: your site's name, URL, e-mail, and a password. You will then receive an e-mail with an ID string that you'll have to paste in your b2config.php file. And then you'll be linked there :)


<< # [powered by b2] ? >>


If you like b2, please rate it at HotScripts.com