I'm creating a paid event that has free/discounted tickets for members. The idea is to encourage visitors to become members when signing up for the event. I feel like this is a common usage scenario, but don't see how this be done without sending people off to a separate membership registration form.
There's an extension my colleague built for a client of ours that handles this: https://github.com/aghstrategies/com.aghstrategies.eventmembershipsignup
It should work for you. Unfortunately, we just haven't had the time to get it documented as much as I'd like (or to list it in the extensions directory). If you end up implementing this, please drop me a note at andrew -at- aghstrategies.com. I'd love to hear what suggestions you have, since it is on my to-do list to get it listed and write the documentation needed.