vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=113)
-   -   Add a banner image to each forum (vb3.5) (https://vborg.vbsupport.ru/showthread.php?t=94119)

HormZ 10-25-2005 02:34 PM

Quote:

Originally Posted by Zachariah
Here is a simple JAVA random banner code you can paste in the HTML area of any forum.

Dunce Question:

Where exactly must the html be copied to? Which template?

Sorry - I am thikko when it comes to this type of stuff.

Zachariah 10-25-2005 02:51 PM

Quote:

Originally Posted by HormZ
Dunce Question:

Where exactly must the html be copied to? Which template?

Sorry - I am thikko when it comes to this type of stuff.

Edit each "forum" that needs rotation

Admincp =>Forums & Moderators => Forum Manager => Edit forum => scroll do to the bottom => HTML Code "box" :)


https://vborg.vbsupport.ru/attachmen...chmentid=34099

SCI 10-26-2005 06:01 AM

I use a rotating banner script which I put the code in the header_include template and then a piece of Java code to call it from there in the header and footer where the rotating banners are now, will that work in this hack, if I put the Java in the HTML area called from the header include? If so you are the man!!

HormZ 10-26-2005 06:59 AM

Zach,

Thanks but I can't get it to work. I have the .swf file stored in my images directory.

I copied the script (with url changed to bokbok.co.uk) but nothing happens. Same as before.

Any ideas where I have gone wrong?

Zachariah 10-26-2005 10:22 AM

Quote:

Originally Posted by piXelatedEmpire
Just curious if this is still being worked on.. would be a fantastic feature

yes sir.
Quote:

Originally Posted by SCI
I use a rotating banner script which I put the code in the header_include template and then a piece of Java code to call it from there in the header and footer where the rotating banners are now, will that work in this hack, if I put the Java in the HTML area called from the header include? If so you are the man!!

I did some playing around took the <if></if> (template edit) statement added to the ForumsDisplay template. You can instead place it in the header / footer template and it will show up also. When that forum is displayed

IE: banner for f=642 will show up anywhere on the page in any template when the forumdisplay.php?f=642, but it will show up in the same place on every forum.

I made a area in the header for an image that changed by subject. It was a business logo with many "backgrounds" by subject. This way when they went into the sports area (forum) that the logo showed kids playing, sports balls around their business logo.

I added an <else /> in the <if> statement to show a default logo if the forum did not have a related banner.
Quote:

Originally Posted by HormZ
Zach,
Thanks but I can't get it to work. I have the .swf file stored in my images directory.

I copied the script (with url changed to bokbok.co.uk) but nothing happens. Same as before.

Any ideas where I have gone wrong?

hit the Chat link @ the top of the site /join #help after you connect. I'll be there off and on today.

cbr929rrerion 10-26-2005 03:21 PM

Ok.. Just a question.. Does this allow you to choose which forum/catagory gets which banner? Or do you have 1 set of banners that rotate on all pages its entered on?

I want specific banners in specific catagories..

example, if its a tire ad I want it in the tire section, if its a Glove ad have it in clothing, etc..

Thanks

Zachariah 10-26-2005 04:46 PM

Quote:

Originally Posted by cbr929rrerion
Ok.. Just a question.. Does this allow you to choose which forum/catagory gets which banner? Or do you have 1 set of banners that rotate on all pages its entered on?

I want specific banners in specific catagories..

example, if its a tire ad I want it in the tire section, if its a Glove ad have it in clothing, etc..

Thanks

Add a banner option per forum:
https://vborg.vbsupport.ru/attachmen...chmentid=34099

- The images can be on the local server or on a remote system.

- image with or without link
(png,jpg,bmp,tif,gif)

- There is also a small HTML "paste" area.
(java scripts, dhtml, html, not php "yet" )

I have pasted JAVA output from google, phpadnews, Iframes. I have also used the HTML area to paste RSS feeds per forum linking to different places. (limit 5).

SupermanInNY 10-31-2005 02:05 PM

One thing "missing", or at least I wasn't able to find it.
How to add a banner in the Top most page, the one that lists out all the forums.
Any pointers?

-Alon.

Zachariah 10-31-2005 02:39 PM

Quote:

Originally Posted by SupermanInNY
One thing "missing", or at least I wasn't able to find it.
How to add a banner in the Top most page, the one that lists out all the forums.
Any pointers?


-Alon.

Yes this will not work on the ForumHome.


Add Extra Header / Footer to FORUMHOME
https://vborg.vbsupport.ru/showthrea...threadid=97901

This will create an area in your ForumHome to allow your to paste HTML/google/whatever

EX: Halloween 2005 - image
Code:

<a href="http://www.google.com/search?q=halloween">
<img title="Halloween 2005" height="125" alt="Halloween 2005" src="http://www.google.com/logos/halloween05.gif" width="276" border="0"></a>


SupermanInNY 10-31-2005 03:05 PM

Quote:

Originally Posted by Zachariah
Yes this will not work on the ForumHome.


Add Extra Header / Footer to FORUMHOME
https://vborg.vbsupport.ru/showthrea...threadid=97901

This will create an area in your ForumHome to allow your to paste HTML/google/whatever

EX: Halloween 2005 - image
Code:

<a href="http://www.google.com/search?q=halloween">
<img title="Halloween 2005" height="125" alt="Halloween 2005" src="http://www.google.com/logos/halloween05.gif" width="276" border="0"></a>


Great!
That worked!
I'm curious though,. wouldn't it make more sense to put the Header/Footer heck run from the Forum Manager page? with similar interface as the Per-Forum mod? This is just an observation,. I like the heck (both of them) :).

-Alon.


All times are GMT. The time now is 12:24 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.01435 seconds
  • Memory Usage 1,752KB
  • 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
  • (2)bbcode_code_printable
  • (8)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