Social Sign-Up + Customization of Fields
Sunny
Posts: 9296
Reputation: 456

Message # 1 | 3:58 PM
The update is available on all servers



We've all been waiting for this day, and today we can proudly say "The day has come!". After several months of development and testing, registration with social networks becomes available for all websites created with uCoz!
Here is how it may look on a website:



Important:
  • social sign-up is only available if the uID authorization method is enabled on a website;
  • registration on a website is now available at yoursite.ucoz.com/register;
  • the registration form remembers the entered data when you close or refresh the browser tab;
  • social comments have been replaced with the social sign-up, and users who log in with their social accounts to comment are automatically signed up.


- Will social sign-in be available for local users?
- Yes, but at this moment we are unable to tell how soon.


Let's see how it works and where it can be customized.

Customization of fields: 2 sign-up steps!


No more multiple fields in the registration form. The new registration feature is simple, and site administrators can choose themselves what fields and on which step will be filled in by users. All these settings can be found in Control Panel -> Users -> Module settings:



- Will custom fields be available in the registration form?
- Yes, we are already working on it.

In addition to fields customization you can fully manage the layout of the uID registration form. The "uID users registration form" template is responsible for it:



Social network settings. Custom apps.


If you want to deactivate certain social networks or connect your custom applications to track registration statistics and use custom app icons, you can do this in the Users module:



Here you can choose the necessary apps or create custom ones, set App ID and Secret Key.

Login form: customization of elements.


There are new options in the Users module settings:



Connecting profiles on a website.


You have a uID account on a uCoz website, and you want to connect your social accounts to it? Open your profile and click on the icon of the social networking site you want to connect:



For this feature to appear on user profiles, site administrators must restore the default template in Design Customization, or paste the following code into the template:

Code
<script type="text/javascript">
function uSocialConnect(obj){
       var social = obj.id.split('-')[1];
       obj = $(obj);
       if(obj.hasClass('is-connected')){
       if(confirm('Do you really want to disconnect the account??')){
       obj.addClass('wait');
       _uPostForm('',{type:'POST',url:'/index/sub/', data:{a:4,s:social}});
       }
       }else if(!obj.hasClass('wait')){
       uSocialLogin(social);
       }
       return false;
}
</script>
<style type="text/css">.social-accounts { padding:10px 0 3px }
       .social-accounts .is-connected { opacity:.2!important }
       .social-accounts .wait i { background:url(/.s/img/icon/ajsml.gif) no-repeat center center!important }
</style>
<?if($_IS_OWN_PROFILE$ && $SOCIAL_LOGIN$)?></p>

<div class="udtb" id="block17">
<div class="udtlb">Social accounts:</div>

<div class="social-accounts">$SOCIAL_ACCOUNTS$</div>
</div>
<?endif?>


That's it for today! But it doesn't mean we've stopped working on the social sign-up. We have a lot of interesting in store: new social networks, custom fields in the uID registration form and more. Follow the news!

Have any questions or suggestions on the new sign-up? Feel free to post them below!

I'm not active on the forum anymore. Please contact other forum staff.
Animorph
Posts: 2856
Reputation: 189

Message # 46 | 4:20 PM
Sunny, Thankyou , and do you know how to make the popup window full screen like the uCoz login ?
To busy building a passive income online ;)
mishafreeze
Posts: 2
Reputation: 0

Message # 47 | 9:33 PM
Hi, I accidentally "singed up" using my facebook, now I want to connect it with my uID and I can't.
How do I make Ucoz or Facebook forget my account to link it with my uID?
Sunny
Posts: 9296
Reputation: 456

Message # 48 | 8:57 AM
mishafreeze, you probably have different emails on your Facebook and uID account. When you "signed up" with Facebook, there had to be created a new uID account. So, try to do the following:
- Log in with Facebook once again, and disconnect Facebook from your account on the website.
- Log out at guid.uid.me
- Log in to your website with your main uID account, and try to connect Facebook once again.

I'm not active on the forum anymore. Please contact other forum staff.
Sunny
Posts: 9296
Reputation: 456

Message # 49 | 1:07 PM
Quote Animorph ()
Sunny, Thankyou , and do you know how to make the popup window full screen like the uCoz login ?


Theoretically it is possible, but it is not worth the effort.

I'm not active on the forum anymore. Please contact other forum staff.
Animorph
Posts: 2856
Reputation: 189

Message # 50 | 1:28 PM
Sunny, OKay thankyou
To busy building a passive income online ;)
mishafreeze
Posts: 2
Reputation: 0

Message # 51 | 10:37 PM
Sunny, Worked like a charm.
As always, thank you Sunny.
lanh
Posts: 135
Reputation: 0

Message # 52 | 3:49 AM
Could ucoz developer team add Yahoo to Social Sign up also?
Sunny
Posts: 9296
Reputation: 456

Message # 53 | 12:23 PM
lanh, we do plan to add more social networks to the social login but at this moment I cannot tell which exactly. I'll forward your suggestion, though.
I'm not active on the forum anymore. Please contact other forum staff.
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 54 | 1:05 PM
Quote Sunny ()
Eriko, and how exactly have you come to this conclusion? I wrote nothing like that. It looks like the new uID profile was created because the old one was local.


Well, that's a little embarrassing. I don't know how I came to that conclusion. Now I'm wondering what I'm thinking back then. wacko
Animorph
Posts: 2856
Reputation: 189

Message # 55 | 9:37 AM
Sunny is there the possibility when people login with social login , taht their profile picture on facebook wil automaticly be the avatar on my site's profile ?
To busy building a passive income online ;)
Cyberdasm
Posts: 640
Reputation: 7

Message # 56 | 1:34 PM
Animorph, actually that is possible. But the profile will not update just like facebook. If you are using the default social log in code it will automatically upload their profile pic in facebook as they sign in to your site.. sad
1F4BF3B
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 57 | 7:20 AM
The social log-in is always giving me an error. Any problems on the uCoz side? surprised I don't think it's from my side because both my website is giving me an error whenever I try to use social login.
Sunny
Posts: 9296
Reputation: 456

Message # 58 | 10:31 AM
Eriko, which social network? And what's the text of the error message?
I'm not active on the forum anymore. Please contact other forum staff.
Eriko
Pokémon Master
Posts: 962
Reputation: 34

Message # 59 | 10:51 AM
Sunny, Facebook, Twitter and Google+. Both my websites' ( http://kuru-anime.com/ | http://news.kuru-anime.com/ ) social login aren't working. D: The error says "This webpage is not available" but sometimes it shows server error or something.
Post edited by Eriko - Monday, 2014-11-10, 12:39 PM
phuket
Posts: 22
Reputation: 0

Message # 60 | 12:34 PM
Sunny, my site (http://koga-fansub.net/) has same problem with Eriko
Post edited by phuket - Monday, 2014-11-10, 12:35 PM
Search: