I am trying to setup a WordPress install that will handle sub domains in way that would allow users to register within a sub domain and store that subdomain against their profile. I am currently trying a Multisite setup with Theme My Login installed and get most of it working ( custom fields, re-directs..etc. ), but the issue is that when a user clicks the registration link they get directed up to the network home ( or root domain ) and I loose the subdomain reference. I need to know the sub domain the user started with.
Ideally I would like to direct a user to sub1.domain.com where they can login or register...etc. and stay within that sub domain. I only need the user management stuff and maybe a single page per sub domain.
Starting to think I need to roll my own authentication/usermanagement piece, but if anyone has a suggestion that would be great!