需要一些关于在C#中开发论坛版主的想法 [英] Need some Idea about developing forum Moderator in C#

查看:58
本文介绍了需要一些关于在C#中开发论坛版主的想法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello Guys,



我正在开发一个论坛讨论的项目。我真的需要一些很好的想法,如何开发将成员推广到主持人并让他访问所有主持人的工具和功能,以及如何通过主持人/管理员禁止垃圾邮件发送者用户。任何想法或任何相关链接将不胜感激。感谢您抽出宝贵时间。

解决方案

这些与您为数据库以及为其指定的其他角色有关。角色用于对一组具有相同权限级别的成员进行分类。你可以定义这些级别的组,





  1. 管理员
  2. 版主
  3. 会员
  4. 垃圾邮件发送者





这些类型将获得执行某些操作的权限。权限包括以下内容,或大多数论坛或基于线程的评论系统。





  1. 开始新的讨论
  2. 回复帖子
  3. 编辑帖子
  4. 删除帖子
  5. 删除帖子





在你的论坛中,你必须有足够的逻辑和功能来维护上面提到的每一个和所有内容。 您必须首先定义政策。在那里,您可以选中标记授予每个不是成员!)的权限。然后,您可以为论坛写下脚本。当用户想要使用某个功能时,请检查他属于哪个组。然后充当小组讲述。如果他是管理员,请为他提供做任何事情的工具。如果主持人,给他的权力比Admin少,如果会员删除访问删除或编辑工具。如果是垃圾邮件发送者,请向他展示404几乎所有的东西或类似东西。 :-)



禁止用户



禁止用户只需简单要求您的管理员或主持人将用户添加到被禁止的人群中。 : - )


Hello Guys,

Im developing a project which s a forum discussion. I really need some great ideas on how to develop about promoting a members to moderator and to make his access all the Moderator tools and functions and also How to Banned spammer users by moderator/Admin. Any ideas or any related link will be much appreciated. Thanks for taking your time.

解决方案

These have everything to do with your database and other roles that you specify for them. Roles are used to categorize the members under a group of same permission level. You can define groups of these levels,


  1. Admins
  2. Moderators
  3. Members
  4. Spammers



These types would be given permissions to do certain stuff. Permissions include the following stuff, or most of the forums or thread-based commentary systems.


  1. Start new discussion
  2. Reply to the post
  3. Edit the post
  4. Delete the post
  5. Delete the thread



In your forum, you must have enough logic and functions to maintain each and everything above mentioned. You must define a policy first. In that, you can check mark the permissions granted to each of the group (not the member!). Then, you can write down the scripts for your forums. When user wants to make use of a certain feature, check which group does he belong to. Then act as the group tells. If he is Admin, provide him a tool to do anything. If moderator, give him lesser power than Admin, if member remove access to deletion or edition tools. If a spammer, show him a 404 for almost every stuff or something like that. :-)

Banning a user

Banning a user would simply require that your Admin or Moderator add the user to the group of Banned people. :-)


这篇关于需要一些关于在C#中开发论坛版主的想法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