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: MOD Implementation
 Banner rotation
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

TheBigSnake
Junior Member

154 Posts

Posted - 23 February 2004 :  10:17:58  Show Profile
Is there anyone that knows how to make a banner rotation on the top of the forum ??

Under det top menu.... Is it possible ?

Does i need a script ??

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 23 February 2004 :  13:42:35  Show Profile  Visit Jezmeister's Homepage
make a file including the code and call it at the end of inc_header.asp, i think theres a topic with some code that may be useful here already - ill add a link in a sec when ive found it.

Edited by - Jezmeister on 23 February 2004 13:47:19
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 23 February 2004 :  13:46:12  Show Profile  Visit Jezmeister's Homepage
http://forum.snitz.com/forum/topic.asp?TOPIC_ID=51411
Go to Top of Page

TheBigSnake
Junior Member

154 Posts

Posted - 23 February 2004 :  14:00:11  Show Profile
There you say: Not sure if it would work... Hehe :P

An: make it look something like this...
Go to Top of Page

Jezmeister
Senior Member

United Kingdom
1141 Posts

Posted - 23 February 2004 :  14:07:41  Show Profile  Visit Jezmeister's Homepage
yeah well lol thats simply because i havent tested it... o and dont place the code where i say to there - that would make it appear between the logo and navigation - do what I said above
Go to Top of Page

Radianation
Junior Member

USA
186 Posts

Posted - 23 February 2004 :  14:44:24  Show Profile  Visit Radianation's Homepage  Send Radianation an ICQ Message
quote:
%>
<!--#INCLUDE FILE="inc_func_common.asp" -->
<%

dim modfxbanner, sngrandomvalue, modfxchoice

intRangeSize = 5
Randomize()
sngRandomValue = intRangeSize * Rnd()
sngRandomValue = sngRandomValue + 1
modfxchoice = Int(sngRandomValue)

Select Case modfxchoice
Case "1" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-01.jpg"
Case "2" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-05.jpg"
Case "3" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-16b.jpg"
Case "4" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-10.jpg"
Case "5" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-08.jpg"
' Case "6" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-12.jpg"
' Case "6" modfxbanner = "http://www.louipimps.com/models/images/315x51-modFX-11.jpg"
End Select


This is from my inc_header.asp
Go to Top of Page

Classicmotorcycling
Development Team Leader

Australia
2084 Posts

Posted - 23 February 2004 :  15:24:07  Show Profile
I have a banner rotaion on my site at Classic Motorcycling Australia Forum and a demo at Snitz Banner Demo for the administration side of it. You can add as many banners as you like and it keeps track of the clicks and displays.

The one I have made works across the site and not just in the forum. But to add it to the forum, just requires an include on the pages you want it displayed and it sits just under the first lot of includes in that file.

Cheers,

David Greening
Go to Top of Page

DavidRhodes
Senior Member

United Kingdom
1222 Posts

Posted - 23 February 2004 :  16:03:58  Show Profile
Here's the mod I did for it, includes admin/hit tracking etc..

http://forum.snitz.com/forum/topic.asp?TOPIC_ID=49938

The UK MkIVs Forum
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.26 seconds. Powered By: Snitz Forums 2000 Version 3.4.07