Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Nexia's OpenGraph Protocol Inserts Details »
Nexia's OpenGraph Protocol Inserts
Mod Version: 1.0.0, by vbenhancer (Coder) vbenhancer is offline
Developer Last Online: Nov 2012 I like it Show Printable Version Email this Page

vB Version: 4.x.x Rating: (3 votes - 5.00 average) Installs: 31
Released: 09 Apr 2012 Last Update: Never Downloads: 176
Not Supported Uses Plugins  

Add OpenGraph Metadata Details for each pages you browse on your site, so search engines and social networks like facebook are able to parse your pages more efficiently.

##############################################
# what is opengraph protocol:

The Open Graph protocol enables any web page to become a rich object in a social graph. For instance, this is used on Facebook to allow any web page to have the same functionality as any other object on Facebook.


##############################################
# exemple of result on version 1.0.0. this piece of code is auto-inserted in the meta data of all your vBulletin pages to help facebook and other engines to recognise your content.


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

you can see the result on the screenshot... facebook is able to grab the proper information, even if you did not activate any facebook plugin... because opengraph is not only about facebook, it is also about Google and other search engines that now use this protocol... and many social networks!

http://ogp.me/

##############################################
# how to install the product?

Import the Product file included in the /IMPORT_PRODUCT/ folder.

go to the AdminCP >> vBulletin Options >> Nexia's OpenGraph Protocol

and fill the infos... it is recommanded to add a OG:IMAGE to identify your site in a thumbnail.

##############################################
# To-do-list:

- add thumbnail of first attached image in thread to replace OG:IMAGE by default
- add a choice of site type, in the options
- filter attachments for display videos, images and audio in social networks

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	nex_opengraph_on_fb.jpg
Views:	565
Size:	25.6 KB
ID:	137629  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
  #16  
Old 23 Aug 2012, 22:44
Blueracer66's Avatar
Blueracer66 Blueracer66 is offline
 
Join Date: Sep 2008
Real name: Kevin
I wonder is this would work on 3.8.7. I need something like this...
__________________
AllConsoleGamers™ All-Console Pro Gaming Community™ (beta)
Reply With Quote
  #17  
Old 24 Aug 2012, 02:58
vbenhancer's Avatar
vbenhancer vbenhancer is offline
 
Join Date: Dec 2009
Real name: nexia
the version i'll update on sunday will be 3.8.x... right now i posted the 4.0 version due to the demand... now it is complete, so i'll add the 3.x support...
Reply With Quote
  #18  
Old 24 Aug 2012, 04:47
Blueracer66's Avatar
Blueracer66 Blueracer66 is offline
 
Join Date: Sep 2008
Real name: Kevin
Thumbs up +1

Originally Posted by vbenhancer View Post
the version i'll update on sunday will be 3.8.x... right now i posted the 4.0 version due to the demand... now it is complete, so i'll add the 3.x support...
Nice, I can't wait to install this! Thank you!
__________________
AllConsoleGamers™ All-Console Pro Gaming Community™ (beta)
Reply With Quote
  #19  
Old 04 Sep 2012, 23:18
Blueracer66's Avatar
Blueracer66 Blueracer66 is offline
 
Join Date: Sep 2008
Real name: Kevin
Sorry to bump this but I really need this. I gave up doing it myself!
__________________
AllConsoleGamers™ All-Console Pro Gaming Community™ (beta)
Reply With Quote
  #20  
Old 15 Jan 2013, 15:45
Waiter Waiter is offline
 
Join Date: Mar 2008
Excuseme, but the tag OG:IMAGE not work correctly. In a post are more image, update by Vbulletin Attach Tool, but whend load the page in the OG:IMAGE that's the Default image...why?
Reply With Quote
  #21  
Old 24 Apr 2013, 23:57
tuRiver's Avatar
tuRiver tuRiver is offline
 
Join Date: Mar 2009
Real name: Matํas
Is it possible to overwrite vbulletin's default opengraph?
Reply With Quote
  #22  
Old 16 May 2016, 04:19
GHRake GHRake is offline
 
Join Date: Sep 2015
Real name: Anomander Rake
This still works well, I've just incorporated it on my forum. It does not pull images from the thread, but it will use a default image. Facebook says the image should be 1200x630 but it was getting cut off so 1170x630 seems to work better for me...

I'm using this in conjuction with this mod:
Easiest way to add Social Bookmarks on Thread

You can read the Open Graphics Protocol documentation


You can also go to https://www.facebook.com/insights and get insights for your domain and connect those insights to your facebook page along with connecting to a facebook app. You can incorporate this into this plugin, editting the .xml file before importing and find:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Include 2 more elements to this array:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace YOUR_APP_ID and YOUR_ADMIN_ID with whatever you get from FaceBook.

Then test your markup here:
https://developers.facebook.com/tools/debug/sharing/

Maybe someone knows how to parse the thread text and pull the first hotlinked image or embedded youtube video?

This is what my final product looks like:


And here's a nice bonus: Google+ picks up the OG meta tags as well w00t

Last edited by GHRake; 16 May 2016 at 04:27.
Reply With Quote
  #23  
Old 26 Dec 2018, 13:33
masterross's Avatar
masterross masterross is offline
 
Join Date: Dec 2005
Perfect mod!
I combined with https://www.vbulletin.org/forum/showthread.php?t=300221
to get the thread's image.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 04:54.

Layout Options | Width: Wide Color: