ViciousCode
01-27-2009, 10:00 PM
Give the user an option to use a different background for the forum.
This mod works with all versions of 3.5 to 3.8
1. first remove the css customization for the body part of the css (remove only the body background css setting)
2. make a new profile field - single selection menu
with the following options
Name - Background Pattern
Description - Select your background Pattern for the forums
Set Default - Yes, but No First Blank Option
Field Required - Yes, registration and profile updating
Field Editable by User - Yes
Private Field - No
Field Searchable on Members List - No
Show on Members List - No
Options
Light
Dark
Orange
Blue
Brown
Black
Red
Green
Winter
Lepard
Punk
Script
Pink-Flower
Pink-Hearts
Green-Stars
Green-Flowers
Music-Dark
Music-Light
3. add the following code to the end of headerinclude template
<if condition="$bbuserinfo['fieldX']">
<body style="background: #1d2e40 url(images/Pattern-$bbuserinfo[fieldX].gif) top left fixed;">
<else />
<body style="background: #1d2e40 url(images/Pattern-Blue.gif) top left fixed;">
</if>
and make sure to change the fieldX to the actual field number (example: field5)
4. upload the patterns to the forum root/images folder
thats it and youre done :)
Screenshot
http://solidsyn.net/uploadzone/images/973338Pattern-Set.jpg
This mod works with all versions of 3.5 to 3.8
1. first remove the css customization for the body part of the css (remove only the body background css setting)
2. make a new profile field - single selection menu
with the following options
Name - Background Pattern
Description - Select your background Pattern for the forums
Set Default - Yes, but No First Blank Option
Field Required - Yes, registration and profile updating
Field Editable by User - Yes
Private Field - No
Field Searchable on Members List - No
Show on Members List - No
Options
Light
Dark
Orange
Blue
Brown
Black
Red
Green
Winter
Lepard
Punk
Script
Pink-Flower
Pink-Hearts
Green-Stars
Green-Flowers
Music-Dark
Music-Light
3. add the following code to the end of headerinclude template
<if condition="$bbuserinfo['fieldX']">
<body style="background: #1d2e40 url(images/Pattern-$bbuserinfo[fieldX].gif) top left fixed;">
<else />
<body style="background: #1d2e40 url(images/Pattern-Blue.gif) top left fixed;">
</if>
and make sure to change the fieldX to the actual field number (example: field5)
4. upload the patterns to the forum root/images folder
thats it and youre done :)
Screenshot
http://solidsyn.net/uploadzone/images/973338Pattern-Set.jpg