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 / Classic ASP versions(v3.4.XX)
 need to insert image below "New Topic".
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

4giles
Starting Member

4 Posts

Posted - 11 January 2005 :  11:13:28  Show Profile
Hi i have been offered a much needed sponsor for my beloved snitz forum. i have made them an animated clickable gif banner to be placed above the table that has all the posts under where it says new post.

im sure i could work out where to put it (just) but only want it diplayed in one forum where the forum_ID=8

PLEASE can anyone tell a semi layman what code will do this and exactly where to put it.

i need to be quick or i'll loose the sponsor for sure.

just for your information, its says its version -Snitz Forum 2000 Version 3.4.04-

THANKS SO MUCH PEOPLE>

Edited by - 4giles on 12 January 2005 05:42:47

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 11 January 2005 :  14:49:11  Show Profile
Just a quick hack, then you could place something like this in your inc_header.asp right before the <a name=""top""> code:
if FORUM_ID = "8" then
Response.Write	"<center><banner code here></center>" & vbNewLine
else
end if
I hope that starts you in the right direction.

Cheers,

David Greening
Go to Top of Page

Beano_ie
Junior Member

Ireland
328 Posts

Posted - 11 January 2005 :  16:12:20  Show Profile  Visit Beano_ie's Homepage  Send Beano_ie an ICQ Message
Might also help to change the title of the topic from 'help desperately needed, please anyone' to something like 'need to insert image below "New Topic".'

Will get you help quicker

Steve
Drogheda, Ireland @ www.droghedatown.com
Go to Top of Page

4giles
Starting Member

4 Posts

Posted - 12 January 2005 :  05:45:03  Show Profile
david as im not much of an asp coder but can read it. (just dont know where to put what i dont know!)

you say banner code. its just an animated .gif so do i need code or just he image address on my host?

thanks to both of you for replying so soon.

G
Go to Top of Page

4giles
Starting Member

4 Posts

Posted - 12 January 2005 :  05:46:35  Show Profile
plus you say a quick hack, sorry for being a lamo, but is what you have put the hack or do i need to put somehting else in before the code you have written?

cheers bud.
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 13 January 2005 :  04:53:07  Show Profile
Sorry for the late reply, but you will see the following code in your inc_header.asp file:
<%
Response.Write	"<a name=""top""></a>" & vbNewLine & _
And you need to place the code in like so:
<%
if FORUM_ID = "8" then
Response.Write	"<center><banner code here></center>" & vbNewLine
else
end if
Response.Write	"<a name=""top""></a>" & vbNewLine & _
The code you put in as the banner code could be the image for the banner and the link for your users to click on if you want to also use a link. I hope that makes sense.

If you send me an e-mail with what the image is called, where you store the image, and if you want a link and where the link goes to, I will type up the code and send it back as where it is needed.

Cheers,

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