Please upgrade here. These earlier versions are no longer being updated and have security issues.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.

Google Sign In not Working

I'm using
Vanilla - 2.1.5
Bootstrap theme( Simplex ) - 2.3.2
Issue - Googe Sign in Plugin is not getting activated
It return the following error when I try to activate it in the Dashboard.
"The addon could not be enabled because it generated a fatal error:
GoogleSignIn is missing the following requirement(s): OpenID 0.1a."

I have installed Open Id, yet the same error.

Comments

  • Which solution to try. every other person is giving a different solution.
    1. Install Google pus
    2. one is saying to crate a file conf/boostrap.after.php and add some codes
    3. some other guy is suggesting to download open id from github

    I'm confused.

  • I enabled Debugging, the following error is displayed.

    Fatal error: Call to undefined function SocialSigninButton() in /plugins/GoogleSignIn/class.googlesignin.plugin.php on line 108

  • R_JR_J Ex-Fanboy Munich Admin

    "Download OpenID" has been a solution when Google still has supported OpenID. You most probably don't have that option.

    Seems like you have seen this discussion before: http://vanillaforums.org/discussion/27881/google-sign-in-plugin-not-working because there is "install Google+" and "create conf/bootstrap.after.php" and last but not least: you've already posted there ;)

    Let me transcript what information I get from that discussion:

    Vegetacool: "Found link that OpenID is not longer supported by Google - help!"

    hgtonight: "Welcome to the community! Use Google+ but take care, it is not stable"

    Vegetacool: "Then GoogleSignIn plugin should be removed"

    hgtonight: "Nope, in some constellations, it could still be used"

    mye: "Google+ complains about undefined function SocialSignInButton"

    x00 posted awesome code

    mye: "Praise x00!"

    I haven't tested it, but I would download the current Google+ plugin (you seem to have done so already) and create that bootstrap.after.php file with the code that x00 provided.

  • hgtonighthgtonight ∞ · New Moderator

    @R_J said:
    ...
    hgtonight: "Nope, in some constellations, it could still be used"

    I always knew my love for star-gazing would bleed over into my personal life. ;)

    Search first

    Check out the Documentation! We are always looking for new content and pull requests.

    Click on insightful, awesome, and funny reactions to thank community volunteers for their valuable posts.

  • @R_J said:
    "Download OpenID" has been a solution when Google still has supported OpenID. You most probably don't have that option.

    Seems like you have seen this discussion before: http://vanillaforums.org/discussion/27881/google-sign-in-plugin-not-working because there is "install Google+" and "create conf/bootstrap.after.php" and last but not least: you've already posted there ;)

    Let me transcript what information I get from that discussion:

    Vegetacool: "Found link that OpenID is not longer supported by Google - help!"

    hgtonight: "Welcome to the community! Use Google+ but take care, it is not stable"

    Vegetacool: "Then GoogleSignIn plugin should be removed"

    hgtonight: "Nope, in some constellations, it could still be used"

    mye: "Google+ complains about undefined function SocialSignInButton"

    x00 posted awesome code

    mye: "Praise x00!"

    I haven't tested it, but I would download the current Google+ plugin (you seem to have done so already) and create that bootstrap.after.php file with the code that x00 provided.

    Thank you very much. It's working now. The only problem that I see now is the ;size of the google plus sign' . Is there any way to adjust it ?

    gmap.bmp 1015.1K
  • GogitoGogito New
    edited November 2014

    Is there a way to make the other social button looks like it ? I like the looks of it.

  • AaronWebsteyAaronWebstey Headband Afficionado Cole Harbour, NS ✭✭✭

    When I installed the bootstrap.after file, it started working but I seem to be missing the 'sign in with google' icons on both the main page and login page. Trying to figure out what's up; if anyone has an idea please let me know and if I figure it out I'll do the same.

  • AaronWebsteyAaronWebstey Headband Afficionado Cole Harbour, NS ✭✭✭

    Not sure if anyone else was having the same problem, but this is what worked for me. I created a design folder in the GooglePlus plugin folder and added icons I downloaded from google (sized to match the FB and Twitter ones), then modified bootstrap.after to look like this:
    <?php if (!defined('APPLICATION')) exit(); if (!function_exists('SocialSignInButton')) { function SocialSignInButton($Name, $Url, $Type = 'button', $Attributes = array()) { TouchValue('title', $Attributes, sprintf(T('Sign In with %s'), $Name)); $Title = $Attributes['title']; switch ($Type) { case 'icon': $ImgSrc = Asset('/plugins/GooglePlus/design/google-icon.png'); $ImgAlt = $Title; $SigninHref = $Url; $Result = "<a id=\"GoogleAuth\" href=\"$SigninHref\" title=\"$ImgAlt\" rel=\"nofollow\"><img src=\"$ImgSrc\" alt=\"$ImgAlt\" /></a>"; break; case 'button': default: $ImgSrc = Asset('/plugins/GooglePlus/design/google-signin.png'); $ImgAlt = $Title; $SigninHref = $Url; $Result = "<a id=\"GoogleAuth\" href=\"$SigninHref\" title=\"$ImgAlt\" rel=\"nofollow\"><img src=\"$ImgSrc\" alt=\"$ImgAlt\" /></a>"; break; } return $Result; } }

  • You don't need to put this in bootstrap.after.php, you could also create a stub plugin, or put this after the closing } of the GooglePlus plugin.

    And don't forget to remove this, once 2.3 is out or all you signin buttons will look like the Google one.

  • @Bleistivt said:
    You don't need to put this in bootstrap.after.php, you could also create a stub plugin, or put this after the closing } of the GooglePlus plugin.

    And don't forget to remove this, once 2.3 is out or all you signin buttons will look like the Google one.

    Will this also be fix by then ? Or is it something else ?

Sign In or Register to comment.