vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Add a banner image to each forum (https://vborg.vbsupport.ru/showthread.php?t=61555)

OFFSHORE DAN 07-16-2005 03:40 AM

I will try this!

SlipNslide281 08-04-2005 04:15 PM

might be a stupid question but where do you link the banner? I installed the hack and everything seemed to do fine but if I want a banner at the top just below my forum home header just like the example screen shot, where do I go to edit the banner or link it?

Zachariah 08-04-2005 10:13 PM

Quote:

Originally Posted by SlipNslide281
might be a stupid question but where do you link the banner? I installed the hack and everything seemed to do fine but if I want a banner at the top just below my forum home header just like the example screen shot, where do I go to edit the banner or link it?


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

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

1st post updated w/ info.

SlipNslide281 08-09-2005 08:49 PM

excellent hack, and great tech support. I really enjoy this hack.

Zachariah 08-10-2005 01:30 AM

Quote:

Originally Posted by SlipNslide281
excellent hack, and great tech support. I really enjoy this hack.

:nervous: No problem sir. Glad it helped out.

uReside.com 08-10-2005 06:51 PM

Quote:

Originally Posted by HarryButt
:nervous: No problem sir. Glad it helped out.

so this hack will let me put any ad in a specific forum, i know it says "This modification will Add an image banner w/ link option per forum." but does that limit it to 1 or can i put any amount of ads in and it rotate them or randomly pick them? also does it count the clicks each ads recieves?

Zachariah 08-10-2005 08:13 PM

Quote:

Originally Posted by uReside.com
so this hack will let me put any ad in a specific forum, i know it says "This modification will Add an image banner w/ link option per forum." but does that limit it to 1 or can i put any amount of ads in and it rotate them or randomly pick them? also does it count the clicks each ads recieves?

This is very basic. Any image w/ link per forum. It can be placed in the header / footer / body. Current setup places the image between the $navbar / breadcrumb and the forums list. (forumdisplay)

There are a few other things that can be done. 100x25px image ForumHome insted of ForumDisplay.

RichieBoy67 08-11-2005 02:56 PM

Quote:

Originally Posted by p h o e n i x x
I have installed this hack. However in the forums the banners appear next to the navbar. I have tried using the line break code to drop it down a line but it will not work. even if i use about 15 line break's it just moves down but is still in the same line up. This makes my forums look extremely demented. How can i move it UNDERNEATH the navbar.

Cheers
- PX


I am having the same problem and I have tried a bunch of difrent tags to no avail. I do already have rotating banners in the header but I am not sure why that would effect this...

Does anyone have a fix???


Thanks

Zachariah 08-11-2005 10:12 PM

Quote:

Originally Posted by RichieBoy67
I am having the same problem and I have tried a bunch of difrent tags to no avail. I do already have rotating banners in the header but I am not sure why that would effect this...

Does anyone have a fix???


Thanks

Ya was a lamebrain when I coded the hack. My brain grew since then. :rolleyes:


In the Attached file:

/////////////////////////////
Edit Template : ForumDisplay
//////////////////////////////
- Find:
$navbar

- Below add:
Code:

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

change it to:

Code:

<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 />
</if>
</if>

I killed the <td> </td> and added a <br /> to space the banner and the rest of the forum list.

I will update the main hack soon. I will also have a VB3.5 ver sometime today.

RichieBoy67 08-12-2005 12:44 AM

Great! Thanks.... I should have caught that myself...

Great hack man!!


All times are GMT. The time now is 02:41 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.01610 seconds
  • Memory Usage 1,745KB
  • 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
  • (2)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (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