PhpBB 3.0 Olympus Documentation adminguide acp posting zh

From PHPBB用户手册

Jump to: navigation, search

论坛离不开内容, 而内容需要您的用户来创造, 因此正确和恰当的发帖设置是论坛发展的前提.

第一个设置界面是BBCode. 剩下的两组设置分别为文章和附件. 私人短信设置, 主题图标, 表情图标和敏感词过滤属于文章相关的设置, 而附件设置, 扩展名和扩展名组设置是附件相关的设置.

Contents

BBCode

BBCodes是发帖的一种格式设定方式, 类似于HTML语法. phpBB 3.0 允许您创建自己的BBCode, 在这个界面您可以看到系统已经添加的BBCode.

添加BBCode非常简单. 使用BBCode是比开放HTML语法安全得多的方式. 添加BBCode, 需要设定4个方面: 您希望您的用户如何使用BBCode, BBCode会被替换成什么HTML代码 (用户不会看到这个变换), 您希望给用户显示的提示信息, 以及您是否希望这个BBCode的按钮显示在发帖的界面上. 完成这些设定后, 您就可以点击提交创建您的新BBCode.

例子: 在这个例子中, 我们创建一个允许用户指定文字字体的BBCode -- [font].

在BBCode用法框中, 您可以设定您希望用户如何使用BBCode. 比如说您希望创建一个允许用户选择自己文字字体的BBCode, 您输入用法框中的内容就是 [font={FONTNAME}]{TEXT}[/font] 这将产生一个新的 [font] BBCode. TEXT代表用户文字, FONTNAME代表用户输入的字体名称.

在HTML替换代码框中, 输入您希望替换BBCode的HTML代码. 这个例子中, 输入 {TEXT}, 当显示帖子时, 这段代码将替换用户输入的[font] BBCode.

第三个设置是显示BBCode的提示信息, 帮助用户正确的使用这个BBCode. 这个信息将在鼠标移过时显示在发表文章界面的BBCode按钮下.

注意
如果此BBcode按钮不显示在发表文章的界面, 那么上面的提示也不会被显示.

最后, 设置是否在发帖的页面上显示您创建的BBcode.

私人短信设置

这里您可以进行私人短信相关的设置.

综合设置

  • 启用私人短信: 这里您可以启用或禁用私人短信功能. 如果要启用的话, 选择是.
  • 最大短信档案夹数目: 设定您的论坛用户最多可以创建多少个短信档案夹.
  • 每个档案夹中的短信容量: 您的用户在每个档案夹中可以存放的短信的最大数量.
  • 档案夹满后的系统处理: 有时候您的用户给其他用户发送短信, 但是对方的收件夹已经满了. 在这里设定当这种情况发生时如何处理. 您可以设置成删除旧信息, 或阻止新信息直到收件夹有新的空位. 注意, 发件夹的默认操作是删除旧信息.
  • 编辑时限: 用户可以在收件人阅读信息前进行修改, 即使此信息已经发送. 您可以控制在多长的时限内用户可以对已发送的信息进行编辑.

功能选项

  • 允许给多个用户和用户组发送短信: 在phpBB 3.0中可以将信息发送给多个用户.
  • 允许在信息中使用BBCode:
  • 允许在信息中使用表情图标:
  • 允许在信息中使用附件: 选择是如果您希望在短信中启用附件, 但是如果空间不太宽裕的话最好选否.
  • 允许在信息中使用签名档:
  • 允许以打印方式显示信息: phpBB3.0 中一个新特性是增加了便于打印的页面显示方式. 选择是如果您希望启用此功能.
  • 允许转发私人短信: 选择是如果您希望允许此功能.
  • 允许在短信中使用[img] BBCode:
  • 允许在短信中使用[flash] BBCode:
  • 允许在短信中使用主题图标: (主题图标会显示在私人短信标题边上).
 提示
 对于某些使用数字作为参数进行设置的选项, 如果您希望不作限制, 您可以将其设置为0.

主题图标

