{"action":"created","issue":{"url":"https://api.github.com/repos/e107inc/e107/issues/1790","repository_url":"https://api.github.com/repos/e107inc/e107","labels_url":"https://api.github.com/repos/e107inc/e107/issues/1790/labels{/name}","comments_url":"https://api.github.com/repos/e107inc/e107/issues/1790/comments","events_url":"https://api.github.com/repos/e107inc/e107/issues/1790/events","html_url":"https://github.com/e107inc/e107/issues/1790","id":168328572,"number":1790,"title":"Question: How to add user custom fields on plugin setup?","user":{"login":"rica-carv","id":17130530,"avatar_url":"https://avatars.githubusercontent.com/u/17130530?v=3","gravatar_id":"","url":"https://api.github.com/users/rica-carv","html_url":"https://github.com/rica-carv","followers_url":"https://api.github.com/users/rica-carv/followers","following_url":"https://api.github.com/users/rica-carv/following{/other_user}","gists_url":"https://api.github.com/users/rica-carv/gists{/gist_id}","starred_url":"https://api.github.com/users/rica-carv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rica-carv/subscriptions","organizations_url":"https://api.github.com/users/rica-carv/orgs","repos_url":"https://api.github.com/users/rica-carv/repos","events_url":"https://api.github.com/users/rica-carv/events{/privacy}","received_events_url":"https://api.github.com/users/rica-carv/received_events","type":"User","site_admin":false},"labels":[{"id":19517350,"url":"https://api.github.com/repos/e107inc/e107/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2016-07-29T13:47:31Z","updated_at":"2016-11-23T12:25:06Z","closed_at":null,"body":"I'm currently working on a plugin, and i'm wondering how can i add user custom fields when the plugin is setup, and how can that custom user fields be deleted when the plugin is uninstalled.....\n\nIs that possible?\n\nCurrently the plugin is relying in a separate db table under the plugin name just to have a few user custom fields, but since v2.x added this user custom fileds functionality, i'm thinking on using it for this plugin.\nCan it be donne?\n"},"comment":{"url":"https://api.github.com/repos/e107inc/e107/issues/comments/262500024","html_url":"https://github.com/e107inc/e107/issues/1790#issuecomment-262500024","issue_url":"https://api.github.com/repos/e107inc/e107/issues/1790","id":262500024,"user":{"login":"lonalore","id":6043821,"avatar_url":"https://avatars.githubusercontent.com/u/6043821?v=3","gravatar_id":"","url":"https://api.github.com/users/lonalore","html_url":"https://github.com/lonalore","followers_url":"https://api.github.com/users/lonalore/followers","following_url":"https://api.github.com/users/lonalore/following{/other_user}","gists_url":"https://api.github.com/users/lonalore/gists{/gist_id}","starred_url":"https://api.github.com/users/lonalore/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lonalore/subscriptions","organizations_url":"https://api.github.com/users/lonalore/orgs","repos_url":"https://api.github.com/users/lonalore/repos","events_url":"https://api.github.com/users/lonalore/events{/privacy}","received_events_url":"https://api.github.com/users/lonalore/received_events","type":"User","site_admin":false},"created_at":"2016-11-23T12:25:06Z","updated_at":"2016-11-23T12:25:06Z","body":"It would be great if I can use something like in [e_admin.php](https://github.com/e107inc/e107/blob/master/e107_plugins/_blank/e_admin.php). I will be able to render my custom field widget, and with a process() method I will be able to process input data and store it in a custom table."}}
{"actor":{"display_login":"lonalore"}}