vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Display Enhancements - Add a banner image to each forum (vb3.6) (https://vborg.vbsupport.ru/showthread.php?t=132716)

trigatch4 04-16-2008 01:03 PM

You mention placing these in the header template without the use of conditionals would be a pretty simple task. Would you mind holding our hands through that? I"ve been trying to get this done for AGES and it looks like your mod alone has gotten me 95% of the way.

OH SO CLOSE!

stuartn 04-18-2008 02:54 PM

I've been searching through the FORUMDISPLAY and SHOWTHREAD templates for the code that pulls in the template add_banner. Its not under $navbar, so I checked out $navbar thinking it was globally being pulled over but still no luck. Obviously the template add_banner is in, but it get's pulled those two templates is something I'm struggling width.

Any clues - cause my head is hurting.;-)

stuartn 04-19-2008 11:56 PM

Sussed it....Helps if you actually ready the details in the install. Works nice.

DieselMinded 05-09-2008 02:28 AM

Working on 3.7.0 Gold

stuartn 05-09-2008 06:11 AM

For those wanting to use this with OpenX I would highly recommend it. Also its not very difficult to create a duplicate script that will allow you to run two or multiple set's of ad's throughout the forum. Very nice work indeed.

stuartn 05-09-2008 06:14 AM

Quote:

Originally Posted by class101 (Post 1357555)
Nice peace of code , thanks for sharing your knowledge :)

OpenX will achieve this and far more if plugged you just use the java code invocation within the code part of the forum manager. Yes you run another database and have to install it. But it offers far more flexibility.

Lee Wallace 06-03-2008 07:59 PM

Quote:

Originally Posted by shadowevil (Post 1478908)
is it working for 3.7.x?

Works great with my 3.7.1 and after market skin. This rocks; Thanks Zachariah!!!

snowman872 06-27-2008 02:58 AM

Working well here with 3.7.2.

I did notice on small thing. Apparently if you do not have a banner defined for a given forum, it creates an uncached template now (addbanner if memory serves). I don't recall that in the past. This is true, even if the banner is "off" for that forum.

Please keep up the good work and keep this add on compatible with vBulletin! Nothing else comes close to it for this specialized purpose. I'll be sending a donation soon. =)

Zachariah 06-27-2008 12:55 PM

I have a lot of ideas and changes in mind for this.
I need to get some time to add them.

newbuck 08-22-2008 04:31 PM

How can we make banners be displayed to guests only? Ive tried various codes but can't seem to get it working


All times are GMT. The time now is 01:54 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.01255 seconds
  • Memory Usage 1,733KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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