necer_cheniki Posted April 21, 2011 Share Posted April 21, 2011 Hello, I want to create a custom user profile, by allowing admin to add them from admin panel then users can fill their values. How can I create such system ? Thanks. Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/ Share on other sites More sharing options...
necer_cheniki Posted April 24, 2011 Author Share Posted April 24, 2011 Hi, Any help here ? Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205484 Share on other sites More sharing options...
ShoeLace1291 Posted April 24, 2011 Share Posted April 24, 2011 You might get a response if you gave us a little more info. Are you using a forum software like SMF, PHPbb, IPB, etc? If you are then you can most likely download a modification for it that will allow you to add custom profile fields. Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205492 Share on other sites More sharing options...
spiderwell Posted April 24, 2011 Share Posted April 24, 2011 php and mysql = pretty much anything you want from a website Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205494 Share on other sites More sharing options...
necer_cheniki Posted April 24, 2011 Author Share Posted April 24, 2011 You might get a response if you gave us a little more info. Are you using a forum software like SMF, PHPbb, IPB, etc? If you are then you can most likely download a modification for it that will allow you to add custom profile fields. No, I want to develop this feature for may website. Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205496 Share on other sites More sharing options...
necer_cheniki Posted April 24, 2011 Author Share Posted April 24, 2011 php and mysql = pretty much anything you want from a website I know, I searching the the suitable method to do it. Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205497 Share on other sites More sharing options...
ShoeLace1291 Posted April 24, 2011 Share Posted April 24, 2011 All you have to do is create a form allowing you to choose a name, etc for your new field. You might want to have options to choose from to set the type of field such as image, text, link, etc. After you have a form, create a mysql table where you can save the information from the form. Once you have that, all you need to add is a database loop to your edit profile page that loops through the results of the custom profile fields. Also, make sure when you're creating the custom fields that you have the script alter your members table accordingly. Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205498 Share on other sites More sharing options...
necer_cheniki Posted April 24, 2011 Author Share Posted April 24, 2011 All you have to do is create a form allowing you to choose a name, etc for your new field. You might want to have options to choose from to set the type of field such as image, text, link, etc. After you have a form, create a mysql table where you can save the information from the form. Once you have that, all you need to add is a database loop to your edit profile page that loops through the results of the custom profile fields. Also, make sure when you're creating the custom fields that you have the script alter your members table accordingly. Thank you. So using ALTER instruction, I add new fields, right ? Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205503 Share on other sites More sharing options...
spiderwell Posted April 24, 2011 Share Posted April 24, 2011 yes ALTER will allow you to do that Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205513 Share on other sites More sharing options...
necer_cheniki Posted April 24, 2011 Author Share Posted April 24, 2011 Thank you. Link to comment https://forums.phpfreaks.com/topic/234339-auto-generating-fields/#findComment-1205521 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.