MyBB Community Forums

Full Version: Scroll google +1 button for your forum!
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
Hello all!
Now you can add scroll google +1 button on your forum!
Just copy and past the code after {footer} on your index template!

<script type="text/javascript">// <![CDATA[ window.___gcfg = {lang: 'fa'}; (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><scripttype="text/javascript" src="https://apis.google.com/js/plusone.js"></script><style type="text/css">.ggoogle{background-color:#EDEDED;border:3px solid #00aeff;color:#EDEDED;font-size:11px;line-height:20px;padding:4px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;text-align:center}</style><div class="ggoogle" style="position:fixed;left:2px;bottom:160px;z-index:1000;"><g:Plusone size="tall"></g:Plusone>

Note: you can edit all colors and line px!
ONLINE DEMO
Wrong section, but nice Smile
wrong section? whay?
This should be a user submitted tutorial it looks like.
Thank nice Big Grin
how can i add the twitter and facebook button to this?
(2011-11-30, 11:17 AM)Identity1 Wrote: [ -> ]how can i add the twitter and facebook button to this?

anyone?
(2011-11-30, 11:17 AM)Identity1 Wrote: [ -> ]how can i add the twitter and facebook button to this?

Hello!
use this code:
copy and past this code after {$footer} on your index template:
<script type="text/javascript">// <![CDATA[ window.___gcfg = {lang: 'fa'}; (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>
<scripttype="text/javascript" src="https://apis.google.com/js/plusone.js"></script><style type="text/css">.ggoogle{background-color:#EDEDED;border:3px solid #00aeff;color:#EDEDED;font-size:11px;line-height:20px;padding:4px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;text-align:center}</style>
<div class="ggoogle" style="position:fixed;left:2px;bottom:160px;z-index:1000;"><g:Plusone size="tall"></g:Plusone></div>
<div class="ggoogle" style="position:fixed;left:2px;bottom:95px;z-index:1000;"><a href="http://twitter.com/advertpublisher" title="Follow Us On Twitter"><img src=http://advertpublisher.com/twitter.png></a></div>
<div class="ggoogle" style="position:fixed;left:2px;bottom:30px;z-index:1000;"><a href="http://facebook.com/pages/AdvertPublisher/140052196098008" title="Join Us On Twitter"><img src=http://advertpublisher.com/facebook.png></a></div>


NOTS:
_ iTS THE BEST SIZE FOR FACEBOOK AND TWITTER PICTURE ON THIS CODE IS: [Image: twitter.png] AND [Image: facebook.png]
_ CHANGE THE URL'S TO YOUR PAGE URL'S ON THE TWITTER AND FACEBOOK:
http://twitter.com/advertpublisher
http://facebook.com/pages/AdvertPublishe...2196098008
^^, i dont want to add the normal links. i want to add facebook like buttons and twitter share buttons which are like google plus button.
Can you help me regarding that.
wonderfull adjustment

i had try ...........marbelous...........
Pages: 1 2