Jump to content

Community

Sign in through Google


Lavo

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)

Link to comment
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).

Link to comment
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.

Link to comment
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.

Link to comment
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:

Link to comment
Share on other sites

  • 1 month later...
  • 3 weeks later...
  • 1 month later...

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.

Link to comment
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>
Link to comment
Share on other sites

  • 1 month later...

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

Link to comment
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.

Link to comment
Share on other sites

  • 4 weeks later...

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...!

Link to comment
Share on other sites

  • 2 weeks later...

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

Link to comment
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.
Link to comment
Share on other sites

  • 4 weeks later...
  • 2 weeks later...

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...

Important Information

We use technologies, such as cookies, to customise content and advertising, to provide social media features and to analyse traffic to the site. We also share information about your use of our site with our trusted social media, advertising and analytics partners. See more about cookies and our Privacy Policy