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 - More Open Graph Images (Free) by BOP5 (https://vborg.vbsupport.ru/showthread.php?t=300221)

BirdOPrey5 08-12-2017 01:53 PM

The default image if there are no other images is set in the Admin CP -> Settings => Options -> Facebook Settings

chikuru 08-13-2017 03:51 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2589308)
The default image if there are no other images is set in the Admin CP -> Settings => Options -> Facebook Settings

Hmm, looks like that doesnt work. If theres no image, the image that appear is one of the image from the theme

BirdOPrey5 08-14-2017 08:31 PM

Does the image show up in the open graph codes in the source code of the page? If it does then perhaps Facebook simply hasn't cleared its cache or doesn't like the image you chose (too small, too big, too wide or tall, etc...) Google "Facebook Debugger" and use that to check what Facebook is seeing. You can also force Facebook to re-scrape the page.

ikymbo 02-27-2018 11:47 PM

Why doesnt works with https images?

bmwfans 10-10-2018 03:00 PM

Perfect!!! Thank you very much, works great on 4.2.3!!!!

bmwfans 03-22-2019 05:48 PM

Quote:

Originally Posted by VICOS (Post 2574727)
I just confirmed this issue when using SSL for your forum. The FB debugger loses it mind and FB actual refuses to see the images.

As soon as I comment out ":secure_url" in the plugin, FB debugger is happy and FB actual sees ALL images and lets you choose which one you want.

It even works when using attachment images, i.e. the image url is:

attachment.php?attachmentid=###

BTW, I am using vB 4.2.3 PL2.

Quote:

Originally Posted by ikymbo (Post 2593185)
Why doesnt works with https images?

Unfortunately the same here! We recently applied SSL and with https the issue came up!
Any suggestions? :confused:

bmwfans 03-22-2019 06:29 PM

With the following modification on the plugin, now everything seems OK again :)

previously:
Code:

  if(strtolower(substr($thisimg, 0, 5)) == 'https') //If https site
      $secure_og = 'secure_url';
    else
      $secure_og = '';

    $bop5_og_tags .= "<meta property=\"og:image$secure_og\" content=\"$thisimg\" />\r\n";

now:
Code:

if(strtolower(substr($thisimg, 0, 5)) == 'https') //If https site
      $secure_og = 'secure_url';
    else
      $secure_og = '';

      $bop5_og_tags .= "<meta property=\"og:image\" content=\"$thisimg\" />\r\n<meta property=\"og:image$secure_og\" content=\"$thisimg\" />\r\n";



All times are GMT. The time now is 04:56 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.01088 seconds
  • Memory Usage 1,729KB
  • 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
  • (2)bbcode_code_printable
  • (3)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
  • (7)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