Print Page | Close Window

active topics prob beta2

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=322
Printed Date: 29 March 2026 at 8:03am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: active topics prob beta2
Posted By: BOB1
Subject: active topics prob beta2
Date Posted: 19 February 2003 at 4:40pm

in the active topics ppl can see msgs from forums that they don't have access to.

how can i fix it?




Replies:
Posted By: WebWiz-Bruce
Date Posted: 20 February 2003 at 7:06am
You can't

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: BOB1
Date Posted: 20 February 2003 at 7:35am

:(

and u can?



Posted By: WebWiz-Bruce
Date Posted: 20 February 2003 at 10:04am
No, it's simply not possible to filter the recordset and keep the active topics page working correctly.

-------------
https://www.webwiz.net/web-wiz-forums/forum-hosting.htm" rel="nofollow - Web Wiz Forums Hosting
https://www.webwiz.net/web-hosting/windows-web-hosting.htm" rel="nofollow - ASP.NET Web Hosting


Posted By: Mikael
Date Posted: 20 February 2003 at 11:56am

You can do this in a ugly and simple way, I haved tried it before...

If you look in the active_topics.asp around line 256 or something you will find:

 'Loop round to read in all the Topics in the database
 For intRecordLoopCounter = 1 to intTopicPerPage
  
  'If there are no records left in the recordset to display then exit the for loop
  If rsForum.EOF Then Exit For

Add this directly after:

  If NOT rsForum("Forum_name") = "<ForumTitle>" Then

Do not forget to clos the IF-statement around line 392 directly after:
  'Move to the next database record
  rsForum.MoveNext

I know that this is a ugly way to solve the problem on, but it works! Maby anyone can replace the rsForum("Forum_name") with a "is forum password-protected" statement that looks in the database....



Posted By: BOB1
Date Posted: 20 February 2003 at 12:44pm
tnx Mikael , i'll try this.


Posted By: Mikael
Date Posted: 20 February 2003 at 12:58pm
Tell me if it works...



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net