Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 30 Jan 2015, 22:24
Dave Strider's Avatar
Dave Strider Dave Strider is offline
 
Join Date: Sep 2011
Category header color and background via UserCP

How would I go about allowing the user to choose their own category header color as well as their own custom background image via profile fields located in the UserCP?
Reply With Quote
  #2  
Old 03 Feb 2015, 13:17
Gio~Logist's Avatar
Gio~Logist Gio~Logist is offline
 
Join Date: Jun 2004
Location: San Francisco
Real name: Giovanni Martinez
You can create the profile fields and then insert css into your headinclude template

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________

ModernvB.com - vBulletin Mods & Services - ModernvB.com vBulletin 3 Mods - ModernvB.com vBulletin 4 Mods - Hire ModernvB
Full-Time vB Development - If you can think it, we can build it.
Reply With Quote
  #3  
Old 03 Feb 2015, 22:57
greigeh greigeh is offline
 
Join Date: Jan 2015
Real name: Greig David
Use advice given above, but in your header template you should put something more like


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So if the user has filled out that profile field, it will display their own customisation, where as if they haven't it will show the style that you have set. Simply using the $bbuserinfo[fieldFIELDIDFORCOLOR] will display blank if a user has not edited that field.
Reply With Quote
  #4  
Old 05 Feb 2015, 08:14
Dave Strider's Avatar
Dave Strider Dave Strider is offline
 
Join Date: Sep 2011
Thank you, that worked for me!
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 13:17.

Layout Options | Width: Wide Color: