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)

Zachariah 10-14-2004 09:34 PM

Quote:

Originally Posted by Watson
Anyway to add a line break after this, cause it touches the top of subforums within the forums

Watson

[high]* Watson clicks install, thanks for this[/high]

In the template. Add <br /> (below in red)

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><br>
<else />
<if condition="$foruminfo['banner']"><center><td><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></td></center><br />
</if>
</if>


kabresh 11-04-2004 11:25 AM

could someone tell me if this hack works for 3.0.3 ?

Zachariah 11-04-2004 05:46 PM

yep it works :)

pitt2424 02-08-2005 04:18 AM

will this hack work like it is in this screenshot?

this screenshot is how i want my banners to be placed....

i have vb version 3.0.6

pitt2424 02-09-2005 02:08 PM

bump?

Zachariah 03-02-2005 10:12 PM

Quote:

Originally Posted by pitt2424
bump?

I sent u a PM weeks ago.

bumwrap 03-14-2005 01:41 AM

Quote:

Originally Posted by HarryButt
I sent u a PM weeks ago.

Thanks. Clicked install. The only thing is, the text under it isn't showing up. It was & vanished.
sample here

Also is is not linking propperly. It is linking to my forum+the sponsor link.
http://www.mamanaturally.com/forums/...ittleducks.com

Zachariah 03-14-2005 03:12 PM

@bumwrap
HTML Code:

<a href="www.fourlittleducks.com" target="_blank">
In your link try adding http://www.fourlittleducks.com in your WAHM/D Spam forum.

bumwrap 03-14-2005 03:21 PM

Thanks! Now how do I get the "Sponsored By" text?

Zachariah 03-14-2005 04:45 PM

Quote:

Originally Posted by bumwrap
Thanks! Now how do I get the "Sponsored By" text?

Edit Template : ForumDisplay

Find:
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>

REPLACE:
Code:

<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']">
<div class="smallfont" align="center">       
Sponcerd by:<br /><a href="$foruminfo[bannerlink]" target="_blank"><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" /></a>
<else />
<div class="smallfont" align="center">       
Sponcerd by:<br /><img src="$foruminfo[banner]" alt="$foruminfo[banneralt]" border="0" />
</div>
</if>

I think this will work out for ya.


All times are GMT. The time now is 08:05 AM.

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.01208 seconds
  • Memory Usage 1,740KB
  • 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
  • (3)bbcode_code_printable
  • (1)bbcode_html_printable
  • (4)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