A new feature in phpBB3 is the ability to assign icons to topics. On this page, you can manage what topic icons are available for use on your board. You can add, edit, delete, or move topic icons. The Topic Icons form displays the topic icons currently installed on your board. You can add topic icons manually, install a premade icons pack, export or download an icons pack file, or edit your currently installed topic icons.

Your first option to add topic icons to your board is to use a premade icons pack. Icon packs have the file extension pak. To install an icons pack, you must first download an icons pack. Upload the icon files themselves and the pack file into the /images/icons/ directory. Then, click Install icons pak. The Install icons pak form displays all of the options you have regarding topic icon installation. Select the icon pack you wish to add (you may only install one icon pack at a time). You then have the option of what to do with currently installed topic icons if the new icon pack has icons that may conflict with them. You can either keep the existing icon(s) (there may be duplicates), replace the matches (overwriting the icon(s) that already exist), or just delete all of the conflicting icons. Once you have selected the proper option, click Install icons pak.

To add topic icon(s) manually, you must first upload the icons into the icons directory of your site. Navigate to the Topic icons page. Click Add multiple icons, which is located in the Topic Icons form. If you correctly uploaded your new desired topic icon(s) into the proper /images/icons/ directory, you should see a row of settings for each new icon you uploaded. The following has a description on what each field is for. Once you are done with adding the topic icon(s), click, Submit to submit your additions.

  • Icon image file: This column will display the actual icon itself.
  • Icon location: This column will display the path that the icon is located in, relative to the /images/icons/ directory.
  • Icon width: This is the width (in pixels) you want the icon to be stretched to.
  • Icon height: This is the height (in pixels) you want the icon to be stretched to.
  • Display on posting: If this checkbox is checked, the topic icon will actually be displayed on the posting screen.
  • Icon order: You can also set what order that the topic icon will be displayed. You can either set the topic icon to be the first, or after any other topic icon currently installed.
  • Add: If you are satisfied with the settings for adding your new topic icon, check this box.

You may also edit your currently installed topic icons' settings. To do so, click Edit icons. You will see the Icon configuration form. For more information regarding each field, see the above paragraph regarding adding topic icons.

Lastly, you may also reorder the topic icons, edit a topic icon's settings, or remove a topic icon. To reorder a topic icon, click the appropriate "move up" or "move down" icon. To edit a topic icon's current settings, click the "settings" button. To delete a topic icon, click the red "delete" button.

表情图标

Smilies or emoticons are typically small, sometimes animated images used to convey an emotion or feeling. You can manage the smilies on your board via this page. To add smilies, you have the option to either install a premade smilies pack, or add smilies manually. Locate the Smilies form, which lists the smilies currently installed on your board, on the page.

Your first option to add smilies to your board is to use a premade smilies pack. Smilies packs have the file extension pak. To install a smilies pack, you must first download a smilies pack. Upload the smilies files themselves and the pack file into the /images/smilies/ directory. Then, click Install smilies pak. The Install smilies pak form displays all of the options you have regarding smilies installation. Select the smilies pack you wish to add (you may only install one smilies pack at a time). You then have the option of what to do with currently installed smilies if the new smilies pack has icons that may conflict with them. You can either keep the existing smilies (there may be duplicates), replace the matches (overwriting the smilies that already exist), or just delete all of the conflicting smilies. Once you have selected the proper option, click Install smilies pak.

To add a smiley to your board manually, you must first upload the smilies into the /images/smilies/ directory. Then, click on Add multiple smilies. From here, you can add a smilie and configure it. The following are the settings you can set for the new smilies. Once you are done adding a smiley, click Submit.

  • Smiley image file: This is what the smiley actually looks like.
  • Smiley location: This is where the smiley is located, relative to the /images/smilies/ directory.
  • Smiley code: This is the text that will be replaced with the smiley.
  • Emotion: This is the smiley's title.
  • Smiley width: This is the width in pixels that the smiley will be stretched to.
  • Smiley height: This is the height in pixels that the smiley will be stretched to.
  • Display on posting: If this checkbox is checked, this smiley will actually be displayed on the posting screen.
  • Smiley order: You can also set what order that the smiley will be displayed. You can either set the smiley to be the first, or after any other smiley currently installed.
  • Add: If you are satisfied with the settings for adding your new smiley, check this box.

