Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-22-2001, 08:45 PM
Schmoo's Avatar
Schmoo Schmoo is offline
 
Join Date: Nov 2001
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #2  
Old 11-23-2001, 02:24 AM
Kumaro's Avatar
Kumaro Kumaro is offline
 
Join Date: Oct 2001
Location: T.O
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How do you at least do what you did. How do you make those categories have a background image?
Reply With Quote
  #3  
Old 11-23-2001, 02:48 AM
Sinecure's Avatar
Sinecure Sinecure is offline
 
Join Date: Oct 2001
Location: Victoria, BC, Canada
Posts: 407
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #4  
Old 11-23-2001, 01:43 PM
Kumaro's Avatar
Kumaro Kumaro is offline
 
Join Date: Oct 2001
Location: T.O
Posts: 122
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanx Schmoo, working...
Reply With Quote
  #5  
Old 02-06-2002, 08:56 AM
Airwaves's Avatar
Airwaves Airwaves is offline
 
Join Date: Nov 2001
Location: Chesterfield, Derbyshire, UK
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #6  
Old 02-10-2002, 12:07 PM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try it without the { imagesfolder } tag, like if you have catbg.jpg in the images folder then just put there images/catbg.jpg
Reply With Quote
  #7  
Old 02-11-2002, 12:42 AM
christina's Avatar
christina christina is offline
 
Join Date: Jan 2002
Location: Chicagoland
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #8  
Old 02-11-2002, 02:06 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #9  
Old 02-11-2002, 02:12 AM
SaintDog SaintDog is offline
 
Join Date: Nov 2001
Location: Tennessee
Posts: 1,975
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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
Reply With Quote
  #10  
Old 02-11-2002, 11:03 AM
Airwaves's Avatar
Airwaves Airwaves is offline
 
Join Date: Nov 2001
Location: Chesterfield, Derbyshire, UK
Posts: 43
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i will try this later let you know how it goes
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 10:00 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.06714 seconds
  • Memory Usage 2,252KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_php
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete