22 Posts
kail
6 years ago
1
Topic

I want users of my site divided into categories(group) for example In my school website I want each student is the member of the class he is reading in.

What should I do, assign a field in user registration form with class as its value or is there any way to group users into categories. I will prefer the latter way because I also want users from one class being able to read articles from a category specified for this class only and also teachers which are able to post articles only in the category specified for them.

Get a Book for SEBLOD
1283 Posts
Bucklash
6 years ago
0
Level 1

I think categories as a class is cool.

Ultinately, Classes should be usergroups (I think) ...

Either way, a field (i.e. select dynamic set to multiple, with storage as varchar50) that stores multiple category id’s would work, and then you can filter this entry using the correct match settings in search form (any words exact, with it configured to “,”).

What about access to class ie blocked, absent etc?

Get a VIP membership