JDreau Posted October 24, 2014 Share Posted October 24, 2014 For example Steam community groups. Im using php and such to create a website for school. I would like to allow users to create groups, or atleast show members of the group and an Icon. Link to comment Share on other sites More sharing options...
niche Posted October 24, 2014 Share Posted October 24, 2014 Groups start with forms http://www.w3schools.com/php/php_forms.asp Link to comment Share on other sites More sharing options...
Ingolme Posted October 24, 2014 Share Posted October 24, 2014 This is quite advanced. A "group" in this context is a page that can only be accessed by a certain set of members. So first of all, in our database we would have a groups table and a users table. Groups have an ID, name, etc. Users have an ID, name, etc. Then we would have a relationship between a groups table and the members table. One feature of that relationship would be the status of the member in that group, so we would need a table that associates groups and users with a status as well, such as this: GroupID | Status | UserID ---------+----------+--------- 1 | Member | 3 1 | Admin | 1 1 | Member | 2 :: User 1 is an admin of group 1, users 2 and 3 are members of the group Then there's an entire set of tables dedicated to adding discussion threads, comments, widgets and articles to the group, which is a massive project in itself. A project of this sort could be worth tens of thousands of dollars to create, and that's my lower-range estimate. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now