Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

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

Version: 3.0.11 Rating:
Released: 02-13-2004 Last Update: 12-17-2005 Installs: 98
DB Changes Template Edits
Code Changes  
No support by the author.

Works on: VB3 RC3 - 3.1+

This modification will Add an image banner w/ link option per forum.

This hack modifies/adds :

1 php file
2 templates
4 query / table field
4 added phrase

*1.6 Update 12.18.05

Useage:
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.

Admincp -> Forums & Moderators -> Forum Manager -> Edit Forum -> Fill out the banner info.

Banner Image - (location of image)
Banner URL - (Link that you go to when u click the banner)
Alt Tag (if you mouse over the banner; pop-up text)
HTML Paste (added)

You can also fill out the info when you make a new forum.

NOTES:


Changes:
--------
1.6
Banner shows up on each thread
adds: 1 more template edit to the install

*1.5
+Added HTML option

*1.2
+ Added Alt text for each banner(admincp)
+ Images no longer must be on the server
You can use a local image off your webserver or use a image at another location.
EX: /images/banner/someimage.jpg or http://www.yoursite.com/someimage.jpg

*1.1
+ Added option for image to have a link

*1.0
+ Image banner for every forum under the $navbar

*//


JAVA BANNER ROTATION

FYI-

I did some playing around took the <if></if> statement added to the ForumsDisplay template. You can insted place it in the header / footer template and it will show up also.

VB3.5X ver
https://vborg.vbsupport.ru/showthread.php?t=94119

Show Your Support

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

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

Everything worken out on the installs ?
Reply With Quote
  #23  
Old 03-02-2004, 10:33 PM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryButt
Everything worken out on the installs ?
got a question any way to make it support multiple images like side by side
Reply With Quote
  #24  
Old 03-02-2004, 10:55 PM
gc1 gc1 is offline
 
Join Date: Sep 2002
Posts: 52
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes, I had it installed right I just couldn't find it

Thanks

Great hack
Reply With Quote
  #25  
Old 03-03-2004, 01: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 NexVision
got a question any way to make it support multiple images like side by side
That should not be a problem to add on.

Say max 5 images ? each as a variable.

IE:
$image1 w/ $link1
$image2 w/ $link2
$image3 w/ $link3
$image4 w/ $link4
$image5 w/ $link5

Then place the <if> </if> statments where you wish. ?

We are talking static images. Not rotation ? Give me a little info.
Reply With Quote
  #26  
Old 03-03-2004, 01:42 AM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by HarryButt
That should not be a problem to add on.

Say max 5 images ? each as a variable.

IE:
$image1 w/ $link1
$image2 w/ $link2
$image3 w/ $link3
$image4 w/ $link4
$image5 w/ $link5

Then place the <if> </if> statments where you wish. ?

We are talking static images. Not rotation ? Give me a little info.

I mean like 1 on either side of this image so there were 3 or 4 or 5 like you said not to sure wut you mean static images i dont know ++++ about hacks just opened my board 3 months ago as a spoof and now I got over 5000 members so im tryin to reecoop some right now I had my friend add the image thru the header template so would i remove that before installing this hack or would it put it below or above it.

If you are willing to do this then i'll def wait till its updated cause I think it would be awesome with easy access.

edit:::::: sorry wrong pic
Reply With Quote
  #27  
Old 03-03-2004, 02:06 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This hack allows you to place an image with/without a link for each forum you create. (Possible different image w/ different link per forum) There is a bit of code you place in a template to make the image appear where you want it to.

The EX:

With some more hacking I could make it were there are 5 different images w/ links you can place per forum.
There would be 5 bit of code for the 5 images you want to show up when a forum loads.



Current Hack w/ 1 image

http://www.gzhq.net/forums/forumdisplay.php?f=118
(with image and link - Hellfire Empire Image)

http://www.gzhq.net/forums/forumdisplay.php?f=23
(without image and link)
Reply With Quote
  #28  
Old 03-03-2004, 02:38 AM
NexVision NexVision is offline
 
Join Date: Nov 2003
Posts: 69
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If you want to take it on I would def install it ive been looking to have 3 or so up there 5 would be dope as hell.
Reply With Quote
  #29  
Old 03-04-2004, 01:52 AM
Da Lynched 1 Da Lynched 1 is offline
 
Join Date: Nov 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've gotten now down to the Add these phrases portion. I'm assuming these would go in the the Replacement Variable manager but I'm not sure. Where exactly do I do that?

Sorry for being difficult, I'm making sure I do it properly. I'm all about helpin create a better detailed install for you, so some not as advanced person as me can do it simply without having to bug everyone to do it. So far it's been pretty simple, I just completely forgot about using myphpadmin, and did the query through vbulletin. After that the only hang up has been where to add the phrases.
Reply With Quote
  #30  
Old 03-04-2004, 02:27 AM
Da Lynched 1 Da Lynched 1 is offline
 
Join Date: Nov 2003
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I was thinkin about somethin earlier but I really suck with php right now... first was it would be cool if you could do a rotating banner (with link) and make it so it's always under the nav bar, or above the footer.
Reply With Quote
  #31  
Old 03-04-2004, 01:27 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 Da Lynched 1
I've gotten now down to the Add these phrases portion. I'm assuming these would go in the the Replacement Variable manager but I'm not sure. Where exactly do I do that?

Admincp -> Languages & Phrases -> Phrase Manager -> Add New Phrase

All Phrases are "global"
Reply With Quote
Reply


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 03:51 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.04577 seconds
  • Memory Usage 2,310KB
  • 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
  • (4)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
  • (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