This is very similar to what I am trying to achieve. I too have the member type pro and have tried using pp capabilities with it but it hasn’t done what I hope to achieve – it hasn’t done anything basically.
Here is what I was hoping to accomplish, I hope I haven’t explained it in an over complicated way, I have made a diagram (see image) to help explain.
diagram > https://imgur.com/a/AyVzZsP
I have 2 types of user, fans and artists. There are more ‘kinds’ of artists than fans. Let’s call them:
Member Type A (fan)
Member Type B (artist kind 1)
Member Type C (artist kind 2)
Member Type D (artist kind 3)
Member Type E (artist kind 4)
I have mapped all above to the same named user roles:
Member Type A –> User Role A
Member Type B –> User Role B
Member Type C –> User Role C
Member Type D –> User Role D
Member Type E –> User Role E
Each different member type has joined their own (Main) group via regitration and called the groups the same as the user roles and member types:
Member Type A –> User Role A –> Group A
Member Type B –> User Role B –> Group B
Member Type C –> User Role C –> Group C
Member Type D –> User Role D –> Group D
Member Type E –> User Role E –> Group E
I am trying to give, artists more group permissions over fans:
Member Type A
– Can view ALL groups, like and comment posts etc inc groups B,C,D,E.
– Can create their own aditional groups and join each others (Member Type A) groups.
– Can NOT join artist groups B,C,D,E or newly created artist groups by members B,C,D,E.
Member Types B,C,D,E
– Can view ALL groups, like and comment posts etc inc groups A, B,C,D,E.
– Can create their own aditional groups and join each others.
– CAN join groups A, B,C,D,E or newly created groups by members A, B,C,D,E.
Member Type A can ONLY join Member Type A groups BUT is allowed to view and particiapate in Member Type B,C,D,E groups – like, comment etc (but not upload media via mediapress)
Member Type B can join and participate in ALL groups by ALL member types and upload media to any group.
Brajesh, the code you provided above is almost there. Any suggestions would be appreciated.
Apologies for the long message 🙂