Back to vBulletin 4.x Add-ons

Facebook / Open Graph (og:description) / (og:title) tag fixes for VB 4.1.10+ by BOP5
Mod Version: 1.2.0, by BirdOPrey5

vB Version: 4.1.10 Rating: (10 votes - 5.00 average) Installs: 69
Released: 29 Nov 2013 Last Update: 11 Dec 2013 Downloads: 339
Not Supported Uses Plugins  

Brought to you byhttp://www.qapla.com/mods/.

For some reason vBulletin 4.x does not use the thread's meta description when populating the open graph "description" tag that is read by Facebook and other social networking sites. Instead by default vBulletin uses your site default meta description that is set in Admin CP -> Settings -> Options -> Site Name / URL / Contact Details.

This default description is usually very generic whereas the thread description is the first few sentences of the thread and therefore usually far more useful to describe the page actually being shared than your generic site description.

Also even with the Facebook Platform enabled vBulletin doesn't provide an open graph title tag at all- while in practice this isn't a big deal as Facebook will default to the page title, as a matter of good practice it should be explicitly provided.

This mod fixes both issues. It will override the generic description with the thread's meta description which is based on the text of the first post. It also adds an explicit og:title tag.

New In Version 1.2.0 - The mod now also greatly improves the open graph tag description tag for blog entries. By default the description tag is the blog title followed by the username of the blog poster. With this mod the description becomes up to a 300 character preview of the actual blog entry instead. And the open graph title tag provided takes the form of blog title Posted By username.

Blog Demo: http://www.totallycommercials.com/entry.php?2-Farewell-Blockbuster-Video
Thread Demo: http://www.totallycommercials.com/showthread.php?55-CreditKarma-com-Gameshow-Commercial
(View page source or better yet, share on Facebook to see the differences. )

This mod is only for people with VB 4.1.10 or higher and only if you have the Facebook Platform enabled in your settings. It will do nothing if both of those do not apply to you.

There are no settings- just install the product and the mod is active.

To see the difference use the Facebook Debugger to look at the content scraped off a thread page before and after instillation-
Facebook Debugger is here: https://developers.facebook.com/tools/debug

------------------------------------------------------

Please "Mark as Installed" if you use this.
Donations always appreciated.
Nominate MOTM if you LOVE it!

Download

File Type: %1$s product-ogdescriptitlegfixbop5.xml (1.8 KB, 318 downloads)

Similar Mods

Integration with vBulletin More Open Graph Images (Free) by BOP5 vBulletin 4.x Add-ons

vblts.ru supports vBulletin®, 2022-2024