You may also edit your currently installed smilies' settings. To do so, click Edit smilies. You will see the Smiley configuration form. For more information regarding each field, see the above paragraph regarding adding smilies.

Lastly, you may also reorder the smilies, edit a smiley's settings, or remove a smiley. To reorder a smiley, click the appropriate "move up" or "move down" icon. To edit a smiley's current settings, click the "settings" button. To delete a smiley, click the red "delete" button.

敏感词过滤

On some forums, a certain level of appropriate, profanity-free speech is required. Like phpBB2, phpBB3 continues to offer word censoring. Words that match the patterns set in the Word censoring panel will automatically be censored with text that you, the admin, specify. To manage your board's word censoring, click Word censoring.

To add a new word censor, click Add new word. There are two fields: Word and Replacement. Type in the word that you want automatically censored in the Word text field. (Note that you can use wildcards (*).) Then, type in the text you want the censored word to be replaced with in the Replacement text field. Once you are done, click Submit to add the new censored word to your board.

To edit an existing word censor, locate the censored word's row. Click the "edit" icon located in that row, and proceed with changing the censored word's settings.

附件设置

If you allow your users to post attachments, it is important to be able to control your board's attachments settings. Here, you can configure the main settings for attachments and the associated special categories. When you are done configuring your board's attachments settings, click Submit.

Attachment Settings

  • Allow attachments: If you want attachments to be enabled on your board, select Yes.
  • Allow attachments in private messages: If you want to enable attachments being posted in private messages, select Yes.
  • Upload directory: The directory that attachments will be uploaded to. The default directory is /files/.
  • Attachment display order: The order that attachments will be displayed, based on the time the attachment was posted.
  • Total attachment quota: The maximum drive space that will be available for all of your board's attachments. If you want this quota to be unlimited, use a value of 0.
  • Maximum filesize: The maximum filesize of an attachment allowed. If you want this value to be unlimited, use a value of 0.
  • Maximum filesize messaging: The maximum drive space that will be available per user for attachments posted in private messages. If you want this quota to be unlimited, use a value of 0.
  • Max attachments per post: The maximum number of attachments that can be posted in a post. If you want this value to be unlimited, use a value of 0.
  • Max attachments per message: The maximum number of attachments that can be posted in a private message. If you want this value to be unlimited, use a value of 0.
  • Enable secure downloads: If you want to be able to only allow attachments to be available to specific IP addresses or hostnames, this option should be enabled. You can further configure secure downloads once you have enabled them here; the secure downloads-specific settings are located in the Define allowed IPs/Hostnames and Remove or un-exclude allowed IPs/hostnames forms at the bottom of the page.
  • Allow/Deny list: This allows you to configure the default behaviour when secure downloads are enabled. A whitelist (Allow) only allows IP addresses or hostnames to access downloads, while a blacklist (Deny) allows all users except those who have an IP address or hostname located on the blacklist. This setting only applies if secure downloads are enabled.
  • Allow empty referrer: Secure downloads are based on referrers.This setting controls if downloads are allowed for those omitting the referrer information. This setting only applies if secure downloads are enabled.

Image Category Settings

  • Display images inline: How image attachments are displayed. If this is set to No, a link to the attachment will be given instead, rather than the image itself (or a thumbnail) being displayed inline.
  • Create thumbnail: This setting configures your board to either create a thumbnail for every image attached, or not.
  • Maximum thumbnail width in pixels: This is the maximum width in pixels for the created thumbnails.
  • Maximum thumbnail filesize: Thumbnails will not be created for images if the created thumbnail filesize exceeds this value, in bytes. This is useful for particularly large images that are posted.
  • Imagemagick path: If you have Imagemagick installed and would like to set your board to use it, specify the full path to your Imagemagick convert application. An example is /usr/bin/.
  • Maximum image dimensions: The maximum size of image attachments, in pixels. If you would like to disable dimension checking (and thereby allow image attachments of any dimensions), set each value to 0.
  • Image link dimensions: If an image attachment is larger than these dimensions (in pixels), a link to the image will be displayed in the post instead. If you want images to be displayed inline regardless of dimensions, set each value to 0.

