Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Display one or multiple forum banners per seperate forum Details »»
Display one or multiple forum banners per seperate forum
Version: 1.00, by MaDCaT75 MaDCaT75 is offline
Developer Last Online: Mar 2005 Show Printable Version Email this Page

Version: 2.3.x Rating:
Released: 12-01-2003 Last Update: Never Installs: 9
 
No support by the author.

Hi everyone! This is my first hack so bare with me here. I didnt have anyone else try this out yet cause all my vb friends have 3.0

Description:

What this hack does is it will allow you to add a banner or a small image or whatever to your forum display. You may add only one image per forum display, however you can display a seperate image to another forum at the same time.



The instructions are attatched.

Please let me know if this hack works or not. I will try to figure out what is missing if the image does not display.

Example of the image being displayed in forumdisplay:

Show Your Support

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

Comments
  #22  
Old 01-01-2004, 06:01 PM
gmarik's Avatar
gmarik gmarik is offline
 
Join Date: May 2002
Location: Mocsow
Posts: 1,288
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Make, make, make it vbthree and you'll be free!
Reply With Quote
  #23  
Old 01-01-2004, 08:27 PM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by gmarik
Make, make, make it vbthree and you'll be free!
That makes no sense
Reply With Quote
  #24  
Old 01-29-2004, 08:13 PM
erikajune's Avatar
erikajune erikajune is offline
 
Join Date: Jan 2004
Location: Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How can I make it so the banner can link somewhere?
Reply With Quote
  #25  
Old 01-29-2004, 08:25 PM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

do you want all of the banners to link somewhere? Cuz if you put <a href="http://gotohere.com">$forumimg</a> then all of the banners would be affected... thats the only way I can think of.
Reply With Quote
  #26  
Old 01-29-2004, 08:35 PM
erikajune's Avatar
erikajune erikajune is offline
 
Join Date: Jan 2004
Location: Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want all of them to link to different destinations. I have 6 different banners in total, all linking to a different site.

Where do I add the URL code within this:
Code:
if($foruminfo[forumid] == XX) 
	{ 
	    $forumimg = "<img src=\"{imagesfolder}/whatever.jpg\" />"; 
	}
Reply With Quote
  #27  
Old 01-31-2004, 06:22 AM
armani1072 armani1072 is offline
 
Join Date: Jan 2004
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by erikajune
I want all of them to link to different destinations. I have 6 different banners in total, all linking to a different site.


i too would like to know. i like the hack cause it is simple. i just need a to link my banners.
Reply With Quote
  #28  
Old 02-02-2004, 03:29 AM
MaDCaT75 MaDCaT75 is offline
 
Join Date: Jul 2003
Location: Southern California
Posts: 718
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well i supppose you can put a URL link in there when editing it. I'm not sure because I dont have vb 2 anymore.
Reply With Quote
  #29  
Old 02-03-2004, 07:10 PM
erikajune's Avatar
erikajune erikajune is offline
 
Join Date: Jan 2004
Location: Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you show me what it would look like in the example above?

Thanks.
Reply With Quote
  #30  
Old 02-03-2004, 07:40 PM
MindTrix's Avatar
MindTrix MindTrix is offline
 
Join Date: Apr 2002
Location: United Kingdom
Posts: 1,833
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try

PHP Code:
if($foruminfo[forumid] == XX
    { 
     
$forumimg "<a href="www.chat2death.com"><img src=\"{imagesfolder}/whatever.jpg\" /></a>"
    } 
Thats a wild guess though
Reply With Quote
  #31  
Old 02-06-2004, 03:06 AM
erikajune's Avatar
erikajune erikajune is offline
 
Join Date: Jan 2004
Location: Canada
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks but that doesn't work. I get an error in the forums. Is it really impossible to do this?
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 04:37 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.05718 seconds
  • Memory Usage 2,300KB
  • 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_code
  • (1)bbcode_php
  • (2)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
  • (3)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