Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: BFoster143 on May 15, 2020, 01:22:50 AM

Title: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: BFoster143 on May 15, 2020, 01:22:50 AM
I have searched and seen a lot of post but none very recent when I search.   I am not sure if I can put a website example on here for someone to go look at to see what I am trying to accomplish if it is possible.    Am I allowed to put websites url on here without breaking any rules?    I hope not and this is not my website.

https://www.thencmat.com/ 

I want to have 7-10 banners scrolling across the top where you can click on them it will send you to the page that the banner is (Like an ad, I guess)  If that is not possible maybe something similar that rotates without scrolling. 

Any advise or help is appreciated.     

Title: Re: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: Doug Heffernan on May 15, 2020, 05:25:13 AM
Have you searched the mod database for a mod that does that? If you do not find any such mod there, you can request one at the request forum, because the only way to do this would be through a custom mod.
Title: Re: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: Sir Osis of Liver on May 15, 2020, 12:56:44 PM
If you want the same scrolling banners you have on your home page, shouldn't be too difficult to add it above the forum header.  Would be similar to what we did here (https://www.busconversionmagazine.com/forum/index.php) with rotating banners.

Title: Re: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: BFoster143 on May 15, 2020, 01:24:35 PM
Quote from: Sir Osis of Liver on May 15, 2020, 12:56:44 PM
If you want the same scrolling banners you have on your home page, shouldn't be too difficult to add it above the forum header.  Would be similar to what we did here (https://www.busconversionmagazine.com/forum/index.php) with rotating banners.

What mod are you using?   

Looks good!!!
Title: Re: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: Mick. on May 15, 2020, 02:11:45 PM
Check this out.... https://codepen.io/idesignsmf/pen/rNOqByM
Title: Re: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: Sir Osis of Liver on May 15, 2020, 08:50:23 PM
It's not a mod, it's custom coded, but isn't difficult to do.  You just add a div above the main wrapper and copy the banner code from your home page.
Title: Re: 2.0.17 - Need a Rotating or sliding banner - Is it possible?
Post by: Horme Gaming on June 09, 2020, 03:48:34 PM
BFoster143, did you get this sorted?  did any of suggestions help? their is no mod that will do what you are asking it would require some custom code as other stated, it is quite easy to do.

As you have not responded in 3 weeks im markingthis as solved, if you need further help just say what you have tried since.