简体   繁体   English

仅当用户登录时,wordpress才会进行评论-与网站集成

[英]wordpress comments only if user is logged in - integration with a site

I have a website where users can create accounts and login to them. 我有一个网站,用户可以在其中创建帐户并登录。 I've setup a Wordpress blog and I want registered users(on my site) to be able to make comments using their registered username and only if they're logged in to the site. 我已经建立了一个Wordpress博客,我希望注册用户(在我的网站上)能够使用其注册用户名(仅在他们登录该网站时)发表评论。 They don't need to login separately in wordpress. 他们不需要分别在wordpress中登录。 Also I want this to be the only way you can put a comment to a post. 我也希望这是您可以对帖子发表评论的唯一方法。

Thanks 谢谢

If I understand what you are saying, check out this plugin. 如果我明白您的意思,请查看此插件。

http://wordpress.org/extend/plugins/customize-your-community/ http://wordpress.org/extend/plugins/customize-your-community/

This will get rid of the wordpress looking login, and make it nice and matching your site. 这将摆脱wordpress查找登录,并使其美观并与您的网站匹配。

Default wordpress functionality allow user to post a comment only if they are logged in or the user can enter a comment by entering his email and name in the box provided. 默认的wordpress功能允许用户仅在登录后发表评论,或者用户可以通过在提供的框中输入电子邮件和姓名来输入评论。 If you want to make the users in your site to comment on wordpress blog wothout logging in to wordpress then you need to alter some backend functionality of wordpress and combine the user table of your site and wordpress and check for user login. 如果您想让站点中的用户无需登录到wordpress就可以在wordpress博客上发表评论,则需要更改wordpress的某些后端功能,并将站点和wordpress的用户表合并,并检查用户登录。

He need a wordpress user bridging you need to analyze some bridging plugins. 他需要一个wordpress用户桥接,您需要分析一些桥接插件。 And need some custom coding. 并需要一些自定义编码。

Thanks -Shak 谢谢-Shak

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM