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)
 Categories closed by default
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

rabufo
Junior Member

Italy
328 Posts

Posted - 17 April 2006 :  13:02:08  Show Profile
Hello,

how can I setup the Snitz to make all categories closed (hide) by default in the main page?

Thank you very much

leatherlips
Senior Member

USA
1838 Posts

Posted - 17 April 2006 :  15:19:46  Show Profile  Visit leatherlips's Homepage
If all of the categories are closed by defaut, what do you want your viewers to see? You could require registration which would only show the login page. To do this, go to Admin Options > Main Forum Configuration and set Require Registration to On.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 18 April 2006 :  03:57:54  Show Profile
Sorry, trying to be more clear.
This is the Snitz main page, with categories showing forums contained in themselves


I'd make the main page appear by default in the way below, with categories "closed", not showing forums. Users must click on category title to open it.


Edited by - rabufo on 18 April 2006 03:58:46
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 18 April 2006 :  11:57:50  Show Profile  Visit leatherlips's Homepage
Try this, (make a backup copy first):

In default.asp:

Find:

Sub DoHideCategory(intCatId)
HideForumCat = strUniqueID & "HideCat" & intCatId
if Request.QueryString(HideForumCat) = "Y" then
Response.Cookies(HideForumCat) = "Y"
Response.Cookies(HideForumCat).Expires = dateAdd("d", 30, strForumTimeAdjust)
else
if Request.QueryString(HideForumCat) = "N" then
Response.Cookies(HideForumCat) = "N"
Response.Cookies(HideForumCat).Expires = dateadd("d", -2, strForumTimeAdjust)
end if
end if
end sub


Replace with:

Sub DoHideCategory(intCatId)
HideForumCat = strUniqueID & "HideCat" & intCatId
if Request.QueryString(HideForumCat) = "N" then
Response.Cookies(HideForumCat) = "N"
else
Response.Cookies(HideForumCat) = "Y"
end if
Response.Cookies(HideForumCat).Expires = dateAdd("d", 30, strForumTimeAdjust)
end sub


Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

rabufo
Junior Member

Italy
328 Posts

Posted - 19 April 2006 :  03:02:26  Show Profile
It works fine, leastherlips, thank you very much!
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.47 seconds. Powered By: Snitz Forums 2000 Version 3.4.07