2011-06-05, 11:59 AM
Tutorial on adding Google +1 (Plus One) Button For MyBB
Google +1 (pronounced “plus one”) is a recommendation button somewhat similar to Facebook like button. Both of them show friends that recommended your post. But while Facebook Like button shows them under the Like button in your post, Google +1 shows them under your post in Google SERP (search engine results pages).
This tutorial will show you how to add a Google +1 button to Mybb. It allows your readers to recommend your posts to their Google friends and contacts right from your blog post.
This button will +1 the containing post, regardless the page you are at. It will work on both multi-post pages (home page, archive etc.) and individual/post page etc. You will have an option whether to include a counter or not.
Steps:
1> Go to ACP » Template Sets » YOUR Templates
Edit Template: showthread
2> Under {$headerinclude}
Paste this code:
Under <div class="float_right">
{$newreply}{$close_button}
</div>
Paste this code:
> Then Save!
Demo?, NadlerZone Forums
Tutorial Created by nadlerz (ME)
This is a Great SEO!
Google +1 (pronounced “plus one”) is a recommendation button somewhat similar to Facebook like button. Both of them show friends that recommended your post. But while Facebook Like button shows them under the Like button in your post, Google +1 shows them under your post in Google SERP (search engine results pages).
This tutorial will show you how to add a Google +1 button to Mybb. It allows your readers to recommend your posts to their Google friends and contacts right from your blog post.
This button will +1 the containing post, regardless the page you are at. It will work on both multi-post pages (home page, archive etc.) and individual/post page etc. You will have an option whether to include a counter or not.
Steps:
1> Go to ACP » Template Sets » YOUR Templates
Edit Template: showthread
2> Under {$headerinclude}
Paste this code:
Quote:<script type="text/javascript" src="http://apis.google.com/js/plusone.js">
{lang: 'en-US'} </script>
Under <div class="float_right">
{$newreply}{$close_button}
</div>
Paste this code:
Quote:<div style='float:right'>
<g:plusone size="standard" expr:href="data:post.url"/>
</div>
> Then Save!
Demo?, NadlerZone Forums
Tutorial Created by nadlerz (ME)