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)
 Upgrade to 3.4 -- table layout, include problem
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 07 December 2002 :  18:53:40  Show Profile  Visit DarlingBri's Homepage
I just upgraded my 3.3.05 forum to a new 3.4 forum. The upgrade itself went fine, except for:

1/ Error Message in DB Upgrade

Error: 80040E37 Table 'FORUM_MEMBERS_PENDING' does not exist. 
strUpdateSql:  DROP TABLE FORUM_MEMBERS_PENDING


...and I have no idea what that means.

2/ Table Layout

The second problem, which is more immediately pressing, is that my site has a left-hand nav bar. In previous versions, it was super-easy to plonk that in... you just opened a table with two rows in inc_header, put your nav in the left cell and started the Snitz code in the right cell.

In inc_footer, you let Snitz close it's tables, and then closed the additions td cell, tr, and table.

I have attempted to do that with the new version, as below, but I'm really bad with this whole quote mark thing. I have made my new code red to hilight the changes. The problem is... the page doesn't load! I get the logo and the login, but no forum and no footer!

inc_header, line 282 (formerly known as inc_top, yes?)

Response.Write "<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"" valign=""top"" width=""170"">" & vbNewLine & _
" </td>" & vbNewLine & _
" <td align=""center"" valign=""top"" width=""100%">" & vbNewLine & _

"<table align=""left"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine &

inc_footer, line 75:

Response.Write " </tr>" & vbNewLine & _
"</table>" & vbNewLine & _
"</td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"</table>" & vbNewLine & _

"</font>" & vbNewLine & _
"</body>" & vbNewLine & _
"</html>" & vbNewLine

3/ I would also appreciate it if someone could tell me how to include a file in that first bot of code, in the box that's 170 px wide. I don't know how to do the quote mark thingies for my include statement, or the syntax for including it:

<!--#include file="../includes/inc_forum.asp"-->


Any help appreciated as always!

edited to add line numbers

Edited by - DarlingBri on 07 December 2002 19:06:00

laser
Advanced Member

Australia
3859 Posts

Posted - 07 December 2002 :  19:03:59  Show Profile
1/ Probably not worth worrying about, just means that the upgrade was trying to delete a table which doesn't exist anyway.

2/ Looks almost the same as what I did to achieve the same results. Any chance of a url ?

3/ Your include syntax looks fine, although you might have to use 'virtual' rather than 'file'. You might have to do this :

%><!--#include file="../includes/inc_forum.asp"--><%
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 07 December 2002 :  19:07:33  Show Profile  Visit D3mon's Homepage
Too quick for me again Laser!

2. Try my Site Integration MOD for a much easier way to do this.


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

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 07 December 2002 :  19:09:44  Show Profile  Visit DarlingBri's Homepage
Sure! http://www.centrallondonconnexions.co.uk/forum2/

I'm aware the image is broken, but that's the least of my problems!

*****
"You know, there's nothing sexier than a girl geek on a big coding run." -Doonesbury
Go to Top of Page

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 07 December 2002 :  19:14:13  Show Profile  Visit DarlingBri's Homepage
EVERYONE is too quick :)

D3mon, what does your site integration mod do? I am happy to try it, but if you think my installs are a nightmare, my uninstalls are worse

So, would that be:

" <td align=""center"" valign=""top"" width=""170"">" & vbNewLine & _
" <!--#include file=""../includes/inc_forum.asp""--> & vbNewLine & _
" </td>" & vbNewLine & _

?

*****
"You know, there's nothing sexier than a girl geek on a big coding run." -Doonesbury
Go to Top of Page

D3mon
Senior Member

United Kingdom
1685 Posts

Posted - 07 December 2002 :  19:16:22  Show Profile  Visit D3mon's Homepage
Its give you configurable 'areas' on every side of your forums to add in header, menus etc...

Have a look here:

http://www.snitzbitz.com/mods/details.asp?Version=All&mid=82


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

laser
Advanced Member

Australia
3859 Posts

Posted - 07 December 2002 :  20:26:17  Show Profile
More like ...


" <td align=""center"" valign=""top"" width=""170"">"
%>
<!--#include file="../includes/inc_forum.asp"-->
<%
Response.Write vbNewLine & _
" </td>" & vbNewLine & _


You can't have an include with ASP, because the #include statements are processed first.
Go to Top of Page

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 07 December 2002 :  21:34:13  Show Profile  Visit DarlingBri's Homepage
OK, thank you for all the help. I really am grateful :)

I used the Snitz Integration Mod, and it seems to work well, except I have a width problem.

I did some further editing of inc_header(gulp) to get what I want, and I'm *almost* there. Here is my width problem and one thing I'm wondering about:

1/ Problem

I changed my inc_header to take out the forum title and make my nav links in the middle on a purple table cell, as follows:

"<table align=""center"" border=""0"" cellPadding=""0"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"" valign=""top"" width=""100%"">" & vbNewLine & _
" <table border=""0"" cellPadding=""2"" cellSpacing=""0"" width=""100%"">" & vbNewLine & _
" <tr>" & vbNewLine & _
" <td align=""center"" colspan=""2"" bgcolor=""#50076F"" width=""100%""><font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & vbNewLine
call sForumNavigation()
Response.Write "</font></td>" & vbNewLine & _
" </tr>" & vbNewLine

...but the purple row (50076F) isn't 100% all the time. It is on the forum home page, but on all the other pages there's a gap :(

Is it something to do with the 95% tags?

2/ When you turn board registration off, it doesn't stop you writing to the tables, does it? I've turned registration off for security, but I'm handling registration in another way using a form I built. That will still work, right?

(Turning registration off, you can see the width prblem with the purple line, btw...)

Thank you again.

*****
"You know, there's nothing sexier than a girl geek on a big coding run." -Doonesbury

Edited by - DarlingBri on 07 December 2002 21:35:50
Go to Top of Page

DarlingBri
Junior Member

United Kingdom
378 Posts

Posted - 08 December 2002 :  04:10:16  Show Profile  Visit DarlingBri's Homepage
For the record, I fixed the width problem by editing the Snitz Integration Mod to inc_header. All that was required was adding a declaration of the td width, and hey presto, fixed!

*****
"You know, there's nothing sexier than a girl geek on a big coding run." -Doonesbury
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.6 seconds. Powered By: Snitz Forums 2000 Version 3.4.07