Dokumentace - 3.2. Obecná nastavení a hlavní stránka

3.2. Obecná nastavení a hlavní stránka

ameeck

Sekce Obecné je první co uvidíte, když se přihlásíte do Administrace fóra. Obsahuje základní statistiky fóra a informace o něm. Nachází se v něm také podsekce Rychlý přístup. Nabízí vám možnost rychlé přechodu na stránky, které budete často používat při administraci fóra, např. Správa uživatelů nebo Moderátorský log. Tyto sekce budou postupně probrány v odpovídajících kapitolách.

Budeme se soustředit na ostatní tři podsekce: Nastavení fóra, Komunikace klientů a Nastavení serveru.

3.2.1. Konfigurace fóra

ameeck

Tato podsekce obsahuje všechny položky, které upravují obecné nastavení, které platí po celém fóra.

3.2.1.1. Nastavení příloh

ameeck

Jedna z nových funkcí phpBB 3.0 jsou přílohy. Přílohy jsou soubory, které mohou být připojeny k příspěvkům, stejně jako přílohy u e-mailů. Administrátor fóra může zvolit určitá omezení pro používání příloh na fóru. Tyto omezení můžete nastavit přes stránku Nastavení příloh.

Další informace se nachází v sekci nastavení příloh na vašem fóru.

3.2.1.2. Nastavení fóra

ameeck

Stránka s nastavením fóra vám umožňuje měnit většinu nastavení vašeho fóra. Mezi těmito nastaveními je i název vašeho fóra kupříkladu. Na této stránce nalezente dva oddíly nastavení - Nastavení fóra a Varování.

Nastavení fóra

  • První věc, kterou budete chtít upravit v nastavení fóra je ta nejdůležitější: jeho název. Vaši uživatelé si drží vaše fórum v povědomí podle jeho názvu. Název, který zde zadáte se objeví v hlavičce každé stránky fóra a nadpis každé stránky jím budem začínat.

  • Popis fóra je heslo nebo motto vašich stránek, zobrazí se pod Názvem fóra ve výchozím stylu phpBB.

  • Pokud potřebujete zavřít celé fórum a učinit jej nepřístupným, například kvůli pravidelné údržbě, stačí zaškrtnout možnost Vypnout fórum. Pokud je tato možnost zapnutá, uživatelé, kteří nemají moderátorská nebo administrátorská práva nebudou moci jít na fórum. Uvidí pouze zprávu, kterou zde zadáte, nebo výchozí zprávu z jazykového balíku. Pokud chcete přidat vlastní zprávu, stačí jí zadat do textového políčka, které je hned vedle. Administrátoři a moderátoři budou moci na fórum, i když bude vypnuté.

  • Pravděpodobně budete také nastavovat Jazyk fóra. Ten určí překlad fóra, který uvidí noví uživatelé, když navštíví váš web. Registrovaní uživatelé si mohou po přihlášení vybrat z dalších instalovaných jazyků. Ve výchozí instalaci je dostupný pouze překlad anglický - English [GB], další se dají stáhnout v přehledu překladů na phpBB.com nebo ze stránky souborů ke stažení na phpBB.cz. Pro více informací o nastavení jazyků a jejich instalaci, podívejte se na sekci o nastavení jazykových balíků.

  • Nastavit můžete i standardní formát data, který bude určovat jak se zobrazí všechny časové údaje na fóru. phpBB3 vám připravilo několik základní formátů k použití. Pokud vám nestačí a chtěli byste si nastavit vlastní formát, zvolte možnost Vlastní z menu Formát data a do textového pole zadejte formát podle funkce date() z PHP.

  • Spolu s formátem dat můžete nastavit i výchozí časové pásmo. Všechny dostupné časové pásma jsou založeny relativně k UTC (většinou zaměnitelné s GMT). Můžete také nastavit jestli vaše fórum bude mít zapnutý letní čas, V této chvíli v phpBB nefunguje automatické přepínání letního a zimního času.

  • Poslední položka z této sekce je Styl fóra. Tento styl se zobrazí všem návštěvníkům a uživatelům, kteří si jej nezmění. Ve výchozí instalaci phpBB jsou dostupné dva styly: prosilver a subsilver2. Můžete také povolit uživatelům zvolit si svůj vlastní styl (z těch, které jsou nainstalované), když nastavíte položku Vždy použít výchozí styl na Ne. Navštivte také sekci o stylech pro získání informací o tom, kde najít další styly a jak je nainstalovat.

