{"issue":{"created_at":"2011-11-24T21:50:29Z","state":"open","updated_at":"2011-11-24T21:50:29Z","comments":0,"user":{"gravatar_id":"d8427d3ddc22500905f60f455717fd41","id":188775,"url":"https://api.github.com/users/Csabbencs","login":"Csabbencs","avatar_url":"https://secure.gravatar.com/avatar/d8427d3ddc22500905f60f455717fd41?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"When someone tries to login to the forum for the very first time by 'Login with Facebook' , Facebook ask his/her name.\r\nBy adding the line below (or something similar) Facebook will register the new user in the forum with the same name he/she has at Facebook.\r\n```\r\n         if (!isset($NameFound) && !$IsPostBack) {\r\n\t\t\t\t\tif(!$this->Form->GetFormValue('Name')) $this->Form->SetFormValue('Name', $this->Form->GetFormValue('FullName'));  // add this line!!!\r\n\t\t\t\t\t$this->Form->SetFormValue('ConnectName', $this->Form->GetFormValue('Name'));\r\n         }\r\n```\r\nAdding a new option to Facebook plugins settings would be even better, so that the forum admin has the option to decide whether he/she wants all the users to give the ability of having different or same name as they have at Facebook.","assignee":null,"id":2345154,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"number":1248,"labels":[],"title":"Avoid Facebook asking for Username for the very first time","closed_at":null,"html_url":"https://github.com/vanillaforums/Garden/issues/1248","url":"https://api.github.com/repos/vanillaforums/Garden/issues/1248","milestone":null},"action":"opened"}