![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Add New Facebook "Like" Button and Social Plugins (and OpenGraph to Headinclude)
![]() Developer Last Online: Sep 2016 ![]() ![]() ![]()
This modification will add OpenGraph tags to all pages, adding your Content pages to the Open Graph, along with the Facebook 'Like Button' under the navbar for all 'Content' pages.
What does this mean? If you have a Facebook Profile you may have noticed the new layout, where things that you 'like' are arranged by 'type'. Adding OpenGraph tags ensures you will have your pages properly classified and included. From The Open Graph Protocol :
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 whichever Templates you wish to have all Features (OpenGraph), you need to add the xmlns to the head. ie:, find:
Replace with:
(If there is a way to do this with plugins that wont cause major issues, someone tell me so I can make it happen that way. ![]() Titles These should be part of the meta tag template that gets plugged in, but figuring out how to pass these variables is lower priority to getting this modification stable, so you need to add them in the templates. ie: in SHOWTHREAD, find:
Add under:
in FORUMDISPLAY, find:
Add under:
in MEMBERINFO, find:
Add under:
To add the Like Button, in navbar, find:
add under:
For sites running any form of Facebook Connect - You must use iFrame Due to the new SDK not yet having Connect, and the 2 flavours of FB not mixing with each other, if you want to use Connect, you have to forgo the extra features of the SDK version that this modification ships with. 0.7 now has logic to show either or, depending on whether you have vB's native FB Connect turned on. If you don't want to upload to v0.7+ (or are using YAFB or another Connect), replace the content of fbog_like_showthread with:
Configuration Instructions 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 - API Key - The API Key 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 to be referenced in the Open Graph. New in Latest Version Activity Stream -
Find:
Replace with:
Demo of how they will look: http://www.nzboards.com/the-lounge/r...on-sale-90544/ Changelog. 0.7 - 19.05.2010 "Recommendations actually works, and iFrame version for Connect Users" Version. 0.6 - 18.05.2010 "Removing extra, unnecessary code" Version. 0.5 - 16.05.2010 "Activity and Recommendations" Version. 0.4 - 16.05.2010 "Content Pages" Version. Both plugins moved to parse_templates so as to work on CMS (and to futureproof?) 0.3 - Unreleased "Content Pages.. but not CMS? It's CALLED content for God's sake! Ahh. global_start isn't called on the CMS." Version. 0.2 - Unreleased "Why won't it work on the bloody.. oh, I was changing plugins on the vbseo site version. Lets just throw everything into all the plugins and cross our fingers" Version. 0.1 - 15.05.2010 Initial Release. Works on Showthread only 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. Download Now Only licensed members can download files, Click Here for more information. Screenshots Show Your Support
No members have liked this post.
|
Comments |
#2
|
||||
|
||||
vBSEO Owners - there's a small issue with the standard version of this Modification. I will release a vBSEO compatible version over at vBSEO.com later.
![]()
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#3
|
|||
|
|||
Wow this is a mod you must have. Thanks.
No members have liked this post.
|
#4
|
||||
|
||||
It this not going to be default in vb4.0.4?
thanks for taking the time, but I just feel it will be here in less then a month.
__________________
Gamerz Needs - For All Your Gaming Needs! No members have liked this post.
|
#5
|
||||
|
||||
Originally Posted by hornstar1337
Yeah? Source? ![]()
![]()
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#6
|
|||
|
|||
With the introduction of the Facebook Connect in vBulletin was announced new features would come later, nothing was pointed about those changes so far, i believe few tweaks like this may be added but so far there is no info about that or any other change.
No members have liked this post.
|
#7
|
||||
|
||||
Downloaded and Installed.
Working apart from ( dont really understand how it appears ) the Activity and Recommendation Streams in first and last post
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#8
|
||||
|
||||
I like the comment part, otherwise I don't see much difference in the other version. (example here)
It's good to see new releases Kall ![]()
__________________
No members have liked this post.
|
#9
|
||||
|
||||
In fact we had Facebook connect disabled.
Soon as I re-enabled it, this modification stopped working
__________________
![]() My Hacks [ click ] | Steve ~ Administrator for British Expats AustraliaBound.org/forum | Test our forum - user; don pass; pass123 Sports Tipping Mod - coming February 2010 ~ Show your Interest ! No members have liked this post.
|
#10
|
||||
|
||||
Originally Posted by TimberFloorAu
YAFB or the default one?![]()
@comments about the activity streams - They're under the 'What's Next' for a reason.. ![]()
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#11
|
||||
|
||||
Originally Posted by Loco.M
Well, for starters, I'm not seeing any OpenGraph meta tags at all on your page.![]()
(That, and the fact that this is an Options-controlled automatic template insertion..and at last look, the other one was the iframe version. :P )
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#12
|
||||
|
||||
![]()
Originally Posted by kall
I didn't notice this was for 4.0 either..lol do you have a 3.8 version by chance ![]()
![]()
__________________
No members have liked this post.
|
#13
|
||||
|
||||
I suppose I could make one, for you.
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
#14
|
||||
|
||||
This is awesome! I am with Loco.M on a request for a 3.8 version please!
No members have liked this post.
|
#15
|
||||
|
||||
Well. Not quite 'popular' demand, but 2 is enough for me.
http://www.vbulletin.org/forum/showthread.php?t=242536 ![]()
__________________
vBulletin Styles (All styles compatible with 3.8.4 - Steel Blue 4.0 Available) | vBulletin Hosting No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 13:59.