Varování

  • Moderátoři mohou udělovat uživatelům varování, když poruší pravidla fóra. Hodnota uvedena u Doby platnosti varování určuje jak dlouho zůstane uživateli varování, než zmizí. Pro více informací o varováních si přečtěte 4.5 – „The Moderator Control Panel (MCP)“.

3.2.1.3. Funkce fóra

ameeck

V sekci funkce fóra můžete zapnout nebo vypnout různé funkce, a to na celém fóru. Mějte na paměti, že pokud funkce vypnete zde, nebude dostupná ani uživatelům, kteří mají dostatečná oprávnění pro jejich používání.

3.2.1.4. Nastavení avatarů

Nastavení avatarů

Avatars are generally small, unique images a user can associate with themselves. Depending on the style, they are usually displayed below the user name when viewing topics. Here you can determine how users can define their avatars.

There are three different ways a user can add an avatar to their profile. The first way is through an avatar gallery you provide. Note that there is no avatar gallery available in a default phpBB installation. The Avatar Gallery Path is the path to the gallery images. The default path is images/avatars/gallery. The gallery folder does not exist in the default installation so you have to add it manually if you want to use it.

The images you want to use for your gallery need to be in a folder inside the gallery path. Images directly in the gallery path won't be recognised. There is also no support for sub folders inside the gallery folder.

The second approach to avatars is through Remote Avatars. This are simply images linked from another website. Your members can add a link to the image they want to use in their profile. To give you some control over the size of the avatars you can define the minimum and maximum size of the images. The disadvantage of Remote Avatars is that you are not able to control the file size.

The third approach to avatars is through Avatar Uploading. Your members can upload an image form their local system which will be stored on your server. They will be uploaded into the Avatar Storage Path you can define. The default path is images/avatars/upload and does already exist after installation. You have to make sure that it is server-writable. The file format of the images has to be either gif, jpeg, or png, and the avatars will be automatically checked for their file and image size after the upload. You can adjust the Maximum Avatar File Size and images that are bigger than the allowed value will be discarded.

3.2.1.5. Nastavení soukromých zpráv

ameeck

Private Messages are a way for registered members to communicate privately through your board without the need to fall back to e-mail or instant messaging.

You can disable this feature with the Private Messaging setting. This will keep the feature turned off for the whole board. You can disable private messages for selected users or groups with Permissions. Please see the Permissions section for more information.

Olympus allows users to create own personal folders to organise Private Messages. The Max Private Messages Per Box setting defines the number of message folders they can create. The default value is 4. You can disable the feature with setting value to 0.

Max Private Messages Per Box sets the number of Private Messages each folder can contain. The default value is 50, Set it to 0 to allow unlimited messages per folder.

If you limit the number of messages users can store in their folders, you need to define a default action that is taken once a folder is full. This can be changed in the "Full Folder Default Action" list. The oldest message gets deleted or the new message will be held back until the folder has place for it. Note that users will be able to choose this for themselves in their PM options and this setting only changes the default value they face. This will not override the action a user chosen.

When sending a private message, it is still possible to edit the message until the recipient reads it. After a sent private message has been read, editing the message is no longer possible. To limit the time a message can be edited before the recipient reads it, you can set the Limit Editing Time. The default value is 0, which allows editing until the message is read. Note that you can disallow users or groups to edit Private Messages after sending through Permissions. If the permission to edit messages is denied, it will override this setting.

