<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Web Wiz Support and Community Forums : View posts since last visit MOD</title>
  <link>https://forums.webwiz.net/</link>
  <description><![CDATA[This is an XML content feed of; Web Wiz Support and Community Forums : Web Wiz Forums : View posts since last visit MOD]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 12 Apr 2026 08:00:05 +0000</pubDate>
  <lastBuildDate>Wed, 02 Mar 2005 22:56:29 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.08</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>https://forums.webwiz.net/RSS_post_feed.asp?TID=13967</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Web Wiz Support and Community Forums]]></title>
   <url>https://forums.webwiz.net/forum_images/web_wiz_forums.png</url>
   <link>https://forums.webwiz.net/</link>
  </image>
  <item>
   <title><![CDATA[View posts since last visit MOD : Well, I simplified the following...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77882.html#77882</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19460">claytone19</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 02&nbsp;March&nbsp;2005 at 10:56pm<br /><br /><font face="Times New Roman, Times, serif" size="1"><b><font size="3"><font face="Arial, Helvetica, sans-serif"><font color="#cc0000">Well,I simplified the following ASP code, so that you can integrate it intoyour site the way you want. You can add to it as much as you like. Themessage only displays to members logged into your forum and only thenif there is active topics since last visit.<br><br>Here is the code for the stored procedure.</font><br></font></font></b>##############################################################<br>CREATE PROCEDURE &#091;dbo&#093;.&#091;wwfSpActiveTopicsCount&#093;<br>(<br>@AuthorID int,<br>@GroupID int,<br>@GroupPerm int,<br>@dblActiveFrom datetime<br>)<br>&nbsp;AS<br>&nbsp;<br>SELECT Count(tblTopic.Topic_ID) as TopicCount<br>FROM tblCategory, tblForum, tblTopic<br>WHERE ((tblCategory.Cat_ID = tblForum.Cat_ID AND tblForum.Forum_ID =tblTopic.Forum_ID) AND (tblTopic.Last_entry_date &gt; @dblActiveFrom))<br>AND (tblForum.&#091;Read&#093; &lt;= @GroupPerm OR (tblTopic.Forum_ID IN (<br>&nbsp;&nbsp;&nbsp; SELECT tblPermissions.Forum_ID<br>&nbsp;&nbsp;&nbsp; FROM tblPermissions<br>&nbsp;&nbsp;&nbsp; WHERE tblPermissions.Author_ID = @AuthorID ORtblPermissions.Group_ID = @GroupID AND tblPermissions.&#091;Read&#093;=1))<br>&nbsp;&nbsp;&nbsp; )<br>;<br>##########################################################<br><br><font face="Arial, Helvetica, sans-serif" size="3"><b><font color="#cc0000">On your home page make sure you include this file:</font></b><br>&lt;!--#include file="forum/common.asp" --&gt;<br><br><b><font color="#cc0000">Then you will want to add code similer to this:</font></b><br></font></font><font face="Times New Roman, Times, serif" size="1"><font face="Arial, Helvetica, sans-serif" size="3"><font size="1"><font color="#660000">&lt;%</font><br>' </font></font></font><font face="Times New Roman, Times, serif" size="1">##########################################################</font><br><font face="Times New Roman, Times, serif" size="1"><font face="Arial, Helvetica, sans-serif" size="3"><font size="1">If strLoggedInUsername &lt;&gt; "" Then<br>&nbsp; Response.write "Welcome &lt;span class=bold&gt;" &amp; strLoggedInUsername &amp; "&lt;/span&gt; <br>IF strLoggedInUsername &lt;&gt; "Guest" and Session("dtmLastVisit") &lt;&gt; "" Then<br>&nbsp; If intGroupID = 2 Then ' GUEST<br>&nbsp; &nbsp; intForumGroupPermission = 1 <br>&nbsp; ElseIf intGroupID = 1 Then ' ADMIN<br>&nbsp;&nbsp;&nbsp;&nbsp; intForumGroupPermission = 4<br>&nbsp; Else ' EVERYONE ELSE<br>&nbsp; &nbsp;&nbsp;&nbsp; intForumGroupPermission = 2<br>&nbsp; End If<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp; strSQL = "EXECUTE wwfSpActiveTopicsCount @dblActiveFrom ='" &amp; Session("dtmLastVisit") &amp; "', @AuthorID = " &amp;lngLoggedInUserID &amp; ", @GroupID = " &amp; intGroupID &amp; ",@GroupPerm = " &amp; intForumGroupPermission<br>&nbsp; rsCommon.Open strSQL, adoCon<br>&nbsp; dim intCount<br>&nbsp;&nbsp; If Not rsCommon.EOF Then<br>&nbsp;&nbsp;&nbsp;&nbsp; intCount = rsCommon("TopicCount")<br>&nbsp;&nbsp; End If<br>&nbsp;&nbsp; rsCommon.Close<br>&nbsp;&nbsp; <br>&nbsp;&nbsp; IF intCount &gt; 0 Then<br>&nbsp;&nbsp;&nbsp;&nbsp; If intCount = 1 Then%&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp; &lt;br&gt;There has been &lt;ahref="forum/active_topics.asp"&gt;(&lt;%=intCount%&gt;)&lt;/a&gt; newmessage posted since you last visited&lt;%<br>&nbsp;&nbsp;&nbsp;&nbsp; else%&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;br&gt;There have been &lt;ahref="forum/active_topics.asp"&gt;(&lt;%=intCount%&gt;)&lt;/a&gt; newmessages posted since you last visited&lt;%<br>&nbsp;&nbsp;&nbsp; &nbsp; End if&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; End If ' Count &gt; 0<br>End If <br></font></font></font><font face="Times New Roman, Times, serif" size="1">' ##########################################################<br></font><font color="#660000" face="Times New Roman, Times, serif" size="1"><font face="Arial, Helvetica, sans-serif" size="3"><font size="1">%&gt;</font></font></font><font face="Times New Roman, Times, serif" size="1"><font face="Arial, Helvetica, sans-serif" size="3"><br><br></font></font>]]>
   </description>
   <pubDate>Wed, 02 Mar 2005 22:56:29 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77882.html#77882</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : That is exactly what I need. Could...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77766.html#77766</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12115">wistex</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 01&nbsp;March&nbsp;2005 at 7:32pm<br /><br /><P>That is exactly what I need.&nbsp; Could you provide the code for the mod?&nbsp; Thanks. <IMG height=17 alt=Smile src="http://forums.webwiz.net/smileys/smiley1.gif" width=17 align=absMiddle border="0"></P>]]>
   </description>
   <pubDate>Tue, 01 Mar 2005 19:32:59 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77766.html#77766</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : Too late, I already wrote my own...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77431.html#77431</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19460">claytone19</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 26&nbsp;February&nbsp;2005 at 10:15pm<br /><br />Too late, I already wrote my own stored procedure. <br>Thanks though.<br><br><br>]]>
   </description>
   <pubDate>Sat, 26 Feb 2005 22:15:55 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77431.html#77431</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : There&amp;#039;s a few mods around...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77412.html#77412</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 26&nbsp;February&nbsp;2005 at 10:50am<br /><br />There's a few mods around that do just that. Check the mods forum.]]>
   </description>
   <pubDate>Sat, 26 Feb 2005 10:50:00 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77412.html#77412</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : thanks, I just realized that....]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77391.html#77391</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19460">claytone19</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 26&nbsp;February&nbsp;2005 at 1:04am<br /><br />thanks, I just realized that. <br><br>Now I will write code at login to check if there are any posts sincethe user logged in and if so display "there are 10 new messages sinceyou last logged in" with a link to active topics since lastvisit date.<br><br>thanks guys for the responses<br>]]>
   </description>
   <pubDate>Sat, 26 Feb 2005 01:04:12 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77391.html#77391</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : If you click on &amp;#034;Active Topics&amp;#034;...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77189.html#77189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=12115">wistex</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 23&nbsp;February&nbsp;2005 at 5:52pm<br /><br />If you click on "Active Topics" it automatically gives you the posts since last visit.&nbsp; There is also a drop down box where you can specify a different time range if you so desire. <span style="font-size:10px"><br /><br />Edited by wistex - 24&nbsp;February&nbsp;2005 at 12:49am</span>]]>
   </description>
   <pubDate>Wed, 23 Feb 2005 17:52:41 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77189.html#77189</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : How is that different from active...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77177.html#77177</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=9949">dpyers</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 23&nbsp;February&nbsp;2005 at 1:55pm<br /><br />How is that different from active topics?<span style="font-size:10px"><br /><br />Edited by dpyers - 23&nbsp;February&nbsp;2005 at 4:39pm</span>]]>
   </description>
   <pubDate>Wed, 23 Feb 2005 13:55:14 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77177.html#77177</guid>
  </item> 
  <item>
   <title><![CDATA[View posts since last visit MOD : Is there a &amp;#034;View posts since...]]></title>
   <link>https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77170.html#77170</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=19460">claytone19</a><br /><strong>Subject:</strong> 13967<br /><strong>Posted:</strong> 23&nbsp;February&nbsp;2005 at 12:56pm<br /><br />Is there a "<u>View posts since last visit</u>" Mod for Web Wiz?<br>Or is there something like already that I am overlooking?<br><br>I don't want just active topics, all posts that have been posted since the last time the user logged in.<br><br>thanks<br><br><br>]]>
   </description>
   <pubDate>Wed, 23 Feb 2005 12:56:50 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/view-posts-since-last-visit-mod_topic13967_post77170.html#77170</guid>
  </item> 
 </channel>
</rss>