Hello,purplechris wrote: I'm a new user of jfacebook and very pleased so far. So, Thanks!
I'd like the registration process for my application to use a user's email address as their username. i.e. on the user registration form, I'd like to remove the 'Username' field and just use the user's email address as a username for future login purposes. Is there an easy way to do this?
$fbEmail = $this->_getDisplayEmail($fbUserProfile['email']);
$this->form->setValue('email1', null, $fbEmail);
$this->form->setValue('email2', null, $fbEmail);$this->form->setValue('username', null, $fbEmail);
$this->form->setFieldAttribute('username', 'type', 'hidden');great!purplechris wrote: perfection works a treat
alzander wrote: In the /components/com_jfbconnect/views/loginregister/view.html.php, around line 46, you'll see:
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.