The General Options allow you to further define the functionality of Private Messages on your board.

  • Allow Mass PMs: enables the sending of Private Messages to multiple recipients. This feature is enabled by default. Disabling it will also disallow sending of Private Messages to groups.

    Tip

    See the Groups section for information on how to enable the ability to send a message to a whole group.

  • By default, BBCode and Smilies are allowed in Private Messages.

    Tip

    Even if enabled, you can still disallow users or groups to use BBCode and Smilies in Private Messages through Permissions.

  • We don't allow attachments by default. Further settings for attachments in Private Messages are in the Attachment Settings. There you can define the number of attachments per message for instance.

3.2.2. Komunikace mezi klienty

ameeck

Kromě vlastního rozhrání podporuje phpBB i další druhy komunikace mezi klienty. phpBB3 podporuje autentizační pluginy (ve výchozí instalaci jsou přibaleny pro Apache, bežný databázový systém a pro LDAP), zasílání e-mailů a posílání zpráv přes Jabber. Zde můžete nastavit každou z těchto alternativních metod komunikace.

3.2.2.1. Autentizace

ameeck

Unlike phpBB2, phpBB3 offers support for authentication plugins. By default, the Apache, DB, and LDAP plugins are supported. Before switching from phpBB's native authentication system (the DB method) to one of these systems, you must make sure that your server supports it. When configuring the authentication settings, make sure that you only fill in the settings that apply to your chosen authentication method (Apache or LDAP).

Autentizace

  • Select an authentication method: Choose your desired authentication method from the selection menu.

  • LDAP server name: If you are using LDAP, this is the name or IP address of the LDAP server.

  • LDAP user: phpBB will connect to the LDAP server as this specified user. If you want to use anonymous access, leave this value blank.

  • LDAP password: The password for the LDAP user specified above. If you are using anonymous access, leave this blank.

    Důležité

    This password will be stored as plain text in the database; it will be visible to everybody who can access your database.

  • LDAP base dn: The distinguished name, which locates the user information.

  • LDAP uid: The key under which phpBB will search for a given login identity.

  • LDAP email attribute: this to the name of your user entry email attribute (if one exists) in order to automatically set the email address for new users. If you leave this empty, users who login to your board for the first time will have an empty email address.

3.2.2.2. Nastavení e-mailů

ameeck

phpBB3 is capable of sending out emails to your users. Here, you can configure the information that is used when your board sends out these emails. phpBB3 can send out emails by using either the native, PHP-based email service, or a specified SMTP server. If you are not sure if you have an SMTP server available, use the native email service. You will have to ask your hoster for further details. Once you are done configuring the email settings, click Submit.

Poznámka

Please ensure the email address you specify is valid, as any bounced or undeliverable messages will likely be sent to that address.

Obecná nastavení

  • Enable board-wide emails: If this is set to disabled, no emails will be sent by the board at all.

  • Users send email via board:: If this is set to enabled, a form allowing users to send emails to each other via the board will be displayed, rather than an email address.

  • Email function name: If you are using the native, PHP-based email service, this should be the name of the email function. This is most likely going to be "mail".

  • Email package size: This is the number of emails that can be sent in one package. This is useful for when you want to send mass emails, and you have a large amount of users.

  • Contact email address: This is the address that your board's email feedback will be sent to. This is also the address that will populate the "From" and "Reply-to" addresses in all emails sent by your board.

  • Return email address: This is the return address that will be put on all emails as the technical contact email address. It will always populate the "Return-Path" and "Sender" addresses in all emails sent by your board.

  • Email signature: This text will be attached at the end of all emails sent by your board.

  • Hide email addresses: If you want to keep email addresses completely private, set this value to Yes.

