Author |
Topic  |
stevesensei
Starting Member
1 Posts |
Posted - 28 February 2008 : 16:41:17
|
I'm brand new to Snitz Forums software and have just used the Site Integration mod to integrate it into my site. I'm finding that I have some extra HTML tages that are throwing off the integratiion efforts.
In the site header, just before the forums code takes over, I have </td> </tr> <tr> <td valign="top"> which needs to be removed.
In the site footer, right after the forums coding ends, I have </td> </tr> <tr> <td> that needs to be removed
My question is, whereb would I go to find these tags so I can delete them?< |
 |
|
natty
Starting Member
United States
31 Posts |
|
natty
Starting Member
United States
31 Posts |
Posted - 20 April 2008 : 22:37:30
|
Great MOD; thank you! Is there a way of deleting the default nav menu (home, profile, register, etc.)? I want the default header gone; I'd like to use completely my own instead. Unfortunately, I'm not too familiar with ASP. Is there a relatively easy way to do this?< |
------------------- http://www.sumwebdesign.com http://www.tppsych.net |
 |
|
JJenson
Advanced Member
    
USA
2121 Posts |
Posted - 21 April 2008 : 11:27:29
|
in inc_header.asp there is a line that says Call strForumNav() or something like that just comment that line out with a ' and that should do the trick.< |
 |
|
natty
Starting Member
United States
31 Posts |
|
natty
Starting Member
United States
31 Posts |
|
texanman
Junior Member
 
United States
410 Posts |
Posted - 21 April 2008 : 21:01:31
|
It should work! Send me your inc_header.asp.< |
 |
|
omega1
Junior Member
 
United Kingdom
127 Posts |
Posted - 11 May 2008 : 14:22:33
|
hi, im trying to isntall the site integration mod, but have run into the following problems:
on the inc_header.asp im told to replace this
"<a name=""top""></a><font face=""" & strDefaultFontFace & """>" & vbNewLine & _ vbNewLine & _
with this
"<a name=""top""></a>" & vbNewLine if strSiteIntegEnabled = "1" then response.write "<table width=""100%"" border=""" if strSiteBorder = "1" then response.write "1" else response.write "0" end if response.write """ cellspacing=""0"" cellpadding=""0"">" & vbNewLine if strSiteHeader = "1" then response.write " <tr>" & vbNewLine & _ " <td" if strSiteLeft = "1" or strSiteRight = "1" then if strSiteLeft = "1" and strSiteRight = "1" then Response.write " colspan=""3""" else Response.write " colspan=""2""" end if end if response.write ">" %><!--#include file="inc_site_header.asp"--><% response.write "</td>" & vbNewLine & _ " </tr>" & vbNewLine end if response.write " <tr>" & vbNewLine & _ " <td valign=""top"">" & vbNewLine if strSiteLeft = "1" then %><!--#include file="inc_site_left.asp"--><% response.write "</td>" & vbNewLine & _ " <td valign=""top"">" & vbNewLine end if end if response.write vbNewLine & _
but i cant find that line, i know in the instructions it says there is no 'font' bit in 3.4.0.4 but im running 3.4.0.5 and the lines don't correspond (and i've added other mods too...) so what to change?!
and with inc_footer.asp a similar problem:
im told to replace this :
"</table>" & vbNewLine & _ "</font>" & vbNewLine & _
with this
"</table>" & vbNewLine if strSiteIntegEnabled = "1" then if strSiteRight = "1" then Response.Write " </td>" & vbNewLine & _ " <td valign=""top"">" & vbNewLine %><!--#include file="inc_site_right.asp"--><% end if Response.Write " </td>" & vbNewLine & _ " </tr>" & vbNewLine if strSiteFooter = "1" then Response.write " <tr>" & vbNewLine & _ " <td" if strSiteLeft = "1" or strSiteRight = "1" then if strSiteLeft = "1" and strSiteRight = "1" then Response.write " colspan=""3""" else Response.write " colspan=""2""" end if end if Response.write ">" %><!--#include file="inc_site_footer.asp"--><% Response.write " </td>" & vbNewLine & _ " </tr>" & vbNewLine end if Response.write "</table>" & vbNewLine end if response.write "</body>" & vbNewLine & _
but my code in the inc_footer.asp looks like this :
"</table>" & vbNewLine & _ "</body>" & vbNewLine & _ "</html>" & vbNewLine
can anyone help? sorry for my lack of understanding, dont want to break anything!< |
Visit : My personal site - Website Hosting - Register a domain |
 |
|
AnonJr
Moderator
    
