Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - active topics prob beta2
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

active topics prob beta2

 Post Reply Post Reply
Author
BOB1 View Drop Down
Senior Member
Senior Member


Joined: 12 October 2002
Location: Israel
Status: Offline
Points: 395
Post Options Post Options   Thanks (0) Thanks(0)   Quote BOB1 Quote  Post ReplyReply Direct Link To This Post Topic: active topics prob beta2
    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?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 7:06am
You can't
Back to Top
BOB1 View Drop Down
Senior Member
Senior Member


Joined: 12 October 2002
Location: Israel
Status: Offline
Points: 395
Post Options Post Options   Thanks (0) Thanks(0)   Quote BOB1 Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 7:35am

:(

and u can?

Back to Top
WebWiz-Bruce View Drop Down
Admin Group
Admin Group
Avatar
Web Wiz Developer

Joined: 03 September 2001
Location: Bournemouth
Status: Offline
Points: 9844
Post Options Post Options   Thanks (0) Thanks(0)   Quote WebWiz-Bruce Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
Mikael View Drop Down
Groupie
Groupie
Avatar

Joined: 16 November 2002
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikael Quote  Post ReplyReply Direct Link To This Post 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....

Back to Top
BOB1 View Drop Down
Senior Member
Senior Member


Joined: 12 October 2002
Location: Israel
Status: Offline
Points: 395
Post Options Post Options   Thanks (0) Thanks(0)   Quote BOB1 Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 12:44pm
tnx Mikael , i'll try this.
Back to Top
Mikael View Drop Down
Groupie
Groupie
Avatar

Joined: 16 November 2002
Status: Offline
Points: 151
Post Options Post Options   Thanks (0) Thanks(0)   Quote Mikael Quote  Post ReplyReply Direct Link To This Post Posted: 20 February 2003 at 12:58pm
Tell me if it works...
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.