1. <tfoot id='cj6nX'></tfoot>
    <i id='cj6nX'><tr id='cj6nX'><dt id='cj6nX'><q id='cj6nX'><span id='cj6nX'><b id='cj6nX'><form id='cj6nX'><ins id='cj6nX'></ins><ul id='cj6nX'></ul><sub id='cj6nX'></sub></form><legend id='cj6nX'></legend><bdo id='cj6nX'><pre id='cj6nX'><center id='cj6nX'></center></pre></bdo></b><th id='cj6nX'></th></span></q></dt></tr></i><div id='cj6nX'><tfoot id='cj6nX'></tfoot><dl id='cj6nX'><fieldset id='cj6nX'></fieldset></dl></div>

    1. <legend id='cj6nX'><style id='cj6nX'><dir id='cj6nX'><q id='cj6nX'></q></dir></style></legend>

      • <bdo id='cj6nX'></bdo><ul id='cj6nX'></ul>
    2. <small id='cj6nX'></small><noframes id='cj6nX'>

      添加 Joomla 登录参数

      Add Joomla login parameters(添加 Joomla 登录参数)

        <i id='PrsNw'><tr id='PrsNw'><dt id='PrsNw'><q id='PrsNw'><span id='PrsNw'><b id='PrsNw'><form id='PrsNw'><ins id='PrsNw'></ins><ul id='PrsNw'></ul><sub id='PrsNw'></sub></form><legend id='PrsNw'></legend><bdo id='PrsNw'><pre id='PrsNw'><center id='PrsNw'></center></pre></bdo></b><th id='PrsNw'></th></span></q></dt></tr></i><div id='PrsNw'><tfoot id='PrsNw'></tfoot><dl id='PrsNw'><fieldset id='PrsNw'></fieldset></dl></div>
          <tfoot id='PrsNw'></tfoot>

                <tbody id='PrsNw'></tbody>
              • <bdo id='PrsNw'></bdo><ul id='PrsNw'></ul>

                <small id='PrsNw'></small><noframes id='PrsNw'>

                <legend id='PrsNw'><style id='PrsNw'><dir id='PrsNw'><q id='PrsNw'></q></dir></style></legend>
                本文介绍了添加 Joomla 登录参数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着跟版网的小编来一起学习吧!

                问题描述

                我使用 joomla 3.1,我是新手..

                I work with joomla 3.1, and im a newbie..

                我建议用户通过两种方式进行连接.- 首先使用已经在生产中使用电子邮件地址(如 email@domain.com)和密码的传统方式- 其次,我想允许他们使用他们使用的电话应用程序 ID(如 4456544485)和密码(与第一种方式相同)登录

                I would suggest users to connect in two ways. - First with the traditional way that is allready in production with Email address (like email@domain.com) and password - Second, i would like to allow them to login with the phone application ID that they use.(like 4456544485) and password(same as the first way)

                使用的登录系统是 com_users 组件.电话应用程序 ID 位于另一个数据库 (phoneapp) 中,并且有一个电子邮件字段.

                The login system used is the com_users component. the phone application ID is in another DataBase (phoneapp) and has a email field.

                但我不知道我必须编辑的女巫文件......?

                But i don't know witch file i have to edit..?

                感谢您的帮助

                推荐答案

                编写身份验证插件不应该太难 http://docs.joomla.org/J3.2:Creating_an_Authentication_Plugin_for_Joomla.我建议从默认的 Joomla 身份验证插件扩展您的手机应用程序插件 https://github.com/joomla/joomla-cms/blob/master/plugins/authentication/joomla/joomla.php 喜欢

                Writing an authentication plugin should not be too hard http://docs.joomla.org/J3.2:Creating_an_Authentication_Plugin_for_Joomla. I suggest to extend then your phone app plugin from the default Joomla authentication plugin https://github.com/joomla/joomla-cms/blob/master/plugins/authentication/joomla/joomla.php like

                JLoadder::import('authentication.joomla.joomla', JPATH_PLUGINS);
                
                class PlgAuthenticationPhone extends PlgAuthenticationJoomla
                {
                    public function onUserAuthenticate($credentials, $options, &$response)
                    {
                        // Do your authentication with the number on the other database
                        .....
                
                        // if it failed do the fallback to Joomla
                        return parent::onUserAuthenticate($credentials, $options, $response);
                    }
                }
                

                这篇关于添加 Joomla 登录参数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持跟版网!

                本站部分内容来源互联网,如果有图片或者内容侵犯了您的权益,请联系我们,我们会在确认后第一时间进行删除!

                相关文档推荐

                DeepL的翻译效果还是很强大的,如果我们要用php实现DeepL翻译调用,该怎么办呢?以下是代码示例,希望能够帮到需要的朋友。 在这里需要注意,这个DeepL的账户和api申请比较难,不支持中国大陆申请,需要拥有香港或者海外信用卡才行,没账号的话,目前某宝可以
                PHP通过phpspreadsheet导入Excel日期,导入系统后,全部变为了4开头的几位数字,这是为什么呢?原因很简单,将Excel的时间设置问文本,我们就能看到该日期本来的数值,上图对应的数值为: 要怎么解决呢?进行数据转换就行,这里可以封装方法,或者用第三方的
                mediatemple - can#39;t send email using codeigniter(mediatemple - 无法使用 codeigniter 发送电子邮件)
                Laravel Gmail Configuration Error(Laravel Gmail 配置错误)
                Problem with using PHPMailer for SMTP(将 PHPMailer 用于 SMTP 的问题)
                Issue on how to setup SMTP using PHPMailer in GoDaddy server(关于如何在 GoDaddy 服务器中使用 PHPMailer 设置 SMTP 的问题)
                  <legend id='3fF8U'><style id='3fF8U'><dir id='3fF8U'><q id='3fF8U'></q></dir></style></legend>

                  <small id='3fF8U'></small><noframes id='3fF8U'>

                      <bdo id='3fF8U'></bdo><ul id='3fF8U'></ul>

                        <i id='3fF8U'><tr id='3fF8U'><dt id='3fF8U'><q id='3fF8U'><span id='3fF8U'><b id='3fF8U'><form id='3fF8U'><ins id='3fF8U'></ins><ul id='3fF8U'></ul><sub id='3fF8U'></sub></form><legend id='3fF8U'></legend><bdo id='3fF8U'><pre id='3fF8U'><center id='3fF8U'></center></pre></bdo></b><th id='3fF8U'></th></span></q></dt></tr></i><div id='3fF8U'><tfoot id='3fF8U'></tfoot><dl id='3fF8U'><fieldset id='3fF8U'></fieldset></dl></div>
                        <tfoot id='3fF8U'></tfoot>

                            <tbody id='3fF8U'></tbody>