United States
5768 Posts |
Posted - 12 May 2008 : 08:41:14
|
All I can say is that the line numbers won't match. They didn't after the move from 3.4.04 to 3.4.05, and they will even less since you've added some MODs. Its probably time for the instructions to be updated...
Being that I try to encourage self-reliance, I would suggest you first try to make the best guess you can (after having made backups of course ) based on the context, and if you run any problems, start a new thread in the "Help: MOD Implementation" forum with a detaild and descriptive layout of the problem and a link to .txt copies of your inc_header.asp and inc_footer.asp files.< |
 |
|
radiodelicate
New Member

Sweden
53 Posts |
Posted - 12 July 2008 : 15:10:40
|
quote: Originally posted by D3mon
http://www.buildyourown.org.uk/snitz/mods/inc_site_left.txt
this example will give you basic navigation + login/out functionality from one of the included sections. I'll leave it to you to format it how you wish. To make the navigation list vertically, just replace all the | characters in the function sForumNavigation() with <br />
Oh, this was exactly what I was looking for, brilliant! Proves well how important it is to read through all relevant threads before start asking questions  < |
 |
|
gunmania0
Starting Member
United Kingdom
32 Posts |
Posted - 19 February 2010 : 20:17:04
|
quote: Originally posted by omega1
hi, im trying to isntall the site integration mod, but have run into the following problems:
on the inc_header.asp im told to replace this
"<a name=""top""></a><font face=""" & strDefaultFontFace & """>" & vbNewLine & _ vbNewLine & _
with this
"<a name=""top""></a>" & vbNewLine if strSiteIntegEnabled = "1" then response.write "<table width=""100%"" border=""" if strSiteBorder = "1" then response.write "1" else response.write "0" end if response.write """ cellspacing=""0"" cellpadding=""0"">" & vbNewLine if strSiteHeader = "1" then response.write " <tr>" & vbNewLine & _ " <td" if strSiteLeft = "1" or strSiteRight = "1" then if strSiteLeft = "1" and strSiteRight = "1" then Response.write " colspan=""3""" else Response.write " colspan=""2""" end if end if response.write ">" %><!--#include file="inc_site_header.asp"--><% response.write "</td>" & vbNewLine & _ " </tr>" & vbNewLine end if response.write " <tr>" & vbNewLine & _ " <td valign=""top"">" & vbNewLine if strSiteLeft = "1" then %><!--#include file="inc_site_left.asp"--><% response.write "</td>" & vbNewLine & _ " <td valign=""top"">" & vbNewLine end if end if response.write vbNewLine & _
but i cant find that line, i know in the instructions it says there is no 'font' bit in 3.4.0.4 but im running 3.4.0.5 and the lines don't correspond (and i've added other mods too...) so what to change?!
and with inc_footer.asp a similar problem:
im told to replace this :
"</table>" & vbNewLine & _ "</font>" & vbNewLine & _
with this
"</table>" & vbNewLine if strSiteIntegEnabled = "1" then if strSiteRight = "1" then Response.Write " </td>" & vbNewLine & _ " <td valign=""top"">" & vbNewLine %><!--#include file="inc_site_right.asp"--><% end if Response.Write " </td>" & vbNewLine & _ " </tr>" & vbNewLine if strSiteFooter = "1" then Response.write " <tr>" & vbNewLine & _ " <td" if strSiteLeft = "1" or strSiteRight = "1" then if strSiteLeft = "1" and strSiteRight = "1" then Response.write " colspan=""3""" else Response.write " colspan=""2""" end if end if Response.write ">" %><!--#include file="inc_site_footer.asp"--><% Response.write " </td>" & vbNewLine & _ " </tr>" & vbNewLine end if Response.write "</table>" & vbNewLine end if response.write "</body>" & vbNewLine & _
but my code in the inc_footer.asp looks like this :
"</table>" & vbNewLine & _ "</body>" & vbNewLine & _ "</html>" & vbNewLine
can anyone help? sorry for my lack of understanding, dont want to break anything!<
In the installation guide you will notice that beside the boxes there are little side notes, this will help you install it correctly.
quote: Installation Guide (note: in v3.4.04, there is no <font> tag)
|
 |
|
DJGray
New Member

USA
68 Posts |
Posted - 01 April 2014 : 16:46:21
|
Is this mod no longer available? The link to it yields a 404. |
 |
|
Carefree
Advanced Member
    
Philippines
4217 Posts |
Posted - 01 April 2014 : 17:55:44
|
quote: Originally posted by DJGray
Is this mod no longer available? The link to it yields a 404.
Try this: SnitzBitz |
 |
|
DJGray
New Member

USA
68 Posts |
|
Topic  |
|