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: MOD Implementation
 inc_header / inc_footer -error? or...
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

i011877
Junior Member

Denmark
169 Posts

Posted - 26 March 2006 :  08:12:37  Show Profile  Visit i011877's Homepage
Hi guys
As you seem to read the code like the freakin Matrix , I hope you can help me out on this one.

Details:
Engine: MSSQL
Homepage: www.myforum.dk
Language: Danish
Login: testuser Password: testuser

Issue:
The bottom line seems to move to another table in the top right. (Page generated, etc.)

Press icons below to see what i mean (or head directly to www.myforum.dk)

www.myforum.dk/sitenews.asp" target="_blank">=error
www.myforum.dk/default.asp" target="_blank">=error
www.myforum.dk/pop_profile.asp?mode=Edit" target="_blank">=OK
www.myforum.dk/cal.asp" target="_blank">=error
www.myforum.dk/search.asp" target="_blank">=OK
www.myforum.dk/faq.asp" target="_blank">=OK

I have included the header and footer in this file: www.myforum.dk/header&footer_myforum_dk.zip" target="_blank">LINK

Please advice!

Thanks in advance.



Roger Fredriksson
Average Member

Sweden
556 Posts

Posted - 26 March 2006 :  09:38:35  Show Profile  Visit Roger Fredriksson's Homepage
Cannot find copyright info about Snitz on your page.

rf/www.avgifter.com
Go to Top of Page

ruirib
Snitz Forums Admin

Portugal
26364 Posts

Posted - 26 March 2006 :  11:02:13  Show Profile  Send ruirib a Yahoo! Message
This is locked until you reinstate the link back to Snitz.


Snitz 3.4 Readme | Like the support? Support Snitz too
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 27 March 2006 :  04:44:09  Show Profile  Visit i011877's Homepage
Sum up:
My footer is moved faaaar to the right/top, so you will have to scroll to find it. As if the footer doesn't have enough room and decides to move to the 'next page'! (notice the scrollbar in the bottom)
I suspect the header though, as no changes were made to the footer.
Please let me know of any 'silly-code', as I am not a coder at all.
Could it be a '& vbnewline _' somewhere?

Recent changes: Inserted graphics in the top, as shown in my first post.

Should be a fairly simple task, for any of you L33t-hAx0rs
Any help is highly appreciated

Hope you like what I have done with the forum. Pretty neat in my opinion


Edit: This error is not concurrent. Some pages show the footer exactly as it should be???



Edited by - i011877 on 27 March 2006 18:29:03
Go to Top of Page

cripto9t
Average Member

USA
881 Posts

Posted - 27 March 2006 :  11:08:49  Show Profile
If you notice it happens on pages that have the log in. Your missing a </td> closing tag.
Add the line in red.

if (strAuthType = "db") then
			Response.Write	"                <table border=""0"" cellpadding=""1"" cellspacing=""0""><tr><td align=""right"" width=""1""><img SRC=""" & strImageURL & "icon_member.gif""></td><td align=""left"" width=""100""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & StrDefaultFontColor & """><b>Brugernavn:</b></font></td></tr>" & vbNewLine & _
					"                <tr><td colspan=""2"" align=""left""><input type=""text"" class=""newLogin"" name=""Name"" size=""15"" maxLength=""25"" value=""""></td></tr>" & vbNewLine & _
					"                <tr><td align=""right"" width=""1""><img SRC=""" & strImageURL & "icon_lock2.gif""></td><td align=""left""  width=""100""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & StrDefaultFontColor & """><b>Password:</b></font></td></tr>" & vbNewLine & _
					"                <tr><td colspan=""2"" align=""left""><input type=""password"" class=""newLogin"" name=""Password"" size=""15"" maxLength=""25"" value=""""></td></tr>" & vbNewLine & _
					"                <tr><td colspan=""2"" align=""left""><font face=""" & strDefaultFontFace & """ size=""" & strFooterFontSize & """ color=""" & StrDefaultFontColor & """>" & vbNewLine & _
					"                <input type=""checkbox"" class=""radio"" name=""SavePassWord"" value=""true"" tabindex=""-1"" CHECKED><b> Gem Password</b></font></td></tr></table>" & vbNewLine & _
                                   "                </td>" & vbNewLine & _
					"                <td align=""center"" valign=""top""><br>" & vbNewLine

That might fix it

    _-/Cripto9t\-_
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 27 March 2006 :  18:26:47  Show Profile  Visit i011877's Homepage
Hey Cripto9t

Thanks a million for looking into the code.
Did the change, but it seems that nothing has happened, hmmm! (except for some optimization that is )
Checked the errored pages stated in my first post, but I am not able to see a difference.

Please keep looking, I am going insane here, hehehe!

Hmmm.. just noticed that the pages with errors have a double/triple black line in the bottom? Maybe a hint?

The pages that work, does not have that thick black line.


Go to Top of Page

squad23
Starting Member

Netherlands
40 Posts

Posted - 28 March 2006 :  07:47:17  Show Profile
i think on the pages where the extra line is and where "Genereret på 0,2 sek." etc is, there is an extra </table>
Try removing one </table> from the pages where it goes wrong... Hope it helps
Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 28 March 2006 :  13:39:28  Show Profile  Visit i011877's Homepage
Thanks squad23

No changes were made to the pages, only the header and footer.

I took a count and found that 3 tables were not ended in the footer that started in the header. (if that makes sense?)
I wouldn't know were to put the </table> anyway, as I am a rookie at this

Nice to know that some of you guys are looking for the problem


Go to Top of Page

i011877
Junior Member

Denmark
169 Posts

Posted - 29 March 2006 :  17:10:10  Show Profile  Visit i011877's Homepage
Got it!

I got a ""left"" where there was supposed to be a ""center""

Response.Write "<a name=""top""></a><font face=""" & strDefaultFontFace & """>" & vbNewLine & _
"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
"<td width=""50%"" height=""120"">" & vbNewLine
'"<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """><b>" & strForumTitle & "</b></font><br>" & vbNewLine & _

Phew
© Snitz, back where it belongs

Topic closed!


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