The activation page…. They get sent back to what page? You can give an example URL, like example.com/site/page,
Obviously the plugin isn’t messing with that, but it should send them to the right site via the email.
So here’s an example:
The site they’re registering on is clientcompany.mycompany.com
The link in the activation email correctly takes them to clientcompany.company.com/wp-activate.php?key=yaddayadda
The problem is the text on that page that says:
Your account is now active!
Username: bobmcc
Password: BsJ0uKltRYdR
Your account is now activated. Log in or go back to the homepage.
The link to “log in” and “homepage” both go to mycompany.com instead of clientcompany.mycompany.com
Thanks,
Scott
PS. As I think about it, I may actually need to figure out how to make a new plugin using “Join My Multisite” and “Register Plus Redux” because I want to use “invite codes” rather than activation by email (only clients may register, and we don’t want to have to manually approve everyone)… unfortunately, Register Plus Redux doesn’t appear to do ‘per-site’ registration.
Ahhh. Okay, those emails are controlled at mycompany.com//wp-admin/network/settings.php
Dear User,
Your new account is set up.
You can log in with the following information:
Username: USERNAME
Password: PASSWORD
LOGINLINK
Thanks!
–The Team @ SITE_NAME
That’s what mine is. You may want to change the LOGINLINK to SITE_URL
Actually, the emails are fine with LOGINLINK
The problem is on the wp-activate.php page… on that page (i.e., immediately after activating the new account) the links go to mycompany.com instead of clientcompany.mycompany.com
Thanks for the links Mika!
Yes, I knew your plugin doesn’t directly mess with wp-activate.php, but I thought since it’s supposed to be doing registration per site rather than whole network, the post-activation links would honor that. π
Anyway, I’ll look at possibly following some of those instructions to make a wp-activate.php ‘replacement’ of sorts.
Thanks,
Scott
Yeah, I can see why you’d think that. But as you can tell by those posts, it’s not as ‘easy’ to do as it was the rest. Also it’s a hard thing to judge what’s right. Like I think people SHOULD know they’re on a network, which is why it still says you’re being added to a network.
If a user logged into a site they can’t access, it wouldn’t really do much except say they don’t have access. You may want to try a plugin to redirect people to ‘their’ dashboard for that one.