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)

GrantHorizons 08-21-2006 09:35 AM

Great hack, I've been very pleased with it on my site.

BUT getting set to upgrade to vB3.6. Any idea whether this works with vB 3.6, or is there an update needed / coming?

thanks, Grant

Zachariah 08-21-2006 12:19 PM

Quote:

Originally Posted by Make Money?
I have one top "header" banner zone for ALL of the forums pages.. I would like to use this hack to put an additional "footer" (bottom) banner zone on ONE forum only.. Can I use this hack to do this please?

Thanks!

Yes placment were it shows up on a forum is up to you. I placed under the $navbar.

Make Money? 08-23-2006 09:34 AM

Thanks v much!

And I am on vB3.6

bollie 08-27-2006 11:36 AM

work for vb 3.6.0 ;)

vtck 09-16-2006 05:49 AM

Hi

Like your mod. I am on vb3.6.1

If you can create another version of mod with 1) top center different banners add ons and 2) bottom center different forum banners add ons and 3) left column different banner add ons and 4) google ad sense at the bottom, it will be great to many users as they can add different banners on the top and bottom and left navigation with bottom good ad sense. I think you can do it.

See

1. Different Top Section For Placement of Different Banners Before Start Of Forum & SubForum

2. Different Bottom Section For Placement of Different Banners Before End Of Forum & SubForum

3. Different Left Navigation

4. Google Ad Sense at the bottom

My Website Example :- http://www.singaporecarsforum.com/forumsample.html

Other Website Sample of vbulletin Forum with their own standard header with different left navigation and start of forum with Login. http://forums.carma.com.sg/forumdisplay.php?f=131

Marris 09-23-2006 12:34 PM

Thank you for this mod.

Is there any way to pull the banner values, such as $foruminfo[bannercode] into postbit_legacy?

I am trying to combine your plugin with the following method to display a banner at a specifc location between posts:

How To Show A Banner After The First Post In A Thread

Unfortunately, $foruminfo[bannercode] doesn't seem to be accessible from postbit_legacy.

I tried creating plugins at various hook locations that seemed to be related to the postbit with the following forumdata_start plugin code, but $foruminfo[bannercode] was not displayed within postbit_legacy.

PHP Code:

$this->validfields['banner'] = array(TYPE_STRREQ_NO);
$this->validfields['bannerlink'] = array(TYPE_STRREQ_NO);
$this->validfields['banneralt'] = array(TYPE_STRREQ_NO);
$this->validfields['bannercode'] = array(TYPE_STRREQ_NO); 

Can anyone suggest plugin code or another way to read that value, so the banner can be displayed in postbit_legacy?

TIA

wecleangrout 09-26-2006 01:12 PM

Maybe a silly question.

If this is the fist install (not an upgrade) do I still need to edit the templates?

I installed and see it in the forum manager but not showing on the forums.

If I do need to edit templates would there be any conflict with Php portals?

Thank you............(newbie to hacks)

My forum.

wecleangrout 09-26-2006 03:48 PM

Ok got it----
To answer my own question. I DID have to edit the templates.

EASY

Thank you. Now I can go make more $$$

bada_bing 09-27-2006 02:23 AM

subscribed will probebly install tomorrow

sensimilla 10-10-2006 07:20 AM

It's not working for me on 3.6.1 and I was using it on 3.5 great hack!

MySQL Error : Unknown column 'banner' in 'field list'
Error Number : 1054


All times are GMT. The time now is 01:36 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.01231 seconds
  • Memory Usage 1,741KB
  • 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_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)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