User-select Forum Background
This modification is in the archives.
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> 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. |