Glad you tested more.f you want their exact styles for hovering and such, it's a little more complex as we need to make sure that our login functionality is always called, not theirs. You can try the below, which may work, but also may not fully override their Javascript:
<?php if (@$_SESSION['oauth'] && $socialpos=='top') require dirname(__FILE__).'/social.php'; ?>
<?php require dirname(__FILE__).'/social.php'; ?>
<?php if (@$_SESSION['oauth'] && $socialpos=='top') require dirname(__FILE__).'/social.php'; ?>
<?php if (@$_SESSION['oauth'] && $socialpos=='bottom') require dirname(__FILE__).'/social.php'; ?>
<?php if (@$_SESSION['oauth'] && $socialpos=='top') require dirname(__FILE__).'/social.php'; ?>
<?php require dirname(__FILE__).'/social.php'; ?>
Join our newsletter to get alerts for Joomla releases, tips and tricks and extension updates.