vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   background hack for Category backgrounds. (https://vborg.vbsupport.ru/showthread.php?t=32601)

Schmoo 11-22-2001 08:45 PM

I think it might be easist to explain this by first providing a link to my forums ( a Final Fantasy site)

http://www.ffhorizon.com/ffhforum/index.php

For my categories (main attractions, FF, site related, etc etc. ), I use a background image. Now my question is, is it posible some how to create a hack (or if there is one-which i dont think there is) that would allow me to use different background images for each category. (so a total of 4 different images would be used in this case).

If anyone could help me out that would be great.
FFAlpha used to do something like this, but that was on a ubb. So i don't know if it is possible for a vb.

thanks.

Kumaro 11-23-2001 02:24 AM

How do you at least do what you did. How do you make those categories have a background image?

Sinecure 11-23-2001 02:48 AM

Kumaro, go to your admin panel then go to style>modify>fonts/colors/etc> then under Category background color just use this:

#FFFFFF" background="{imagesfolder}/yourimage.gif

change yourimage.gif to whatever the image is that you made. Make it 25pixels high by 1pixel wide. you can change the #FFFFFF to your background color for your category background that way it atleast has a good color before the image loads. Also if people browse without images on then they will atleast get a good background color :D

Kumaro 11-23-2001 01:43 PM

Thanx Schmoo, working...

Airwaves 02-06-2002 08:56 AM

that doesnt work for me?

it makes the category strip go brown, and doesnt put the image there either

PHP Code:

#6687D4 background="{imagesfolder }/catbg.jpg" 

imagesfolder doesnt have a space before } though

please advise

Lesane 02-10-2002 12:07 PM

Try it without the { imagesfolder } tag, like if you have catbg.jpg in the images folder then just put there images/catbg.jpg

christina 02-11-2002 12:42 AM

In order to make it work, you have to put a " after the background color, so do #6687D4" background=blah...

Christina
Quote:

Originally posted by Airwaves
that doesnt work for me?

it makes the category strip go brown, and doesnt put the image there either

PHP Code:

#6687D4 background="{imagesfolder }/catbg.jpg" 

imagesfolder doesnt have a space before } though

please advise


SaintDog 02-11-2002 02:06 AM

I found only one problem with that though, when I try to do that it does work as christina said, but it screws up my CSS. I have my CSS set to where links are underlined only when you "mouseover" them and when I add " background="images/catbg.gif" to it then it forces all of the links to be underlined.

Anyone else seeing this or am I the only one? Below is what I place in the Cat BG color box:

#FFFFFF" background="images/catbg.gif"

Doing that presents the problem stated above :(

SaintDog 02-11-2002 02:12 AM

Ah, I found a way to get around that problem I was having so pay no attetion to the above post that I made. Instead of just adding 1 " you need to surround the color code with them also so that it looks like below:

"#000000" background="images/catbg.gif"

Mine works perfectly now :)

Airwaves 02-11-2002 11:03 AM

i will try this later :D let you know how it goes :D

netman 02-12-2002 12:24 PM

Quote:

Ah, I found a way to get around that problem I was having so pay no attetion to the above post that I made. Instead of just adding 1 " you need to surround the color code with them also so that it looks like below:
When I do this the PM strip goes black.

Why?

Ambex Net 02-17-2002 04:59 PM

Quote:

Originally posted by netman


When I do this the PM strip goes black.

Why?

You are forgetting to put a
"
after

#000000

so it'd be

#000000"

Rapdis 03-26-2002 02:10 PM

I got a problem... please help!

i got a major problem... im using the silver bar on the main catogory headers (in main colours in the CP) but it wont show on all off them...?

why...? Please advise....

please view my forum at http://www.rapdis.com/forum/index.php?

In the Catogory Strip Backround Colour, I have put #606096 "background="http://www.rapdis.com/forum/images/xp.gif

Why doesnt it do it for all the main forum headers and only the first one?

Liz 01-07-2003 05:06 PM

The image thing worked nicely....with one glitch. My links come up black instead of white.

Does anyone know why?

edited Nevermind! I figured it out.


All times are GMT. The time now is 03:51 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.01197 seconds
  • Memory Usage 1,743KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (14)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete