Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Google Plusone Button [Thread, CMS and BLOG] Details »»
Google Plusone Button [Thread, CMS and BLOG]
Version: 1.0, by QuocBaoNet QuocBaoNet is offline
Developer Last Online: Jan 2018 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.1.4 Rating:
Released: 07-09-2011 Last Update: 07-10-2011 Installs: 37
Uses Plugins Auto-Templates
 
No support by the author.

Info:

Mod automatically add the Google plusone button (in Thread, CMS and BLOG) for the vBB 4.x

Mod Options (ACP):
  1. On Off mod
  2. On Off in in: Thread, CMS, BLOG
  3. Options Excluded Forums
  4. Options button sizes
Install:

1. Import XML

History:

1.0
- First release for 4.1.4

Downloads :

In Attachments

Download Now

File Type: xml google_plusone.xml (8.6 KB, 194 views)

Screenshots

File Type: png Thread.png (30.4 KB, 0 views)
File Type: png CMS.png (17.7 KB, 0 views)
File Type: png Blog.png (64.8 KB, 0 views)
File Type: png ACP.png (43.8 KB, 0 views)

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
mohammadxxx

Comments
  #12  
Old 07-11-2011, 08:25 AM
Taggy Taggy is offline
 
Join Date: Jun 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ive just posted this fix in another mod but i will put it here as well.

When a user clicks the plus one button Google automatically redirects the javascipt from a http URL to a https URL which can add up to 5 seconds on a users page load time.

By changing

Code:
<script src=”http://apis.google.com/js/plusone.js” type=”text/javascript”></script>
To

Code:
<script src=”https://apis.google.com/js/plusone.js” type=”text/javascript”></script>
it will stop Google from making the redirect and shave valuable seconds of the page load time.
Reply With Quote
Благодарность от:
mohammadxxx
  #13  
Old 07-11-2011, 12:29 PM
QuocBaoNet's Avatar
QuocBaoNet QuocBaoNet is offline
 
Join Date: Jun 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Taggy View Post
Ive just posted this fix in another mod but i will put it here as well.

When a user clicks the plus one button Google automatically redirects the javascipt from a http URL to a https URL which can add up to 5 seconds on a users page load time.

By changing

Code:
<script src=?http://apis.google.com/js/plusone.js? type=?text/javascript?></script>
To

Code:
<script src=?https://apis.google.com/js/plusone.js? type=?text/javascript?></script>
it will stop Google from making the redirect and shave valuable seconds of the page load time.
Thank you but I don't think so.
1. The code:
Code:
<script src=?http://apis.google.com/js/plusone.js? type=?text/javascript?></script>
provided by Google.

2. The button it is located on a frame and this frame has url is https://plusone.google.com/u/0/_/+1/button....
Reply With Quote
  #14  
Old 07-11-2011, 12:36 PM
QuocBaoNet's Avatar
QuocBaoNet QuocBaoNet is offline
 
Join Date: Jun 2010
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AURFSCAN View Post
useful for cms and blogs... thankyou.

just need ability to select which forum id's to insert into. Im doing threads manualy using

Code:
<vb:if condition="in_array($thread['forumid'],array(*,*,*))"><g:plusone size="small"></g:plusone></vb:if>
no point inserting plus1 into private forums
Updated, reinstall please
Reply With Quote
  #15  
Old 07-23-2011, 10:44 PM
nitra1000's Avatar
nitra1000 nitra1000 is offline
 
Join Date: Dec 2009
Location: uk
Posts: 312
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've noticed you've used my Plusone if statements to set the size, would you mind listing me as a co-author at least?

p.s Okay if I borrow your code in return?
Reply With Quote
  #16  
Old 07-24-2011, 04:03 AM
Randomm Randomm is offline
 
Join Date: Jul 2010
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sucks this wouldn't work on my forum (custom)
Great mod though
Reply With Quote
  #17  
Old 07-24-2011, 05:40 AM
AURFSCAN AURFSCAN is offline
 
Join Date: Dec 2007
Posts: 328
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by QuocBaoNet View Post
Updated, reinstall please
will do.. thankyou :up:
Reply With Quote
  #18  
Old 07-24-2011, 08:48 PM
caglar_berke caglar_berke is offline
 
Join Date: Jan 2009
Location: İstanbul
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

installed

thank you
Reply With Quote
  #19  
Old 08-02-2011, 06:24 PM
pokesph's Avatar
pokesph pokesph is offline
 
Join Date: Mar 2002
Location: Somewhere in Ilex Forest
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

any chance of you back-porting this to vB3.8.x?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:01 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04975 seconds
  • Memory Usage 2,321KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (6)bbcode_code
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (5)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete