$SectionName = "Advanced_Settings";
### Section 1
#############################################
$SectionSub1 = "Setting_up_Permalinks_and_RSS";
$SectionBody1 = q~
YaBB gives you the ability to set up permalinks (search engine friendly and bookmark friendly URIs) as well as RSS feeds from your entire forum, specific Categories and specific Boards. In order to set up these functions, you must be logged in as a Forum Administrator or Global Moderator with proper access rights. In the “Admin Center” find the section in the left hand menu titled “Forum Configuration”. Click on “Advanced Settings”.
- Permalinks
To use permalinks, your forum must be on a server that allows "FollowSymLinks" and "RedirectMatch" or "RewriteEngine" in either an .htaccess file or as a server setting. Check with your hosting service to see if these server level functions are available to you.
If those functions are available: Setting up Permalinks has instructions on how to set up that part of permalinks.
Once the server level settings are set, you can activate Permalinks within YaBB and tell it how to create the new permalink URIs by inputting the name of the 'virtual URI' folder that's in the "RedirectMatch" or "RewriteRule" in the .htaccess file.
- RSS
Before you activate RSS on the Forum, Category, or Board level, make sure it is not disabled in “Advanced Settings”. Then set the number of topics that will be shown in the feed (the default is 10). Also choose whether or not Posting dates will be shown and what order the Topic items will be shown in the feed.
Select whether or not author screen names and e-mail addresses will be shown (assuming the author has chosen not to hide this information).
The RSS specification requires that authors have e-mail addresses. Input the default e-mail address what will be shown in the RSS feed if the author's e-mail is hidden or "Show the author's screen name and e-mail address (if not hidden)?" is unchecked. If this field is left empty, the default e-mail address will be the "Webmaster E-mail Address" from “Advanced Settings -> E-Mail”.
Administrator Tip: To keep the Webmaster E-mail Address from being overrun with spam, create a separate RSS default e-mail address like 'noreply@yourforum.nz'. This doesn't need to be real address as nobody is going to be checking it anyway.
~;
#############################################
### Section 2
#############################################
$SectionSub2 = "E-Mail_Settings";
$SectionBody2 = q~Setup how YaBB sends e-mails.
- E-Mail
YaBB gives you multiple ways for YaBB to send e-mails to members. If your forum is on a BSD/*nix system, sendmail is usually the best option. If sendmail is available from your host, get its location and put that information in the text box below the dropdown selection. (This location is often '/usr/sbin/sendmail'.) If sendmail is not available, choose one of the other options from the dropdown selection.
- SMTP-Server: the URL of the SMTP server you will be using. On many hosts this is on the order of 'smtp.yourdomain.com' or 'mail.yourdomain.com'.
- SMTP Server Authorization: this has multiple parts: Authorization type (usually Auto), SMTP user name and password.
Administrator Tip: If you have an e-mail address set up using your host's SMTP Server, the authorization type, user name, and password have probably been saved in your personal e-mail program e-mail settings.
- Settings for New Member Notification E-mail
Select whether or not a 'newmember notification' is sent to the designated e-mail address.
- Topic E-mail Setting
Select if/how 'Topic Notification' e-mails are sent.
~;
#############################################
### Section 3
#############################################
$SectionSub3 = "File_Attachments";
$SectionBody3 = q~Check the permissions on the Attachment and PMAttachment folders and set user permissions, file types, and other parameters.
- Post Attachments
Check folder path and permissions (server permissions)
Set number of attachments allowed in posts. (Whether or not attachments are allowed in posts on a particular board is set for each board in "Manage Boards".)
- Display Picture Attachments in Posts?: if checked, attachments that are pictures will also be displayed in the attachments section of the post (The size of this displayed picture is set under “Advanced Settings -> Smart Image Resize -> Attachment images”.)
- File Extensions: turn on the Enable File Extension Check and choose which type of files will be permitted.
NOTE: turning off the File Extension Check could allow files with malicious content to be run on your server. If you want to allow the upload of such things as html files, javascript files or executable files, require them to be packaged and uploaded as a zip or tar file.
- File and Directory size: Set the maximum size of attached files and the size of the Attachment folder. Set both of these limits to something reasonable for your forum.
- File Rename/Overwrite: Choose how YaBB will handle attachment files that have the same name as already existing files.
- PM Attachments
Check folder path and permissions (server permissions)
Set number of attachments allowed in Personal messages.
- Display Picture Attachments in PMs?: if checked, attachments that are pictures will also be displayed in the attachments section of the message (The size of this displayed picture is set under “Advanced Settings -> Smart Image Resize -> Attachment images”.)
- File Extensions: turn on the Enable File Extension Check and choose which type of files will be permitted.
NOTE: turning off the File Extension Check could allow files with malicious content to be run on your server. If you want to allow the upload of such things as html files, javascript files or executable files, require them to be packaged and uploaded as a zip or tar file.
- File and Directory size: Set the maximum size of attached files and the size of the PM Attachment folder. Set both of these limits to something reasonable for your forum.
- File Rename/Overwrite: Choose how YaBB will handle attachment files that have the same name as already existing files.
~;
#############################################
### Section 4
#############################################
$SectionSub4 = "Smart_Image_Resize";
$SectionBody4 = q~Set the parameters for resizing Avatars, Post images, Signature images, Attachment images, and Board/Category images
- For each type of image
You can choose the maximum height and width of each type of image in pixels or disable resizing of the image type altogether. Larger images will "shrink" to fit within the maximum set limits.
NOTE: An image taller than it is wide will be limited by the maximum height and will adjust the width proportionally, which will be less than the maximum width. An image wider than taller will be limited by the maximum width and will adjust the height proportionally, which will be less than the maximum height.
- Greybox
Attached images and images inside posts can be shown on a slightly translucent surface instead in a new window. The Admin can select between a single view and a gallery style view for attached images.
~;
### Section 5
#############################################
$SectionSub5 = "Advanced";
$SectionBody5 = q~Here you can set up the various the parameters for the various user/click/error logs and other items.
- Output Compression
Output compression compresses the data going to the browser, saving bandwidth. YaBB will detect what type of output compression is available on your server.
You can also choose whether or not YaBB checks to see if the user's browser supports output compression. It's recommended that YaBB do this check as some older and minority browsers do not support output compression and will be unable to render your forum's pages if those are sent compressed.
- Browser Cache Behavior
This setting puts a 'meta tag' in the forum pages telling the user's browser whether or not it should store items/data (such as stylesheets and images) that do not change over time.
NOTE: Although most browsers do follow cache instructions found in individual documents, this is a deprecated feature in HTML 5.
- Click Log (Forum Access Log)
When activated, YaBB logs the user ID and IP address as well as what pages were visited (and how many times they were visited) within the number of minutes set in 'Time in minutes to log each click in your forum'.
- Error Logger
Enable the Error Log, set whether or not old errors are deleted as new ones are logged and how many errors will appear in the Error Log.
NOTE: Disabling the Error Log means you have no way of checking what errors are occurring on your forum - this includes such things as members having trouble logging in, attempts by search engines to get into areas not permitted to guests, other problems on your forum. Setting the number of errors shown to a very small number means you may not see important error messages as they will be over-written by newer ones. (Misbehaving search engines and failed registration/login attempts can fill up an error log really fast.)
- Debug
For use in the event your forum is having issues with files not opening and/or closing properly or you need to trace what files are being used in a particular section so you can trouble shoot a problem.
You can choose whether just the Admin sees the output, everyone sees the full output, everyone sees how long it takes for a page to load (useful if trying to track down whether slow page loads are a server issue or an Internet issue), or debugging is turned off.
- Files
Choose which type of file-locking (if any) YaBB should use, depending on what OS your forum's host is running.
NOTE: As of 2015, it is unlikely that your host is running a server that needs Windows 9x file-locking.
- Free Disk Space Options
Turning this on gives you a link to access the various free disk space checks that are available on some Unix/Linux/BSD servers.
If your forum is on a multiple user host system, "Free Disk Space Functions" may report larger available space than is actually available to you.
NOTE: If the "Free Disk Space Functions" page fails to load or if a function on the "Free Disk Space Functions" page is grayed out or cannot be checked, your server does not support these functions. If the page fails to load, uncheck the "Free Disk Space Options" check box.
~;
1;