b2evolution

Multilingual multiuser multiblog engine

b2evolution Technical Documentation (Version 1.9) [ class tree: conf ] [ index: conf ] [ all elements ]

Procedural File: _admin.php

Source Location: /blogs/conf/_admin.php

Page Details

This is the admin config file

This sets how the back-office/admin interface works

Filesource:  Source Code for this file
Globals
int   $allow_cross_posting [line 73]

Cross posting

Possible values:

  • -1 if you don't want to use categories at all
  • 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|NULL   $allow_moving_chapters [line 83]

Moving chapters between blogs?

Special value: NULL and we won't even talk about moving

Default value:  false

[ Top ]

string   $default_post_status [line 93]

Default status for new posts:

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

Default value:  'published'

[ Top ]

string   $fileupload_realpath [line 141]

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/'; # WITH traling slash! Alternatively you may want to use a path relative to $basepath.

Default value:  $basepath.'media/'
API Tags:
Deprecated:  1.6: the user uploads to his own media folder (or somewhere else with write permissions) This is still used by MMS and XMLRPC though.


[ Top ]

string   $fileupload_url [line 154]

Enter the URL of that directory

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

Default value:  $baseurl.'media/'
API Tags:
Deprecated:  1.6: the user uploads to his own media folder (or somewhere else with write permissions) This is still used by MMS and the MT importer though.


[ Top ]

int   $maxlength_urlname_stub [line 166]

max length for blog_urlname and blog_stub values

(this gets checked when editing/creating blogs).

Default value:  30

[ Top ]

boolean   $report_abuse [line 116]

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

Default value:  1

[ Top ]

boolean   $use_fileupload [line 126]

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

Default value:  1
API Tags:
Deprecated:  1.6: this is only used for creating the defaults when upgrading This is still used by MMS and XMLRPC though.


[ Top ]

boolean   $use_post_url [line 107]

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

Default value:  1

[ Top ]

boolean   $use_preview [line 100]

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

Default value:  1

[ Top ]



Documentation generated on Tue, 18 Dec 2007 19:09:56 +0100 by phpDocumentor 1.4.0