vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Show Thread Enhancements - Google +1 Button for vBulletin (https://vborg.vbsupport.ru/showthread.php?t=264619)

ngphuc2k 08-24-2011 07:31 AM

I would add google + button for title CMS Vbulletin.
Help me

Gn_Snake 08-30-2011 11:39 AM

The button has stopped working, perhaps with the upgrade vbulletin?

I have 4.1.5 patch level 1

doctorsexy 09-06-2011 06:18 PM

Working on my 4.1.5

sevak 02-03-2012 08:28 AM

done as you mentioned below [title] in postbit_legecy i paste the link but nothing happened...:(

Toorak Times 02-06-2012 05:16 PM

Thanks mate, worked a treat! Sent my first G+ straight away

Mopar1973Man 03-27-2012 10:51 PM

I put a slight twist on this to fit vB 4.1.11

First off the css...

Find the postbit.css template

Find this line...

Code:

/* CSS Document */
Add below...

Code:

/* google plus one button*/
#plus-one {     
        float: right;
        top: -5px;
        position: relative;
}

Then go find the postbit template.

Find...

Code:

<vb:if condition="$show['messageicon']"><img src="{vb:raw post.iconpath}" alt="{vb:raw post.icontitle}" /> </vb:if>{vb:raw post.title}
Below...

Code:

<vb:if condition="$post['isfirstshown']">
<div id="plus-one"><g:plusone></g:plusone></div>
</vb:if>

This will produce a single Google +1 tag on the first post.

https://vborg.vbsupport.ru/external/2012/03/9.jpg

Basically the same thing but slightly tweaked...:D

parveznpt 10-25-2012 10:03 AM

1 Attachment(s)
Thanks...............Brother

https://vborg.vbsupport.ru/attachmen...1&d=1351163510
http://www.pakians.com/forum.php

JAFRI 10-31-2012 02:08 PM

nice work...

Code:


<div style="float: right; padding: 0px 0px 0px 0px;">
<!-- Place this tag in your head or just before your close body tag -->
<script type="text/javascript" src="http://apis.google.com/js/plusone.js"></script>
<!-- Place this tag where you want the +1 button to render -->
<g:plusone></g:plusone></div>

and this too.

Code:

.bbcode_container {
    margin: 30px 20px 20px;
}



All times are GMT. The time now is 05:35 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00939 seconds
  • Memory Usage 1,727KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (6)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete