![]() |
|
Expert site configuration
These values may be edited, but be careful with it.
moderation_type
Integer. This is the moderation system. 1 is default, use 2 only if you know what you are doing !
-
1: normal system;
-
2: automatic system.
experience_limit
Integer. This is the lowest limit of experience for a user to be able to post a comment. If he has a lower karma than this one, he won't be allowed to post any comments anywhere. Default value is 0, new user gets 0 as karma. So new user will be able to post, but as soon as they have a negative karma, they won't anymore. Prevent from stupid people which create an account, post a stupid thing. They'll be banned soon after than.
level_values
List of hashes. This is the levels for moderation system number 2. Don't change unless you know what you are doing ! The default follows as exemple.
$this->level_values = array(
array('name'=>'initiate', 'xp'=>'0', 'vote'=>'0'),
array('name'=>'l Box which holds the news left out of the front page. Parameters:
The admin box. You want it if you're a moderator, as this box is the only way to access the administration features.
The poll box. Displays the question and muliple choice for the current poll. Parameters:
default_user_boxesList. List of userboxes displayed by default. This is a list of the names of the user boxes, or PHP-wise, a list of keys from the user_boxes array. Exemple follows.
cachedirCharacter string. Directory where HTML fragments (i.e. boxes) are cached. Don't forget the trailing slash !! An empty string means no caching. htmldirCharacter string. htdocs/ subdirectory where generated HTML files are stored. An empty string means no caching. mark_outdatedBoolean. Mark outdated cached files instead of deleting them if set to 1. Be aware that it may cause problems with the board. fortunefileCharacter string. Fortune file, if any. An empty string means no fortunes. Fortunes have to be separated by a "%" and an Unix new line ("\n"). Pay attention not to use Windows new lines ("\r\n") or Mac ("\r")! create_tar_dirCharacter string. Directory where generated tarfiles are put. This is used to archive themes. /tmp/ is usually a good choice. upload_tar_dirCharacter string. Directory where uploaded tarfiles are put to be extracted. /tmp/ is usually a good choice. theme_subdirCharacter string. When uploaded themes can be installed, it may be advisable to put them under a specific subdirectory which is writable by PHP. For exemple, if one writes $this->theme_subdir = "contrib/";, all uploaded themes will be put in phplib/themes/contrib. debugCharacter string. The debug mode:
debugFileDebug file or host. If you chose "file" for $this->debug, this is the absolute filename of the debug log. If you chose "socket", this is the hostname and port, with the usual syntax: " hostname:port". If you chose "none" or "stdout", this parameter has no effect. disable_view_commentsBoolean. This option toggles the possibility for other users to get a list of comments posted by another user. Set it to one to disable it.
|
