![]() |
|
Mod Options |
![]() |
|||||||||||
Facebook / Open Graph (og:description) / (og:title) tag fixes for VB 4.1.10+ by BOP5
![]() Developer Last Online: Apr 2022 ![]() ![]() ![]()
![]() 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
|
![]() |
||||
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
|
|||
|
|||
Originally Posted by sv1cec
Yes.. switched on![]()
PM-ed.. thank you.
Originally Posted by ozzy47
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 No members have liked this post.
|
#32
|
||||
|
||||
Ok glad top hear it is not a conflict with one of my mods, hopefully Bop5 will figure it out for you.
No members have liked this post.
|
#33
|
|||
|
|||
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? No members have liked this post.
|
#34
|
||||
|
||||
Not with this mod.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#35
|
|||
|
|||
Great.. fixed the problem for me..donated some $
![]() The following members like this post: BirdOPrey5
Last edited by rkhyd; 13 Sep 2014 at 01:21. |
#36
|
|||
|
|||
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 ![]() No members have liked this post.
|
#37
|
|||
|
|||
Just curious if we ever found a work around for this?
No members have liked this post.
|
#38
|
||||
|
||||
No. Sorry.
__________________
-Joe Former vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#39
|
||||
|
||||
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.
No members have liked this post.
|
#40
|
||||
|
||||
Originally Posted by mykkal
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 vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#41
|
||||
|
||||
Originally Posted by BirdOPrey5
Yes I was... i apologize. I will immediately post in the thread for that thread.
![]()
No members have liked this post.
|
#42
|
|||
|
|||
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. ![]() The following members like this post: BirdOPrey5
|
#43
|
||||||||
|
||||||||
Hi, for this topic :
http://forum-elodiefrege.com/mediath...ai-2017-a.html og:description become :
instead of:
How to fix that please (see attachment please or directly on my link because it does not paste correctly here)
__________________
sorry for my bad english No members have liked this post.
Last edited by elsa23; 05 May 2017 at 21:16. |
#44
|
||||
|
||||
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 vb.org Moderator. Retired. @BirdOPrey5 | All Things BOP5 | Joe's Ultimate Off Topic Note - I no longer making new VB mods, sorry. No members have liked this post.
|
#45
|
||||
|
||||
I reactivated english language, you can take a look please
__________________
sorry for my bad english 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 03:36.