Bookmark Plugin - Posted (1816 Views)
Forum Administrator
/mvc/ProtectedContent/Avatar/HuwR132430879466080654.jpg
Posts: 4383
starstarstarstarstar
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")
}


Signature Test