Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 01-05-2003, 04:13 AM
MyLastBreathX MyLastBreathX is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Another bg img question

Hey, how can I change the "page background color" to be an image?

SS will show exactly what I'm talking about..

I tried adding "{imagesfolder}/image.gif" instead of the html color code, but it just showed up being blue.

Also, when it's a bg img I'd like to know how to make it not repeat..

Thanks ahead of time.
Attached Images
File Type: gif how.gif (7.9 KB, 0 views)
Reply With Quote
  #2  
Old 01-05-2003, 04:35 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Go into your CP - Style - Font/colors/etc. Then find the body tag box on that page. Add a background="" tag inside it and the url inbetween.
Reply With Quote
  #3  
Old 01-05-2003, 04:46 AM
MyLastBreathX MyLastBreathX is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay..

Now it changed the bg to red..

EDIT: Sorry, I misread your post..
It's not the body tag I want it in.. it's the page bg color. The arrow points to what I mean in the SS..
Reply With Quote
  #4  
Old 01-05-2003, 09:56 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

So you have the forum border installed?
Reply With Quote
  #5  
Old 01-05-2003, 11:56 AM
Nairb
Guest
 
Posts: n/a
Default

I think what he meant, was that he had

bgcolor="{imagesfolder}/image.gif"

but what he should have had was:

background="{imagesfolder}/image.gif"
Reply With Quote
  #6  
Old 01-05-2003, 04:49 PM
MyLastBreathX MyLastBreathX is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by Nairb
I think what he meant, was that he had

bgcolor="images/image.gif"

but what he should have had was:

background="images/image.gif"
haha.. yes.
I didn't know that this was in the header template. I thought you could only edit it where you edit all the colors for the style.

Anyways, I got it to work, but when I view threads the bg image stops repeating (example in screen shot). Any way of fixing this?
Attached Images
File Type: gif example.gif (13.5 KB, 0 views)
Reply With Quote
  #7  
Old 01-05-2003, 10:19 PM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thats a known problem, so far the only fix we've got is to add the bg in every template which would take you a very long time.
Reply With Quote
  #8  
Old 01-06-2003, 02:59 AM
MyLastBreathX MyLastBreathX is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well.. what I have now seems to be working for all the templates except when you view a thread..

SO maybe that's the only one I'll have to edit..

I'll mess around with it a bit..
Reply With Quote
  #9  
Old 01-06-2003, 03:21 AM
Tony G's Avatar
Tony G Tony G is offline
 
Join Date: Nov 2001
Location: Melbourne, Australia
Posts: 8,357
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add it into the showthread then, and that should fix it. (Edit the BODY tag in showthread template)
Reply With Quote
  #10  
Old 01-06-2003, 03:23 AM
MyLastBreathX MyLastBreathX is offline
 
Join Date: Jan 2003
Posts: 9
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lol.. I was just about to post that question..
"which template is it..?"

haha..
Thanks.
Reply With Quote
Reply

Thread Tools
Display Modes

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 12:46 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05196 seconds
  • Memory Usage 2,262KB
  • Queries Executed 14 (?)
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
  • (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
  • (2)postbit_attachment
  • (9)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_postinfo_query
  • fetch_postinfo
  • 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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete