2011-08-09, 01:33 AM
Hello all, I've run into some trouble while integrating Facebook connect onto my forum. I'd like only guests to see the Facebook connect button, and I want the button to look like this on my forum
However, the best I've been able to do is to get it to look like this
I guess what I'm asking is, is there a way to get it to look like the first picture? More specifically, I want it to be centered with the "Login" and "Register" links, and to not increase the size of the welcomeblock like it's doing. I'm using this plugin, and this is what my header_welcomeblock_guest looks like:
If the solution is too complicated, I'm sure I can live with it. I'm just a perfectionist.
Could still use some help on this one, thanks guys.
However, the best I've been able to do is to get it to look like this
I guess what I'm asking is, is there a way to get it to look like the first picture? More specifically, I want it to be centered with the "Login" and "Register" links, and to not increase the size of the welcomeblock like it's doing. I'm using this plugin, and this is what my header_welcomeblock_guest looks like:
<script type="text/javascript">
<!--
lang.username = "{$lang->login_username}";
lang.password = "{$lang->login_password}";
lang.login = "{$lang->login}";
lang.lost_password = " — <a href=\"{$mybb->settings['bburl']}/member.php?action=lostpw\">{$lang->lost_password}<\/a>";
lang.register_url = " — <a href=\"{$mybb->settings['bburl']}/member.php?action=register\">{$lang->welcome_register}<\/a>";
lang.remember_me = "{$lang->remember_me}";
// -->
</script>
<span style="float: right;">{$lang->welcome_current_time}</span>
<span id="quick_login">{$lang->welcome_guest} (<a href="{$mybb->settings['bburl']}/member.php?action=login" onclick="MyBB.quickLogin(); return false;">{$lang->welcome_login}</a> — <a href="{$mybb->settings['bburl']}/member.php?action=register">{$lang->welcome_register}</a>) </span>
{$fbconnect}
If the solution is too complicated, I'm sure I can live with it. I'm just a perfectionist.
Could still use some help on this one, thanks guys.