Can anyone point me to the right place for the correct hook? I prefer NOT to use a plugin as I want to limit the number of plugins on the site…
If a plugin’s written right, there’s no issue with using one (be it to speed or anything else), since you’d have to put YOUR code in mu-plugins, which is … basically making your own plugin 😉
I’m suggesting this plugin not to USE, but to leverage: http://ww.wp.xz.cn/extend/plugins/multisite-user-management/
It lets you pick default roles that get applied on registration.
It uses wpmu_activate_user and wpmu_new_user
so you may want to crib from that plugin 😀
Ipstenu,
Thanks for the info. I have seen that plugin and even have downloaded. I guess Ideally I want the user to click a button and that button has something embedded (hidden) as to the ROLE.
See I am using my site as a membership site and there will be 3 or 4 choices but the user will have to decide what they want to choose..
I am using s2member and it does not support the MU site registration. So I just need a gap filler.
s2Member is compatible with Multisite Networking too …. Though perhaps it’s per-site.
I guess Ideally I want the user to click a button and that button has something embedded (hidden) as to the ROLE.
That plugin I pointed you do does it as a dropdown. The issue at heart here is that roles are defined by a site, and users are not automatically added to any site, but the network as a whole.
You’d have to have them pick (1) a site and (2) a role for that site :/