Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 Selective Active Topics
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

keng38
New Member

United Kingdom
80 Posts

Posted - 07 February 2005 :  12:32:45  Show Profile  Visit keng38's Homepage
Is there a way of blocking certain topics or categories from view in the active topics feature?
I have a certain Category which I am trying to block from coming into view when clicking on the active topics link, (And on the portal as well)

keng38
New Member

United Kingdom
80 Posts

Posted - 14 February 2005 :  06:47:31  Show Profile  Visit keng38's Homepage
Can I do this with an "if topicid=XXX else" kind of asp code?
Go to Top of Page

TStewartFan
Junior Member

190 Posts

Posted - 14 February 2005 :  08:35:58  Show Profile  Visit TStewartFan's Homepage
Although I have yet to experiment with my Active.asp page from a quick glance I think you can save yourself a bit of grief here. Find this line:
' DEM --> if not an admin, all unapproved posts should not be viewed.
Modify the If statement below this to include the CAT_ID you are hoping to exclude from the Active Page. It whould work...theoretically. Something like below where the category you are hoping to exclude is equal to 3:

strSql = strSql & " AND ((T.T_AUTHOR <> " & MemberID &_
" AND T.CAT_ID = 3)" ' Ignore unapproved categories

Just below:
if mlev <> 4 then

If not maybe one of these brilliant minds here can better modify this solution to work as I am still a Newbie to this site as well.

If You Have to Ask, You Wouldn't Understand.
Go to Top of Page

keng38
New Member

United Kingdom
80 Posts

Posted - 15 February 2005 :  09:26:55  Show Profile  Visit keng38's Homepage
Thanks for your help TstewartFan.
I am not administering all posts before approval so surely that wouldn't work?
I just need the active.asp file to ignore 1 particular category

Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 15 February 2005 :  09:30:57  Show Profile  Send ruirib a Yahoo! Message
Why would you want that? Should that category contents be private? You could configure all forums in the category to have Auth Type set to Allowed Members List (hidden) and only people on the list (and the admins) would get to see it in active topics (of course, only those could also access the forums in the category).


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

keng38
New Member

United Kingdom
80 Posts

Posted - 17 February 2005 :  10:27:25  Show Profile  Visit keng38's Homepage
The problem I have is that a few users who want to chat about "utter crap" while the rest of us want to get on with the important stuff.
I figured if I could leave out the "utter crap" part from the active topics then the site would have a bit more credibility with the sensible folk.
I also need the site to be readble by non members as well as it's a community site.

Edited by - keng38 on 17 February 2005 10:28:10
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07