Firstly this is a great plugin that saved me loads of time, thank you!
The login control is ignoring permissions when custom is set to true because the 'scope' option is hard coded to 'email' in the javascript login function.
I fixed this by passing through the perms string to the login function, for reference here are my changes to the FacebookHelper class:
113 - $perms = isset($options['perms']) ? $options['perms'] : 'email';
$onclick = "login('".$options['redirect']."', '".$perms."');";
Firstly this is a great plugin that saved me loads of time, thank you!
The login control is ignoring permissions when custom is set to true because the 'scope' option is hard coded to 'email' in the javascript login function.
I fixed this by passing through the perms string to the login function, for reference here are my changes to the FacebookHelper class: 113 - $perms = isset($options['perms']) ? $options['perms'] : 'email'; $onclick = "login('".$options['redirect']."', '".$perms."');";
497 - function login(redirection, perms){
510 - }, {scope: perms});