a question_单一登录社交帐户以获取Question2answer?

a question

How to enable single sign-in for social accounts for question2answer?

如何为Question2answer的社交帐户启用单点登录?

These servers are required:

这些服务器是必需的:

Google, Facebook, Twitter, OpenID.

Google,Facebook,Twitter,OpenID。

This site moved from Loginza to Question2Answer Open Login which works like a charm.

该站点从Loginza移至Question2Answer Open Login ,其工作方式像一个超级按钮。

Answered by Eric Z Ma.
埃里克·马(Eric Z Ma)回答。


I use the Loginza and it works very well.

我使用Loginza ,效果很好。

For Q2A, SLonoed wrote a nice plugin for loginza.

对于Q2A,SLonoed 为loginza编写了一个不错的插件

How to use it:

如何使用它:

  1. Download the plugin to the qa-plugin directory.

    将插件下载到qa-plugin目录。

    $ cd qa-plugin
    $ git clone git://github.com/SLonoed/Q2A_loginza_plugin.git

    $ cd qa插件
    $ git clone git://github.com/SLonoed/Q2A_loginza_plugin.git

  2. Configure the the file qa-loginza-login.php in the plugin directory to set it. Follow the tutorial here.
    No need to overwrite the nav_list($navigation, $navtype) function from my own experience.
    Additionally, if you know some HTML/CSS, you can customize the button for login by yourself (as shown on this site).

    在插件目录中配置文件qa-loginza-login.php进行设置。 在此处按照教程进行操作
    根据我自己的经验nav_list($navigation, $navtype)无需覆盖nav_list($navigation, $navtype)函数。
    另外,如果您知道一些HTML / CSS,则可以自定义登录按钮(如本网站所示)。

One of my concern is that Loginza may stop providing service or start to charge money some day. I figure out that this is not that dangerous (still very bad. I hope that Loginza is free and live forever) since the user database is on my own site. The users can still log in their accounts after some struggling (dirty, but there is a way out):

担心的一个问题是Loginza有一天可能会停止提供服务或开始收费。 我发现这不是那么危险 (仍然很糟糕。我希望Loginza是免费的并且永远存在),因为用户数据库位于我自己的站点上。 经过一些努力(肮脏,但有出路)后,用户仍然可以登录其帐户:

  1. Update and confirm the Email address in the account profile.

    更新并确认帐户资料中的电子邮件地址。

  2. Set (reset through “forgot my password”) their passwords.

    设置(通过“忘记密码”重置)他们的密码。

Then they can log in my site without Loginza using their Email/passwords.

然后他们可以使用他们的电子邮件/密码登录而无需Loginza的我的网站。

Hence, I am glad to use Loginza now.

因此,我很高兴现在使用Loginza。



hi i am use this plugins but returns syntax error, unexpected end of file in C:xampp-portablehtdocsquestion2answerqa-pluginloginza-loginqa-loginza-login.php on line 322 please help me…

嗨,我正在使用此插件,但返回语法错误 ,第322行的C:xampp-portablehtdocsquestion2answerqa-pluginloginza-loginqa-loginza-login.php中文件意外结束,请帮助我…



I am a little confused. The file from https://github.com/SLonoed/Q2A_loginza_plugin/blob/master/qa-loginza-login.php has only 321 lines.

我有点困惑。 来自https://github.com/SLonoed/Q2A_loginza_plugin/blob/master/qa-loginza-login.php的文件只有321行。

Can you provide more details?

您能否提供更多详细信息?

翻译自: https://www.systutorials.com/single-sign-in-for-social-accounts-for-question2answer/

a question

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值