Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Anyone ??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Anyone ??

 Post Reply Post Reply
Author
Materia View Drop Down
Newbie
Newbie
Avatar

Joined: 03 June 2003
Location: United Kingdom
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Materia Quote  Post ReplyReply Direct Link To This Post Topic: Anyone ??
    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

Back to Top
God_Struth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 August 2003
Location: United Kingdom
Status: Offline
Points: 218
Post Options Post Options   Thanks (0) Thanks(0)   Quote God_Struth Quote  Post ReplyReply Direct Link To This Post 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......"
Back to Top
Materia View Drop Down
Newbie
Newbie
Avatar

Joined: 03 June 2003
Location: United Kingdom
Status: Offline
Points: 29
Post Options Post Options   Thanks (0) Thanks(0)   Quote Materia Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
God_Struth View Drop Down
Senior Member
Senior Member
Avatar

Joined: 07 August 2003
Location: United Kingdom
Status: Offline
Points: 218
Post Options Post Options   Thanks (0) Thanks(0)   Quote God_Struth Quote  Post ReplyReply Direct Link To This Post 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......"
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.