Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update default settings to enable DNN search #203

Merged
merged 2 commits into from
Jan 23, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion App_LocalResources/ControlPanel.ascx.resx
Original file line number Diff line number Diff line change
Expand Up @@ -961,7 +961,7 @@
<value>Use filters to replace text from a users post when it is submitted.</value>
</data>
<data name="[RESX:Tips:IndexContent].Text" xml:space="preserve">
<value>Allows content from this forum to be included in the DotNetNuke site search. This may give users access to secure content.</value>
<value>Allows content from this forum to be included in the DotNetNuke site search.</value>
</data>
<data name="[RESX:Tips:MailConnector].Text" xml:space="preserve">
<value>Allows users to reply to posts via email. Click the properties icon for more details.</value>
Expand Down
2 changes: 1 addition & 1 deletion App_LocalResources/ForumSettings.ascx.resx
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
<value>Default Profile</value>
</data>
<data name="DeleteBehavior.Help" xml:space="preserve">
<value>Choose what happens to content when deleted. &lt;b&gt;Remove&lt;/b&gt; - Removes content from database. &lt;b&gt;Recycle&lt;/b&gt; - Content is marked as deleted and remains in the database.</value>
<value>Choose what happens to content when deleted. &lt;b&gt;Remove&lt;/b&gt; - Removes content from database. &lt;b&gt;Recycle&lt;/b&gt; - Content is marked as deleted and remains in the database. Choose this option if you want to take advantage of DNN incremental search.</value>
</data>
<data name="DeleteBehavior.Text" xml:space="preserve">
<value>Delete Behavior</value>
Expand Down
4 changes: 2 additions & 2 deletions ForumSettings.ascx
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@
<div class="dnnFormItem">
<dnn:label ID="lblDeleteBehavior" runat="server" resourcekey="DeleteBehavior" Suffix=":" />
<asp:DropDownList ID="drpDeleteBehavior" runat="server">
<asp:ListItem Value="0" resourcekey="Remove" Selected="True"></asp:ListItem>
<asp:ListItem Value="1" resourcekey="Recycle"></asp:ListItem>
<asp:ListItem Value="0" resourcekey="Remove"></asp:ListItem>
<asp:ListItem Value="1" resourcekey="Recycle" Selected="True"></asp:ListItem>
</asp:DropDownList>
</div>
<div class="dnnFormItem">
Expand Down
2 changes: 1 addition & 1 deletion class/ForumsConfig.cs
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ private void LoadDefaultForums(int PortalId, int ModuleId)
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.AllowPostIcon, "true");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.AllowEmoticons, "true");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.AllowScript, "false");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.IndexContent, "false");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.IndexContent, "true");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.AllowRSS, "true");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.AllowAttach, "true");
Settings.SaveSetting(ModuleId, sKey, ForumSettingKeys.AttachCount, "3");
Expand Down
2 changes: 1 addition & 1 deletion config/defaultsetup.config
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<setting name="FLOODINTERVAL" value="0" />
<setting name="LOGGINGLEVEL" value="0" />
<setting name="EDITINTERVAL" value="0" />
<setting name="DELETEBEHAVIOR" value="0" />
<setting name="DELETEBEHAVIOR" value="1" />
<setting name="MAILQUEUE" value="false" />
<setting name="PROFILETYPE" value="1" />
<setting name="USERNAMEDISPLAY" value="Displayname" />
Expand Down