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)

Zachariah 03-26-2006 08:11 AM

Quote:

Originally Posted by Karsh
no XML file in the zip i downloaded..

You may not have the "install button" pushed to get e-mail update.
- Ver. 1.6 current

Quote:

Originally Posted by davesx
thanks for this zach, works great.

just wanted to know if there is a way i can add this to the bottom? like above the quick reply but after the last post in the thread?

would i just update showthread and forum display and put the same code in the right spot...or would i likely run into problems because that would display the same image twice? like that would only work if i were doing adsense, not banners?

thanks

As long as you stay in the same template "location" is up to you. I placed after $navbar in the templates as it worked for my current style.

davesx 03-26-2006 03:12 PM

Quote:

Originally Posted by Zachariah
As long as you stay in the same template "location" is up to you. I placed after $navbar in the templates as it worked for my current style.

Right but lets say I wanted a banner on top and on the bottom...two different banners. The plugin only manages one banner per forum, right?

Or is there a way to make it do multiple ones?

Zachariah 03-26-2006 08:01 PM

Quote:

Originally Posted by davesx
Right but lets say I wanted a banner on top and on the bottom...two different banners. The plugin only manages one banner per forum, right?

Or is there a way to make it do multiple ones?

Yes this is 1 area for a banner.

Take a look @ this:

Add a Header / Footer option to each forum
https://vborg.vbsupport.ru/showthread.php?t=96398

Someone wanted extra header / footer per forum.
- html area to paste code.
- 2 areas per forum to place banners or anything (not php). :knockedout:

defcon_420 04-04-2006 11:25 AM

"Clicks Install" Great mod! very simple and good installation instructions :)

Ins 04-05-2006 01:59 PM

Installed!

Thanks for a great mod. Easy to use and worked 100% right off the bat without any issues! ;)

... just one thing... the usergroups issue? Are you still working on getting this to be able to display ads per user group? Ultimately what I would like to do is add a "Subscribers" group to my board and have people in that group not see the ads. Or possibly even have a CP switch to turn ads on / off if they are in the "Subscribers" group. Either way would be great ;)

Thanks again!

Zachariah 04-06-2006 02:30 AM

Quote:

Originally Posted by Ins
Installed!

Thanks for a great mod. Easy to use and worked 100% right off the bat without any issues! ;)

... just one thing... the usergroups issue? Are you still working on getting this to be able to display ads per user group? Ultimately what I would like to do is add a "Subscribers" group to my board and have people in that group not see the ads. Or possibly even have a CP switch to turn ads on / off if they are in the "Subscribers" group. Either way would be great ;)

Thanks again!

Yes still in the works.
- perhaps in a week :)

Bukusami 04-06-2006 12:32 PM

Sound slike a really great mod Zach..

I use Subdreamer as my portal front and use tradedoubler as my affiliates host, i have a sponser ad for subdreamer for the portal and will use this as my forums affiliate mod.

I will not install just yet as i am looking forward to the next update where i can have ads off per usergroup, and will work on the text links from tradedoubler to put in the rotation.

Will click install for now so i get news of the update but will nto install till update out.
Please be prompt :P

Regards
Gary

NR Fatal 04-16-2006 12:31 AM

installed it, uploaded my image, went to the forum I wanted the image in and put the link in, checked to see if the image was showing, Its not. know why?

Zachariah 04-16-2006 02:01 AM

NR Fatal,

At the current stage of this hack it still needs 2 template edits to operate. Did you make them ?

NR Fatal 04-16-2006 05:51 AM

Quote:

Originally Posted by Zachariah
NR Fatal,

At the current stage of this hack it still needs 2 template edits to operate. Did you make them ?

Yes I did.
PHP Code:

2Edit and add replace(old code).

*** 
Edit 2 Template(s) : FORUMDISPLAYSHOWTHREAD

Find
:
$navbar

below add 
replace:


<if 
condition="$foruminfo['banner'] AND $foruminfo['bannerlink']"><center><a href="$foruminfo[bannerlink]target="_blank"><img src="$foruminfo[banner]alt="$foruminfo[banneralt]border="0" /></a></center><br />
<else />
<if 
condition="$foruminfo['banner']"><center><img src="$foruminfo[banner]alt="$foruminfo[banneralt]border="0" /></center><br />
<else />
<if 
condition="$foruminfo['bannercode']"><center>$foruminfo[bannercode]</center><br />
</if>
</if>
</if> 



All times are GMT. The time now is 03:19 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.01290 seconds
  • Memory Usage 1,756KB
  • 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
  • (6)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