tailieunhanh - Tạo mạng xã hội với PHP - part 33

Groups Group information • • • • There will need to be standard information saved for each group, so that groups have meaning to other users, and if appropriate can be found through the search feature. At a minimum, we need to store the following information: Name of the group Creator / owner of the group: So we know who has permission to manage it Description of the group: So users know what the group is about, in a little more detail than its name Permission structure of the group: So that the group can be shown if appropriate, and so that it. | Groups Group information There will need to be standard information saved for each group so that groups have meaning to other users and if appropriate can be found through the search feature. At a minimum we need to store the following information Name of the group Creator owner of the group So we know who has permission to manage it Description of the group So users know what the group is about in a little more detail than its name Permission structure of the group So that the group can be shown if appropriate and so that it is clear if and how new members can join that group Date the group was created We could also store the creation date so if one group becomes old and isn t participated in very often a newer one may take priority in the search results This information is what would be stored in the groups table in the database. Types of groups To make the groups system flexible there need to be various types of groups available with different permissions relating to who can have access to them. Typically most social networks tend to provide the following options Global public groups Open to everyone on the site Network specific Only open to a section of the social network. For example those from a particular geographical region or working for one particular institution Private with these options Only available to those who have been explicitly invited by the group s creator Semi-private Only available to those who have been explicitly invited by another member of the group Invite-only Private groups where users can request membership similar to friend requests which is then decided by the group s creator or administrator As our Dino Space network doesn t in its current form have any provisions for subsidiary networks such as users based in the US or the UK or users who work at a specific company we will not look to implement this feature. The other types of groups seem appropriate so we will look to implement those. ----------------------------------- 302 .

TỪ KHÓA LIÊN QUAN