⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 view-sitesettings.ascx

📁 cnForums是功能强大的论坛。开发语言c#,三层结构。模块设计很值得学习
💻 ASCX
📖 第 1 页 / 共 2 页
字号:
			<td class="f">
				<b>Popular Posts Views</b>
				<br>
				How many views are required before a thread becomes popular?
			</td>
			<td class="fh">
				<asp:TextBox id="PopularPostThresholdViews" runat="Server" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Popular Posts Age (In Days)</b>
				<br>
				Days posts must be active within, i.e. received a new post.
			</td>
			<td class="fh">
				<asp:TextBox id="PopularPostThresholdDays" runat="Server" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Enable automatic Thread/Post Pruning</b>
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="AutoPostDelete" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Enable automatic User Pruning</b>
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="AutoUserDelete" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">Post Flooding</td>
		</tr>
		<tr>
			<td class="f">
				<b>Enable Flood Interval Checking</b>
				<br>
				Prevents one user from flooding the site with posts.
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="EnableFloodInterval" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Minimum tim between Posts</b>
				<br>
				The time in seconds between posts used by the flood interval check.
			</td>
			<td class="fh">
				<asp:TextBox id="PostInterval" runat="Server" />
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">IP Address Tracking</td>
		</tr>
		<tr>
			<td class="f" width="100%">
				<b>Enable Tracking of Poster IP Address</b>
				<br>
				Stores the IP address of the person who posted.
			</td>
			<td class="fh" width="400" nowrap>
				<asp:RadioButtonList CssClass="txt1" id="EnableTrackPostsByIP" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Display Poster IP Address Publicly</b>
				<br>
				Displays the IP address of the poster.
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="DisplayPostIP" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Display Poster IP Address only to Administrators &amp; Moderators</b>
				<br>
				Displays the IP address of the poster only to administrators and moderators.
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="DisplayPostIPAdminsModeratorsOnly" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">Date / Time Options</td>
		</tr>
		<tr>
			<td class="f" width="100%">
				<b>Date Format</b>
				<br>
				The format of all dates displayed. The user can override this setting in 
				his/her profile.
			</td>
			<td class="fh" width="300" nowrap>
				<forums:DateFormatDropDownList runat="server" id="DateFormat" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Time Format</b>
				<br>
				The format of all times displayed. The user can override this setting in 
				his/her profile.
			</td>
			<td class="fh">
				<asp:TextBox id="TimeFormat" runat="server" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>User Joined Date Format<font color="red"> (NOT ENABLED IN ALPHA)</font></b>
				<br>
				Formatting of a Date/Time when the user joined the forums. Used when displaying 
				posts.
			</td>
			<td class="fh">
				<asp:TextBox id="TimeFormatUserJoined" runat="server" />
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">Post Editing</td>
		</tr>
		<tr>
			<td class="f" width="100%">
				<b>Display Edit Notes</b>
				<br>
				When enabled displays the edits notes of a post at the bottom of the messages 
				(before the user signature).
			</td>
			<td class="fh" width="400" nowrap>
				<forums:YesNoRadioButtonList CssClass="txt1" id="DisplayEditNotes" RepeatColumns="2" runat="server" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Edit Post Body Age Limit (in minutes)</b>
				<br>
				When enabled enables a post title to be edited until the post has aged a 
				specified number of minutes (set to 0 to allow infinite editing).
			</td>
			<td class="fh">
				<asp:TextBox id="PostEditBodyAgeInMinutes" runat="server" />
			</td>
		</tr>
<!--
		<tr>
			<td class="f">
				<b>Edit Post Title Age Limit (in minutes)<font color="red"> (NOT ENABLED IN ALPHA)</font></b>
				<br>
				When enabled enables a post title to be edited until the post has aged a 
				specified number of minutes (set to 0 to allow infinite editing).
			</td>
			<td class="fh">
				<asp:TextBox id="PostEditTitleAgeInMinutes" runat="server" />
			</td>
		</tr>
-->
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">Forum URLs</td>
		</tr>
		<tr>
			<td class="f" width="100%">
				<b>Enable Search Friendly URL Paths</b>
				<br>
				When enabled URLs to ForumGroups, Forums, and Posts are displayed as:
				<p>
					http://localhost/Forums/5/ShowForum.aspx
					<br>
					vs.
					<br>
					http://localhost/Forums/ShowForums.aspx?ForumID=5</p>
			</td>
			<td class="fh" width="400" nowrap>
				<asp:RadioButtonList CssClass="txt1" id="EnableSearchFriendlyURLs" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">Cookie and Anonymous Settings</td>
		</tr>
		<tr>
			<td colspan="2" class="fh">
				The roles cookie is used to store an encrypted semicolon delimited string with 
				a list of roles the user belongs to. Storing this in a cookie alleviates the 
				need to request this data from the data source on each request to the forums.
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Roles Cookie Enabled</b>
				<br>
				When enabled an HTTP cookie is used to store an encrypted string containing 
				user roles.
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="EnableRolesCookie" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Track Anonymous Users</b>
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="EnableAnonymousTracking" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Roles Cookie Name</b>
				<br>
				Name of the cookie used to store user roles.
			</td>
			<td class="fh">
				<asp:TextBox id="RolesCookieName" runat="server" MaxLength="64" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Roles Cookie Expiration</b>
				<br>
				Time in minutes at which the roles cookie expires after being issued.
			</td>
			<td class="fh">
				<asp:TextBox id="RolesCookieExpiration" runat="server" MaxLength="6" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Anonymous Cookie Name</b>
			</td>
			<td class="fh">
				<asp:TextBox id="AnonymousCookieName" runat="server" MaxLength="64" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Anonymous Cookie Expriation</b>
			</td>
			<td class="fh">
				<asp:TextBox id="AnonymousCookieExpiration" runat="server" MaxLength="6" />
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Cookie Domain</b>
				<br>
				Allows for creation of subdomain insensitive cookies (example ".yourdomain.com").
			</td>
			<td class="fh">
				<asp:TextBox id="CookieDomain" runat="server" MaxLength="100" />
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">Anonymous</td>
		</tr>
		<tr>
			<td class="f">
				<b>Allow Anonymous Posts</b>
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="AnonymousPosting" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>Anonymous User Online Window</b>
			</td>
			<td class="fh">
				<asp:TextBox id="AnonymousUserOnlineTimeWindow" runat="server" MaxLength="64" />
			</td>
		</tr>
	</table>
<P>
	<table class="tableBorder" cellPadding="4" cellSpacing="1" width="100%">
		<tr>
			<td class="column" colspan="2">This section is for INSERT VALUE HERE.</td>
		</tr>
		<tr>
			<td class="f">
				<b>Enable Email</b>
			</td>
			<td class="fh">
				<asp:RadioButtonList CssClass="txt1" id="EnableEmail" RepeatColumns="2" runat="server">
					<asp:listitem Text="Yes" Value="True" />
					<asp:listitem Text="No" Value="False" />
				</asp:RadioButtonList>
			</td>
		</tr>
		<tr>
			<td class="f">
				<b>SMTP Server</b>
				<br>
				SMTP server used to send mail for your forums.
			</td>
			<td class="fh">
				<asp:TextBox id="SmtpServer" runat="server" MaxLength="64" />
			</td>
		</tr>
	</table>
	<table width="100%">
		<tr>
			<td align="right" class="txt3">
				<asp:button runat="server" Text="&nbsp; Save &nbsp;" ID="Save" />
				<asp:button runat="server" Text="&nbsp; Reset &nbsp;" ID="Reset" />
			</td>
		</tr>
	</table>
</P>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -