通过我网站的各种应用程序进行通用登录,这将是一次巨大的用户体验.现在,我有一个Magento的店面和一个IPS板的社区.我正在尝试将它们集成到我的用户的一个通用登录中.
IPS板提供了多种登录方法,其中一种是外部数据库,使我能够将其与外部数据库集成以获取用户详细信息.
太棒了!所以我可以将IPS与Magento的数据库连接起来,以获得统一的用户凭据.
但是,到目前为止,我只能找到customer_entity.email的电子邮件字段.
我的问题是:
从附图中可以看出,我需要有关Magento存储密码的位置和方式的详细信息,以使IPS能够将Magento的数据库用作用户登录详细信息的外部数据库.
附:
如何完成任何想法或建议将不胜感激!
我正在使用 IPB 论坛。我设法使用友好的 url 和 nginx 服务器配置修改。但是,我需要将旧论坛的 URL 重定向到重定向器 php 文件以获取主题(或论坛、成员等)的当前 URL。例如:如果 url 是 like /forum/index.php?board=23
,我将重定向到 redirector.php 。
这是我当前能够在 IPB 上使用友好 URL 的配置
location /forum {
try_files $uri $uri/ /forum/index.php;
rewrite ^ /forum/index.php? last;
}
Run Code Online (Sandbox Code Playgroud)
当我在这个位置块中插入一个 if 语句时,如下所示,我无法检索查询参数“board”。
location /forum {
if ($arg_board != "") {
rewrite ^ /redirector.php?q=$arg_board break;
}
try_files $uri $uri/ /forum/index.php;
rewrite ^ /forum/index.php? last;
}
Run Code Online (Sandbox Code Playgroud)
这里缺少什么?
我使用 Wordpress 作为网站的根目录,使用 Invision Power Boards 作为论坛。
http://localhost -> Wordpress
http://localhost/forum -> IPB
Run Code Online (Sandbox Code Playgroud)
我已经使用 Nginx-rewrite 成功从 WordPress URL 中删除了“index.php”,但是当我尝试在 IPB 上使用 SEO 友好 URL 时,nginx 只是返回到 Wordpress 的 404 页面。
我的配置是这样的:
#This removes "index.php" from Wordpress URLs
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?q=$uri&$args;
}
Run Code Online (Sandbox Code Playgroud)
然后我按照此链接修改我的 nginx conf 文件,以便能够使用 IPB 的 SEO 友好 URL:http ://www.devcu.com/forums/topic/262-furl-Friendly-urls-with-ipb-和-nginx/
#This part is to be able to use IPB SEO
location /forum/ {
index index.php;
try_files $uri $uri/ /forum/index.php?$uri&$args;
rewrite …
Run Code Online (Sandbox Code Playgroud) 我有一个WordPress网站,它在我网站的根目录下运行。并在directory /forums/
我正在使用代码表示对$USER$
登录IPB 的欢迎,现在最近对我的知识没有任何更改,可能是对IPB的更新,每个WordPress都会page/post
弹出一个404 error
。但是不是WordPress中的404,而是论坛下的404?
您可以在这里看到:
http://www.tfuhq.com/-WordPress主页(WORKS)
http://www.tfuhq.com/autobots/-WordPress内部页面(404)
http://www.tfuhq.com/forums/-FORUMS(WORKS)
这是WordPress安装的htaccess:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
Run Code Online (Sandbox Code Playgroud)
这是论坛的htaccess:
<IfModule mod_rewrite.c>
Options -MultiViews
RewriteEngine On
RewriteBase /forums/
RewriteCond %{REQUEST_FILENAME} .*\.(jpeg|jpg|gif|png)$
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule . /forums/public/404.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /forums/index.php [L]
</IfModule>
Run Code Online (Sandbox Code Playgroud) 你好我一直在使用IPB3.4,我试图在我的主要网站和论坛,特别是用户之间建立某种关联.
我知道您可以使用IPBMembers类来简单地创建一个新用户但是我不确定如何在IPB论坛基本目录之外初始化该类.
如果有人对此主题有任何经验,我将不胜感激任何建议.
谢谢