Define Allowed/Disallowed IPs/Hostnames

  • IP addresses or hostnames: If you have secure downloads enabled, you can specify the IP addresses or hostnames allowed or disallowed. If you specify more than one IP address or hostname, each IP address or hostname should be on its own line. Entered values can have wildcards (*). To specify a range for an IP address, separate the start and end with a hyphen (-).
  • Exclude IP from [dis]allowed IPs/hostnames: Enable this to exclude the entered IP(s)/hostname(s).

附件扩展名管理

You can further configure your board's attachments settings by controlling what file extensions attached files can have to be uploaded. It is recommended that you do not allow scripting file extensions (such as php, php3, php4, phtml, pl, cgi, py, rb, asp, aspx, and so forth) for security reasons. You can find this page by clicking Manage extensions once you're in the ACP.

To add an allowed file extension, find the Add Extension form on the page. In the field labeled Extension, type in the file extension. Do not include the period before the file extension. Then, select the extension group that this new file extension should be added to via the Extension group selection menu. Then, click Submit.

You can also view your board's current allowed file extensions. On the page, you should see a table listing all of the allowed file extensions. To change the group that an extension belongs to, select a new extension group from the selection menu located in the extension's row. To delete an extension, check the checkbox in the Delete column. When you're done managing your board's current file extensions, click Submit at the bottom of the page.

扩展名组管理

Allowed file extensions can be placed into groups for easy management and viewing. To manage the extension groups, click Manage extension groups once you get into the Posting settings part of the ACP. You can configure specific settings regarding each extension group.

To add a new file extension group, find the textbox that corresponds to the Create new group button. Type in the name of the extension group, then click Submit. You will be greeted with the extension group settings form. The following contains descriptions for each option available, and applies to extension groups that either already exist or are being added.

Add Extension Group

  • Group name: The name of the extension group.
  • Special category: Files in this extension group can be displayed differently. Select a special category from this selection menu to change the way the attachments in this extension group is presented within a post.
  • Allowed: Enable this if you want to allow attachments that belong in this extension group.
  • Allowed in private messaging: Enable this if you want to allow attachments that belong in this extension group in private messages.
  • Upload icon: The small icon that is displayed next to all attachments that belong in this extension group.
  • Maximum filesize: The maximum filesize for attachments in this extension group.
  • Assigned extensions: This is a list of all file extensions that belong in this extension group. Click Go to extension management screen to manage what extensions belong in this extension group.
  • Allowed forums: This allows you to control what forums your users are allowed to post attachments that belong in this extension group. To enable this extension group in all forums, select the Allow all forums radio button. To set which specific forums this extension group is allowed in, select the Only forums selected below radio button, and then select the forums in the selection menu.

To edit a current file extension group's settings, click the "Settings" icon that is in the extension group's row. Then, go ahead and edit the extension group's settings. For more information about each setting, see the above.

To delete an extension group, click the "Delete" icon that is in the extension group's row.

幽灵文件

有时候会产生一些游离于帖子之外的附件, 我们称之为幽灵文件, 它们存在于论坛的附件目录, 但是并没有被任何帖子引用. 这种文件一般产生于编辑或删除帖子的操作中, 也可能是用户粘贴了附件却没有提交文章.

进入管理面板的文章设置, 在左边菜单点击幽灵文件, 您可以看到这类文件的列表以及相应的文件信息.

您可以分别给这些文件指定到关联的帖子. 这时候您需要先知道帖子的ID, 输入后提交即可. 要删除这个文件的话, 选中删除框后提交就可以了, 要注意的是, 删除的操作是不可逆的.