Jump to content


- - - - -

help setting default background image for Warrior Skin


  • Please log in to reply
4 replies to this topic

#1 nitroxbs

nitroxbs

    Member

  • Members
  • PipPipPip
  • 42 posts
  • IPB Version:v3.0.x

Posted 04 November 2010 - 10:28 AM

Our board is using the Warrior skin, which allows the member to choose the background they want. We have changed the images on the FTP to ones more suitable for our site & edited the css to match the file roots & the backgrounds show up fine when selected by the member.
But we have no default background.
You can select a backgound and that will remain, even after signing out & back in, but new members only see a black screen untill they select a background.

here is the code that runs the Background switcher for the Warrior Skin..
                    
<!-- Switch Background Starts -->
<li><a href="#" title="Change Background" id="background-picker-trigger"><img src="{style_images_url}/_custom/switch.png" border="0" class="switch" /></a>
<div id="background-picker">
<h3 class="bar">Pick a background</h3>
<div id="background-switcher">
							
<a href="{style_images_url}/_backgrounds/MOH.jpg" id="bg-MOH"><img src="{style_images_url}/_backgrounds/MOH.jpg" /> M.O.H</a>
<a href="{style_images_url}/_backgrounds/black.jpg" id="bg-black"><img src="{style_images_url}/_backgrounds/black.jpg" /> Black Ops</a>
<a href="{style_images_url}/_backgrounds/blackops.jpg" id="bg-blackops"><img src="{style_images_url}/_backgrounds/blackops.jpg" /> Black Ops Dark</a>	
<a href="{style_images_url}/_backgrounds/blackops2.jpg" id="bg-blackops2"><img src="{style_images_url}/_backgrounds/blackops2.jpg" /> Black Ops Light</a>
<a href="{style_images_url}/_backgrounds/gears1.jpg" id="bg-gears1"><img src="{style_images_url}/_backgrounds/gears1.jpg" /> Gears</a>
<a href="{style_images_url}/_backgrounds/star.jpg" id="bg-star"><img src="{style_images_url}/_backgrounds/star.jpg" /> Starcraft</a>
</div>
</div>
</li>
			<!-- Switch Background Ends -->

Is there a line of code missing or do we need to change a setting elsewhere.

Thanks in advance.

Edited by nitroxbs, 04 November 2010 - 10:33 AM.

Visit our site http://www.xpboosters.com

#2 ineedadate

ineedadate

    Coder

  • Members
  • PipPipPipPipPip
  • 211 posts
  • IPB Version:v3.1.x
Contributor

Posted 04 November 2010 - 06:13 PM

edit*

never mind.

I'll have to DL the skin and try to figure it out.

Edited by ineedadate, 04 November 2010 - 06:14 PM.


#3 nitroxbs

nitroxbs

    Member

  • Members
  • PipPipPip
  • 42 posts
  • IPB Version:v3.0.x

Posted 05 November 2010 - 05:26 PM

OK problem solved... In IP_Styles find and modify:Replace the socom.jpg with the default image..

body {
background: #000 url({style_images_url}/_backgrounds/socom.jpg) no-repeat fixed top center;
color: #a8a8a8;
font: normal 12px "lucida grande", "lucida sans unicode", arial, verdana, tahoma, sans-serif;
position: relative;
} 

Big thanks to Mr Jones for the answer.. I thought i would post it just in case anyone else needs it.
Visit our site http://www.xpboosters.com

#4 XboxGamers

XboxGamers

    n00b

  • Members
  • Pip
  • 1 posts
  • Real Name:Bill
  • IPB Version:v3.0.x

Posted 13 January 2011 - 03:50 PM

Thanks bro this is so helpfull. +Rep ;)

#5 Sidarta

Sidarta

    n00b

  • Members
  • Pip
  • 2 posts
  • IPB Version:v3.1.x

Posted 26 October 2011 - 05:23 PM

Where did you found this code?
Which file?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users