<?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 : Post in forum, from outside forum.</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 : Post in forum, from outside forum.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 11 Apr 2026 10:18:50 +0000</pubDate>
  <lastBuildDate>Thu, 22 Jun 2006 10:18:22 +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=20377</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[Post in forum, from outside forum. : Cool  ]]></title>
   <link>https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109459.html#109459</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 20377<br /><strong>Posted:</strong> 22&nbsp;June&nbsp;2006 at 10:18am<br /><br />Cool&nbsp;<img src="https://forums.webwiz.net/smileys/smiley16.gif" border="0" align="absmiddle">]]>
   </description>
   <pubDate>Thu, 22 Jun 2006 10:18:22 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109459.html#109459</guid>
  </item> 
  <item>
   <title><![CDATA[Post in forum, from outside forum. : okay then its not realy a problem....]]></title>
   <link>https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109432.html#109432</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6460">BrownGhost</a><br /><strong>Subject:</strong> 20377<br /><strong>Posted:</strong> 21&nbsp;June&nbsp;2006 at 7:37pm<br /><br />okay then its not realy a problem. all is good, and i want to thank you for all your help.. :)<br><br>Making a new site for a costumer of mine thy want forum also, so im buying more forum later this week :)<br><br>thanks...<br>]]>
   </description>
   <pubDate>Wed, 21 Jun 2006 19:37:30 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109432.html#109432</guid>
  </item> 
  <item>
   <title><![CDATA[Post in forum, from outside forum. :  It should be fine how it is.If...]]></title>
   <link>https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109427.html#109427</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 20377<br /><strong>Posted:</strong> 21&nbsp;June&nbsp;2006 at 7:18pm<br /><br />It should be fine how it is.<br><br>If by some 1 million to 1 chance another user posted at the same time as you and the database updated their stats in a million second before yours then you would just have the wrong poster displayed as the last poster in that topic, this will be updated when a new user posts or you use the admin button to update the topic.<br><br>By the way for performance reasons the database isn't locked during this process in version 8 anyway.<br><br>Most 'updates' are now row locks, and most 'reads' are now 'dirty' reads were the database is not locked during the read. This hasn't seemed to create a problem, but does increase performance. <br><span style="font-size:10px"><br /><br />Edited by -boRg- - 21&nbsp;June&nbsp;2006 at 7:20pm</span>]]>
   </description>
   <pubDate>Wed, 21 Jun 2006 19:18:37 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109427.html#109427</guid>
  </item> 
  <item>
   <title><![CDATA[Post in forum, from outside forum. : Humm that gave me an idear for,...]]></title>
   <link>https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109424.html#109424</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6460">BrownGhost</a><br /><strong>Subject:</strong> 20377<br /><strong>Posted:</strong> 21&nbsp;June&nbsp;2006 at 6:30pm<br /><br />Humm that gave me an idear for, changing my code at bit. its now working..<br><br>strSQL = _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "INSERT INTO tblTopic(Forum_ID,Poll_ID,Moved_ID,Subject,Start_Date,Last_Entry_Date,No_Of_Views,Locked,Priority,NewsID) " &amp; _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "VALUES("&amp; intForumID &amp;",0,0,'" &amp; strTitleName &amp; "',GetDate(),GetDate(),0,0,0," &amp; lngNewsID &amp; ")"<br>&nbsp;&nbsp;&nbsp; objConn.Execute strSQL<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strSQL = "SELECT Max(Topic_ID) AS ID FROM tblTopic"<br>&nbsp;&nbsp;&nbsp; lngTopicID = objConn.Execute(strSQL)("ID")<br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strSQL = _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "INSERT INTO tblThread(Topic_ID,Author_ID,Message,Message_Date,Show_Signature,IP_Addr) " &amp; _<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; "VALUES(" &amp; lngTopicID &amp; "," &amp; strTeamUserID &amp; ",'" &amp; strTeaser &amp; "',GetDate(),0,'')"<br>&nbsp;&nbsp;&nbsp; objConn.Execute strSQL<br>Else<br>&nbsp;&nbsp;&nbsp; lngTopicID = rsTopic("Topic_ID")<br>End If<br><br>&nbsp;&nbsp;&nbsp; <br>&nbsp;&nbsp;&nbsp; strSQL = "SELECT Max(Thread_ID) AS ID FROM tblThread"<br>&nbsp;&nbsp;&nbsp; lngThreadID = objConn.Execute(strSQL)("ID")<br><br><br>strSQL = "UPDATE tblTopic SET Start_Thread_ID=" &amp; lngThreadID &amp; ", Last_Thread_ID=" &amp; lngThreadID &amp; " WHERE Topic_ID=" &amp; lngTopicID<br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; objConn.Execute strSQL<br><br>Response.Redirect "/forum/forum_posts.asp?TID=" &amp; lngTopicID<br><br><br>Now i set the Start_Thread_ID and Last_Thread_ID at the end of my code.<br>But Qcustion is, what if some other user makes new thred at the same time ??<br><br>Can i Lock the tabel until im don running my code.. <br>And how do one do this?<br><br>Thx<br>im not proff programmer as you, so i need some help.<br>]]>
   </description>
   <pubDate>Wed, 21 Jun 2006 18:30:12 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109424.html#109424</guid>
  </item> 
  <item>
   <title><![CDATA[Post in forum, from outside forum. : Have a look in the files new_post.asp,...]]></title>
   <link>https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109395.html#109395</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=1">WebWiz-Bruce</a><br /><strong>Subject:</strong> 20377<br /><strong>Posted:</strong> 21&nbsp;June&nbsp;2006 at 10:24am<br /><br />Have a look in the files new_post.asp, and delete_post.asp handle the insert and deletion of posts. This should give you some idea of what to do.]]>
   </description>
   <pubDate>Wed, 21 Jun 2006 10:24:58 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109395.html#109395</guid>
  </item> 
  <item>
   <title><![CDATA[Post in forum, from outside forum. :   Post in forum, from outside...]]></title>
   <link>https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109374.html#109374</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="https://forums.webwiz.net/member_profile.asp?PF=6460">BrownGhost</a><br /><strong>Subject:</strong> 20377<br /><strong>Posted:</strong> 20&nbsp;June&nbsp;2006 at 10:19pm<br /><br /><p ="Ms&#111;normal"><span style="">Post in forum, fromoutside forum.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">We have made afunction in version 7.1 where visitors could comment news written on my page.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="">When selecting tocomment a post was made in forum, in a category we already have decided whatwas. And it would post as the news writer as we include his id and stuff.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="">All working great.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">Now after we haveupdated to V 8.2 this function still works, except, the post don’t show op inthe forum, if you select that category. If I track the post via ID I can seeits there. But its not showing up in forum. I know what the problem is, but don’thow to fix it.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">The problem was whenwe make a post in forum via our news page it did not create: Start_Thread_ID Last_Thread_ID<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">So I try the codebelow to fix that problem.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="">Works until some one deletesa post, then its not right any more.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">Lets say Thread_ID 12was deleted. <o:p></o:p></span></p><p ="Ms&#111;normal"><span style="">Then next Thread_ID willbe 13<br>But my code will look in forum see that 11 is there + 1 and assume its 12.<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="">And use 12 for my post:(<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>strSQL = "SELECTMax(Thread_ID+1) AS ID FROM tblThread"<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>lngThreadID =objConn.Execute(strSQL)("ID")<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>strSQL = _<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>"INSERT INTOtblTopic(Forum_ID,Poll_ID,Moved_ID,Subject,Start_Date,Last_Entry_Date,No_Of_Views,Locked,Priority,NewsID,Start_Thread_ID,Last_Thread_ID)" &amp; _<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>"VALUES("&amp;intForumID &amp;",0,0,'" &amp; strTitleName &amp;"',GetDate(),GetDate(),0,0,0," &amp; lngNewsID &amp; ","&amp; lngThreadID &amp; "," &amp; lngThreadID &amp; ")"<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>objConn.Execute strSQL<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>strSQL = "SELECT Max(Topic_ID)AS ID FROM tblTopic"<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>lngTopicID =objConn.Execute(strSQL)("ID")<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>strSQL = _<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>"INSERT INTOtblThread(Topic_ID,Author_ID,Message,Message_Date,Show_Signature,IP_Addr)" &amp; _<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>"VALUES("&amp; lngTopicID &amp; "," &amp; strTeamUserID &amp; ",'"&amp; strTeaser &amp; "',GetDate(),0,'')"<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><span style="">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>objConn.Execute strSQL<o:p></o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style=""><o:p>&nbsp;</o:p></span></p><p ="Ms&#111;normal"><span style="">Can you think of a wayi can fix this problem?<o:p></o:p></span></p><p ="Ms&#111;normal"><span style="">Thanks a lot.<o:p></o:p></span></p>]]>
   </description>
   <pubDate>Tue, 20 Jun 2006 22:19:04 +0000</pubDate>
   <guid isPermaLink="true">https://forums.webwiz.net/post-in-forum-from-outside-forum_topic20377_post109374.html#109374</guid>
  </item> 
 </channel>
</rss>