Back to vBulletin 3.7 Template Modifications

User-select Forum Background
Mod Version: 1.00, by ViciousCode

This modification is in the archives.
vB Version: 3.7.x Rating: (0 vote - 0 average) Installs: 10
Released: 28 Jan 2009 Last Update: Never Downloads: 101
Not Supported Template Edits Additional Files Re-usable Code Translations  

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
Code:
<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

Download

This modification is archived, downloads are still allowed.

File Type: %1$s Patterns.zip (297.9 KB, 79 downloads)


vblts.ru supports vBulletin®, 2022-2024