{"action":"created","issue":{"url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/issues/8","repository_url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE","labels_url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/issues/8/comments","events_url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/issues/8/events","html_url":"https://github.com/realbig/PL_PYIS_MEMBER_PROFILE/issues/8","id":145179002,"number":8,"title":"Add ability to upload a User Profile Image","user":{"login":"d4mation-","id":7770631,"avatar_url":"https://avatars.githubusercontent.com/u/7770631?v=3","gravatar_id":"","url":"https://api.github.com/users/d4mation-","html_url":"https://github.com/d4mation-","followers_url":"https://api.github.com/users/d4mation-/followers","following_url":"https://api.github.com/users/d4mation-/following{/other_user}","gists_url":"https://api.github.com/users/d4mation-/gists{/gist_id}","starred_url":"https://api.github.com/users/d4mation-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d4mation-/subscriptions","organizations_url":"https://api.github.com/users/d4mation-/orgs","repos_url":"https://api.github.com/users/d4mation-/repos","events_url":"https://api.github.com/users/d4mation-/events{/privacy}","received_events_url":"https://api.github.com/users/d4mation-/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"d4mation-","id":7770631,"avatar_url":"https://avatars.githubusercontent.com/u/7770631?v=3","gravatar_id":"","url":"https://api.github.com/users/d4mation-","html_url":"https://github.com/d4mation-","followers_url":"https://api.github.com/users/d4mation-/followers","following_url":"https://api.github.com/users/d4mation-/following{/other_user}","gists_url":"https://api.github.com/users/d4mation-/gists{/gist_id}","starred_url":"https://api.github.com/users/d4mation-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d4mation-/subscriptions","organizations_url":"https://api.github.com/users/d4mation-/orgs","repos_url":"https://api.github.com/users/d4mation-/repos","events_url":"https://api.github.com/users/d4mation-/events{/privacy}","received_events_url":"https://api.github.com/users/d4mation-/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/milestones/2","html_url":"https://github.com/realbig/PL_PYIS_MEMBER_PROFILE/milestones/0.2%20Initial%20client%20review","labels_url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/milestones/2/labels","id":1644334,"number":2,"title":"0.2 Initial client review","description":"","creator":{"login":"brashrebel","id":4993131,"avatar_url":"https://avatars.githubusercontent.com/u/4993131?v=3","gravatar_id":"","url":"https://api.github.com/users/brashrebel","html_url":"https://github.com/brashrebel","followers_url":"https://api.github.com/users/brashrebel/followers","following_url":"https://api.github.com/users/brashrebel/following{/other_user}","gists_url":"https://api.github.com/users/brashrebel/gists{/gist_id}","starred_url":"https://api.github.com/users/brashrebel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/brashrebel/subscriptions","organizations_url":"https://api.github.com/users/brashrebel/orgs","repos_url":"https://api.github.com/users/brashrebel/repos","events_url":"https://api.github.com/users/brashrebel/events{/privacy}","received_events_url":"https://api.github.com/users/brashrebel/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":6,"state":"open","created_at":"2016-03-14T21:46:53Z","updated_at":"2016-04-11T13:19:14Z","due_on":"2016-03-31T04:00:00Z","closed_at":null},"comments":5,"created_at":"2016-04-01T13:19:12Z","updated_at":"2016-04-11T13:19:14Z","closed_at":"2016-04-11T13:19:14Z","body":"WP doesn't support this out of the box as far as I can tell. This will need to be added in a fluid manner that isn't confusing (Replacing the current field preferably, and showing their Gravatar if they have one)."},"comment":{"url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/issues/comments/208338307","html_url":"https://github.com/realbig/PL_PYIS_MEMBER_PROFILE/issues/8#issuecomment-208338307","issue_url":"https://api.github.com/repos/realbig/PL_PYIS_MEMBER_PROFILE/issues/8","id":208338307,"user":{"login":"d4mation-","id":7770631,"avatar_url":"https://avatars.githubusercontent.com/u/7770631?v=3","gravatar_id":"","url":"https://api.github.com/users/d4mation-","html_url":"https://github.com/d4mation-","followers_url":"https://api.github.com/users/d4mation-/followers","following_url":"https://api.github.com/users/d4mation-/following{/other_user}","gists_url":"https://api.github.com/users/d4mation-/gists{/gist_id}","starred_url":"https://api.github.com/users/d4mation-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/d4mation-/subscriptions","organizations_url":"https://api.github.com/users/d4mation-/orgs","repos_url":"https://api.github.com/users/d4mation-/repos","events_url":"https://api.github.com/users/d4mation-/events{/privacy}","received_events_url":"https://api.github.com/users/d4mation-/received_events","type":"User","site_admin":false},"created_at":"2016-04-11T13:19:14Z","updated_at":"2016-04-11T13:19:14Z","body":"This has been implemented! Now Avatars will be stored at `wp-content/uploads/pyis-avatars/<username>.png`.\r\n\r\nThe directory name can be changed with the `pyis_avatars_directory` filter, but it will only place it under `wp-content/uploads` as the way read/write permissions work within WordPress we can pretty much guarantee that there will be no problems storing files there.\r\n\r\nThe folder is created at Plugin Activation, so the Filter would need to be in place before Plugin activation (and then the Filter would need to stay in place so the Plugin knows where to look for Avatars)."}}