Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/Code)
 Modifying the Site Integration Mod

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!
Before posting, make sure you have read this topic!

Screensize:
UserName:
Password:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkInsert EmailInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
Panhandler Posted - 08 October 2008 : 14:11:49
How difficult would it be to change the two supporting columns so that they are on the "outside" of the inc_site_header and inc_site_footer includes?

I would like to make the two outside "Site left" and "Site right" columns extend all the way to the top and bottom, thus sandwiching the header and footer between them, unlike the current configuration shown below:

<
6   L A T E S T    R E P L I E S    (Newest First)
Etymon Posted - 09 October 2008 : 11:19:56
Yeah, you have to think about forums as a box or a square and think about the Site Integration as a perimeter or a border that is around or outside of the square.

The tags for the configuration of the perimeter are contained within the perimeter itself and not within the square. So try not to mush the whole concept of getting the Site Integration MOD to work successfully with your forum as something that is dependent upon the nature of your forum's HTML setup. Focus on what is going on inside the perimeter.
<
Panhandler Posted - 09 October 2008 : 10:52:48
Oops. Not so fast. . .it works in Firefox but not IE7

inc_header isn't showing the login & menu in IE


Scratch that. . .i think i messed something else up.


<
MaD2ko0l Posted - 08 October 2008 : 20:14:55
:-) glad i coudl help.

i did what Etymon did to find out what/where i needed to move the tags then compared it to the original site intergration mod code then just formated it into snitz codeing.

i suppose it could be changed so that you coudl turn on/off each section but i couldnt get my head around it at the time, a little busy here atm, and i have nowhere to test it out, so i made the next best thing :-)<
Panhandler Posted - 08 October 2008 : 18:34:20
MaD2Ko0l: dat's da bomb!
It worked right out of the box. . .but like you mentioned, no turning off/on from the admin panel.
I think I can work with that. . .thanks!

Etymon:
Got it. . .but not sure what to do with it.




<
MaD2ko0l Posted - 08 October 2008 : 14:57:48
ok..try this, the values are hardcoded for what u want, so u wont be able to use the admin panel to turn on/off the sectiosn u want, but i have left it so it can be enabled/disabled and the borders shoudl work.

ok here we go.


fine this bit of code in inc_header.asp

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


replace it with this

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 & _
"<tr>" & vbNewLine & _
" <td rowspan=""3"">" & vbNewLine

%><!--#include file="inc_site_left.asp"--><%

response.write " </td>" & vbNewLine & _
" <td>" & vbNewLine

%><!--#include file="inc_site_header.asp"--><%

response.write " </td>" & vbNewLine & _
" <td rowspan=""3"">" & vbNewLine

%><!--#include file="inc_site_right.asp"--><%
response.write " </td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"<tr>" & vbNewLine & _
" <td>" & vbNewLine
end if



find this in inc_footer.asp

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


replace it with this

if strSiteIntegEnabled = "1" then
response.write " </td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"<tr>" & vbNewLine & _
" <td>" & vbNewLine

%><!--#include file="inc_site_footer.asp"--><%

response.write " </td>" & vbNewLine & _
"</tr>" & vbNewLine & _
"</table>" & vbNewLine
end if



so now u shodu lhave the layout that u want.

and for gods sake MAKE BACKUP COPIES OF ANYTHING THAT YOU CHANGE as i havent tryed this code<
Etymon Posted - 08 October 2008 : 14:33:43
This is one thing that I do like using FrontPage for ... drawing a table and then looking at the code to see how it was done. Do you by chance have a copy of FrontPage? Ah, nevermind ... it took a little longer, but I did it in MS Word.

You'll have to do some messing around with the way the table is laid out in the MOD, but below has the rowspan values in which you may be interested. I commented what should go where. Save the code below as a .html file and then view it in your browser.

This is the HTML structure you want:

<html>

<head></head>

<body>

<div>

<table border=1>
<tr>
<td width=30 rowspan=3 valign=top>
Left Side
</td>
<td width=528 valign=top>
Top
</td>
<td width=30 rowspan=3 valign=top>
Right Side
</td>
</tr>
<tr>
<td>
Middle<br><br><br><br>
</td>
</tr>
<tr>
<td width=528 valign=top>
Bottom
</td>
</tr>
</table>
</div>

</body>

</html>


This is the HTML structure you have:

<html>

<head></head>

<body>

<div>

<table border=1>
<tr>
<td width=588 colspan=3 valign=top>
Top
</td>
</tr>
<tr>
<td width=30 valign=top>
Left Side
</td>
<td width=528 valign=top>
Middle
</td>
<td width=30 valign=top>
Right Side
</td>
</tr>
<tr>
<td width=588 colspan=3 valign=top>
Bottom
</td>
</tr>
</table>

</div>

</body>

</html>
<

Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.08 seconds. Powered By: Snitz Forums 2000 Version 3.4.07