vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Miscellaneous Hacks - Banner Rotator (https://vborg.vbsupport.ru/showthread.php?t=169266)

baymortgage99 04-20-2008 05:21 AM

Ive been looking for a hack that allowed me to have a rotating banner

Excellent !

Britmovie 04-20-2008 12:50 PM

Quote:

There will be a field for allowed file types, just add "image/gif" there (dont forget the comma).
This was the reason why i was unable to upload the files.

I have put image/png and now I can upload pings, but when i added gif as in 'image/png,gif' I could not upload gifs. I also tried image/png,image/gif so what format should it be.

macc 04-20-2008 04:01 PM

Hello!

in IE 7 is ok but in Firefox banners is not in center , much outside - right side !

some help ?

reg

macc

atlambros83 04-20-2008 04:05 PM

Quote:

Originally Posted by veb (Post 1494248)
Edit the style. :)

From:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>

To:
<center><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>">$banner</a></center>

(Notice I took away the "Target" part?)

ahhh....much better. thank you. :)

yaoren 04-27-2008 05:28 PM

I uploaded a banner but couldn't see the image on my actual forum. Also is there any way to have it so you can upload a banner to a particular skin?

cerbdawg 04-28-2008 03:38 AM

I've installed this on my testing server (using 3.6.8) and it works according to spec (so far).

My question!

Is there a way to make this banner function "only" on the forumhome?

Rather than using this as the site banner, I am using it as a "Sponsors" banner Ad Manager.

Any thoughts?
------------------------------------------------------------
Ignore this post. I came up with my own very ghetto solution (encapsulated the header modification in an If statement to check the forumid).

Still, if anyone gets a more elegant solution - I'm all ears!

old7888 04-30-2008 02:27 AM

Everything is installed properly but I do not see a banner, I have v3.7
Is there something I am missing?

karrerax 05-04-2008 08:03 PM

Clicks INstall

This pluguins is wonderful!! Thanks

DawnsWebDesigns 05-05-2008 12:20 AM

Quote:

Originally Posted by Stile2 (Post 1435390)
This is how I added banners to my forum. Works great!! I ended up with my original header with an ad banner right next to it. Both are centered, and both are links to separate sites. My original header links to my forum home page and the ad banner links to page that I told it to when I added the banner. Hope that makes sense.

Code:

<td align="$stylevar[left]"><center><a href="http://www.iemas.us/index.php"><img src="$stylevar[titleimage]" border="0" alt="$vboptions[bbtitle]"><a href="<if condition="$ban['url']">$ban[url]<else />$vboptions[forumhome].php$session[sessionurl_q]</if>" target="_blank">$banner</a></center>
        </td>

BTW, I really like how I can tell the banner which forums to show up in.
Good job on this mod.

Thanks
Keith

Thanks for this. But with the default theme the logo's centered left. How can I get the banners to go right? Or if I simply lose the logo how could I add some space between the banners & the top of the forum?

Also with my main theme the headers left. How do I add space between it & the banners to make them go right. http://x.dawnswebdesigns.com if you want to see what I'm talking about.

Thanks for any help.

Also to be helpful to others the creator of this mod may want to add to the instructions: create a folder under images called brotator & chmod it to 777. And although the settings have added pnglgifletc. you must add image/ before every single one before they'll work. And since it already has image/jpeg you'll have to delete one else have 2.

Otherwise thanks very much. I've been looking for this a while...glad I finally found it. ;)

wickedstangs 05-06-2008 04:45 AM

very nice mod..


All times are GMT. The time now is 10:52 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01174 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete