Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 Is this at all possible?
ThistleProse Offline
Junior Member
Posts: 1
Joined: Sep 2019
Post: #1
Is this at all possible?

I am looking at being able to let users stylise their profile pages by inputting HEX codes and image URLs into custom profile fields.

If they don't want to enter anything, though, I was hoping it would fill in as a preset default colour and image, which would be set in the coding.

My original idea was it input 'default' into the fields to use a default setting that would be assigned, and if they input their own setting (eg, 000000 for a Hex Code) it would insert that.

But I'm not sure how to have it differentiate between the inputs? Or is there some way to do 'if field is filled in, use that code. Else, if its empty, pull this default code'?

Any assistance would be amazing. I'm very much learning as I go here, so I appreciate your time!

Thank you!
09-18-2019 01:23 AM
Find all posts by this user Quote this message in a reply
RateU Offline
Posts: 2,334
Joined: Mar 2010
Post: #2
RE: Is this at all possible?
You can use $userfields['fidX'] to get the RAW data of Custom Profile Fields, where "X" is the Profile Fields ID.

Sorry for late reply.

09-23-2019 11:59 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: