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 / Current Version (Old)
 Show all topics always..
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

jonte
Starting Member

Sweden
19 Posts

Posted - 15 March 2001 :  06:37:18  Show Profile  Visit jonte's Homepage
I want to show all topics always. I don´t want the listmenu with the alternatives, how do I do that?
Sorry for my poor english, just trying my best here


Om man skriver ÅÄÖ ser det förmodligen väldigt kul ut hos andra.

gor
Retired Admin

Netherlands
5511 Posts

Posted - 15 March 2001 :  07:33:32  Show Profile  Visit gor's Homepage
Easiest would be to leave the listbox, but to set the default setting of the listbox to "Show All Topics". That way if someone enters the forum for the first time he/she sees all topics. If they don't select a different option, that stays the way it is.

in forum.asp change the blue code starting at line 65:

if nDays = "" then
nDays = 0
end if




Pierre
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 15 March 2001 :  07:35:25  Show Profile  Visit gor's Homepage
and if you really want to remove the selectbox, remove this code in forum.asp starting at line 224:

<form action="<% =Request.ServerVariables("SCRIPT_NAME") & "?" & Request.Querystring %>" method="post" name="DaysFilter">
<select name="Days" onchange="javascript:setDays();">
<option value="0" <% if ndays = "0" then Response.Write(" SELECTED")%>>Show all topics</option>
<option value="-1" <% if ndays = "-1" then Response.Write(" SELECTED")%>>Show all open topics</option>
<option value="1" <% if ndays = "1" then Response.Write(" SELECTED")%>>Show topics from last day</option>
<option value="2" <% if ndays = "2" then Response.Write(" SELECTED")%>>Show topics from last 2 days</option>
<option value="5" <% if ndays = "5" then Response.Write(" SELECTED")%>>Show topics from last 5 days</option>
<option value="7" <% if ndays = "7" then Response.Write(" SELECTED")%>>Show topics from last 7 days</option>
<option value="14" <% if ndays = "14" then Response.Write(" SELECTED")%>>Show topics from last 14 days</option>
<option value="30" <% if ndays = "30" then Response.Write(" SELECTED")%>>Show topics from last 30 days</option>
<option value="60" <% if ndays = "60" then Response.Write(" SELECTED")%>>Show topics from last 60 days</option>
<option value="120" <% if ndays = "120" then Response.Write(" SELECTED")%>>Show topics from last 120 days</option>
<option value="365" <% if ndays = "365" then Response.Write(" SELECTED")%>>Show topics from the last year</option>
</select>
<input type="hidden" name="Cookie" value="1">
</form>

and replace it with a single

 

Make sure you still change the code in the previous reply !!

Pierre
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.29 seconds. Powered By: Snitz Forums 2000 Version 3.4.07