The Arcive of vBulletin Modifications Site. |
|
Best Way To Show Google +1 In Forum Details »»
|
|||||||||||||||||||||||||
Hi,
We suggest you to use this way to show your G+1 In all of pages with best Efficiency . Example For RTL Forum : ![]() Step 1 : Go to this link : http://www.google.com/webmasters/+1/button/ And get your button . Dont forget to put your site link in advanced settings . You may get something like this : Code:
<!-- Place this tag in your head or just before your close body tag --> <script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> <!-- Place this tag where you want the +1 button to render --> <g:plusone href="www.vbulletin.org"></g:plusone> First put Code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script>
Then put This code In the very very top of the header template : Code:
<style type="text/css">
.kadr {
background:#f9fbfc;
border:1px solid #d7dee3;
color:#7f663a;
font-size:11px;
line-height:22px;
padding-top: 3px;
padding:5px 14px;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
text-align:left;
}
</style>
<div class="kadr" style="position:fixed;left:2px;bottom:2px;z-index:1000;">
+1 Us On Google :
<g:plusone href="www.vbulletin.org"></g:plusone>
</div>
If you enjoy this quick mod Mark as Installed . Good luck Show Your Support
|
|||||||||||||||||||||||||
| Благодарность от: | ||
| Kaspersku | ||
| Comments |
|
#2
|
||||
|
||||
|
great...installed and nominated
|
|
#3
|
||||
|
||||
|
Forgive me but doesn't the href attribute fix which page is plussed? I.e you can only plus vbulletin.org with your example code
|
|
#4
|
||||
|
||||
|
thank you bro
installed |
|
#5
|
|||
|
|||
|
Quote:
vbulletin.org in code is just for example . |
|
#6
|
|||
|
|||
|
Thanks brother
Installed |
|
#7
|
||||
|
||||
|
Yes it is just an example but the url you plus is static yes?
|
|
#8
|
|||
|
|||
|
Alternative to save yourself some time:
showthread Remove: Code:
<vb:if condition="$show['fb_likebutton']">
{vb:raw fblikebutton}
</vb:if>
Code:
<vb:if condition="$show['fb_likebutton']">
<table width="100%" border="0">
<tr>
<td>{vb:raw fblikebutton}</td>
<td align="right"><g:plusone size="medium"></g:plusone></td>
</tr>
</table>
</vb:if>
footer
Add to very end: Code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script> |
![]() |
|
|