Print Page | Close Window

Anyone ??

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7245
Printed Date: 04 April 2026 at 8:09am
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Anyone ??
Posted By: Materia
Subject: Anyone ??
Date Posted: 13 November 2003 at 2:49pm

Hi.

i was given this to make the logo different on certain forums -

<% If intForumID = 1 Then %>
<!-- #include file=include/forum_1.jpg -->
<% End If %>
<% If intForumID = 2 Then %>
<!-- #include file=include/forum_2.jpg-->
<% End If %>
<% If intForumID = 3 Then %>
<!-- #include file=include/forum_3.jpg -->
<% End If %>
etc.

can you tell me what file to put it in? where in the file and also how i do the same thing to make the backgrounds different on certain forums ?

Thanks Alot

Mark




Replies:
Posted By: God_Struth
Date Posted: 13 November 2003 at 5:16pm
You would replace the current code in the header that shows the current picture with that referencing your pictures.

Instead of an include file you could do a response write for the backgrounds.

<% If intForumID = 1 Then
response.write (background=""Blue"")%>
<% End If %>
<% If intForumID = 2 Then
response.write (background=""red"")%>
<% End If %>
<% If intForumID = 3 Then %>
response.write (background=""white"")%>
<% End If %>

You will have to modify the current code in the forum to stop looking for the default background specified in the skin file.


-------------
"I'm only trying to help......"


Posted By: Materia
Date Posted: 14 November 2003 at 8:26am

Hey

Last Thing...

In Include Folder in File "header.asp" is -

<script language="javascript" src="includes/default_javascript.js" type="text/javascript"></script>
<!--#include file="skin_file.asp" -->
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" bgcolor="<% = strBgColour %>" text="<% = strTextColour %>" background="<% = strBgImage %>">

 

wot bit do i replace with -

<% If intForumID = 1 Then %>
<!-- #include file=include/forum_1.jpg -->
<% End If %>
<% If intForumID = 2 Then %>
<!-- #include file=include/forum_2.jpg-->
<% End If %>
<% If intForumID = 3 Then %>
<!-- #include file=include/forum_3.jpg -->
<% End If %>
etc.

 

thanks Mark

my forums lookin pretty damn good thanks God_Struth



Posted By: God_Struth
Date Posted: 14 November 2003 at 5:35pm
<%
'If there is a forum image then display it
If NOT strTitleImage = "" Then
    Response.Write("<a href=""" & strWebsiteURL & """ target=""_self""><img src=""" & strTitleImage & """ border=""0"" alt=""Home"" title=""Home""></a>")
End If
%>

Thats the part you would overwrite in your header.

-------------
"I'm only trying to help......"



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net