PDA

View Full Version : How to make custom profile fields editable


thetechgenius
08-27-2014, 01:14 AM
What is the correct code to make custom profile fields editable in postbit legacy? I added a little Status mod to my Postbit Legacy, and I would like to make the Status editable in the Postbit, so there is no need to go to "Settings".


Also, I would like to know how to make the custom profile fields editable in "Settings", because I would like to move the custom profile field settings, from the usercp settings, to another place. But if i do that my way, the fields wont be editable in the UserCP.

I know this is the code to show the Custom Profile Field settings:




{vb:raw customfields.other}




But I have no idea where that code is at, for me to look how the code is written. Usually i just look in the templates to see and study the code, and learn on my own. But that code has be stuck, I hope its not linking just to a PHP file.

thetechgenius
08-27-2014, 08:21 AM
Edit: I figured it out.

Well, I figured out how to make my own custom Settings Page for Custom Profile Fields. I am still working on how to make the Status Profile Field editable in posts/Postbit_legacy, so users can edit their status without going to the User Control Panel.

Check out the attached screenshot. If anyone wants to know how I did it, let me know and I will share my code, and ill show you how.

I have an idea on how to make the Status profile field editable on the Postbit, but Im not trying it until tomorrow. Its been a long day. lol

Black Snow
08-27-2014, 01:22 PM
You would need some way of making the field editable on postbit and a way to submit the forum via a refresh or AJAX.

thetechgenius
08-27-2014, 08:52 PM
You would need some way of making the field editable on postbit and a way to submit the forum via a refresh or AJAX.

Exactly.

--------------- Added 1409194004 at 1409194004 ---------------

I still cant figure out how to make a profile field editable in the Postbit Legacy. Does anyone have any suggestions?