Code to assign seco...

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:


wpDiscuz Support Forum   wpForo Support Forum

Code to assign secondary user group to a user  


New Member
Joined: 2 weeks ago
Posts: 1
16/05/2020 10:58 am  


I would like to assign primary and secondary user group to a user depending on certain events every time he signs-in into my website (to restrict access to certain topics). Which is the correct PHP code?

Other questions:

Is it possible to set the maximum number of nested answers to 0 for a certain sub-forum/topic?

Is it possible to always sort answers automatically by "likes"/votes?

Many thanks in advance

Topic Tags
Noble Member Moderator
Joined: 9 months ago
Posts: 1039
16/05/2020 12:36 pm  

Hi @plc123,

Please register and open a new support topic in the wpForo Support Forum.
This is the gVectors support forum. Here we only support the wpForo paid add-ons.