Comments 1Bruno started the conversationOctober 13, 2023 at 7:05pmHello everything is fine? I received the following request from my client: I would like to have specific training by student category. For example, students in the waiter category will only be able to view courses for waiters. How can I do this?Attached files: Captura de Tela 2023-10-13 às 16.04.43.png 390Ripul repliedOctober 17, 2023 at 5:27amThis is possible but it will onyl work for logged in users, so the course directory inside the app .We already have this function in WPLMS Batches but it requires you to connect the courses manually.Every batch has a setting, to allow users to only see courses from their batch only.now, if you're not using batches and think that batches is an overkill we can give you a code snippet to enable this.1 Like 1Bruno repliedOctober 17, 2023 at 2:15pmCould you provide me with the code and explain how I can implement this? It's simple? 390Ripul repliedOctober 18, 2023 at 2:49pmok, so my query would be how to connect the student to the category,a. PRofile field - Course category connection ? b. Member type - course cateogry connectionbased on above I can share code with you.1 Like 1Bruno repliedOctober 25, 2023 at 7:55pmI could not understand. Could you explain me better? 390Ripul repliedOctober 26, 2023 at 3:30pmHow are you deciding which student should see which category what is the parameter to detect student - category connection.1 Like 1Bruno repliedOctober 26, 2023 at 5:37pmThe parameter that will be used is the student category with the course category. Is it possible to do it this way? What I don't know and don't understand how to do is this relationship of categories. 390Ripul repliedOctober 29, 2023 at 3:17pmIt is possible,so here's what you need to do :Find a way to connect student with category :one example :1. Create a profile field, say department2. This should be of type select3. Enter the values of this department field which match with the category.--now, based on this paramter in the course directory fetch courses filter we can show only courses connected with the department.Let me know if that helps. Sign in to reply ...
Hello everything is fine?
I received the following request from my client: I would like to have specific training by student category.
For example, students in the waiter category will only be able to view courses for waiters.
How can I do this?
Attached files: Captura de Tela 2023-10-13 às 16.04.43.png
This is possible but it will onyl work for logged in users, so the course directory inside the app .
We already have this function in WPLMS Batches but it requires you to connect the courses manually.
Every batch has a setting, to allow users to only see courses from their batch only.
now, if you're not using batches and think that batches is an overkill we can give you a code snippet to enable this.
Could you provide me with the code and explain how I can implement this? It's simple?
ok, so my query would be how to connect the student to the category,
a. PRofile field - Course category connection ?
b. Member type - course cateogry connection
based on above I can share code with you.
I could not understand. Could you explain me better?
How are you deciding which student should see which category what is the parameter to detect student - category connection.
The parameter that will be used is the student category with the course category. Is it possible to do it this way?
What I don't know and don't understand how to do is this relationship of categories.
It is possible,
so here's what you need to do :
Find a way to connect student with category :
one example :
1. Create a profile field, say department
2. This should be of type select
3. Enter the values of this department field which match with the category.
--
now, based on this paramter in the course directory fetch courses filter we can show only courses connected with the department.
Let me know if that helps.