Adding to the "quick login" box?

I've just installed to replace an ailing Facebook login system that we didn't really like and discovered this wonderful thing. Facebook and Google+ setup using the guides with no problems in just minutes...

I only have the "use your social logins" on the actual SMF login page, not the "quick login" at the top (user area)... perhaps I'm missing something obvious, but shouldn't it be there as well or do I need to integrate myself?


  • Bob_DamanBob_DamanMemberModerator
    edited February 2015
    Hi Micah,

    the top area of SMF unfortunately has no suitable hook that we could use to automatically add the icons. You can add them manually by copy/pasting the following code to your SMF template:

    <div id="social_login_top"></div> <script type="text/javascript"> var _oneall = _oneall || []; _oneall.push(['social_login', 'set_providers', ['facebook', 'google']]); _oneall.push(['social_login', 'set_callback_uri', window.location.href]); _oneall.push(['social_login', 'do_render_ui', 'social_login_top']); </script>
  • Unfortunately that did not work for us.

    what I did: move the entire
    function template_oneall_social_login()
    (shortened, I cut/paste the 55 lines worth of that code)
    code block from the end of /Login.template.php to index.template.php

    and then add
    // OneAll Social Login ( template_oneall_social_login();
    below the OpenID code, before the end of the login form on index.template.php


Please sign in to your OneAll account to ask a new question or to contribute to the discussions.

Please click on the link below to connect to the forum with your OneAll account.