Nastavení SMTP

  • Use SMTP server for email: Select Yes if you want your board to send emails via an SMTP server. If you are not sure that you have an SMTP server available for use, set this to No; this will make your board use the native, PHP-based email service, which in most cases is the safest available option.

  • SMTP server address: The address of the SMTP server.

  • SMTP server port: The port that the SMTP server is located on. In most cases, SMTP servers are located on port 25; do not change this value if you are unsure about this.

  • Authentication method for SMTP: This is the authentication method that your board will use when connecting to the specified SMTP server. This only applies if an SMTP username and password are set, and required by the server. The available methods are PLAIN, LOGIN, CRAM-MD5, DIGEST-MD5, and POP-BEFORE-SMTP. If you are unsure about which authentication method you must use, ask your hoster for more information.

  • SMTP username: The username that phpBB will use when connecting to the specified SMTP server. You should only fill this in if the SMTP server requires it.

  • SMTP password: The password for the above specified username that phpBB will use when connecting to the specified SMTP server. You should only fill this in if the SMTP server requires it.

3.2.2.3. Nastavení Jabberu

ameeck

phpBB3 also has the ability to allow users to communicate via Jabber. Your board can send instant messages and board notices via Jabber, too. Here, you can enable and control exactly how your board will use Jabber for communication.

Poznámka

Some Jabber servers include gateways or transports which allow you to contact users on other networks. Not all servers offer all transports and changes in protocols can prevent transports from operating. Note that it may take several seconds to update Jabber account details, so do not stop the script until it has finished!

Nastavení Jabberu

  • Enable Jabber: Set this to Enabled if you want to enable the use of Jabber for messaging and notifications.

  • Jabber server: The Jabber server that your board will use. For a list of public servers, see jabber.org's list of open, public servers.

  • Jabber port: The port that the Jabber server specified above is located on. Port 5222 is the most common port; if you are unsure about this, leave this value alone.

  • Jabber username: The Jabber username that your board will use when connecting to the specified Jabber server. If the username you specify is unregistered on the server, phpBB3 will attempt to register the username for you.

  • Jabber password: The password for the Jabber username specified above. If the Jabber username is unregistered, phpBB3 will attempt to register the above Jabber username, with this specified value as the password.

  • Jabber resource: This is the location of the particular connection that you can specify. For example, "board" or "home".

  • Jabber package size: This is the number of messages that can be sent in one package. If this is set to "0", messages will be sent immediately and is will not be queued for later sending.

3.2.3. Konfigurace serveru

ameeck

As an administrator of a board, being able to fine-tune the settings that your phpBB board uses for the server is a must. Configuring your board's server settings is very easy. There are five main categories of server settings: Cookie settings, Server settings, Security settings, Load settings, and Search settings. Properly configuring these settings will help your board not only function, but also work efficiently and as intended. The following subsections will outline each server configuration category. Once you are done with updating settings in each setting, remember to click Submit to apply your changes.

3.2.3.1. Nastavení cookies

ameeck

Your board uses cookies all the time. Cookies can store information and data; for example, cookies are what enable users to automatically login to the board when they visit it. The settings on this page define the data used to send cookies to your users' browsers.

Varování

When editing your board's cookie settings, do so with caution. Incorrect settings can cause such consequences as preventing your users from logging in.

To edit your board's cookie settings, locate the Cookie Settings form. The following are four settings you may edit:

Nastavení cookies

  • Cookie domain: This is the domain that your board runs on. Do not include the path that phpBB is installed in; only the domain itself is important here.

  • Cookie name: This is the name that will be assigned to the cookie when it is sent to your users' browsers and stored. This should be a unique cookie name that will not conflict with any other cookies.

  • Cookie path: This is the path that the cookie will apply to. In most cases, this should be left as "/", so that the cookie can be accessible across your site. If for some reason you must restrict the cookie to the path that your board is installed in, set the value to the path of your board.

  • Cookie secure: If your board is accessible via SSL, set this to Enabled. If the board is not accessible via SSL, then leave this value set to Disabled, otherwise server errors will result during redirections.

