Add New Facebook "Like" Button to Threads and OpenGraph to Headinclude Automatically
From http://opengraphprotocol.org/ :
Install Instructions: AdminCP - Plugins & Products - Manage Products - [Add/Import Product] , browse to the location of the .xml file you downloaded from this thread, Import it. Template Modifications In SHOWTHREAD, find: PHP Code:
<html xmlns="http://www.w3.org/1999/xhtml" dir="$stylevar[textdirection]"
PHP Code:
<html xmlns="http://www.w3.org/1999/xhtml" <if condition="$vboptions['ogfb_onoff']">xmlns:fb="http://www.facebook.com/2008/fbml" xmlns:og="http://opengraphprotocol.org/schema/" </if>dir="$stylevar[textdirection]"
PHP Code:
$headinclude
PHP Code:
$ogfb_metadata
PHP Code:
$ogfb_like_showthread
AdminCP - Settings - Options - Opengraph/Facebook Integration Global On/Off - Set to Yes to turn the system on. FB - Page Admins - A comma-separated list of the Facebook IDs of the Admins of your pages on Facebook. FB - App ID - The application ID of your https://www.facebook.com/developers/apps.php. OG - Site Name - A short, human-readable name for your site that will appear in the Like on the User's Facebook Activity Stream. It is important to fill in these, as they are used by FB to fill in some of the information, and allows your pages (Showthread at the moment) to be referenced in the Open Graph. What's Next? This is an early beta release to gauge the interest in Open Graph/Facebook type stuff. I intend to add the tags to other pages, and implement some of the other Facebook Social Plugins. These will all be On/Off configurable. Some can be seen in action at: http://www.nzboards.com/members/kall/ - Like for Member Profiles http://www.nzboards.com/the-lounge/rwc-tickets-are-on-sale-90544/ - Activity and Recommendation Streams in first and last post. (4.0.3 Version here: Add New Facebook "Like" Button and Social Plugins (and OpenGraph to Headinclude)) Download
product-nzb_fbopengraph-3.8-v0.2.1.xml (4.7 KB, 209 downloads) |
Similar Mods
Integration with vBulletin Add New Facebook "Like" Button and Social Plugins (and OpenGraph to Headinclude) | vBulletin 4.x Add-ons |