Support Forum

wp social login

MY My
My
Member

I’ve just set up a new site, I’ve installed Simple Press which is working nicely and I’ve also installed the plugin wp social login so that visitors to the site can easily log in to post comments etc with their twitter/facebook/tumblr account. This plugin works fine for general site login and also for posting comments on the site however when trying to log in via the forums there seems to be some kind of redirect problem which results in the user being given a blank page.

You can test this via using one of the twitter/fb/tumblr login buttons you see on our forum page here http://slingerstv.com/forums

13 Answers

New Answer

MP Mr Papa
Mr Papa
Member

what plugin is that???  and why not just use the third party login stuff (janrain/rpx) that comes built into SP?

MY My
My
Member

it’s called wordpress social login http://wordpress.org/extend/plugins/wordpress-social-login

I would prefer this over the one built into SP because this one allows people to easily comment on WP posts in addition to just via the login or forums. it gives you the buttons you need right on the post comments page. Basically, I just want to make it as easy as possible for people to participate on all areas of the site rather than just the forums.

Eg. you can see here it’s got the nice simple “connect with” buttons right on the comment section http://slingerstv.com/slingers-comic-tease

ETA: Janrain also doesn’t use Tumblr and SO many people are using that these days I’d like to have that option

MP Mr Papa
Mr Papa
Member

are these the same:  https://simple-press.com/support-forum/website-tips-and-tricks/social-logins/

or at least work the same?

did you disable the forum inline plugin then?

MY My
My
Member

The one you linked to doesn’t seem to support tumblr either. As for whether or not they work the same I can’t say because my level of knowledge doesn’t allow me to understand everything about how plugins work, if I did I’d probably just write my own plugins

 

As for “disable the forum inline plugin” I’m not quite sure what you’re referring to, I can’t find anything in the forum settings that resembles that.

MY My
My
Member

Some further info that may help. The actual authorsation works fine, when the user is supposed to be redirected back to the site however is where things get stuck, the URL is http://slingerstv.com/wp-content/plugins/wordpress-social-login/authenticate.php?provider=Twitter&redirect_to_provider=true

which shows up as a blank page, but the source of that page is as follows.

No idea if that might help explain anything to you or not…

<html> <head> <script> function init() { window.opener.wsl_wordpress_social_login({ 'action' : 'wordpress_social_login', 'provider' : 'Twitter' }); window.close(); } </script> </problem-with-post-edit-buttonead> <body onload="init();"> </body> </problem-with-post-edit-buttontml>
YS Yellow Swordfish
Yellow Swordfish
Member

All that script is doing – as far as I am aware – is running a function from within the plugin called wsl_wordpress_social_login against the source page and then closing the window. Actually looks a bit odd to me with that window.close on the end. I believe the actual redirect is supposed to happen after this as a result of that function call. Unless I am misunderstanding of course.

So you probably need to find out what that function is supposed to do and what is supposed to happen next.

MP Mr Papa
Mr Papa
Member

do you have an forum login redirects active?  could be block admin or forum – components – login and registration…  maybe redirects are conflicting…

MY My
My
Member

I did have block admin activated, tried disabling but that didn’t help.

Is there any way to essentially disable forum login and force users to login somewhere else on the site? eg via a widget?

MP Mr Papa
Mr Papa
Member

that is what I suggested you try in post #4…  in your sp theme, the spHead.php template file, just remove the inline login form…  you could replace it with a simple link if you wanted…

MY My
My
Member

I was looking for a setting when you used the term “disable”. I noted in #5 I couldn’t find anything 🙂

Now that I know what needed to be done I’ve edited the template to remove the login/register option and added a widget to the right of my main menu to allow people to login/register. Themed the login page and voila!

http://slingerstv.com/forums

MY My
My
Member

Yeah, I’m happy with the result though it took 3 plugins to achieve ha!

Only downside is the SP captcha doesn’t work (with the Theme My Login plugin)

YS Yellow Swordfish
Yellow Swordfish
Member

Oh that’s a shame. I didn’t realise that.
It suggests that the TML plugin is not calling all of the standard WP actions and filters to display the form which is the basis of how things work.