Latest Register Log In

+ Advanced Search

Using Personal List for Saved Topics

Using Personal List for Saved Topics
By
11/15/13 (Edited 03/11/14)

Normally, you would use Admin -> Settings -> Switches -> Saved Topics to allow members to save their favorite topics. Sometimes, however, this might be inadequate. Suppose you want to allow them to sort the topics into subforums, or you want to allow them to both save existing topics and create their own unique topics that are in their list alone (and you don't want these to be separate lists). For these purposes, we can adapt Admin -> Settings -> Switches -> Personal List instead.

In normal use, the personal list allows submitting their own unique topics to their list (the list is a menu item in their member home area) but doesn't allow saving topics from elsewhere. To enable the saving to personal list, go to Admin -> Themes -> Manage Templates -> Topic Bit and add this at your desired location (say just before the </td> at the end):
<IF {THISMEMBERISREGISTERED}>
<IF not {LINKISINMYALBUMS}>
<IF {TID} does not contain albums>
<form action="https://scripts.webmastersite.net/wsnforum/manual/albums.php?add={LINKID}" method="post">
Add to <select name="subalbumid">{THISMEMBERALBUMLIST}</select>
<input type="submit" value="Add" >
</form>
</IF>
<ELSE>
<a href="albums.php?todo=remove&linkid={LINKID}&catid={LINKOURALBUMCATID}">Remove from personal list</a>
</IF>
</IF>


Now your members can easily add/remove from their personal list from anywhere on the site. Alternatively, you might prefer to put the above code in the topic details template instead of the topic bit if you only want it shown on the details page.




Description Saved topics with subforums and unique topics.
Rating
Views 259 views. Averaging 0 views per day.