vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Background image like here (https://vborg.vbsupport.ru/showthread.php?t=85408)

Fekt 11-24-2002 08:20 AM

Background image like here
 
I would like to create a background image that is present all the time like these (flower?) shapes on left and right of main forumbits on this board.

I know a bit of HTML and can perform simple modifications by learning from existing mods but I cannot understand this. :(

If someone could help me begin I would be grateful. :)

Tony G 11-24-2002 09:00 AM

There is another thread on it so you can look for an answer there when it comes. I don't really know. Any method I tried it only works in some areas.

imported_Eternale 11-24-2002 12:33 PM

Replace your Body tag with this

<body background="images/yourimage" bgcolor="#XXXXXX" text="#XXXXXX" id="all" leftmargin="10" topmargin="10" marginwidth="10" marginheight="0" link="#XXXXXX" vlink="#XXXXXX" alink="#XXXXXX">

Replace the X'S with the color you want and it will work!

assassingod 11-24-2002 02:33 PM

I think he means he would like to make a background image.

Jon 11-24-2002 03:53 PM

That doesn't work..

assassingod 11-24-2002 03:59 PM

Thats the body tag code for vBulletins only btw

Fekt 11-24-2002 07:39 PM

Thankyou everyone for your help. :)

I have been also reading threads on vbulletin.org and found a solution written there. I see that people here look for this also so here it is:

(from Mist)

Quote:

Goto the replacement section of your admin cp and find the replacement for <body>

Copy what you have.

Then in your 'forumhome' template find:

PHP Code:

<body

Replace it with the thing you just copied from the replacement section.

Then somewhere in your body tag put this:

PHP Code:

background="{ imagesfolder}/pagebg.gif" 

Remove the gap from between the { and the imagesfolder though :)

Tony G 11-25-2002 05:30 AM

Doesn't work, the bgcolor overwrites the background. Also, wouldn't you have to add it to every template page?

Fekt 11-25-2002 08:55 AM

It worked for me. Did you remember to remove the space as said at bottom of instructions? I forgot in the start and nothing happened. Then I understood and removed it. Now it works.

Yes it has to be done to all templates you want if for. The person who asked for the help said it was for forumhome only that he wanted it so Mist gave the more easy way for it I think.

Tony G 11-25-2002 09:55 AM

There has to be an easier way. Must be...


All times are GMT. The time now is 01:11 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.01123 seconds
  • Memory Usage 1,730KB
  • 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
  • (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