IFeelYourPain13
Active member
Demo (Username: Test - Password: test123
Allow yours members to customize the background of your website.
How would you like to turn this:
Into this:
Just by allow your members to edit their preferences:
Installation
Create a custom field
Field ID: background
Title: Background
Description: Choose the background of the website.
Display Location: Preferences
Field Type: Single-line text box
Value Match Requirements: URL
User Editable
In PAGE_CONTAINER find:
Replace:
Allow yours members to customize the background of your website.
How would you like to turn this:
![qxnm1h.jpg](/community/proxy.php?image=http%3A%2F%2Fi43.tinypic.com%2Fqxnm1h.jpg&hash=66320ef837ed1b1900105f5c4fc730c4)
Into this:
![2345custombackground2.jpg](/community/proxy.php?image=http%3A%2F%2Fimg862.imageshack.us%2Fimg862%2F5470%2F2345custombackground2.jpg&hash=4a042acbdcaa69262a402145e0ce2c91)
Just by allow your members to edit their preferences:
![23sbr6w.jpg](/community/proxy.php?image=http%3A%2F%2Fi44.tinypic.com%2F23sbr6w.jpg&hash=6cf6fe90fc9cc1b1e5db1c24f56124e1)
Installation
Create a custom field
Field ID: background
Title: Background
Description: Choose the background of the website.
Display Location: Preferences
Field Type: Single-line text box
Value Match Requirements: URL
User Editable
In PAGE_CONTAINER find:
Code:
<div id="content" class="{$contentTemplate}">
Replace:
Code:
<div id="content"<xen:if is="{$visitor.customFields.background}"> style="background-image: url({$visitor.customFields.background});"</xen:if> class="{$contentTemplate}">