The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
Add New Facebook "Like" Button to Threads and OpenGraph to Headinclude Automatically Details »» | |||||||||||||||||||||||||||||||
Add New Facebook "Like" Button to Threads and OpenGraph to Headinclude Automatically
Developer Last Online: Aug 2021
From The Open Graph Protocol :
Quote:
Quote:
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:
PHP Code:
PHP Code:
PHP Code:
PHP Code:
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 Facebook Application. 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: View Profile: kall - New Zealand Boards - Like for Member Profiles http://www.nzboards.com/the-lounge/r...on-sale-90544/ - Activity and Recommendation Streams in first and last post. (4.0.3 Version here: https://vborg.vbsupport.ru/showthread.php?t=242525) Download Now
Show Your Support
|
Comments |
#52
|
|||
|
|||
I try to show this button only in the first post without success. How can I do that?
|
#53
|
|||
|
|||
You could try wrapping it in this conditional, in the postbit or postbit_legacy templates, not sure if it can be called there or not though as I haven't tried it.
Code:
<if condition="$post['isfirstshown']">$ogfb_like_showthread</if> |
#54
|
|||
|
|||
Thanks.
I am just not able to put the like button any where else except in the showthread. It just dont show up. And it doesnt matter what I put in the plugin "OpenGraph/Facebook Integration - SHOWTHREAD variables". I can switch it to whatever I want (postbit_start e.g.) it still shows up in showthread but not in postbit_legacy. Weird. |
#55
|
|||
|
|||
Quote:
There'll be a way round this, I'm just not sure what it is. |
#56
|
|||
|
|||
Installed and works great I just wondered if there is any to get a list of all the "liked" threads somehow in FB.
Insights doesn't like my site application right now, or maybe that's because it hasn't been used enough? |
#57
|
|||
|
|||
What's the difference between this? http://developers.facebook.com/docs/.../plugins/like/
|
#58
|
|||
|
|||
Very cool, any updates on this? In you original post, how did you get the fully custom profile page seen here? http://www.nzboards.com/members/kall/
I would like to set that up for www.NJStangers.org since I already have the Facebook Login bridge going. Thanks! |
#59
|
|||
|
|||
Quote:
any workaround guys to make it work in postbit_legacy??? Thanks |
#60
|
|||
|
|||
Can anyone explain to me or help me fix why after you "like" a post when I visit Facebook it has some random image next to it on my wall?
Sometimes it grabs a smiley face, or some random icon placed on my site. Is there a way to make the image the same? |
#61
|
|||
|
|||
nvm, got that sorted.
Now I am a little undecided on where this button needs to go. Anyone have some examples of where you guys have your button with this hack? If you do, could you post which template and the code where you integrated it? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|