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)
 "Jump to Forum" at Top
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Mark M
New Member

Australia
98 Posts

Posted - 05 May 2003 :  23:48:32  Show Profile  Visit Mark M's Homepage
What would the code changes be (and to which file) to put the Jump to: Select Forum drop down at the top of the list-of-posts page instead of the bottom?

tenable
Starting Member

25 Posts

Posted - 05 July 2003 :  14:33:13  Show Profile
I would like to know how to remove it altogether. I have used the no "jump to" selector in the forum features setup but it has no effect it is still there. Any one no what the problem is?
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 05 July 2003 :  14:40:50  Show Profile
quote:
Originally posted by tenable

I would like to know how to remove it altogether. I have used the no "jump to" selector in the forum features setup but it has no effect it is still there. Any one no what the problem is?

There is not such option in admin options to remove the Jump To dropdown box. You need to edit the code manually to do that. Will post how to do this in a few mins...

Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~
Go to Top of Page

Nikkol
Forum Moderator

USA
6907 Posts

Posted - 05 July 2003 :  14:58:17  Show Profile
To remove the box:

In forum.asp find this bit of code and remove the red parts:
Response.Write	"          </font></td>" & vbNewLine & _
		"          <td align=""right"" valign=""top"" width=""33%"" nowrap>" & vbNewLine
%>
<!--#INCLUDE FILE="inc_jump_to.asp" -->
<%
Response.Write	"          </td>" & vbNewLine & _
		"        </tr>" & vbNewLine & _

So that it looks like:
Response.Write	"          </font></td>" & vbNewLine
Response.Write	"        </tr>" & vbNewLine & _

You will then need to adjust the width from 33% to 50% on the two table cells above that code.

A similar thing will need to be done to topic.asp and active.asp.

MarkM, to move that bit of code to the top of the page, follow the instructions above and then find the following code in forum.asp:
if maxpages > 1 then
	Response.Write	"        <tr>" & vbNewLine & _
			"          <td colspan=""3"" align=""right"" valign=""bottom"">" & vbNewLine & _
			"            <table border=""0"" align=""right"">" & vbNewLine & _
			"              <tr>" & vbNewLine
	Call DropDownPaging(1)
	Response.Write	"              </tr>" & vbNewLine & _
			"            </table>" & vbNewLine & _
			"          </td>" & vbNewLine & _
			"        </tr>" & vbNewLine
else
	Response.Write	"        <tr>" & vbNewLine & _
			"          <td colspan=""3""><span style=""font-size: 6px;""><br /></span></td>" & vbNewLine & _
			"        </tr>" & vbNewLine
end if

And make it look like:
if maxpages > 1 then
	Response.Write	"        <tr>" & vbNewLine & _
			"          <td colspan=""2"" align=""left"" valign=""bottom"">" & vbNewLine
%>
<!--#include file="inc_jump_to.asp"-->
<%
	Response.Write	"          </td>" & vbNewLine & _
			"          <td align=""right"" valign=""bottom"">" & vbNewLine & _
			"            <table border=""0"" align=""right"">" & vbNewLine & _
			"              <tr>" & vbNewLine
	Call DropDownPaging(1)
	Response.Write	"              </tr>" & vbNewLine & _
			"            </table>" & vbNewLine & _
			"          </td>" & vbNewLine & _
			"        </tr>" & vbNewLine
else
	Response.Write	"        <tr>" & vbNewLine & _
			"          <td colspan=""2"" align=""left"" valign=""bottom"">" & vbNewLine
%>
<!--#include file="inc_jump_to.asp"-->
<%
	Response.Write	"          </td>" & vbNewLine & _
			"          <td><span style=""font-size: 6px;""><br /></span></td>" & vbNewLine & _
			"        </tr>" & vbNewLine
end if


Nikkol ~ Help Us Help You | ReadMe | 3.4.03 fixes | security fixes ~

Edited by - Nikkol on 05 July 2003 15:02:46
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.41 seconds. Powered By: Snitz Forums 2000 Version 3.4.07