Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2014-09-30 13:04:11

SPKuja
Member
From: England
Registered: 2013-05-18
Posts: 55
Website

Re: kuo_glogin: log in to Textpattern with Google account

Awesome, working perfectly now, thanks!

Offline

#14 2014-09-30 13:07:08

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 229
Website

Re: kuo_glogin: log in to Textpattern with Google account

Great, great. :-)

Offline

#15 2014-09-30 14:22:42

SPKuja
Member
From: England
Registered: 2013-05-18
Posts: 55
Website

Re: kuo_glogin: log in to Textpattern with Google account

Hey, sorry to be a pain. But when I click login, I get redirected to the right page, but it does not show any of the data it should be, it’s as if I am not logged in. But in the admin panel it does register that I have been logged in

Offline

#16 2014-09-30 14:37:26

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 229
Website

Re: kuo_glogin: log in to Textpattern with Google account

So you have placed some tags which should show data only for logged in user? So if you’ve got for example this tag:

<txp:kuo_glogin_link />

With that tag you should see a logout link if you are logged in. If you have that very specific tag, you should see a link with text Logout. You don’t see that? I just want to confirm that I understand what you mean. :-)

Offline

#17 2014-09-30 14:40:57

SPKuja
Member
From: England
Registered: 2013-05-18
Posts: 55
Website

Re: kuo_glogin: log in to Textpattern with Google account

That’s right. I’ve also used:

<txp:kuo_glogin_is_logged>You are logged in.<txp:else />You are not logged in.</txp:kuo_glogin_is_logged>

It also redirects to a user page I’ve set up, but doesn’t show any thing

Offline

#18 2014-09-30 14:55:55

uli
Moderator
From: Cologne
Registered: 2006-08-15
Posts: 4,304

Re: kuo_glogin: log in to Textpattern with Google account

SPKuja, if your client ID in this post can be misused somehow, you’d better remove it.

Last edited by uli (2014-09-30 14:56:27)


In bad weather I never leave home without wet_plugout, smd_where_used and adi_form_links

Offline

#19 2014-09-30 14:58:37

SPKuja
Member
From: England
Registered: 2013-05-18
Posts: 55
Website

Re: kuo_glogin: log in to Textpattern with Google account

uli wrote #284365:

SPKuja, if your client ID in this post can be misused somehow, you’d better remove it.

Changed. Thanks for pointing that out, I hadn’t thought of that!

Offline

#20 2014-09-30 15:03:02

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 229
Website

Re: kuo_glogin: log in to Textpattern with Google account

I found where you’ve used the plugin and tested it. Looks like logging in with Google works in your site and logging out as well. That’s a good sign and the good news is: there shouldn’t be any big problems. :-) Something for you to think:

  • Do you use a cache plugin like aks_cache?
  • Does your Textpattern have Last-Modified headers on? (Most likely the problem is not caused by this, but just in case.)
  • Is your template’s code somewhat valid so that tags are closed properly etc.?

Last edited by kuopassa (2014-09-30 15:04:47)

Offline

#21 2014-09-30 15:24:54

SPKuja
Member
From: England
Registered: 2013-05-18
Posts: 55
Website

Re: kuo_glogin: log in to Textpattern with Google account

I’ve tried turning the modified headers off, which doesn’t seem to help. My code is incredibly messy, I’ve never tried to clear up the validation fails. But I have set it up on a blank page, with no layout to interfere, and I am still getting an issue:

http://www.glaciergaming.co.uk/user.

On that page it should show the avatar, the full name, and the login/logout button

Offline

#22 2014-09-30 15:33:51

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 229
Website

Re: kuo_glogin: log in to Textpattern with Google account

Yes, there’s some problem certainly, but I don’t have enough data to pinpoint what causes it. You could try to put your website in Debugging or Testing mode for a minute or two and see if any error messages appear…

Offline

#23 2014-09-30 16:01:30

SPKuja
Member
From: England
Registered: 2013-05-18
Posts: 55
Website

Re: kuo_glogin: log in to Textpattern with Google account

Okay, I put it in testing mode, and there were no errors relating to the plugin. Maybe I should just try installing a fresh version of the plugin? Could it be that my PHP version is 5.4 , or maybe a CHMOD issue?

Offline

#24 2014-09-30 16:12:12

kuopassa
Plugin Author
From: Porvoo, Finland
Registered: 2008-12-03
Posts: 229
Website

Re: kuo_glogin: log in to Textpattern with Google account

I don’t think installing a fresh version would help and I too have PHP 5.4. and CHMOD shouldn’t be an issue. :) I could take a look at the source code for that page, so if you dare, could you please send it to my email address at email?

Offline

Board footer

Powered by FluxBB