When you are done editing your board's server settings, click Submit to submit your changes.

3.2.3.2. Nastavení serveru

ameeck

On this page, you can define server and domain-dependent settings. There are three main categories of server settings: Server Settings, Path Settings, and Server URL Settings. The following describes each server settings category and the corresponding settings in more detail. When you are done configuring your board's server settings, click Submit to submit your changes.

Varování

When editing your board's server settings, do so with caution. Incorrect settings can cause such consequences as emails being sent out with incorrect links and/or information, or even the board being inaccessible.

The Server Settings form allows you to set some settings that phpBB will use on the server level. The only available option at this time is Enable GZip Compression. Setting this value will enable GZip compression on your server. This means that all content generated by the server will be compressed before it is sent to users' browsers, if the users' browsers support it. Though this can reduce network traffic/bandwidth used, this will also increase the server and CPU load, on both the user's and server's sides.

Next, the Path Settings form allows you to set the various paths that phpBB uses for certain board content. For default installations, the default settings should be sufficient. The following are the four values that you can set:

Path Settings

  • Smilies storage path: This is the path to the directory, relative to the directory that your board is installed in, that your smilies are located in.

  • Post icons storage path: This is the path to the directory, relative to the directory that your board is installed in, that the topic icons are stored in.

  • Extension group icons storage path: This is the path to the directory, relative to the directory that your board is installed in, that the icons for the attachments extension groups.

The last category of server settings is Server URL Settings. The Server URL Settings category contains settings that allow you to configure the actual URL that your board is located at, as well as the server protocol and port number that the board will be accessed to. The following are the five settings you may edit:

