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)
-   -   Integration with vBulletin - Nexia's OpenGraph Protocol Inserts (https://vborg.vbsupport.ru/showthread.php?t=281290)

vbenhancer 04-08-2012 10:00 PM

Nexia's OpenGraph Protocol Inserts
 
1 Attachment(s)
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.

HTML Code:

<meta property="og:site_name" content="Les Forums Smalah" />
<meta property="og:description" content="smalah, le r?seau social unique des grandes familles du Qu?bec" />
<meta property="og:title" content="La Smalah, une d?finition" />
<meta property="og:url" content="http://smalah.com/showthread.php?9-La-Smalah-une-définition" />
<meta property="og:image" content="http://smalah.com/_style_smalah/logosquare.jpg" />
<meta property="og:type" content="article" />

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

vbenhancer 04-09-2012 01:11 AM

this product is not interfering with the actual Facebook product inside vBulletin, it is adding more precise information if needed.

puertoblack2003 04-09-2012 01:14 AM

nice nexia you always produce good mods... gonna check this out :up:

Hornstar 04-09-2012 07:10 AM

Thanks. Looks like a useful addition.

faisaly.com 04-09-2012 06:10 PM

Can't wait for the next update so the first image will post to facebook.. been having this problem for awhile now...

sweetpotato 04-11-2012 03:58 PM

Installed, It's seem to be so nice mod
Thanks,

Emeralda 04-11-2012 04:14 PM

You only need to fill the OG:IMAGE, right? Everything else is added automatically? Because it's the only option I see. And what's the recommended (default) size of the image?

vbenhancer 04-11-2012 04:34 PM

Quote:

Originally Posted by Emeralda (Post 2319113)
You only need to fill the OG:IMAGE, right? Everything else is added automatically? Because it's the only option I see. And what's the recommended (default) size of the image?

exactly, only that setting... the other features will be added in a different release...

there is no recommanded images anymore... in the past, a max of 250x250 was suggested, but facebook and google now resize these images, so no more trouble... :)

Kraxell 04-11-2012 05:49 PM

Hello,

one question:
If i "like" a topic, then it show the forum-discription on facebook. Is this mod for showing thread-content?

vbenhancer 04-11-2012 07:09 PM

that's what is planned for the update, as right now it is not parsing the first post to show in the description, sorry...


All times are GMT. The time now is 11:13 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.01063 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)bbcode_html_printable
  • (1)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