![]() |
Convert Secondary UserGroup to Primary UserGroup
I'm looking for an easy way to convert a secondary usergroup to the primary usergroup for a group of members. All are in the same usergroup, but are currently listed as secondary users. In order to be able to build a mailing list or mail the users, they have to be listed as primary users of the group, so I need to know how to convert their primary usergroup.
They are currently listed as primary usergroup: Registered with secondary usergroup: Club Owner I need their primary usergroup to be Club Owner. |
If people in this group have a custom usertitle of for example Club Owner, you might wanna select on that.
|
Quote:
|
I figured out what you mean, you can build a mailing list based on a user title. I tried that and out of about 200 users that are in that user group (both primary and secondary users) that pulled about 69 (about 9 more than are listed as primary users) :(
I need some way to just convert all those secondary users to primary users, short of going through each one individually and doing it by hand. |
I mean that you can select on the user title when generating a mail list, so if this group got a unique user title, you could use that to select the members for the mailing.
|
I got a better solution for you :D
Do the following modifications in your includes/adminfunctions_user.php (2 edits) and you will be able to select your users for the mailing also based on secondary membergroups. In file includes/adminfunctions_user.php Find: PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
No feedback? Did this solve your problem?
|
Thanks, I'll give it a try.
|
I tried another hack for this that didn't work; I will try yours soon and will definitely come back with feedback. This is a much-needed feature... I can't believe it's not part of VB, for some reason I was under the impression it was, - right up until I actually needed it... what a rude awakening that was.
I have already changed the one group by hand, 224 of them, but I would still like to be able to email other now-secondary groups.... cross everything! :D I got Quote:
Running vb3.07 and CMPS 1.0...1? (newest one...) |
I think you missed something in the second change in the file.
Please double check you edit |
All times are GMT. The time now is 02:49 AM. |
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:
|