From 298b53cc1e7cfbe9325a1de59aa34b1fda334581 Mon Sep 17 00:00:00 2001
From: saxmatt In wp-comments.php, like in the main template file, please keep the first PHP lines, the "while" lines, and the "}" lines. You can modify the form, but do not remove "<?php echo ... ?>" and all the name="..." attributes. To include the calendar: <?php include("b2calendar.php") ?> WordPress relies a lot on the query string, these variables passed with the URL (note: to pass variables in the querystring, preceed the first variable name with a '?' question mark and every other variables with a '&' sign.) Most of the time you won't have to do anything about it, but if you want to know how it works, it's here:Upgrading from b2 v0.6.1 to WordPress v0.7:
@@ -85,7 +85,7 @@
Templates:
First notes:
-
-
It outputs info about your weblog.
-
+
(default string is 'name')
<?php the_author_msn() ?> - the author's MSN Messenger handle.
<?php the_author_posts() ?> - the author's post count.
-<?php the_author_login() ?> - the author's login name in b2. If you want some static data about the author, this is what you're searching for. You can, for example, associate a picture with an author, like this: <img src="pictures/<?php the_author_login() ?>.jpg" border="0">
-<?php the_author_ID() ?> - the author's ID number in b2. This number is automatically set when the user registers: to see the ID of an user, go to the Team page. This is static data too, so you can use it like the_author_login() in associating stuff with authors.
+<?php the_author_login() ?> - the author's login name in WordPress. If you want some static data about the author, this is what you're searching for. You can, for example, associate a picture with an author, like this: <img src="pictures/<?php the_author_login() ?>.jpg" border="0">
+<?php the_author_ID() ?> - the author's ID number in WordPress. This number is automatically set when the user registers: to see the ID of an user, go to the Team page. This is static data too, so you can use it like the_author_login() in associating stuff with authors.
Tags for permalinks are:
@@ -512,8 +512,8 @@ typically, under the post itself. don't worry, the comments only appear if the p
<?php trackback_url() ?>
-This tag is out of the b2 TrackBacks loop.
-It will output the URL to TrackBack the post, that other people can copy and use in b2's posting interface to trackback this post.
+This tag is out of the WordPress TrackBacks loop.
+It will output the URL to TrackBack the post, that other people can copy and use in WordPress's posting interface to trackback this post.
@@ -536,26 +536,7 @@ It will output the URL to TrackBack the post, that other people can copy and use
-
- this will include a table with the current month's calendar, each day when you posted shows a link to this day's posts. You can customise this table with CSS classes:
- the style that is used to display the month and year
- .b2calendartable {}
- the style of the <table> tag (border etc...)
- .b2calendarrow {}
- the style of the <tr> tag
- .b2calendarheadercell {}
- the style of the <td> tag that shows the weekdays on the top of the table
- .b2calendarcell {}
- the style of the <td> tags that show the days
- .b2calendaremptycell {}
- the style of the <td> tags that are empty
- .b2calendarlinkpost {}
- the style of the link to the post
- .b2calendartoday {}
- the style of the day if it is today Query String Usage:
index.php?cat=1 will display all posts that belong to category #1 (1 is the default). you can add/rename/delete categories from b2's interface.
+index.php?cat=1 will display all posts that belong to category #1 (1 is the default). you can add/rename/delete categories from WordPress's interface.
index.php?author=1 will display all posts from the author #1
index.php?p=50&c=1 will display the comments and a form to add a comment below the post.
you should use this variable only with p=, example: index.php?p=50&c=1.
If you use blogger.newPost, your post is submitted without title and in category #1.
However, you can type <title>my title</title> and/or <category>2<category> in the body of your post to make its title be 'my title' and its category be #2 (refer to your categories section to find out the ID numbers of the categories). b2 would then delete that extra info from the body of your post once it is posted.
@@ -594,8 +575,8 @@ here is the code for a simple search box:You can now post to your b2 blog with tools like BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :)
-Your XMLRPC server/path are as described here: if you login to b2 on http://example.com/me/wp-login.php, then you have:
+You can now post to your WordPress blog with tools like BlogBuddy, Bloggar, WapBlogger (post from your Wap cellphone!), Radio Userland (which means you can use Radio's email-to-blog feature), Zempt, NewzCrawler, and other tools that support the Blogging APIs! :)
+Your XMLRPC server/path are as described here: if you login to WordPress on http://example.com/me/wp-login.php, then you have:
On multi-user:
-New users can register with b2register.php
. Then you (as an admin) click the "+" next to their name on the Team page in admin to upgrade their level to 1 or more, so they can post. If you don't want an user to post anymore, just click "-" until their level is 0.
New users can register with wp-register.php
. Then you (as an admin) click the "+" next to their name on the Team page in admin to upgrade their level to 1 or more, so they can post. If you don't want an user to post anymore, just click "-" until their level is 0.
Note: you can now disable users registration altogether from the config file.
Levels: