The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
allow users to custom there own background
Hey,
I'm looking for a mod that allows users to custom the background. Thanks Ben |
#2
|
||||
|
||||
background of the forum or their profile?
|
#3
|
|||
|
|||
for the forum - the colour.
|
#4
|
||||
|
||||
Create a custom field with a single-line text box. This is where users put the URL of the background they want to have. Make a note of the fieldX number. Open the headinclude template and find this:
Code:
<!-- CSS Stylesheet --> $style[css] <if condition="is_browser('opera') AND !is_browser('opera', '8.0.1')"> <style type="text/css"> ul, ol { padding-left:20px; } </style> </if> <!-- / CSS Stylesheet --> then below it add: Code:
<style type="text/css"> <if condition="!$bbuserinfo[userid] AND $bbuserinfo[fieldx] != ''> body { background: #fff url(images/defaultbackground.jpg) top center repeat; } <else /> body { background: #fff url($bbuserinfo[fieldx]) top center repeat; } </if> </style> Edit: That's for a custom background image, for just the colour replace #fff url($bbuserinfo['fieldx']) top center repeat; with just $bbuserinfo['fieldx'] and your users can put either in the custom field, they can define any background information they want. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|