MyBB Community Forums

Full Version: Facebook like
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
[Image: ?di=SIJU]

I want to move the Facebook like thing to where the image shows. I tried everything I know and can't seem to get it to go there. Please help me out. Thanks

Website: www.ForumKorner.com
Alrite Philly Wink

Can you post your footer template code please.
Thanks
(2011-10-19, 11:06 PM)BleepyEvans Wrote: [ -> ]Alrite Philly Wink

Can you post your footer template code please.
Thanks


{myadvertisements[zone_2]}{$hidesectionfooter}
			<div class="bottommenu">
				<div class="float_right">{$lang_select}</div>
				<div>
					<span class="smalltext"><!-- Place this tag where you want the +1 button to render -->
<g:plusone size="tall" annotation="none"></g:plusone>

<!-- Place this render call where appropriate -->
<script type="text/javascript">
  (function() {
    var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
    po.src = 'https://apis.google.com/js/plusone.js';
    var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
  })();
</script> | <a href="{$mybb->settings['contactlink']}">{$lang->bottomlinks_contactus}</a> | <a href="http://www.ForumKorner.com"> ForumKorner</a> | <a href="http://www.ImageKorner.com"> Image Hosting</a> | <a href="http://www.360Gaming.org">Private Forum</a> | <a href="http://www.forumkorner.com/showthread.php?tid=172"> Need A Proxy?</a> <a href="http://www.forumkorner.com/misc.php?action=help&hid=13"> | <a href="#top">{$lang->bottomlinks_returntop}</a> | <a href="#content">{$lang->bottomlinks_returncontent}</a> | <a href="<archive_url>">{$lang->bottomlinks_litemode}</a> | <a href="{$mybb->settings['bburl']}/misc.php?action=syndication">{$lang->bottomlinks_syndication}</a>  | <div class="fb-like" data-href="www.ForumKorner.com" data-send="false" data-layout="button_count" data-width="450" data-show-faces="false"></div></span>
				</div>
			</div>
			</div>
		<hr class="hidden" />
			<div id="copyright">
				<div id="debug"><debugstuff></div>
				<!-- MyBB is free software developed and maintained by a volunteer community. 
					 It would be much appreciated by the MyBB Group if you left the full copyright and "powered by" notice intact, 
					 to show your support for MyBB.  If you choose to remove or modify the copyright below, 
					 you may be refused support on the MyBB Community Forums.
					 
					 This is free software, support us and we'll support you. -->
{$lang->powered_by} <a href="http://mybb.com/" target="_blank">MyBB{$mybbversion}</a>, &copy; 2002-{$copy_year} <a href="http://mybb.com/" target="_blank">MyBB Group</a>.<br />
Theme created by <a href="http://bleepyevans.com" target="_blank">BleepyEvans</a>, from<a href="http://bleepyevans.com/" target="_blank"> BleepyEvans.com</a>.<br />
Theme edited by <a href="http://www.forumkorner.com/member.php?action=profile&uid=1" target="_blank">Philly</a>, from<a href="http://www.ForumKorner.com/" target="_blank"> ForumKorner.com</a><br />
				<!-- End powered by -->
<!-- The following piece of code allows MyBB to run scheduled tasks. DO NOT REMOVE -->{$task_image}<!-- End task image code --> <!-- Fading Postbit Buttons Plugin by Darkly of MyBB Community Forums. -->

{$auto_dst_detection}
		</div>
		</div>
<A href="http://www.alexa.com/siteinfo/forumkorner.com"><SCRIPT type='text/javascript' language='JavaScript' src='http://xslt.alexa.com/site_stats/js/t/a?url=forumkorner.com'></SCRIPT></A>
I guess its the way Facebook like codes work, they occupy around 300-400 pixels of space, because on liking the page, it shows; how many people likes it, if some of your friend also likes it, so it occupies the extra space from the very start.
(2011-10-20, 04:53 AM)crazy4cs Wrote: [ -> ]I guess its the way Facebook like codes work, they occupy around 300-400 pixels of space, because on liking the page, it shows; how many people likes it, if some of your friend also likes it, so it occupies the extra space from the very start.

So its not possible to have it on the same line?
^ I'd suggest to use a separate line for Google+ & facebook like buttons ...
(followed by earlier footer links line)
Quote:So its not possible to have it on the same line?
Its possible. Keep both social buttons on the very first line, then at the ending of those two buttons code, add a <br /> so the contact us and all would come below those two buttons.
(2011-10-21, 05:31 AM)crazy4cs Wrote: [ -> ]
Quote:So its not possible to have it on the same line?
Its possible. Keep both social buttons on the very first line, then at the ending of those two buttons code, add a <br /> so the contact us and all would come below those two buttons.

I think, I will just do that. Or perhaps add it to the header or something. I have a custom theme being made at the moment. I will figure it out than. Thanks for the help guys.
Try changing the data-width from 450 to something smaller.
I remember facebook asking me for a width when I tried this out.
The button is only a handfull of pixels wide so I think 450 is a bit ott.
(2011-10-24, 10:33 AM)BleepyEvans Wrote: [ -> ]Try changing the data-width from 450 to something smaller.
I remember facebook asking me for a width when I tried this out.
The button is only a handfull of pixels wide so I think 450 is a bit ott.

I tried numerous different numbers and nothing changed it even a little. :/
Pages: 1 2