vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Another bg img question (https://vborg.vbsupport.ru/showthread.php?t=85911)

MyLastBreathX 01-05-2003 04:13 AM

Another bg img question
 
1 Attachment(s)
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.

Tony G 01-05-2003 04:35 AM

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.

MyLastBreathX 01-05-2003 04:46 AM

Okay..

Now it changed the bg to red.. :confused:

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..

Tony G 01-05-2003 09:56 AM

So you have the forum border installed?

Nairb 01-05-2003 11:56 AM

I think what he meant, was that he had

bgcolor="{imagesfolder}/image.gif"

but what he should have had was:

background="{imagesfolder}/image.gif"

MyLastBreathX 01-05-2003 04:49 PM

1 Attachment(s)
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?

Tony G 01-05-2003 10:19 PM

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.

MyLastBreathX 01-06-2003 02:59 AM

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..

Tony G 01-06-2003 03:21 AM

Add it into the showthread then, and that should fix it. (Edit the BODY tag in showthread template)

MyLastBreathX 01-06-2003 03:23 AM

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

haha..
Thanks.


All times are GMT. The time now is 09:20 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.01067 seconds
  • Memory Usage 1,727KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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