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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Move the command bar from top to bottom?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Juncti
Starting Member

9 Posts

Posted - 12 March 2003 :  17:28:52  Show Profile
Is there a way to move the bar at the top that has all the links(home, profile, ect...) to the bottom of the page rather than keep it on top? Maybe have it appear just before the copyright and snitz notice.

I tried just editing the header and footer files but it errored out bad, I probably didn't do it right so I just undid those edits till I could try and find a way to pull it off.

Thanks

Edited by - ruirib on 18 March 2003 14:44:27

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 12 March 2003 :  17:44:47  Show Profile  Visit PeeWee.Inc's Homepage
the code you are looking to move this:

call sForumNavigation()

and


sub sForumNavigation()
	' DEM --> Added code to show the subscription line
	if strSubscription > 0 and strEmail = "1" then
		if mlev > 0 then
			strSql = "SELECT COUNT(*) AS MySubCount FROM " & strTablePrefix & "SUBSCRIPTIONS"
			strSql = strSql & " WHERE MEMBER_ID = " & MemberID
			set rsCount = my_Conn.Execute (strSql)
			if rsCount.BOF or rsCount.EOF then
				' No Subscriptions found, do nothing
				MySubCount = 0
				rsCount.Close
				set rsCount = nothing
			else
				MySubCount = rsCount("MySubCount")
				rsCount.Close
				set rsCount = nothing
			end if
			if mLev = 4 then
				strSql = "SELECT COUNT(*) AS SubCount FROM " & strTablePrefix & "SUBSCRIPTIONS"
				set rsCount = my_Conn.Execute (strSql)
				if rsCount.BOF or rsCount.EOF then
					' No Subscriptions found, do nothing
					SubCount = 0
					rsCount.Close
					set rsCount = nothing
				else
					SubCount = rsCount("SubCount")
					rsCount.Close
					set rsCount = nothing
				end if
			end if
		else
			SubCount = 0
			MySubCount = 0
		end if
	else
		SubCount = 0
		MySubCount = 0
	end if
	Response.Write	"          <a href=""" & strHomeURL & """" & dWStatus("Homepage") & " tabindex=""-1""><acronym title=""Homepage"">Home</acronym></a>" & vbNewline & _
			"          |" & vbNewline
	if strUseExtendedProfile then 
		Response.Write	"          <a href=""pop_profile.asp?mode=Edit""" & dWStatus("Edit your personal profile...") & " tabindex=""-1""><acronym title=""Edit your personal profile..."">Profile</acronym></a>" & vbNewline
	else
		Response.Write	"          <a href=""javascript:openWindow3('pop_profile.asp?mode=Edit')""" & dWStatus("Edit your personal profile...") & " tabindex=""-1""><acronym title=""Edit your personal profile..."">Profile</acronym></a>" & vbNewline
	end if 
	if strAutoLogon <> "1" then
		if strProhibitNewMembers <> "1" then
			Response.Write	"          |" & vbNewline & _
					"          <a href=""policy.asp""" & dWStatus("Register to post to our forum...") & " tabindex=""-1""><acronym title=""Register to post to our forum..."">Register</acronym></a>" & vbNewline
		end if
	end if
	Response.Write	"          |" & vbNewline & _
			"          <a href=""active.asp""" & dWStatus("See what topics have been active since your last visit...") & " tabindex=""-1""><acronym title=""See what topics have been active since your last visit..."">Active Topics</acronym></a>" & vbNewline 
	' DEM --> Start of code added to show subscriptions if they exist
	if (strSubscription > 0) then
		if mlev = 4 and SubCount > 0 then
			Response.Write	"          |" & vbNewline & _
					"          <a href=""subscription_list.asp?MODE=all""" & dWStatus("See all current subscriptions") & " tabindex=""-1""><acronym title=""See all current subscriptions"">All Subscriptions</acronym></a>" & vbNewline
		end if
		if MySubCount > 0 then
			Response.Write	"          |" & vbNewline & _
					"          <a href=""subscription_list.asp""" & dWStatus("See all of your subscriptions") & " tabindex=""-1""><acronym title=""See all of your subscriptions"">My Subscriptions</acronym></a>" & vbNewline
		end if
	end if
	' DEM --> End of Code added to show subscriptions if they exist
	Response.Write	"          |" & vbNewline & _
			"          <a href=""members.asp""" & dWStatus("Current members of these forums...") & " tabindex=""-1""><acronym title=""Current members of these forums..."">Members</acronym></a>" & vbNewline & _
			"          |" & vbNewline & _
			"          <a href=""search.asp"
	if Request.QueryString("FORUM_ID") <> "" then Response.Write("?FORUM_ID=" & cLng(Request.QueryString("FORUM_ID")))
	Response.Write	"""" & dWStatus("Perform a search by keyword, date, and/or name...") & " tabindex=""-1""><acronym title=""Perform a search by keyword, date, and/or name..."">Search</acronym></a>" & vbNewline & _
			"          |" & vbNewline & _
			"          <a href=""faq.asp""" & dWStatus("Answers to Frequently Asked Questions...") & " tabindex=""-1""><acronym title=""Answers to Frequently Asked Questions..."">FAQ</acronym></a>"
end sub

This is in inc_header.asp around lines:
292
and
434

De Priofundus Calmo Ad Te Damine
Go to Top of Page

Juncti
Starting Member

9 Posts

Posted - 13 March 2003 :  16:50:13  Show Profile
So would I simply cut that section of code out of the header.asp and then place it in the footer? Or would it need to be placed in a certain spot inside the footer.asp file?

Thanks for the help
Go to Top of Page

Juncti
Starting Member

9 Posts

Posted - 17 March 2003 :  14:58:12  Show Profile
Tried to move that code but it caused an error. Here is the error code
Microsoft VBScript compilation error '800a03ea'

Syntax error

/snitz/inc_footer.asp, line 88

sub sForumNavigation()

Any suggestions on how to move this code so that this menu will appear at the bottom rather than the top?
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 17 March 2003 :  15:03:22  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Post a link to a .txt version of your inc_footer.asp

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

Juncti
Starting Member

9 Posts

Posted - 17 March 2003 :  16:23:04  Show Profile
Here's the header and the footer since I need to move that code from one to the other.

Header:
http://www.alhamco.com/textonly/inc_header.txt

Footer:
http://www.alhamco.com/textonly/inc_footer.txt

Modified footer where I've pasted the code listed above from the header into the footer
http://www.alhamco.com/textonly/modifiedfooter.txt

Go to Top of Page

Juncti
Starting Member

9 Posts

Posted - 18 March 2003 :  14:23:23  Show Profile
Just an update. Thanks for pointing me in the right direction. I wasn't able to move the code successfully but I was able to delete that menu all together making it disappear from the top.

I just deleted call sForumNavigation() and it went away.

I then made an menu.asp file which I put all the links from the top menu in(just clicked each link and copied the url), and then just included the menu.asp in the footer.

Might of not been the optimal way to go about it, but now I can use a flash logo instead of a still jpg up top, and I can provide more navigation while inside the forums. Also made a flash menu to make it look nicer.
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 1.21 seconds. Powered By: Snitz Forums 2000 Version 3.4.07