Jump to content

Community

Lavo

Sign in through Google

Recommended Posts

Hmm that was the error I was getting and the only thing "extra" thing I had to fill out to get it working that wasn't documented.

The documentation included in the downloadable package is outdated though, doesn't mesh with the current Google API pages/setup process.

Marcher is usually all over his mods, especially considering he works for IPS now :)

Hopefully this will be integrated into 4.0 automatically (along with other account sign-in/association options)

Share this post


Link to post
Share on other sites

Hmm that was the error I was getting and the only thing "extra" thing I had to fill out to get it working that wasn't documented.

The documentation included in the downloadable package is outdated though, doesn't mesh with the current Google API pages/setup process.

Marcher is usually all over his mods, especially considering he works for IPS now :smile:

Hopefully this will be integrated into 4.0 automatically (along with other account sign-in/association options)

I have tried many different ways to set this up, but no combination works anymore (and it used to).

I know that Marcher is usually all over his own apps/mods, but he is not the only developer that is not replying lately. I do hope this changes or I will be removing all these extra mods and asking for part payment back (for paid mods).

Share this post


Link to post
Share on other sites

I definitely understand your concerns (in respect to developers in general). My feeling is many of them are leaning towards 4.0+ and not looking to do any new development in 3.4.x including supporting enhancements.

In the case of these issues, I'm not sure what Marcher's stance is regarding Google's implementation evolving and it's impact on this add-on.

Hopefully he answers soon.

For the time being I have disabled the Google Sign-on feature and only allow Facebook Connect or the direct IPS account login.

Share this post


Link to post
Share on other sites

Hello,

I am getting this file transferred to a developer with more appropriate time on their hands to address the support load of this free modification.

Unfortunately, I can no longer justify the amount of time I'd need to spend supporting this modification for free, yet neither can I justify charging for it.

This simple free modification, due to the sheer constant changes on Google's end, has the support load of a full-featured paid application.

My apologies for my lack of communication regarding this matter, the new owner of the file will pick up support here shortly.

Share this post


Link to post
Share on other sites

Hello,

I am getting this file transferred to a developer with more appropriate time on their hands to address the support load of this free modification.

Unfortunately, I can no longer justify the amount of time I'd need to spend supporting this modification for free, yet neither can I justify charging for it.

This simple free modification, due to the sheer constant changes on Google's end, has the support load of a full-featured paid application.

My apologies for my lack of communication regarding this matter, the new owner of the file will pick up support here shortly.

That is a shame.

Thanks for your support with this mod so far Marcher :thumbsup:

Share this post


Link to post
Share on other sites

I am now in a loop when trying to log in, it never gets past the request for permission

fixed, I had to re do the info at google as they changed the code.

Share this post


Link to post
Share on other sites

started to have issues myself, uninstall should just be matter of removing the hook then uninstall the login method and delete uploaded files correct?


What issue are you having?

Share this post


Link to post
Share on other sites

login loops, its used so little on my end its not worth dealing with. plus the less I deal with google the better.

haven't removed files yet but uninstalled the login method and the hook and so far seems ok.

Share this post


Link to post
Share on other sites

Fatal error: Call to a member function manageGoogle() on a non-object in /data05/virt43360/domeenid/www.e-suits.eu/htdocs/hooks/googleManageAccount_38e1b7921c3dea9f6c9f9077af560a44.php on line 136

Share this post


Link to post
Share on other sites

Hi,

I implemented the plugin recently and it is not working for existent users.

The browser is saying something went wrong and "O link que você clicou para fazer sair parece estar mal formado. Por favor, volte e clique novamente.". It's saying something like "The link you clicked has a malfunction. Please, return and click again."

It's working or Google did an update broking the plugin?

In the google part I did everything like said, and in the config too.

Share this post


Link to post
Share on other sites

Those of you having problems with the login button being above the rest and want this:

JBOHnTCl.png tDVPud7l.png

Do the following:

System > Applications & Modules > Manage Hooks > Click the Pencil to edit the Google Login settings then go to the "Files" tab.

Edit the settings so they're the same as this:

hQuSaerl.png

Then you need to edit a skin template:

Look & Feel > Manage Skin Sets & Templates > Manage Templates

Open: skin_google > templateAjaxButton

Replace the contents with:

                    <li><a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_google=1&amp;auth_key={$this->member->form_hash}" base="public"}" class='ipsButton_secondary' id='googleAjax'><img src='{$this->settings['board_url']}/public/style_extra/signin/login-google-icon.png' alt='{$this->lang->words['macro__google']}' /> &nbsp; {$this->lang->words['use_google']}</a></li>
<script type='text/javascript'>
  $('googleAjax').observe( 'click', function(e) { 
if ( $('inline_login_form') )
{
$('inline_login_form').hide();
$('sign_in_popup_inner').hide();
$('sign_in_popup_close').hide();
}
googlePop();
Event.stop(e);

return false;
  });
</script>

Open: skin_google > displayRegister

Replace with:

<a href='{parse url="app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_google=1&amp;auth_key={$this->member->form_hash}" base="public"}' class='ipsButton_secondary fixed_width' id='googleBox_button'>
<img src='{$this->settings['css_base_url']}/style_extra/signin/login-google-icon.png' alt='{$this->lang->words['macro__google']}' /> &nbsp; {$this->lang->words['sign_in_google']}
</a>
<script type='text/javascript'>
 $('googleBox_button').observe( 'click', function(e) {
googlePop();
        Event.stop(e);
        return false;
  });
