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 / Current Version (Old)
 Title Image on front page only?
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Ribkick
Junior Member

USA
296 Posts

Posted - 18 April 2001 :  13:49:54  Show Profile
Does anyone here know what to edit in the inc_top.asp file to show the Title Image only on the front page, not in all the forums. I do not want the image in the forums.

Thank you very much.

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 April 2001 :  14:05:08  Show Profile  Visit HuwR's Homepage
In inc_top.asp look for this code


<a href="default.asp"><img alt="<% =strForumTitle %>" border="0" src="<%= strForumURL %><%= strImageURL %><%=strTitleImage%>"></a>


and change it to


if Instr(request.servervariables("script_name"),"default.asp") > 0 then
<a href="default.asp"><img alt="<% =strForumTitle %>" border="0" src="<%= strForumURL %><%= strImageURL %><%=strTitleImage%>"></a>
end if


Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 18 April 2001 :  14:16:14  Show Profile
Thank you for the fast response however, it doesn't work. The login, home, forum title area is thrown to the center of the page, the image specified in the Title Image Location box is not there (a red X) and portions of the code is visable.

[edit to add] This shows in all forums as well as the front page.
Any ideas?



Edited by - ribkick on 18 April 2001 14:17:52
Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 April 2001 :  14:50:19  Show Profile  Visit HuwR's Homepage
missed a copule of code tags, should look like


<% if Instr(request.servervariables("script_name"),"default.asp") > 0 then %>
<a href="default.asp"><img alt="<% =strForumTitle %>" border="0" src="<%= strForumURL %><%= strImageURL %><%=strTitleImage%>"></a>
<% end if %>


Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 18 April 2001 :  17:34:27  Show Profile
Okay HuwR, we're almost there Now It shows the red X in a box with the forum title as well. All the other items are back in their proper place on the table.

In addition, there's a --> next to the broken image box which shows on each forum page. The broken image box does not show on each page; only the front page.

Thanks for your patience here.

Go to Top of Page

HuwR
Forum Admin

United Kingdom
20584 Posts

Posted - 18 April 2001 :  18:33:10  Show Profile  Visit HuwR's Homepage
could you post the lines imediately above and below the bit you changed

Go to Top of Page

Ribkick
Junior Member

USA
296 Posts

Posted - 18 April 2001 :  19:21:50  Show Profile
Here you are. It's a bit more but your code is in the middle:

</head>

<body bgColor="<% =strPageBGColor %>" text="<% =strDefaultFontColor %>" link="<% =strLinkColor %>" aLink="<% =strActiveLinkColor %>" vLink="<% =strActiveLinkColor %>">

<a name="top"></a>

<font face="<% =strDefaultFontFace %>">
<table align="center" border="0" cellPadding="0" cellSpacing="0" width="100%">
<tr>


<% if Instr(request.servervariables("script_name"),"default.asp") > 0 then %>
<a href="default.asp"><img alt="<% =strForumTitle %>" border="0" src="<%= strForumURL %><%= strImageURL %><%=strTitleImage%>"></a>
<% end if %>

<!-- BEGIN Winvite.com BANNER CODE -->
<!--<br><a href="http://www.winvite.com/index.cfm?ref=reinhold@bigfoot.com"><img src="http://www.winvite.com/images/revision/ads/mb_button_1b.gif" width=234 height=30 alt="Answer 3 Survey Questions and Win $4,500!" border="0"></a>-->
<!-- END Winvite.com BANNER CODE -->
</td>
<td align="center" valign="top" width="50%">
<table border="0" cellPadding="2" cellSpacing="0">
<tr>
<td align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =strForumTitle %></b></font></td>
</tr>


Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 19 April 2001 :  11:10:12  Show Profile
You're missing the code in red:
</head>

<body bgColor="<% =strPageBGColor %>" text="<% =strDefaultFontColor %>" link="<% =strLinkColor %>" aLink="<% =strActiveLinkColor %>" vLink="<% =strActiveLinkColor %>">

<a name="top"></a>

<font face="<% =strDefaultFontFace %>">
<table align="center" border="0" cellPadding="0" cellSpacing="0" width="100%">
<tr>
<td valign="top" width="50%">

<% if Instr(request.servervariables("script_name"),"default.asp") > 0 then %>
<a href="default.asp"><img alt="<% =strForumTitle %>" border="0" src="<%= strForumURL %><%= strImageURL %><%=strTitleImage%>"></a>
<% end if %>

<!-- BEGIN Winvite.com BANNER CODE -->
<!--<br><a href="http://www.winvite.com/index.cfm?ref=reinhold@bigfoot.com"><img src="http://www.winvite.com/images/revision/ads/mb_button_1b.gif" width=234 height=30 alt="Answer 3 Survey Questions and Win $4,500!" border="0"></a>-->
<!-- END Winvite.com BANNER CODE -->
</td>
<td align="center" valign="top" width="50%">
<table border="0" cellPadding="2" cellSpacing="0">
<tr>
<td align="center"><font face="<% =strDefaultFontFace %>" size="<% =strDefaultFontSize %>"><b><% =strForumTitle %></b></font></td>
</tr>


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