[ Index ] |
|
Code source de Phorum 5.1.25 |
1 Phorum Blog How-To 2 ================== 3 4 This document describes how to create a forum which can be used as a blog. 5 6 7 1. Create the Blog Forum 8 ------------------------ 9 10 1. When creating the forum, you should set `Visible` to `No`. This 11 will keep it out of the normal forum list; 12 13 2. The template will use the forum's name as the title of the page; 14 15 3. Set the forum to allow only reading by anyone. 16 17 18 2. Create a write group 19 ----------------------- 20 21 1. Go to `Edit Groups`; 22 23 2. Add a group by creating a new group. e.g. Blog Writers; 24 25 3. Click on the group name to edit it; 26 27 4. Add the blog forum to the group and grant `Read`, `Reply`, 28 `Create New Topics`, `Edit Their Posts`; 29 30 5. You can create additional groups for moderation of comments, etc. 31 32 33 3. Make a cool script (optional) 34 -------------------------------- 35 36 Somehow, you have to point people at the blog. You could make a redirect 37 using any number of things to redirect your readers to the appropriate URL 38 (list.php?1, where 1 is the forum id of the blog forum). However, I like 39 the following method. Let's asume you want the blog to be a page called 40 blog.php. Then create blog.php like this: 41 42 <?php 43 44 chdir("/full/path/to/phorum"); 45 46 // Below, "1" is the forum_id for the blog forum 47 $PHORUM_CUSTOM_QUERY_STRING="1"; 48 49 include_once "./list.php"; 50 51 ?> 52 53 If you wanted your front page to be the blog, just create index.php and 54 put this in it. 55 56 57 TODO 58 ---- 59 60 At the time of writing, there are still several parts of the default 61 template that are not yet converted to the blog template. Control Center 62 for example. 63
titre
Description
Corps
titre
Description
Corps
titre
Description
Corps
titre
Corps
Généré le : Thu Nov 29 12:22:27 2007 | par Balluche grâce à PHPXref 0.7 |
![]() |