我正在为我的大学制作一个网站,学生必须在其中注册,然后才能登录并拥有自己的个人资料。这意味着维护包含多个用户名、密码和其他数据的数据库。学生将能够组建小组、社区并向他人提问。
Wordpress 在开发这样的网站时有何用处?还有其他好的 WP 教程吗?
我已经安装了 WP,正在查看它的 Lessons ,但这似乎都是关于一个用户(管理员)编写自己的博客并控制其他人的帖子/评论。其他用户似乎没有登录。(也许我错过了多用户登录的类(class),因为我刚刚开始一天)。
谢谢
最佳答案
默认功能
Wordpress 有 multi-user support built-in.您可以根据需要向您的网站添加任意数量的帐户。帐户有不同类型,用户可以执行的操作也不同:
- Super Admin - Someone with access to the blog network administration features controlling the entire network (See Create a Network).
- Administrator - Somebody who has access to all the administration features
- Editor - Somebody who can publish and manage posts and pages as well as manage other users' posts, etc.
- Author - Somebody who can publish and manage their own posts
- Contributor - Somebody who can write and manage their posts but not publish them
- Subscriber - Somebody who can only manage their profile
您不需要手动设置所有用户,而是允许人们自行注册,仅限于某种帐户类型(例如,让他们只创建访问权限有限的订阅者帐户)。
插件:Buddypress
那里有Buddypress Plugin对于Wordpress。它将 Wordpress 扩展为更像一个社交网络。
What can I use BuddyPress for?BuddyPress is built to bring people together. It works well to enable people with similar interests to connect and communicate. Some of the fantastic uses might be:
- A campus wide social network for your university, school or college.
- An internal communication tool for your company.
- A niche social network for your interest topic.
- A focused social network for your new product.
如果您刚刚开始进行 WordPress 开发,这听起来是一个不错的方法。
关于php - WordPress 能够维护多用户登录网站吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11517355/