![]() |
Product adds a Profile Field to User CP
I have a product that I am creating and I want it to add a new Profile Field to the User CP. The Profile Field would be simply a yes/no boolean and would basically be the on/off switch for the product for the user.
I've got the second step of it down and I know how that'd work however I'm just stuck on how I'd add a new Profile Field using a plugin or something. How would I go about doing so? Thank you in advance. |
Just add the code from admincp/profilefield.php to you product's install code.
Just look for "if ($_POST['do'] == 'update')" in the file, should be pretty easy from there. |
All times are GMT. The time now is 01:48 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|