Bookmark Plugin

Snitz™ .NET Core
https://www.reddick.co.uk/mvc/Topic/Posts/547?pagenum=1
Jul 01, 2025 12:23

Topic


HuwR
Bookmark Plugin
Feb 16, 2017 17:13


Allows you to save bookmarks to topics which can then be accessed from your personal account.
You can download the Plugin here ?filename=BookmarksMod.zip
Installing the Plugin
  1. Unzip the contents of the downloaded file
  2. Copy the file in the App_Data folder to your Forums App_Data folder on the webserver
  3. Copy the ForumWidgets folder and its contents to your Forums Plugins folder
  4. Open your forum in a browser, Navigate to the Admin/Tools page and use the 'Reset Application' button to recycle the application
Adding a menu link
To add a link to the members bookmarks, open the file /Views/Shared/_Menu.cshtml in a text editor. Add the following code wherever you want the link to appear.
Code:

@if (ClassicConfig.GetValue("STRBOOKMARKS") == "1")
{
<li>@Html.ActionLink(ResourceManager.GetLocalisedString("mnuBookmarks", "Menu"), "Index", "Bookmark")</li>
}

Adding the bookmark link to topics
Open the file /Views/Shared/_TopicButtons.cshtml and /Views/Shared/_TopicButtonsUser.cshtml
Add the following code wherever you want the link to appear in each of these files. _TopicButtons contains the admin/moderator buttons
_TopicButtonsUser contains member buttons
Code:

            @if (ClassicConfig.GetValue("STRBOOKMARKS") == "1")
{
@Html.Partial("_BookmarkLink")
}

 

© 2016-2025 Snitz™ Forums MVC