I have a WPMU installed using directory mode into the domain root (e.g. mydomain.com). I with titles numbered "1" to "8" so the urls are:
http://mydomain.com/1/
http://mydomain.com/2/
http://mydomain.com/3/
When a user (say "joe") logs in at mydomain.com/wp-login.php I want to find out what what blog he/she is a contributor to (all users are contributors) and redirect to the home page for that blog (e.g. http://mydomain.com/3/). Any quick way to do this? Any PHP functions that can tell me what blog(s) a user belongs to?
I've looked at the php docs, the best thing I can think of right now is to add the blog the belong to as their URL and use "get_usermeta" and redirect based on that, of course it will break if the edit this in their profile.