The forum of the forums
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Rotating banner help??

+4
SnowQueen
Jalokim
Sanket
Metina
8 posters

Go down

Rotating banner help?? Empty Rotating banner help??

Post by Metina February 6th 2009, 11:08 pm

I am trying to rotate a few banners and have found a code generator, but where I put the single banner code under General->Site Description, the code is way to long and the character limit kicks in.

Anyone know a solution to this?

Thanks in advance!
-Metina
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Sanket February 7th 2009, 5:48 am

Metina, Are you trying to have a banner, which basically keeps on changing from one banner to other. If yes, the easiest way is to create a gif & add it, instead of creating a code.
If you have links to all the image, please provide. I could probably help you in creating a gif.
Sanket
Sanket
ForumGuru

Male Posts : 48766
Reputation : 2830
Language : English
Location : Mumbai

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Jalokim February 7th 2009, 11:58 am

I've been trying to get a rotating banner on this site since I started here...
it was my first suggestion.

unfortunatly as you say the code won't fit in the description... and gifing the banner isn't really the point. You want a different banner with every refresh.

you have the code in html right?
could you post it here... I'll try an old trick that didn't work when I tried ...maybe your code will be better
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Metina February 7th 2009, 3:05 pm

Thanks for the offers.

Here is the code that I generated from here: http://www.htmlbasix.com/banner.shtml

One would wonder if disabling the character limit in that section could remedy this problem.

<script type="text/javascript">
<!-- Begin
rnd.today=new Date();
rnd.seed=rnd.today.getTime();

function rnd() {
rnd.seed = (rnd.seed*9301+49297) % 233280;
return rnd.seed/(233280.0);
};

function rand(number) {
var result = Math.ceil(rnd()*number);
if (!result)result++;
return result
};
var ad_cnt1 = 2;
var ad1 = rand(ad_cnt1);
var link1;
var adBanner1;
var width1
var height1
if (ad1==1) {
link1="www.funfacepaint.com";
adBanner1="https://2img.net/r/ihimizer/img23/2631/23927792541234015300yc6.jpg";
width1="728";
height1="90";
alt1="";
}
if (ad1==2) {
link1="http://www.swirlycurls.com/FacepaintforumStore.html";
adBanner1="https://2img.net/r/ihimizer/img132/8223/23927685571233949750cs6.jpg";
width1="728";
height1="90";
alt1="";
}
document.write('<center><a href="' + link1 + '" target="_top">');
document.write('<img src="' + adBanner1 + '" width=' + width1 + ' height=' + height1 + ' border=0 alt="' + alt1 + '"></a>');
document.write('</center>');
// End -->
</script>
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Jalokim February 7th 2009, 3:32 pm

just like I though.
you code does work but there is no way to get it on forumotion. there used to be a service call script generator... it shortened your code to the exact length and it was possible to add many different scripts.

now the script generator doesn't really work... but even back then it didn't.
There is a thread in the suggestions forum about this... leave your vote maybe the techies will get to it
Jalokim
Jalokim
Energetic

Male Posts : 6113
Reputation : 223
Language : English,Polish,CSS,HTML
Location : Poland

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Metina February 8th 2009, 2:59 pm

I went to the suggestion section and there are 42 pages of suggestions. So I went to rejected and HTML banners was already rejected without a reason.

Do you think if we just tried to get the character limit removed in the site description box, this would be a quicker way around it?
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by SnowQueen February 8th 2009, 4:16 pm

I have one code to rotating banner, but I don't know where I can put it in Panel Admin beu , help me?

Code:
<script language="javascript">
hinh=new Array
hinh=["http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/16j51th.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/wsfghjkl.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/BBbanner.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/bigbang3banner.jpg","http://i41.photobucket.com/albums/e295/nguyen_khoa91/Big%20Bang/bigbang4banner.jpg"];
i=0
function chuyenhinh()
{
h.filters.blendTrans.apply();
document.h.src="banner/"+hinh[i]
h.filters.blendTrans.play();
i++;
if (i>4)
i=0;
setTimeout("chuyenhinh()", 5*1000);
}
</script>
avatar
SnowQueen
New Member

Posts : 16
Reputation : 0
Language : English

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Metina February 8th 2009, 11:36 pm

Snowqueen. Right now you can put 1 banner in the Site Despcription box under General, Configuration. Only problem is that you can easily fit the code in for one banner and its link, but the code you pasted above will not fit.

This is what we are trying to figure out. We know how to get the code, but where can we imput it.
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Nelsaidi February 9th 2009, 12:08 am

If you have web hosting, you can doing using PHP + URL Rewriting, find urself a free host (zymic is a good one) - and google it.
avatar
Nelsaidi
Forumember

Male Posts : 508
Reputation : 25
Language : English
Location : London,UK

http://forum.erepublik.co.uk

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Metina February 10th 2009, 4:11 pm

Still hoping that an admin will help with this. Please. This really seems close to many of our hearts. We work really hard on a forums to gain membership, pay the forumotion fees ect., we should be able to get sponsors to help us cover the costs of our efforts and expenditures and without this, we can only have one sponsor.

Please help us or maybe offer other solutions??
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by SnowQueen February 13th 2009, 8:30 pm

@ metina: i don't have the code to put flash in Homepage message, do you have?
avatar
SnowQueen
New Member

Posts : 16
Reputation : 0
Language : English

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Metina February 16th 2009, 2:01 pm

Still hoping admins will help.

No code for flash, just the code that will allow us to have multiple banners rotating on our forums, just no where to put it.
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Torbenr February 16th 2009, 9:08 pm

Hi there,

I have just started to work with the OpenX banner system:

https://adserver.openx.org - www.openx.org

In that system I create a banner zone - eg. to be used for a top banner on the forum.

When I have linked my banners to the respective zone, I make an 'invocation code' to put on my website.

I can choose between different code types, and if I choose the 'Image type' the code is short enough to fit in the site description.

You can see my code from OpenX here:

Code:
<a href='http://d1.openx.org/ck.php?n=a00d6a0d&cb=INSERT_RANDOM_NUMBER_HERE' target='_blank'><img src='http://d1.openx.org/avw.php?zoneid=20169&n=a00d6a0d' border='0' alt='' /></a>

It seems to work on my forum - http://karting.danskforum.net.
Torbenr
Torbenr
New Member

Male Posts : 7
Reputation : 0
Language : Danish

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Torbenr February 16th 2009, 9:32 pm

I can see that my link in the post above is wrong - because of the . in the end of the link it goes to a French site.

My site with the rotating banner code is here:

http://karting.danskforum.net/
Torbenr
Torbenr
New Member

Male Posts : 7
Reputation : 0
Language : Danish

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by nazadarna February 17th 2009, 4:19 pm

I learned something new today.. thank you very much Torbenr!!!
avatar
nazadarna
Forumember

Female Posts : 36
Reputation : 0
Language : English/ Tagalog

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by Metina February 22nd 2009, 3:15 pm

Torbenr thanks so much for this. I have watched the tutorial and think I may be able to figure this out.

Thanks again!

-Metina
Metina
Metina
Forumember

Female Posts : 114
Reputation : 0
Language : English
Location : Washington DC Metro

http://www.facepaintforum.com

Back to top Go down

Rotating banner help?? Empty Re: Rotating banner help??

Post by carpalace April 1st 2009, 6:48 pm

i still dun get it.
carpalace
carpalace
Forumember

Posts : 103
Reputation : 0
Language : english

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum