Back to vBulletin 4.x Template Modifications

Best Way To Show Google +1 In Forum
Mod Version: 1.00, by VBIran

vB Version: 4.1.4 Rating: (1 vote - 5.00 average) Installs: 10
Released: 14 Jun 2011 Last Update: Never Downloads: 0
Not Supported Code Changes  

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 : https://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>
Step 2 :

First put
Code:
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
In headinclude template After this code
Code:
<script type="text/javascript" src="{vb:raw vboptions.bburl}/clientscript/vbulletin-core.js?v={vb:raw vboptions.simpleversion}"></script>
Step 3 :

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>
You'r Done .

If you enjoy this quick mod .

Good luck

Download

No files for download.


vblts.ru supports vBulletin®, 2022-2024