Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Facebook / Open Graph (og:description) / (og:title) tag fixes for VB 4.1.10+ by BOP5 Details »
Facebook / Open Graph (og:description) / (og:title) tag fixes for VB 4.1.10+ by BOP5
Mod Version: 1.2.0, by BirdOPrey5 (IB Staff) BirdOPrey5 is offline
Developer Last Online: Jul 2019 I like it Show Printable Version Email this Page

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

Brought to you by BirdOPrey5 / Qapla.com.

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/en...ckbuster-Video
Thread Demo: http://www.totallycommercials.com/sh...how-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 Now

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

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.
Similar Mod
Mod Developer Type Replies Last Post
Integration with vBulletin More Open Graph Images (Free) by BOP5 BirdOPrey5 vBulletin 4.x Add-ons 76 22 Mar 2019 19:29

  #31  
Old 19 Jan 2014, 07:22
Gripi Gripi is offline
 
Join Date: Jul 2009
Originally Posted by sv1cec View Post
Have you switched on the Facebook options, in the Options/Facebook Admin page?
Yes.. switched on

Originally Posted by BirdOPrey5 View Post
Please post or PM a link to a thread on your site.
PM-ed.. thank you.

Originally Posted by ozzy47 View Post
Joe if it is [OzzModz] First Post On All Pages Per Thread/Forum let me know.

Gripi, are you using the Atakan one, or mine? Separate Sticky and Normal Threads
Hello..

I already disable the "[OzzModz] First Post On All Pages Per Thread/Forum", but still blank.

And i use the Atakan for the Separate Sticky and Normal Threads
Reply With Quote
  #32  
Old 19 Jan 2014, 09:46
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Real name: Chris
Ok glad top hear it is not a conflict with one of my mods, hopefully Bop5 will figure it out for you.
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! ​ OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others.
Reply With Quote
  #33  
Old 05 Apr 2014, 06:29
jb-net jb-net is offline
 
Join Date: Jul 2003
Thanks for your great work!

Is there a way to integrate the metatags without having to activate facebook in the AdminCP and enter an FB App ID?
Reply With Quote
  #34  
Old 05 Apr 2014, 08:53
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Not with this mod.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #35  
Old 11 Sep 2014, 05:57
rkhyd rkhyd is offline
 
Join Date: Nov 2009
Great.. fixed the problem for me..donated some $

Last edited by rkhyd; 13 Sep 2014 at 01:21.
Reply With Quote
  #36  
Old 21 Oct 2014, 08:41
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
do we still need this mod ?? because there a lot of facebook fixes all around here!
__________________
Shoot me a PM if I didn't reply in your post when you needed help. I can't remember things easily
Reply With Quote
  #37  
Old 19 Nov 2014, 07:15
VHLinks VHLinks is offline
 
Join Date: Jan 2005
Originally Posted by BirdOPrey5 View Post
Do you by chance have installed VSa - Forums Online CountUp installed?- I found out recently that mod causes such problems with the Facebook Open Graph array.
Just curious if we ever found a work around for this?
Reply With Quote
  #38  
Old 20 Nov 2014, 11:55
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
No. Sorry.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #39  
Old 14 May 2015, 20:17
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
Hi there I have a question. Is there a way to integrate this with the mobile style? I see the facebook "like" button vb natively installs but for whatever reason this mod doesn't seem to add the sharing options to the mobile style. Thats an issue for me because 64% of my traffic is mobile.
__________________
Casting Calls for Models, Actors, And Other Talent
http://MyModelTalk.com
Reply With Quote
  #40  
Old 14 May 2015, 23:17
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
Originally Posted by mykkal View Post
Hi there I have a question. Is there a way to integrate this with the mobile style? I see the facebook "like" button vb natively installs but for whatever reason this mod doesn't seem to add the sharing options to the mobile style. Thats an issue for me because 64% of my traffic is mobile.
Are you sure? This mod just adds more details to the open graph tags in the header (doesn't add sharing options...) and those tags do indeed work in the mobile style on my test site.

Example random link to a random thread and mobile style: http://www.qapla.com/mods/showthread...but?styleid=13

If you look at the source of the page all the og tags are there with the relevant title and descriptions.

Maybe you are thinking of my More Sharing Options TNG mod?
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #41  
Old 14 May 2015, 23:33
mykkal's Avatar
mykkal mykkal is offline
 
Join Date: May 2007
Real name: Mike McKoy
Originally Posted by BirdOPrey5 View Post
Are you sure? This mod just adds more details to the open graph tags in the header (doesn't add sharing options...) and those tags do indeed work in the mobile style on my test site.

Example random link to a random thread and mobile style: http://www.qapla.com/mods/showthread...but?styleid=13

If you look at the source of the page all the og tags are there with the relevant title and descriptions.

Maybe you are thinking of my More Sharing Options TNG mod?
Yes I was... i apologize. I will immediately post in the thread for that thread.
__________________
Casting Calls for Models, Actors, And Other Talent
http://MyModelTalk.com
Reply With Quote
  #42  
Old 02 Jan 2016, 23:15
Crispin Proctor Crispin Proctor is offline
 
Join Date: Sep 2012
This did not work for me as it conflicted with another plugin (VsaBanners). I see other's had the same problem but with other plugins.

The fault is not with this plugin but with the other plugins which use globacl_start as hook and call vB_Template::Create. This causes the template to rerender which then breaks things.

Seeing as global_start is depreciated the tip was to change the bad plugin to use parse_templates which I did and everything worked!


thanks for the plugin - makes for better OG details.
Reply With Quote
  #43  
Old 05 May 2017, 21:05
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Hi, for this topic :
http://forum-elodiefrege.com/mediath...ai-2017-a.html

og:description become :

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

instead of:

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

How to fix that please

(see attachment please or directly on my link because it does not paste correctly here)
Attached Images
File Type: png iio.png (8.8 KB, 6 views)
__________________
sorry for my bad english

Last edited by elsa23; 05 May 2017 at 21:16.
Reply With Quote
  #44  
Old 06 May 2017, 09:49
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
 
Join Date: Jun 2008
Real name: Joe D.
I'm sorry but I don't have any way to test on non-English languages. The functions used likely aren't multibyte character compatible.
__________________
-Joe
Former vBulletin.org Staff Member

(@BirdOPrey5) Former vb.org Moderator. Fighting for a free & independent vb.org.
BirdOPrey5.com - Exclusive VB Mods! (Formerly Qapla.com) | Joe's Ultimate Off Topic
Note - I do not read my PMs often, do not expect quick replies.
Reply With Quote
  #45  
Old 06 May 2017, 12:32
elsa23's Avatar
elsa23 elsa23 is offline
 
Join Date: Dec 2014
Originally Posted by BirdOPrey5 View Post
I'm sorry but I don't have any way to test on non-English languages. The functions used likely aren't multibyte character compatible.
I reactivated english language, you can take a look please
__________________
sorry for my bad english
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 06:02.

Layout Options | Width: Wide Color: