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)
 Need help resizing forums
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

GavinK
Starting Member

26 Posts

Posted - 27 December 2004 :  11:10:14  Show Profile
Hi,

I want to line up these forums:

with the header at the top which I think is 600 wide.

I have the Site Integration MOD installed but just can't figure out how to resize the forums so that they line up with the header part at the top.

Anyone know how to do this?

Thanks,
Gavin

Edited by - GavinK on 13 January 2005 16:03:04

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 27 December 2004 :  11:38:20  Show Profile  Visit PeeWee.Inc's Homepage
you need to edit inc_header.asp

the site Integration MOD is only really to add things to the top, bottom, left and right, not to resize the whole forum.

De Priofundus Calmo Ad Te Damine
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 27 December 2004 :  12:52:38  Show Profile
quote:
Originally posted by PeeWee.Inc

you need to edit inc_header.asp

the site Integration MOD is only really to add things to the top, bottom, left and right, not to resize the whole forum.



Thanks. but where?



sorry but that.

Edited by - GavinK on 13 January 2005 16:03:26
Go to Top of Page

PeeWee.Inc
Senior Member

United Kingdom
1893 Posts

Posted - 27 December 2004 :  14:48:58  Show Profile  Visit PeeWee.Inc's Homepage
Can you edit that post and post a inc_header.txt file so we can all read it and show you where to make the code edits.

De Priofundus Calmo Ad Te Damine
Go to Top of Page

muzishun
Senior Member

United States
1079 Posts

Posted - 27 December 2004 :  18:38:18  Show Profile  Visit muzishun's Homepage
I'm pretty sure it is in this block of code. Change the red text to match the width you want.
select case Request.Form("Method_Type")

	case "login"
		Response.Write	"      </table>" & vbNewLine & _
				"    </td>" & vbNewLine & _
				"  </tr>" & vbNewLine & _
				"</table>" & vbNewLine
		if strLoginStatus = 0 then
			Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Your username and/or password were incorrect.</font></p>" & vbNewLine & _
					"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Please either try again or register for an account.</font></p>" & vbNewLine
		else
			Response.Write	"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>You logged on successfully!</font></p>" & vbNewLine & _
					"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Thank you for your participation.</font></p>" & vbNewLine
		end if
		Response.Write	"<meta http-equiv=""Refresh"" content=""2; URL=" & strReferer & """>" & vbNewLine & _
				"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""" & strReferer & """>Back To Forum</font></a></p>" & vbNewLine & _
				"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""95%"">" & vbNewLine & _
				"  <tr>" & vbNewLine & _
				"    <td>" & vbNewLine
		WriteFooter
		Response.End
	case "logout" 
		Response.Write	"      </table>" & vbNewLine & _
				"    </td>" & vbNewLine & _
				"  </tr>" & vbNewLine & _
				"</table>" & vbNewLine & _
				"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>You logged out successfully!</font></p>" & vbNewLine & _
				"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strHeaderFontSize & """>Thank you for your participation.</font></p>" & vbNewLine & _
				"<meta http-equiv=""Refresh"" content=""2; URL=default.asp"">" & vbNewLine & _
				"<p align=""center""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><a href=""default.asp"">Back To Forum</font></a></p>" & vbNewLine & _
				"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""95%"">" & vbNewLine & _
				"  <tr>" & vbNewLine & _
				"    <td>" & vbNewLine
		WriteFooter
		Response.End
end select

Bill Parrott
Senior Web Programmer, University of Kansas
Co-Owner and Code Monkey, Eternal Second Designs (www.eternalsecond.com)
Personal Website (www.chimericdream.com)
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 28 December 2004 :  11:34:37  Show Profile
quote:
Originally posted by PeeWee.Inc

Can you edit that post and post a inc_header.txt file so we can all read it and show you where to make the code edits.



sorry about that. here a downloadable .txt file:

Edited by - GavinK on 13 January 2005 16:03:52
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 28 December 2004 :  11:35:55  Show Profile  Visit D3mon's Homepage
set your overall page width here (part of the Site Integration mod code):

if strSiteIntegEnabled = "1" then
  response.write "<table width=""100%"" border="""


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 28 December 2004 11:36:21
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 28 December 2004 :  13:40:26  Show Profile
quote:
Originally posted by D3mon

set your overall page width here (part of the Site Integration mod code):

if strSiteIntegEnabled = "1" then
  response.write "<table width=""100%"" border="""




almost worked:

Edited by - GavinK on 13 January 2005 16:04:13
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 28 December 2004 :  13:50:18  Show Profile
just need to centre it now.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 28 December 2004 :  14:08:37  Show Profile  Visit D3mon's Homepage
use: style=""margin: 0 auto"" in the same table tag


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"

Edited by - D3mon on 28 December 2004 14:09:02
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 28 December 2004 :  14:27:56  Show Profile
quote:
Originally posted by D3mon

use: style=""margin: 0 auto"" in the same table tag



thanks. like this:

if strSiteIntegEnabled = "1" then
response.write "<table width=""710"" border=""" style=""margin: 0 auto""
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 28 December 2004 :  16:09:54  Show Profile  Visit D3mon's Homepage
better like this:

if strSiteIntegEnabled = "1" then
response.write "<table width=""710"" style=""margin: 0 auto"" border="""


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 28 December 2004 :  17:06:32  Show Profile
quote:
Originally posted by D3mon

better like this:

if strSiteIntegEnabled = "1" then
response.write "<table width=""710"" style=""margin: 0 auto"" border="""



no that didn't do anything.
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 28 December 2004 :  17:49:56  Show Profile  Visit D3mon's Homepage
OK, just replace:

style=""margin: 0 auto""

with:

align=""center""


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
Go to Top of Page

GavinK
Starting Member

26 Posts

Posted - 29 December 2004 :  06:03:02  Show Profile
quote:
Originally posted by D3mon

OK, just replace:

style=""margin: 0 auto""

with:

align=""center""



Yeah!! Thanks a milllion dude! That worked !

Edited by - GavinK on 29 December 2004 06:03:28
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 29 December 2004 :  06:55:23  Show Profile  Visit D3mon's Homepage
splendid!


Snitz 'Speedball' : Site Integration Mod : Friendly Registration Mod
"In war, the victorious strategist only seeks battle after the victory has been won"
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.61 seconds. Powered By: Snitz Forums 2000 Version 3.4.07