Quickstart NewsPortal
Those, who can't understand my german manual, probably understand my english
quickstart guide.
First, uncompress the newsportal archiv into a directory of your Webserver.
Then you have to edit the configuration-File config.inc.
There are only a few options that you have to edit to let newsportal run:
- $file_language: Your favourite language-package, choose
"deutsch.lang" or "english.lang". Please note, that this option does not
change all texts. So also edit "index.php3", "article.php", "post.php3" and
"thread.php3".
- $server: The adress of your newsserver
- $port: The port of your newsserver, normaly this is 119.
Now you should set some security related options:
- Set $readonly true, if you don't want users to post articles to
groups.
- You should set $testgroup to true, if you don't want users to
access newsgroups that are not in the groupfile groups.txt.
To customize the output you can change the following values:
- $treestyle: 0-7, different thread-layouts. Just try out.
- $thread_showDate,
$thread_showSubject,
$thread_showAuthor:
- true: The Date/Subject/Author is shown in the thread
- false: it is not shown
- $thread_maxSubject: The maximal length of the subject in the
thread
- $maxarticles: The maximal number of articles that newsportal
loads from the newsserver. Normally this is only the maximum number of
articles shown in the thread, if you do not use $articles_per_page.
- $thread_sorting:
- 0: no sorting in the thread
- 1: new articles at the end of the thread
- -1: new articles on the top of the thread
- $articles_per_page:
- 0: the thread will not be split into different pages
- other: amount of articles per page in the thread
- $startpage: makes only sense if $articles_per_page is not 0:
- "first": the start page in the thread is the first page
- "last": is the last page
Now edit the file groups.txt and put the newsgroups into it,
that you want do be accessible and be listed when someone access
index.php3.
Note, that everyone can access the config.inc if you don't move
it to a protected area of your webserver. You have to index.php3,
thread.php3, article.php3 and post.php3 to update
the path to config.inc
If you have questions contact:
florian.amrhein@gmx.de
http://floh.gartenhaus.net/newsportal/