Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 27 Aug 2014, 02:14
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
How to make custom profile fields editable

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:



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


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.
Reply With Quote
  #2  
Old 27 Aug 2014, 09:21
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
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
Attached Images
File Type: jpg edit_profile_extrafields.jpg (71.1 KB, 8 views)
Reply With Quote
  #3  
Old 27 Aug 2014, 14:22
Black Snow Black Snow is offline
 
Join Date: Jul 2012
You would need some way of making the field editable on postbit and a way to submit the forum via a refresh or AJAX.
Reply With Quote
  #4  
Old 27 Aug 2014, 21:52
thetechgenius's Avatar
thetechgenius thetechgenius is offline
 
Join Date: Jun 2014
Originally Posted by Black Snow View Post
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 28 Aug 2014 at 02:46 ---------------

I still cant figure out how to make a profile field editable in the Postbit Legacy. Does anyone have any suggestions?
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 12:38.

Layout Options | Width: Wide Color: