vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Facebook Send Button and Google +1 (XML) (https://vborg.vbsupport.ru/showthread.php?t=263717)

LOGECT 05-15-2011 10:00 PM

Facebook Send Button and Google +1 (XML)
 
1 Attachment(s)
Info:

Add Facebook send button and Google +1 Button beside Facebook Like Button

Quote:

The Send Button allows your users to easily send your content to their friends. People will have the option to send your URL in an inbox message to their Facebook friends, to the group wall of any Facebook group they are a member of, and as an email to any email address. While the Like Button allows users to share your content with all of their friends, the Send Button allows them to send a private message to just a few friends.
Live Demo

To get this working don't forget to:
Enable Facebook like button option.
vbulletin options>facebook options>Like button xxx

Note:
Works with v 4.1.3 +


Screenshots:

https://vborg.vbsupport.ru/attachmen...1&d=1308248208



https://vborg.vbsupport.ru/attachmen...1&d=1308247806


Installation:

-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]

To set options:
Go to: vBulletin Options > LOGECT - Facebook Send Button and Google +1

Versions:
v1.1 16 June 2011 - Added Google +1 Button
v1.0 15 June 2011 ( XML )

elwachiman 05-16-2011 01:27 PM

installed tnks

Special Pages 05-16-2011 09:10 PM

Ummm doesn't work over here. LOL

LOGECT 05-17-2011 07:04 AM

Quote:

Originally Posted by Special Pages (Post 2196493)
Ummm doesn't work over here. LOL

Send Button Works only in (XFBML)

Quote:

There are two Like button implementations: XFBML and Iframe. The XFBML version is more versatile, but requires use of the JavaScript SDK. The XFBML dynamically re-sizes its height according to whether there are profile pictures to display, gives you the ability (through the Javascript library) to listen for like events so that you know in real time when a user clicks the Like button, and it always gives the user the ability to add an optional comment to the like. If users do add a comment, the story published back to Facebook is given more prominence.
I can see in your Page source that you are using Iframe.

Code:

<iframe id="fb_likeframe" src="{vb:raw href}&amp;layout=standard&amp;show_faces=false&amp;width=260&amp;action=like&amp;font=tahoma&amp;colorscheme=light&amp;height=27" scrolling="no" frameborder="0" allowTransparency="true"></iframe>
Upgrade to vb 4.1.3 or :

Open vbulletin_facebook.js in clientscript folder and search for :

Code:

xfbml:false
and change it with
Code:

xfbml:true

Krusty1231 05-17-2011 10:24 AM

Very handy - Thanks for this!

BlessedFWI 05-17-2011 10:47 AM

This is awesome...thanks!

BlessedFWI 05-17-2011 11:54 AM

Hmmmm, I tired sending a thread link to my Facebook page and it didn't show up. But it does show up when I send it to a group that I am in. :D Anyone else having a problem sending it to your wall?

BlessedFWI 05-17-2011 11:56 AM

OK, nevermind. It sends it as a PM...DUH! My bad! I LOVE IT!!!

Pvtiste 05-17-2011 12:23 PM

Excellent addon! Thanks for sharing :)
5 stars and installed!

cloferba 05-18-2011 01:55 AM

images doesnt show


All times are GMT. The time now is 07:03 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.01119 seconds
  • Memory Usage 1,738KB
  • 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
  • (3)bbcode_code_printable
  • (3)bbcode_quote_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
  • (10)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