Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Not Solved [How To?] Get input from custom field in userCP + questions
#1
Not Solved
So im implementing a customizable user profile system. Here are several questions.

1. How do I add a color picker next to my custom profile fields.
2. How do I get an input from a custom field (say for example, I want to get input from custom field 4 (which is the background image url) in userCP. How can I make this possible?)

I'm asking this so I can achieve this through my "edit profile" page and have a customizable profile system on my website. (yes, this is a big project and a breakthrough)

[Image: 951bbe16e4c9f4e825440010bee6ce63.png]
Reply
#2
Not Solved
(12-04-2014, 06:53 AM)Phantomer Wrote: 1. How do I add a color picker next to my custom profile fields.

I think you'd have to write a custom plugin to add this functionality.

(12-04-2014, 06:53 AM)Phantomer Wrote: 2. How do I get an input from a custom field (say for example, I want to get input from custom field 4 (which is the background image url) in userCP. How can I make this possible?)

If you want to access a custom field in a template, you would need to use the following template variable:

{$mybb->user['fidX']}

Where X would be the field id for that profile field.
Reply
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)