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)

alderwazeh 03-21-2005 04:52 AM

thanks for the hack
I want to put a separate independant banner and above the navebar for each forum? how

Julio 03-23-2005 08:01 PM

Any chance I can choose which banner I want in 'x' forum?
It seems like it will display the same banner in all forums.

Zachariah 03-24-2005 10:43 PM

Quote:

Originally Posted by Julio
Any chance I can choose which banner I want in 'x' forum?
It seems like it will display the same banner in all forums.

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

p h o e n i x x 03-25-2005 08:22 PM

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

Zachariah 03-26-2005 05:21 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 not sure w/o an example :rambo:, but perhaps your pasted code is in the wrong place ?

HTML Code:

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

- Below add:
<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>


Zachariah 03-30-2005 02:43 AM

Quote:

Originally Posted by alderwazeh
thanks for the hack
I want to put a separate independant banner and above the navebar for each forum? how


Paste the forum display edit above $navbar vs below.

NxTek 05-20-2005 09:02 PM

Can this be used instead of having the 3 banner, bannerlink, banneralt variables, to have 1 variable such as the following php code?

Code:

<?php
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:3', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }
?>


Zachariah 05-22-2005 06:40 PM

Quote:

Originally Posted by NxTek
Can this be used instead of having the 3 banner, bannerlink, banneralt variables, to have 1 variable such as the following php code?

Code:

<?php
    if (@include(getenv('DOCUMENT_ROOT').'/ads/phpadsnew.inc.php')) {
        if (!isset($phpAds_context)) $phpAds_context = array();
        $phpAds_raw = view_raw ('zone:3', 0, '', '', '0', $phpAds_context);
        echo $phpAds_raw['html'];
    }
?>


I use them both :)
I have phpads doing the banners w/ rotation. I use this for a "subject image" change.

I use the java plugin, not the php code my self.

misuse 07-11-2005 06:17 AM

Thanks for the hack! I had to read through all the replies to figure it out IE Global... But it works great. Installed.

Zachariah 07-13-2005 12:05 AM

Quote:

Originally Posted by misuse
Thanks for the hack! I had to read through all the replies to figure it out IE Global... But it works great. Installed.

Think I should redo the How-to ??

Quote:

//////////////////////////////////////
Add these phrases: All Global
/////////////////////////////////////
Is in the attached text file. Was it not "in your face" enought and easy to over look ? :speechless:


All times are GMT. The time now is 11:11 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.01222 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
  • (1)bbcode_html_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