HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

How to add Social signin buttons on Registration page?

I'm trying to add social sign in buttons on Registration page as well, similar to the Sign in popup

I want to do this without an extra plugin.

I tried adding the following code in /applications/dashboard/views/entry/registerbasic.php

<?php if (!defined('APPLICATION')) exit();
$Methods = $this->data('Methods', []);
$SelectedMethod = $this->data('SelectedMethod', []);
$CssClass = count($Methods) > 0 ? ' MultipleEntryMethods' : ' SingleEntryMethod';

// Render the buttons to select other methods of signing in.
if (count($Methods) > 0) {
    echo '<div class="Methods">'
        .wrap('<b>'.t('Or you can...').'</b>', 'div');

    foreach ($Methods as $Key => $Method) {
        $CssClass = 'Method Method_'.$Key;
        echo '<div class="'.$CssClass.'">',

    echo '</div>';

But this didn't help. Kindly let me know the correct way to do so.

I'm using Vanilla 3.3 and the default plugins Facebook Social connect 1.2.0 (Todd Bury) and Google Signin 1.1.0 (Official)


  • Options
    R_JR_J Ex-Fanboy Munich Admin

    Please take a look at the source code of both plugins you are referencing. You can (and should!) add such buttons only by writing a new plugin and not by changing any existing files.

  • Options
    manticore789manticore789 Down Under New

    If you are a registered user of Cloudflare, you can use their add apps facility by adding a myriad of social media apps without using vanilla plugins.

Sign In or Register to comment.