PageRenderTime 30ms CodeModel.GetById 26ms RepoModel.GetById 0ms app.codeStats 0ms

/yafsrc/YAF.Extras/YAF.SampleWebApplication/VB/YAF.SampleWebApplication/app.config

http://yafnet.codeplex.com
ASP.NET | 326 lines | 22 code | 34 blank | 270 comment | 0 complexity | 348372ad138821ca6e1526f7c03a32e3 MD5 | raw file
Possible License(s): BSD-3-Clause, LGPL-2.1, MPL-2.0-no-copyleft-exception, GPL-2.0
  1. <appSettings>
  2. <!--
  3. ******************************************************************
  4. ** ConfigPassword Key ** Defaults to: Empty (not installed) **
  5. Password to run configuration (/install/default.aspx) for the forum.
  6. If you cannot set write permissions on this file (app.config)
  7. you can manually enter a plain text password here that will
  8. be required when you attempt to run the configuration. Install/config
  9. password is required for security reasons.
  10. -->
  11. <add key="YAF.ConfigPassword" value="pass" />
  12. <!--
  13. ******************************************************************
  14. ** BoardID Key ** Defaults to: 1 **
  15. You can create as many boards as you want and they will function as seperate
  16. forums (with seperate users). (Admin->Boards to create new boards.)
  17. You can also specify "BoardID" in the forum control:
  18. <YAF:Forum ID="Forum1" runat="server" BoardID="2" />
  19. -->
  20. <add key="YAF.BoardID" value="1" />
  21. <!--
  22. ******************************************************************
  23. ** EnableURLRewriting Key ** Defaults to: false **
  24. For advanced users who need SEO-quality URLs on their forum. If
  25. you don't know what SEO is, you probably don't need to enable.
  26. -->
  27. <add key="YAF.EnableURLRewriting" value="true" />
  28. <!--
  29. ******************************************************************
  30. ** URLRewritingMode Key ** Defaults to: false **
  31. Unicode - will replace url symbols with unicode characters
  32. Translit - will replace unicode characters with ascii characters
  33. no entry - will replace non-ascii symbols with dashes
  34. For advanced users who need SEO-quality URLs on their forum. If
  35. you don't know what SEO is, you probably don't need to enable.
  36. -->
  37. <add key="YAF.URLRewritingMode" value="Translit" />
  38. <!--
  39. ******************************************************************
  40. ** SMTP SSL Key ** Defaults to: false **
  41. Set to true to use SSL for SMTP server connections.
  42. -->
  43. <add key="YAF.UseSMTPSSL" value="false" />
  44. <!--
  45. ******************************************************************
  46. ** databaseObjectQualifier Key ** Defaults to: yaf_ **
  47. For advanced users who want to change the prefix for Yaf DB
  48. structure.
  49. -->
  50. <add key="YAF.DatabaseObjectQualifier" value="yaf_" />
  51. <!--
  52. ******************************************************************
  53. ** DatabaseOwner Key ** Defaults to: dbo **
  54. For advanced users who want to the change the default permissions
  55. for the YAF DB structure.
  56. -->
  57. <add key="YAF.DatabaseOwner" value="dbo" />
  58. <!--
  59. ******************************************************************
  60. ** ConnectionStringName Key ** Defaults to: yafnet **
  61. The Database Connection string name YAF should use. Defaults
  62. to "yafnet" for backward compatibility.
  63. -->
  64. <add key="YAF.ConnectionStringName" value="yafnet" />
  65. <!-- Used to override a default provider
  66. <add key="YAF.MembershipProvider" value="YafMembershipProvider" />
  67. <add key="YAF.RoleProvider" value="YafRoleProvider" />
  68. <add key="YAF.ProviderProvider" value="YafProfileProvider" />
  69. -->
  70. <!--
  71. *******************************************************************
  72. Used for Url Rewriting - default is "default.aspx"
  73. <add key="YAF.BaseScriptFile" value="default.aspx" />
  74. -->
  75. <!--
  76. *******************************************************************
  77. Gets an override value, sometimes useful for Custom Trust Levels
  78. <add key="YAF.OverrideTrustLevel" value="false" />
  79. -->
  80. <!-- Gets the Prefix used for Url Rewriting - default is "yaf_"
  81. <add key="YAF.UrlRewritingPrefix" value="yaf_" />
  82. -->
  83. <!--
  84. ******************************************************************
  85. ** providerExceptionXML Key ** Defaults to: ProviderExceptions.xml **
  86. The file that the providers pull exception messages from.
  87. -->
  88. <add key="YAF.ProviderExceptionXML" value="ProviderExceptions.xml" />
  89. <!--
  90. ******************************************************************
  91. ** UploadDir Key ** Defaults to: "~/upload/" **
  92. Has now been deprecated in favour of BoardRoot. The upload folder is now
  93. the value of BoardRoot appended with "upload/".
  94. -->
  95. <!--
  96. ******************************************************************
  97. ** Optional BoardRoot Key ** Defaults to a empty string.
  98. Provides a method of moving Images/Themes/Uploads to a subfolder within
  99. the YAF application.
  100. Make sure there is write permissions to this directory for Uploads to
  101. work.
  102. <add key="YAF.BoardRoot" value="~/Boards/" />
  103. -->
  104. <!--
  105. ******************************************************************
  106. ** Optional MultiBoardFolders Key ** Defaults to false
  107. Appends BoardRoot with the CurrentBoardID to allow different Images/
  108. Uploads/Themes per board. E.g. /Boards/1/Themes.
  109. Requires manually adding of themes.
  110. <add key="YAF.MultiBoardFolders" value="true" />
  111. -->
  112. <!--
  113. ******************************************************************
  114. ** Optional File Root Key ** Defaults to: AppRoot (below) **
  115. File Root is server-side and used by YAF to find and load files.
  116. If YAF forum files are not located in the Application Root (~/)
  117. of your web site you need to specify the additional url
  118. in this root key. Example: Application Root is "/forum"
  119. You want your forum at "www.mysite.com/forum". You need to specify
  120. "/forum" in your root key below.
  121. PLEASE NOTE:
  122. YAF .dll files (from the \bin directory in the zip) AND ALL files
  123. in the \App_Code directory MUST be located in the Application Root.
  124. <add key="YAF.FileRoot" value="~/forum"/>
  125. -->
  126. <!--
  127. ******************************************************************
  128. ** DisableJQuery Key ** Defaults to: jQuery **
  129. Used to set JQuery alias. Used for integration purposes.
  130. <add key="YAF.JQueryAlias" value="jQuery" />
  131. -->
  132. <!--
  133. ******************************************************************
  134. ** DisableJQuery Key ** Defaults to: false **
  135. Used to YAF JQuery version loading. Used for integration purposes.
  136. <add key="YAF.DisableJQuery" value="false" />
  137. -->
  138. <!--
  139. ******************************************************************
  140. ** JQuery Key ** Defaults to: js/jquery.min.js **
  141. Used to override default YAF JQuery version. Used for integration purposes.
  142. <add key="YAF.JQuery" value="js/jquery.min.js" />
  143. -->
  144. <!--
  145. ******************************************************************
  146. ** JQueryUIFile Key ** Defaults to: http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js **
  147. Used to override default YAF JQueryUI version. Used for integration purposes.
  148. <add key="YAF.JQueryUIFile" value="http://ajax.googleapis.com/ajax/libs/jqueryui/1/jquery-ui.min.js" />
  149. -->
  150. <!--
  151. ******************************************************************
  152. ** JQueryUILangFile Key ** Defaults to: http://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery-ui-i18n.min.js **
  153. Used to override default YAF JQueryUI version. Used for integration purposes.
  154. <add key="YAF.JQueryUILangFile" value="http://ajax.googleapis.com/ajax/libs/jqueryui/1/i18n/jquery-ui-i18n.min.js" />
  155. -->
  156. <!--
  157. ******************************************************************
  158. ** Optional AppRoot ** Defaults to: "~/" **
  159. If YAF forum URL is different than the Application Root, specify
  160. it manually here. Do NOT include server information.
  161. e.g. ~/forum
  162. -->
  163. <!--
  164. ******************************************************************
  165. ** Optional Base Url Mask ** Defaults to: "Current Server" **
  166. Use this key to provide a base url override or mask for your YAF
  167. forum. This is the protocol and server ONLY - add any path information
  168. to your AppRoot.
  169. e.g.: https://mydomain.com
  170. <add key="YAF.BaseUrlMask" value="" />
  171. <add key="YAF.ForceScriptName" value="default.aspx" />
  172. -->
  173. <!--
  174. ******************************************************************
  175. ** Membership Provider Key Type ** Defaults to: "System.Guid" **
  176. The type that the membership provider expects the ProviderKey
  177. to be. Most providers use expect System.Guid.
  178. Valid values include:
  179. System.Guid (default)
  180. System.String (max 64 character length)
  181. System.Int32
  182. System.Int64
  183. -->
  184. <add key="YAF.ProviderKeyType" value="System.Guid" />
  185. <!--
  186. ******************************************************************
  187. ** Mobile User Agents **
  188. Comma delimited list of all the mobile user agents. Case-insensitive.
  189. -->
  190. <add key="YAF.MobileUserAgents" value="iphone,ipad,midp,windows ce,windows phone,android,blackberry,opera mini,mobile,palm,portable,webos,htc,armv,lg/u,elaine,nokia,playstation,symbian,sonyericsson,mmp,hd_mini"/>
  191. <!--
  192. ******************************************************************
  193. ** Optional ShowToolBar ** Defaults to: "true" **
  194. You can hide the toolbar with the optional key below. You may want
  195. to do this if you've incorporated YAF into your existing site and
  196. have your own menu controls for accessing the forum.
  197. <add key="YAF.ShowToolBar" value="false" />
  198. -->
  199. <!--
  200. ******************************************************************
  201. ** Optional AllowLoginAndLogoff ** Defaults to: "true" **
  202. You can turn off the ability for YAF users to login and logoff (for
  203. site integration) by uncommenting the key below.
  204. <add key="YAF.AllowLoginAndLogoff" value="false" />
  205. -->
  206. <!--
  207. ******************************************************************
  208. ** Optional SqlCommandTimeout ** Defaults to: "99999" **
  209. Option to Set the Sql Command Timeout
  210. In some cases is need to set it to Unlimited value="0"
  211. <add key="YAF.SqlCommandTimeout" value="99999" />
  212. -->
  213. <!--
  214. ******************************************************************
  215. ** Optional Facebook Single Sign On Feature
  216. To Turn on that Feature you need to have an Facebook Developer
  217. Application
  218. <add key="YAF.FacebookAPIKey" value="XXXX" />
  219. <add key="YAF.FacebookSecretKey" value="XXXX" />
  220. -->
  221. <!--
  222. ******************************************************************
  223. ** JS and CSS Block Compression Minify Feature
  224. Option to Automatically Compress Java Script and/or CSS Blocks
  225. by Default it is turned off if you want to disable it you need to add the following
  226. lines
  227. <add key="YAF.CompressJSBlocks" value="false" />
  228. <add key="YAF.CompressCSSBlocks" value="false" />
  229. -->
  230. <add key="YAF.FileRoot" value="~/forum"/>
  231. <add key="YAF.AppRoot" value="~/forum" />
  232. <add key="YAF.EnableURLRewriting" value="true" />
  233. <add key="YAF.BaseUrlMask" value="http://192.168.2.10/yaftest/" />
  234. <add key="YAF.BaseScriptFile" value="forum.aspx" />
  235. <add key="YAF.ForceScriptName" value="forum.aspx" />
  236. <!-- RadEditor configuration settings-->
  237. <add key="YAF.RadEditorSkin" value="Black"/>
  238. <add key="YAF.UseRadEditorToolsFile" value="true"/>
  239. <add key="YAF.RadEditorToolsFile" value="/forum/editors/radEditor/toolsFile.xml" />
  240. <!-- RadEditor configuration settings-->
  241. </appSettings>