Server URL Settings

  • Force server URL settings: If for some reason the default settings for the server URL are incorrect, then you can force your phpBB board to use the server URL settings you specify below by selecting the Yes radio button.

  • Server protocol: This is the server protocol (http:// or https://, for example) that your board uses, if the default settings are forced. If this value is empty or the above Force server URL settings setting is disabled, then the protocol will be determined by the cookie secure settings.

  • Domain name: This is the name of the domain that your board runs on. Include "www" if applicable. Again, this value is only used if the server URL settings are forced.

  • Server port: This is the port that the server is running on. In most cases, a value of "80" is the port to set. You should only change this value if, for some reason, your server runs on a different port. Again, this value is only used if the server URL settings are forced.

  • Script path: This is the directory where phpBB is installed, relative to the domain name. For example, if your board was located at www.example.com/phpBB3/, the value to set for your script path is "/phpBB3". Again, this value is only used if the server URL settings are forced.

When you are done editing your board's server settings, click Submit to submit your changes.

3.2.3.3. Nastavení zabezpečení

ameeck

Here, on the Security settings page, you are able to manage security-related settings; namely, you can define and edit session and login-related settings. The following describes the available security settings that you can manage. When you are done configuring your board's security settings, click Submit to submit your changes.

Allow persistent logins

This determines whether users can automatically login to your board when they visit it.

The available options are Yes and No. Choosing Yes will enable automatic logins.

Persistent login key expiration length (in days)

This is the set number of days that login keys will last before they expire and are removed from the database.

You may enter an integer in the text box located to the left of the word Days. This integer is the number of days for the persistent login key expiration. If you would like to disable this setting (and thereby allow use of login keys indefinitely), enter a "0" into the text box.

Session IP validation

This determines how much of the users' IP address is used to validate a session.

There are four settings available: All, A.B.C, A.B, and None. The All setting will compare the complete IP address. The A.B.C setting will compare the first x.x.x of the IP address. The A.B setting will compare the first x.x of the IP address. Lastly, selecting None will disable IP address checking altogether.

Validate browser

This enables the validation of the users' browsers for each session. This can help improve the users' security.

The available options are Yes and No. Choosing Yes will enable this browser validation.

Validate X_FORWARDED_FOR header

This setting controls whether sessions will only be continued if the sent X_FORWARDED_FOR header is the same as the one sent with the previous request. Bans will be checked against IP addresses in the X_FORWARDED_FOR header too.

The available options are Yes and No. Choosing Yes will enable the validation of the X_FORWARDED_FOR header.

Check IP against DNS Blackhole List:

You are also able to check the users' IP addresses against DNS blackhole lists. These lists are blacklists that list bad IP addresses. Enabling this setting will allow your board to check your users' IP addresses and compare them against the DNS blackhole lists. Currently, the DNS blacklist services on the sites spamcop.net, dsbl.org, and spamhaus.org.

Check email domain for valid MX record

It is also possible to attempt to validate emails used by your board's users. If this setting is enabled, emails that are entered when users register or change the email in their profile will be checked for a valid MX record.

The available options are Yes and No. Choosing Yes will enable the checking of MX records for emails.

Password complexity

Usually, more complex passwords fare well; they are better than simple passwords. To help your users try to make their account as secure as possible, you also have the option of requiring that they use a password as complex as you define. This requirement will apply to all users registering a new account, or when existing users change their current passwords.

There are four options in the selection menu. No requirements will disable password complexity checking completely. The Must be mixed case setting requires that your users' passwords have both lowercase and uppercase letters in their password. The Must contain alphanumerics setting requires that your users' password include both letters from the alphabet and numbers. Lastly, the Must contain symbols setting will require that your users' passwords include symbols.

Poznámka

For each password complexity requirement, the setting(s) above it in the selection menu will also apply. For example, selecting Must contain alphanumerics will require your users' passwords to include not only alphanumeric characters, but also have both lowercase and uppercase letters.

Force password change

It is always ideal to change passwords once in a while. With this setting, you can force your users to change their passwords after a set number of days that their passwords have been used.

Only integers can be entered in the text box, which is located next to the Days label. This integer is the number of days that, after which, your users will have to change their passwords. If you would like to disable this feature, enter a value of "0".

Maximum number of login attempts

It is also possible to limit the number of attempts that your users can have to try to login. Setting a specific limit will enable this feature. This can be useful in temporarily preventing bots or other users from trying to log into other users' accounts.

Only integers can be entered for this setting. The number entered it the maximum number of times a user can attempt to login to an account before having to confirm his login visually, with the visual confirmation.

Allow PHP in templates

Unlike phpBB2, phpBB3 allows the use of PHP code in the template files themselves, if enabled. If this option is enabled, PHP and INCLUDEPHP statements will be recognized and parsed by the template engine.

3.2.3.4. Nastavení zatížení

ameeck

On particularly large boards, it may be necessary to manage certain load-related settings in order to allow your board to run as smoothly as possible. However, even if your board isn't excessively active, it is still important to be able to adjust your board's load settings. Adjusting these settings properly can help reduce the amount of processing required by your server. Once you are done editing any of the server load-related settings, remember to click Submit to actually submit and apply your changes.

The first group of settings, General Settings, allows you to control the very basic load-related settings, such as the maximum system load and session lengths. The following describes each option in detail.

General settings

  • Limit system load: This option enables you to control the maximum load that the server can undergo before the board will automatically go offline. Specifically, if the system’s one-minute load average exceeds this value, the board will automatically go offline. A value of "1.0" equals about 100% utilisation of one processor. Note that this option will only work with *nix-based servers that have this information accessible. If your board is unable to get the load limit, this value will reset itself to "0". All positive numbers are valid values for this option. (For example, if your server has two processors, a setting of 2.0 would represent 100% server utilisation of both processors.) Set this to "0" if you do not want to enable this option.

  • Session length: This is the amount of time, in seconds, before your users' sessions expire. All positive integers are valid values. Set this to "0" if you want session lengths to last indefinitely.

  • Limit sessions: It is also possible to control the maximum amount of sessions your board will handle before your board will go offline and be temporarily disabled. Specifically, if the number of sessions your board is serving exceeds this value within a one-minute period, the board will go offline and be temporarily disabled. All positive integers are valid values. Set this to "0" if you want to allow an unlimited amount of sessions.

  • View online time span: This is the number of minutes after which inactive users will not appear in the Who is Online listings. The higher the number given, the greater the processing power required to generate the listing. All positive integers are valid values, and indicate the number of minutes that the time span will be.

The second group of settings, General Options, allows you to control whether certain options are available for your users on your board. The following describes each option further.

General options

  • Enable dotted topics: Topics in which a poster has already posted in will see dotted topic icons for these topics. To enable this feature, select, Yes.

  • Enable server-side topic marking: One of the many new features phpBB3 offers is server-side read tracking. This is different from phpBB2, which only offered read tracking based on cookies. To store read/unread status information in the database, as opposed to in a cookie, select Yes.

  • Enable topic marking for guests: It is also possible to allow guests to have read/unread status information. If you want your board to store read/unread status information for guests, select Yes. If this option is disabled, posts will be displayed as "read" for guests.

  • Enable online user listings: The online user listings can be displayed on your board's index, in each forum, and on topic pages. If you want to enable this option and allow the online user listings to be displayed, choose Yes.

  • Enable online guest listings in viewonline: If you want to enable the display of guest user information in the Who is Online section, choose Yes.

  • Enable display of user online/offline information: This option allows you to control whether or not online/offline status information for users can be displayed in profiles and on the topic view pages. To enable this display option, choose Yes.

  • Enable birthday listing: In phpBB3, birthdays is a new feature. To enable the listing of birthdays, choose Yes.

  • Enable display of moderators: Though it can be particularly useful to list the moderators who moderate each forum, it is possible to disable this feature, which may help reduce the amount of processing required. To enable the display of moderators, select Yes.

  • Enable display of jumpbox: The jumpbox can be a useful tool for navigating throughout your board. However, it is possible to control whether or not this is displayed. To display the jumpboxes, select Yes.

  • Show user's activity: This option controls whether or not the active topic/forum information displayed in your users' profiles and UCP. If you want to show this user activity information, select Yes. However, if your board has more than one million posts, it is recommended that you disable this feature.

  • Recompile stale templates: This option controls the recompilation of old templates. If this is enabled, your board will check to see if there are updated templates on your filesystem; if there are, your board will recompile the templates. Select Yes to enable this option.

Lastly, the last group of load settings relates to Custom Profile Fields, which are a new feature in phpBB3. The following describes these options in detail.

Custom Profile Fields

  • Allow styles to display custom profile fields in memberlist: This option allows you to control if your board's style(s) can display the custom profile fields (if your board has any) in the memberlist. To enable this, choose Yes.

  • Display custom profile fields in user profiles: If you want to enable the display of custom profile fields (if your board has any) in users' profiles, select Yes.

  • Display custom profile fields in viewtopic: If you want to enable the display of custom profile fields (if your board has any) in the topic view pages, choose Yes.

3.2.3.5. Nastavení vyhledávání

ameeck

Your board can be a well of information. Being able to effectively search through this information is very important, especially if you want to reduce the amount of redundant topics are posted on your board. Here, on the Search settings page, you can control what search backend your board's search functionality will use for indexing posts and searching, and set various options related to it. There are four main categories of search settings: General Search Settings, Search Backend, Fulltext mysql, and Fulltext native. The following describes each set of search settings in detail.

The first group of search settings are general and user-facing, meaning that they concern the users who use the search functionality directly.

General Search Settings

  • Enable search facilities: Setting this option to Yes will enable the search functionality for your users; member-searching functionality will also be enabled.

  • User search flood interval: This value indicates the number of seconds that your users have to wait between consecutive searches. This value is checked independently for each user. All positive integers are valid values. If you want to disable checking for search intervals for users, set this value to "0".

  • Guest search flood interval: This is the number of seconds between searches that guest users must wait. This value is checked independently for each guest. All positive integers are valid values. If you want to disable checking for search intervals for guests, set this value to "0".

  • Search page system load limit: You can also limit the amount of load your system will undergo for searches. If the system load exceeds this value, your board will go offline and be temporarily disabled. All numbers between 0 and 1.0 (inclusive) are valid values. A value of "1.0", for example, represents about 100% utilisation of a single processor; if the system load exceeds this value, the board will go offline. Note that this feature only works for *nix-based servers.

  • Min author name characters: Users have to enter at least this many characters of the name when performing a wildcard author search. If the author's username is shorter than this number, your users can still search for the author's posts by entering the complete username. All positive integers are valid values.

  • Search result cache length: phpBB3 can also cache search results. These cached search results will expire after this number of seconds. All positive integers are valid values. Set this value to "0" if you want to disable search caching.

The next group of search settings actually only contains one setting: choosing what backend your board's search facilities, if enabled, will use. The following details this option.

Search Backend

  • Search backend: This option specifies the backend that your board's search facilities will use if it is enabled. The backend is essentially the system/method that is actually responsible for conducting searches based on the queries it is given. There are two available options: Fulltext mysql and Fulltext native. Fulltext native is the default option, which is phpBB's own native fulltext sesarch. Choosing Fulltext mysql will make your board use mySQL's fulltext search as its search backend.

Poznámka

If you choose to change your board's current search backend, you will have to create an index of your board's content for the new search backend. If you know for sure that you're not going to use the index that was used with your old, previously chosen search backend, you can also delete it in order to free up some of your system's resources. To learn more about maintaining your board's search indices, see 3.10.3 – „Indexování pro vyhledávání“.

These next two groups of search settings concern each specific search backend individually. The Fulltext mysql group is only an information box, and displays information regarding your board and the mySQL fulltext option. The settings that are in the Fulltext Native group concern all of the settings related to phpBB3's built-in, native search backend.

Fulltext mysql

  • Support for non-latin UTF-8 characters using PCRE: This tells you if your system supports searching for non-Latin UTF-8 characters. This is only available in PHP versions 4.4 and above, and 5.1 and above. This is only relevant if you actually want your users to have the ability to search for non-Latin characters.

  • Support for non-latin UTF-8 characters using mbstring: If your system doesn't support UTF-8 characters using PCRE (as indicated in the setting above), the mySQL fulltext search backend will try to use mbstring's regular expression engine. Again, this is only relevant if you actually want your users to have the ability to seasrch for non-Latin characters.

Fulltext native

  • Enable fulltext updating: This option allows you to control whether or not your board's search index will update when posts are made. If you would like to enable this, choose Yes. Note that this is only relevant if your board's search functionality is disabled entirely.

  • Min characters indexed by search: You can also control the minimum number of characters words must contain in order to be included in your board's search index. It is recommended that you not set this too low in order to have a quality search index. All positive integers are valid values.

  • Max characters indexed by search: Just like the above setting, you can also control the maximum number of characters words must contain in order to be included in your board's search index. If a word has more than this number of characters in it, it will not be included in the search index. All positive integers are valid values.

  • Common word threshold: Like phpBB2's stopwords feature, you can prevent the use of common words that you specify. However, this feature is expanded upon in phpBB3. You can now control the threshold that a word can have; this means that if a word is contained in more than a certain percentage of posts on your board, it will be deemed as a common word, and will be ignored in search queries. All positive integers are valid values, and represent the percentage of posts on your board words can be contained in. If you would like to disable this threshold and thereby allow searches using all words, even if they can be common, set this value to "0". This setting only applies if your board has more than 100 posts.