![]() |
AUTOJOIN - Auto-entry in membergroup via field in profile
Here's a little something to give back to this community that has been of such help to me.
With this plugin, you can have a user entered into or removed from a secondary usergroup according to several types of controls that can be placed in the user's profile via custom fields. This acts only on SECONDARY usergroups and will not affect the user's PRIMARY usergroup. At each login, the plugin will check for the appropriate setting in the user's profile, then add or remove the user from the specified membergroup as appropriate. Note that this does not act instantaneously upon entry of the data in the profile, but requires a new login for this to take effect. [Starting with vB 3.6.4 (maybe earlier, I didn't install anything between 3.5.4 and 3.6.4) this will take effect with one or two page reloads.] Controls currently available: 1) Password for single usergroupNote that you may write your own additional controls and use the two included functions to do the actual insertion into, and removal from, the target usergroups. Tested with vB 3.5.4, 3.6.4, 3.6.7-PL1, 3.8.7PL3 only. Full instructions are in the downloadable text file autojoin.txt. Update log:
|
[Post reserved fur future use. Control code that was previously here has been moved into the downloadable text file.]
|
1st to install and say thanks m8
|
I dont understand how this works sorry?
|
Quote:
This process is run each time the user logs in. Is that what you're asking? To make this work, you have to create a custom field in the profile where this password can be entered. You also need to create a custom $vbphrase that houses the required password value. |
Is it possible to enter them into the moderation of a private usergroup? I would love this but I need to know that the group leader can moderate these users
|
Quote:
This just adds the user to the usergroup, the same as if you checked the box for that forum after pulling up his record in the admincp. Whether this usergroup and/or forum require moderation is unaffected by this. |
can i use this to divorce the guys from the girls in my board??
|
What if you want to kick a specific user out of the usergroup and he knows the password to get back in?
|
Quote:
If that is a concern, I don't think this plugin will work for you. If usergroup membership is used only for forum access purposes, you can lock him out of certain forums via access masks. |
All times are GMT. The time now is 11:26 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|