• Hello Guest,
    There are new packages allow you download any resources with a single purchase. Click here to upgrade your account ;)

[FIXED] No default member role assigned when joining

Waves

New Member
is this a bug?

3129



When you join a public group (without approval) the 'Member role' is set to nothing for ones who join instantly. However when enabling approval, then it sets the user to the 'Member' field automatically?

Shouldn't it also automatically set users as 'member' when approvals are disabled?
 

Truonglv

Staff member
Tech Support
The member role does not show when member are awaiting approval. Anyway this still a bug. It's should not show in this case.
 

Waves

New Member
No, members are not awaiting approval and are in group fully without a role.

The group was made fully public, which means anyone can join without need of approval. When joining, the members will not get a default role.
 

Truonglv

Staff member
Tech Support
I have ensure that new members must have a role. But to resolve your issue you may run custom query to fix it.
Code:
update xf_tl_group_member
set member_role_id = 'member'
where member_role_id = '' and member_state = 'valid'
 
Top