Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.5 > vBulletin 3.5 Add-ons

Reply
 
Thread Tools
Add a banner image to each forum (vb3.5) Details »»
Add a banner image to each forum (vb3.5)
Version: 1.6, by Zachariah Zachariah is offline
Developer Last Online: Jan 2020 Show Printable Version Email this Page

Version: 3.5.0 Rating:
Released: 08-11-2005 Last Update: 11-27-2005 Installs: 325
DB Changes Uses Plugins Template Edits
 
No support by the author.

/* -----------------8/11/2005-----------------
[HowTo] Add a banner option image w/ Link or HTML paste to each forum V.1.6
Tested on vBulletin: 3.5.0 RC2

Zachariah - http://www.gzhq.net

This is a VB3.5 Ver of my previous hack:

*** Add a banner image to each forum (VB 3.0x)
https://vborg.vbsupport.ru/showthread.php?t=61555

*** Info:
This modification will Add an image banner w/ link Or paste in your own HTML code option per forum. These files can be any image. (png, jpg, gif, ect). This will be located after the $navbar on FORMDISPLAY. This images can be located on the localhost or on a remote server.
--------------------------------------------------*/

Upload the "plug-in" and edit 2 template, It's a snap.



Changelog:
------------
1.6
Banner shows up on each thread
adds: 1 more template edit to the install
Requested by: - Ryan McBain

** Note: 1.5 - 1.6 needs only to edit SHOWTHREAD not Reinstall the XML files

1.5
Added HTML option (tested w/ Java and Iframe from phpadsnew output)
Added 3.x to VB 3.5 upgrade XML file.

** Random Banner Code Java

**Please click " Install " to track updates.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #192  
Old 03-26-2006, 08:11 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #193  
Old 03-26-2006, 03:12 PM
davesx davesx is offline
 
Join Date: Mar 2006
Posts: 2
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #194  
Old 03-26-2006, 08:01 PM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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:
Reply With Quote
  #195  
Old 04-04-2006, 11:25 AM
defcon_420's Avatar
defcon_420 defcon_420 is offline
 
Join Date: Jun 2004
Location: next to you
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

"Clicks Install" Great mod! very simple and good installation instructions
Reply With Quote
  #196  
Old 04-05-2006, 01:59 PM
Ins Ins is offline
 
Join Date: Jan 2006
Location: South Africa
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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!
Reply With Quote
  #197  
Old 04-06-2006, 02:30 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #198  
Old 04-06-2006, 12:32 PM
Bukusami Bukusami is offline
 
Join Date: Mar 2006
Posts: 41
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #199  
Old 04-16-2006, 12:31 AM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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?
Reply With Quote
  #200  
Old 04-16-2006, 02:01 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NR Fatal,

At the current stage of this hack it still needs 2 template edits to operate. Did you make them ?
Reply With Quote
  #201  
Old 04-16-2006, 05:51 AM
NR Fatal NR Fatal is offline
 
Join Date: Mar 2006
Posts: 87
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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> 
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 01:14 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.11509 seconds
  • Memory Usage 2,322KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_php
  • (6)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete