b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (0.9.x) [ class tree: conf ] [ index: conf ] [ all elements ]

Procedural File: _admin.php

Source Location: /blogs/conf/_admin.php

Page Details

This is b2evolution's admin config file

This sets how the back-office works Last significant changes to this file: version 0.9.0.10

b2evolution - http://b2evolution.net/ Released under GNU GPL License - http://b2evolution.net/about/license.html

Copyright:  (c)2003-2005 by Francois PLANQUE - http://fplanque.net/
Filesource:  Source Code for this file
Globals
int   $allow_cross_posting [line 29]

Cross posting

Possible values:

  • 0 if you want users to post to a single category only
  • 1 if you want to be able to cross-post among multiple categories
  • 2 if you want to be able to cross-post among multiple blogs/categories
  • 3 if you want to be able to change main cat among blogs (which will move the posts from one blog to another; use with caution)

Default value:  1

[ Top ]

bool   $allow_moving_chapters [line 37]

Moving chapters between blogs?

Default value:  false

[ Top ]

string   $default_post_status [line 47]

Default status for new posts:

Possible values: 'published', 'deprecated', 'protected', 'private', 'draft'

Default value:  'published'

[ Top ]

boolean   $deluxe_ban [line 79]

When banning referrers/comment URLs, do you want to remove any referrers and comments containing the banned domain?

(you will be asked to confirm the ban if you enable this)

Default value:  1

[ Top ]

string   $fileupload_allowedtypes [line 130]

Accepted file types, you can add to that list if you want.

Note: add a space before and after each file type. Example: $fileupload_allowedtypes = ' jpg gif png ';

Default value:  ' jpg gif png '

[ Top ]

string   $fileupload_allowedusers [line 155]

You may want to authorize only some users to upload. Enter their logins here, separated by space.

if you leave that variable blank, all users who have the minimum level are authorized to upload. note: add a space before and after each login name. example: $fileupload_allowedusers = ' barbara anne ';

Default value:  ''

[ Top ]

int   $fileupload_maxk [line 138]

by default, most servers limit the size of uploads to 2048 KB if you want to set it to a lower value, here it is (you cannot set a higher value)

Default value:  '96'

[ Top ]

int   $fileupload_minlevel [line 144]

you may not want all users to upload pictures/files, so you can set a minimum level for this

Default value:  1

[ Top ]

string   $fileupload_realpath [line 109]

Enter the real path of the directory where you'll upload the pictures.

If you're unsure about what your real path is, please ask your host's support staff. Note that the directory must be writable by the webserver (ChMod 766). Note for windows-servers users: use forwardslashes instead of backslashes. Example: $fileupload_realpath = '/home/example/public_html/media'; Alternatively you may want to use a path relative to $basepath.

Default value:  $basepath.'/media'

[ Top ]

string   $fileupload_url [line 120]

Enter the URL of that directory

This is used to generate the links to the pictures Example: $fileupload_url = 'http://example.com/media'; Alternatively you may want to use an URL relatibe to $baseurl

Default value:  $baseurl.'/media'

[ Top ]

boolean   $report_abuse [line 87]

When banning, do you want to report abuse to the centralized ban list at b2evolution.net?

Default value:  1

[ Top ]

boolean   $use_fileupload [line 96]

Set this to 0 to disable file upload, or 1 to enable it

Default value:  1

[ Top ]

boolean   $use_post_url [line 68]

Do you want to be able to link each post to an URL ?

Default value:  1

[ Top ]

boolean   $use_preview [line 54]

set this to 1 if you want to use the 'preview' function

Default value:  1

[ Top ]

boolean   $use_spellchecker [line 61]

set this to 0 to disable the spell checker, or 1 to enable it

Default value:  1

[ Top ]



Documentation generated on Tue, 20 May 2008 01:52:11 +0200 by phpDocumentor 1.4.2