📄 setup_options_inc.asp
字号:
<%
'****************************************************************************************
'** Copyright Notice
'**
'** Web Wiz Forums(TM)
'** http://www.webwizforums.com
'**
'** Copyright (C)2001-2008 Web Wiz(TM). All Rights Reserved.
'**
'** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS UNDER LICENSE FROM 'WEB WIZ'.
'**
'** IF YOU DO NOT AGREE TO THE LICENSE AGREEMENT THEN 'WEB WIZ' IS UNWILLING TO LICENSE
'** THE SOFTWARE TO YOU, AND YOU SHOULD DESTROY ALL COPIES YOU HOLD OF 'WEB WIZ' SOFTWARE
'** AND DERIVATIVE WORKS IMMEDIATELY.
'**
'** If you have not received a copy of the license with this work then a copy of the latest
'** license contract can be found at:-
'**
'** http://www.webwizguide.com/license
'**
'** For more information about this software and for licensing information please contact
'** 'Web Wiz' at the address and website below:-
'**
'** Web Wiz, Unit 10E, Dawkins Road Industrial Estate, Poole, Dorset, BH15 4JD, England
'** http://www.webwizguide.com
'**
'** Removal or modification of this copyright notice will violate the license contract.
'**
'****************************************************************************************
'******************************************
'*** Setup options ****
'******************************************
'Set up the Cookie ID Name
'(This is useful if you run multiple copies of Web Wiz Forums on the same site so that cookies don't interfer with each other)
Const strCookiePrefix = "WWF9"
'Set the Cookie Path
'If you have issues with cookies for your users you may want to change the path set for your cookies
Dim strCookiePath
strCookiePath = Left(Request.ServerVariables("HTTP_URL"), InstrRev(Request.ServerVariables("HTTP_URL"), "/"))
'strCookiePath = "/" 'Uncomment this line if your forum has issues with cookies
'Set up application variables prefix
'This can be useful if you are running mutiple installations of Web Wiz Forums on the same site or if you are using free web where you share your application object with others
Const strAppPrefix = "WWF9"
'Set if Application variables are used to improve performance
Const blnUseApplicationVariables = true
'Set up the database table name prefix
'(This is useful if you are running multiple forums from one database)
Const strDbTable = "tbl"
'Tracking/Session Data
'Set this to true if you wish to store user tracking/session data in the database and not in an application level array
'You may need to set this to 'True' if you are expericing login/session issues, or using a web garden or multiple load balanced web servers
'By using the database to store tracking/session data (set to 'True') will slow performance, course more database hits, and may course database corruption issues if using MS Access
Const blnDatabaseHeldSessions = False
'Set Encrypted passwords (ignore unless you don't wish to use Encrypted passwords in your forum)
'This will make your forum unsecure from hackers if you disable this!!!!!
'This can NOT be changed once your forum is in use!!!
'If you do disable Encrypted Passwords - You will also need to directly edit the database to type in the admin password to the Password field in the " & strDbTable & "Author table at record position 1 also edit both common.asp files to change this variable
Const blnEncryptedPasswords = true 'True = Encrypted Passwords Enabled - Flase = Encrypted Passwords Disabled
'Other options
Const blnForumViewing = True 'Displays how many users are viewing a forum
Const blnDisplayBirthdays = True 'Displays birthdays in the calendar system
Const blnDetailedErrorReporting = True 'Set this to false if you do not want detailed server error messages when server error occur
Const blnNoFollowTagInLinks = False 'To prevent search engine spiders/bots following links from posts to other sites etc. then set this to true so that links get the re="no follow" tag
Const intRSSLinkDisplayWeeks = 2 'This is the length of time to show RSS Feeds for posts for since they where last posted in, to high and you will consume to much bandwidth
Const blnModeratorProfileEdit = True 'Set this to False if you do not want moderators to edit the profiles of forum members
Const blnGuestPostingCAPTCHA = True 'Spam prevention, means that Guest need to enter CAPTCHA security image code before posting
Const blnClassicPageNumbering = False 'Set this to true if you like the old pre version 9 drop down page numbering
Const blnNewUserCode = False 'Create new user code on logging into the forum, improves security, but will loose auto-login status if you login from mulktiple computers
Const blnHttpXmlApi = True 'Set to false if you want to disable the HTTP XML API
'Upload folder path, DO NOT CHANGE as it may break your forums upload tools
Dim strUploadFilePath
strUploadFilePath = "uploads" 'This is the upload folder
'******************************************
'*** Browser Page Encoding ****
'******************************************
'This is set to 'ltr' (Left to Right) by default can be be chnaged to 'rtl' (Right to Left) for other charactersets
Const strTextDirection = "ltr"
'Uncomment the character set you require
'(uncomment means remove the (') single quote from infront of the line)
'Unicode UTF-8
Const strPageEncoding = "utf-8"
'Western European ISO
'Const strPageEncoding = "iso-8859-1"
'Arabic ISO
'Const strPageEncoding = "iso-8859-6"
'Arabic Windows
'Const strPageEncoding = "windows-1256"
'Baltic Windows
'Const strPageEncoding = "windows-1257"
'Central European DOS
'Const strPageEncoding = "ibm852"
'Central European ISO
'Const strPageEncoding = "iso-8859-2"
'Central European Windows
'Const strPageEncoding = "windows-1250"
'Chinese Simplified
'Const strPageEncoding = "gb2312"
'Chinese Simplified
'Const strPageEncoding = "hz-gb-2312"
'Chinese Traditional
'Const strPageEncoding = "big5"
'Cyrillic ISO
'Const strPageEncoding = "iso-8859-5"
'Cyrillic KOI8-R
'Const strPageEncoding = "koi8-r"
'Cyrillic KOI8-U
'Const strPageEncoding = "koi8-ru"
'Cyrillic Windows
'Const strPageEncoding = "windows-1251"
'Greek ISO
'Const strPageEncoding = "iso-8859-7"
'Greek Windows
'Const strPageEncoding = "windows-1253"
'Hebrew ISO-Logical
'Const strPageEncoding = "iso-8859-8-i"
'Hebrew ISO-Visual
'Const strPageEncoding = "iso-8859-8"
'Hebrew Windows
'Const strPageEncoding = "windows-1255"
'Japanese EUC
'Const strPageEncoding = "euc-jp"
'Japanese Shift-JIS
'Const strPageEncoding = "shift-jis"
'Korean
'Const strPageEncoding = "euc-kr"
'Thai Windows
'Const strPageEncoding = "windows-874"
'Turkish ISO
'Const strPageEncoding = "iso-8859-9"
'Vietnamese
'Const strPageEncoding = "windows-1258"
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -