原文出處:https://www.phpbb.com/community/viewtop ... &t=2548971
在請求批准後自動分配默認組
https://www.phpbb.com/community/viewtop ... p=14254846
你好!Auto-assign Default Group
Post by mayly » Wed Apr 15, 2020 2:15 pm
Hello!
I would like to auto-assign the user's default group to the open group they joined. So by joining the group color and rank are set immediately. This is something similar this user at viewtopic.php?p=14254846 (Auto-assign Default Group Upon Request Approval) wanted to achieve but my groups are open, not by request. I already looked into the "Auto Groups" extension but it's obviously for a different purpose.
我想將用戶的默認組自動分配給他們加入的開放組。因此,通過加入組,可以立即設置顏色和等級。該用戶與此類似viewtopic.php?p = 14254846(根據請求批准自動分配默認組)想要實現,但是我的組是開放的,不是根據請求。我已經研究過“ Auto Groups”擴展名,但顯然是出於不同的目的。
有點混亂,我可以很高興地說,您已經可以做到這一點。Re: Auto-assign Default Group
Post by Elias » Thu Apr 23, 2020 12:57 pm
Little messing around and i can gladly say, you can do this already.
ACP > Users and permissions > Group permissions
Select Registered users group >
Advanced permissions >
In the 'Profile' tab, set "Can change default usergroup" to Yes.
Make sure the groups are set as 'Open'.
Make sure ranks have images assigned to them.
Make sure ranks are linked to the groups.
Thanks
ACP>用戶和權限>組權限
選擇註冊用戶組>
高級權限>
在“配置文件”選項卡中,將“可以更改默認用戶組”設置為“是”。
確保將組設置為“打開”。
確保為等級分配了圖像。
確保等級鏈接到組。
謝謝