Help with user registration, attempting to include SSO options directly on registration page
I'm trying to make a modification to the user experience during the registration process. The idea is to move the SSO (Facebook, Google, Twitter) signup buttons to the same page as the registration form. I'd like to display the options side by side, similar to how they are displayed when a user clicks on the sign in link (in the popup, one side is the form, the other side is the SSO buttons).
I attached a quick / dirty mockup of what I want to accomplish below
I require captcha on my installation, so I am making modifications to dashboard>views>entry>registercaptcha.php. I'm not an expert php programmer, so please excuse any naive assumptions I might be making - I'm approaching this as a way to learn some new tricks while figuring out a non-ugly-hack.
I'm able to get the small buttons to display in the registercaptcha.php view by copying this from views>modules>guest.php
<?php $this->FireEvent('BeforeSignInButton'); ?>
This works, but ideally I want to use the larger buttons that are displayed on views>entry>signin.php entry. Also, it seems a bit ugly to reuse the same function that is really meant for the guest panel.
I've been digging around to try and see what makes the 'BeforeSignInButton' event.. So far I've found that each SSO plugin contains a function called Base_BeforeSignInButton_Handler, and that is what seems to build the icon links.
Should I simply modify each plugin and add a new/similar function, but with the larger images instead? If that would work, if I were to call it Base_SSOEntrySignInButton_Handler, would I then be able to run that with
$this->FireEvent('SSOEntrySignInButton'); in the registercaptcha.php view.... or would I need to declare that somewhere else?
Or - am I going about this entirely the wrong way?
Thanks for any tips or guidance!