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)

The Realist 06-14-2004 10:23 AM

Here is your answer and you said this yourself:

Duplicate column name 'banner'

Means that when you tried to run the SQL commands it tried to installed a column called banner but it could not because there is one already there.

Mamochka 06-19-2004 09:09 AM

I have a problem. Baner prevents to use search.
Essence of a problem: having pressed a button SEARCH leaves panel search in which we hammer themes for search. Panel leaves here only for banerom. :(
Any ideas?

tHe Rk 06-27-2004 01:11 AM

It would be nice if there was something in the instructions that said that you had to go to into forum manager and then the options would be there for each forum. I couldn't find them, and then after a little bit of looking found them, but I shouldn't have had too.

Zachariah 06-27-2004 07:41 PM

Quote:

Originally Posted by Mamochka
I have a problem. Baner prevents to use search.
Essence of a problem: having pressed a button SEARCH leaves panel search in which we hammer themes for search. Panel leaves here only for banerom. :(
Any ideas?

Re check the code editing ?
It's up on my site for last 7 months.

http://www.gzhq.net/forums/

Michael Morris 07-13-2004 10:38 AM

This hack has worked well for some time now at ENWorld, though we use it in the $header file to construct a forum specific logo. Our header looks like this...

Code:

<if condition="$foruminfo['banner'] AND $foruminfo['bannerlink']">
                <a href="$foruminfo[bannerlink]" target="_blank">
                        <img src="images/banner/$foruminfo[banner]" alt="$foruminfo[banner]" border="0" />
                </a><else />
        <if condition="$foruminfo['banner']">
                <img src="images/banner/$foruminfo[banner]" alt="$foruminfo[banner]" border="0" />
        <else />
        <img src="images/banner/default.gif" border="0">
</if></if>


Michael Morris 07-13-2004 10:41 AM

One small problem with the above comes with the popular VBAdvance CMPS hack. This hack doesn't set a forum, so the header falls to the default. In order that we "not" need to use a seperate header for the CMPS pages, the following code was put into our phpinclude_end file.

PHP Code:

if (defined('VBA_PORTAL'))

$output str_replace("default.gif""ENNewsLogo.gif"$output);



turbidblue 07-16-2004 06:24 PM

thank you :)


[high]* turbidblue clicks install :)[/high]

Spinball 08-07-2004 09:12 PM

May I direct people to
https://vborg.vbsupport.ru/showthread.php?t=67942
where there is a fairly simple alternative allowing multiple rotating banners in specific forums?

Blam Forumz 10-08-2004 09:41 PM

i using vb 3.0.2 and nowt happened!

Watson 10-13-2004 10:18 PM

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

Watson

/me clicks install, thanks for this


All times are GMT. The time now is 08:06 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.01185 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
  • (1)bbcode_code_printable
  • (1)bbcode_php_printable
  • (1)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