</script>

Share this post


Link to post
Share on other sites

Hi all,

I installed google sign in in my forums... but i can't see in Applications & Modules tab -> Community Enhancements tab -> Sign In with Google. Now how do i enable this.

Can please anybody help me.

and i didn't understand this The Redirect URI's *must* include {board_url}/interface/board/google.php AND {board_url}/interface/board/linkgoogle.php

Share this post


Link to post
Share on other sites

I installed google sign in in my forums... but i can't see in Applications & Modules tab -> Community Enhancements tab -> Sign In with Google. Then how do i enable my google sign in.

Can please anybody help me.

Share this post


Link to post
Share on other sites

Hello,

I'd like to give my contribution to everyone who uses this hook.

You need to edit the following file in order to allow IPB to automatically delete incomplete users. Otherwise you will end up with hundreds (if not thousands) of ghost users in your database.

File:

/admin/applications/members/tasks/removevalidating.php

WHERE:

'where'		=> "p.partial_date<{$less_than} AND ( m.twitter_id<>'' OR m.fb_uid<>0 )"

CHANGE TO:

'where'		=> "p.partial_date<{$less_than} AND ( m.twitter_id<>'' OR m.fb_uid<>0 OR m.live_id<>'' OR m.google_uid<>'' )"

Note how I also added the live_id, which is a bug from IPB, as it also doesn't automatically delete incomplete users from Windows Live, even though it is a built-in feature.

If you also have the >Sign in through Steam hook, then the code should be like this:

'where'		=> "p.partial_date<{$less_than} AND ( m.twitter_id<>'' OR m.fb_uid<>0 OR m.live_id<>'' OR m.steamid<>'' OR m.google_uid<>'' )"

I hope I have helped the community by sharing this important piece of information.

Thanks,
Gabriel.

Share this post


Link to post
Share on other sites

Thank you Gabriel Torres!

Please, can somebody provide the ORIGINAL (!) setting from:

System > Applications & Modules > Manage Hooks > (Click the Pencil to edit the Google Login settings then go to the) > "Files" tab.

A screenshot would be nice...

Share this post


Link to post
Share on other sites

Thank you, i fixed my problem!

Here is a solution for the in-line view:

post-478267-0-28061200-1412182140_thumb.

1. Change the template: skinGoogle => displayAjaxButton

Delete all and replace it with:

                  <a href="{parse url="app=core&amp;module=global&amp;section=login&amp;do=process&amp;use_google=1&amp;auth_key={$this->member->form_hash}" base="public"}" class='ipsButton_secondary' id='googleAjax'><img src='{$this->settings['board_url']}/public/style_extra/signin/login-google-icon.png' alt='{$this->lang->words['macro__google']}' /> &nbsp; {$this->lang->words['use_google']}</a>
                
<script type='text/javascript'>
  $('googleAjax').observe( 'click', function(e) {
if ( $('inline_login_form') )
{
$('inline_login_form').hide();
$('sign_in_popup_inner').hide();
$('sign_in_popup_close').hide();
}
googlePop();
Event.stop(e);

return false;
  });
</script>

(I deleted only the div`s and the ul and li Elements...)

2. Open System => Hook managment => Google Login 1.0.6 => klick on the Edit-Pencil. In the next window look for the Tab "Files"

Look for the Design-Function "inlineLogin" and change the settings according to the picture.

post-478267-0-36408500-1412182617_thumb.

NOTE: If possible, try this first in a test board - ai`m not good enough to fix problems later...!

Share this post


Link to post
Share on other sites

Rather a bit confused.

The directions say:

The Redirect URI's *must* include {board_url}/interface/board/google.php AND {board_url}/interface/board/linkgoogle.php
You *must* also provide the resulting Google Client ID and Google Client Secret for the Web Application you make.

But the web app api doesn't allow for it.

Share this post


Link to post
Share on other sites

Maybe this will help

In the web app settings:

Redirect URIs Javascript Origins

This is the error I get when I attempt to login via google:

Error: redirect_uri_mismatch

The redirect URI in the request: http://homecheftraining.com/oakdalebridleridge/interface/board/google.phpdid not match a registered redirect URI.

Where is it getting that from?

This is an add-on domain. oakdalebridleridge.com is actually homecheftraining.com/oakdalebridleridge

Share this post


Link to post
Share on other sites

I missunderstood. I'm closer but in a loop. I got both {board_url}/interface/board/google.php AND {board_url}/interface/board/linkgoogle.php, but when I click try to login via google I get the following, and when I click accept, I stay on the same page.

Oakdale would like to:

764474396-default_scope_icon.png
View your email address
2198139082-icon_info.png
764474396-default_scope_icon.png
View your basic profile info
2198139082-icon_info.png
By clicking Accept, you allow this app and Google to use your information in accordance with their respective terms of service and privacy policies. You can change this and other Account Permissions at any time.

Share this post


Link to post
Share on other sites

Have the download been update to reflect the changes discussed? Any plans for 4.0 support? @Lavo :)

The file hasn't been updated to reflect any changes discussed so far.

Google Login is vanilla functionality in 4.0.0, so this plugin will not be needed in IPS 4 :)

Share this post


Link to post
Share on other sites

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...