rlaflamme
Forum Replies Created
-
Forum: Plugins
In reply to: [NextGEN Facebook] og:image size recognition issueThanks for the confirmation of the readings.
Regarding these issues, you’ll have to forgive my ignorance.
On the first one: how does one determine which attached images get pulled? It seems it’s based on order in the gallery or on the page. Is there a plugin or snippet that can control / alter the attachment order?
Regarding the second: how is it possible that an image could be unattached to the post but still be in the post? I assume that if the image, even if below the minimum, was shown as attached to the post, it would be a fix to that particular issue.
Forum: Plugins
In reply to: [NextGEN Facebook] og:image size recognition issueI’ll give G+ some time to rescour and go from there,
As for the inquiry over which images are selected, this is part of the debug code pull. This article has no featured image, so it goes out and gets 3 images (3 being the set variable). None are overtly rejected, but these are the final three images in the article post. The article itself has about 10. That’s where my assumption that after featured images it goes backwards:
ngfbPlugin :: setup_vars : calling add_image_size(ngfb-open-graph, 300, 300, false) ngfbPlugin :: setup_vars : HTML debug mode active: transient cache is disabled ngfbSocial :: get_js : exiting early: no buttons enabled ngfbDebug :: get_html : truncating debug log --> <!-- ngfb meta tags begin --> <!-- NGFB Open Graph+ debug from ngfbHead::html() Open Graph Array : Array ( [fb:admins] => [fb:app_id] => [og:locale] => en_US [og:site_name] => The Cardboard Republic [og:url] => https://www.cardboardrepublic.com/articles/variants/variant-chess [og:title] => The Cardboard RepublicVariant Chess [og:description] => Your move, Mr. Bond. Chess has been one of the foremost games of strategy and skill in the Western world for centuries. However, chess is partially defined by the fact that the stronger player will almost always win. There is no handicap built in, and there’s no application... [og:type] => article [article:author] => https://www.cardboardrepublic.com/author/nathan [article:publisher] => [article:tag] => Array ( ) [article:section] => [article:published_time] => 2013-11-06T02:00:37+00:00 [article:modified_time] => 2013-11-06T01:37:15+00:00 [og:video] => Array ( ) [og:image] => Array ( [0] => Array ( [og:image:cropped] => false [og:image:height] => 221 [og:image:width] => 300 [og:image] => https://www.cardboardrepublic.com/wp-content/uploads/2013/11/Spock-300x221.jpg ) [1] => Array ( [og:image:cropped] => false [og:image:height] => 300 [og:image:width] => 248 [og:image] => https://www.cardboardrepublic.com/wp-content/uploads/2013/11/knightmare-248x300.jpg ) [2] => Array ( [og:image:cropped] => false [og:image:height] => 210 [og:image:width] => 300 [og:image] => https://www.cardboardrepublic.com/wp-content/uploads/2013/11/four-300x210.jpg ) ) ) --> <!-- NGFB Open Graph+ debug from ngfbHead::html() Media URLs Found : Array ( [https://www.cardboardrepublic.com/wp-content/uploads/2013/11/Spock-300x221.jpg] => 1 [https://www.cardboardrepublic.com/wp-content/uploads/2013/11/knightmare-248x300.jpg] => 1 [https://www.cardboardrepublic.com/wp-content/uploads/2013/11/four-300x210.jpg] => 1 ) --> <meta name="generator" content="NGFB Open Graph+ 6.14.0-G" /> <link rel="author" href="https://www.cardboardrepublic.com/author/nathan" /> <meta property="og:locale" content="en_US" /> <meta property="og:url" content="https://www.cardboardrepublic.com/articles/variants/variant-chess" /> <meta property="og:description" content="Your move, Mr. Bond. Chess has been one of the foremost games of strategy and skill in the Western world for centuries. However, chess is partially defined by the fact that the stronger player will almost always win. There is no handicap built in, and there’s no application..." /> <meta property="og:type" content="article" /> <meta property="article:author" content="https://www.cardboardrepublic.com/author/nathan" /> <meta property="article:published_time" content="2013-11-06T02:00:37+00:00" /> <meta property="article:modified_time" content="2013-11-06T01:37:15+00:00" /> <!-- og:image:1 --><meta property="og:image" content="https://www.cardboardrepublic.com/wp-content/uploads/2013/11/Spock-300x221.jpg" /> <!-- og:image:1 --><meta property="og:image:height" content="221" /> <!-- og:image:1 --><meta property="og:image:width" content="300" /> <!-- og:image:2 --><meta property="og:image" content="https://www.cardboardrepublic.com/wp-content/uploads/2013/11/knightmare-248x300.jpg" /> <!-- og:image:2 --><meta property="og:image:height" content="300" /> <!-- og:image:2 --><meta property="og:image:width" content="248" /> <!-- og:image:3 --><meta property="og:image" content="https://www.cardboardrepublic.com/wp-content/uploads/2013/11/four-300x210.jpg" /> <!-- og:image:3 --><meta property="og:image:height" content="210" /> <!-- og:image:3 --><meta property="og:image:width" content="300" /> <meta name="description" content="Your move, Mr. Bond. Chess has been one of the foremost games of strategy and skill in the Western world for centuries. However, chess is partially..." /> <!-- ngfb meta tags end --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() NGFB Constants : NGFB_CACHEDIR = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/cache/ NGFB_CACHEURL = https://www.cardboardrepublic.com/wp-content/plugins/nextgen-facebook/cache/ NGFB_CURL_CAINFO = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/share/curl/cacert.pem NGFB_CURL_USERAGENT = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:18.0) Gecko/20100101 Firefox/18.0 NGFB_DEBUG_FILE_EXP = 300 NGFB_FILEPATH = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/nextgen-facebook.php NGFB_FOOTER_PRIORITY = 100 NGFB_HEAD_PRIORITY = 10 NGFB_INIT_PRIORITY = 12 NGFB_MAX_CACHE_HRS = 24 NGFB_MAX_IMG_OG = 20 NGFB_MAX_VID_OG = 20 NGFB_MENU_PRIORITY = 99.10 NGFB_META_NAME = _ngfb_meta NGFB_MIN_DESC_LEN = 156 NGFB_NONCE = ******** NGFB_OG_SIZE_NAME = ngfb-open-graph NGFB_OPTIONS_NAME = ngfb_options NGFB_PLUGINBASE = nextgen-facebook/nextgen-facebook.php NGFB_PLUGINDIR = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/ NGFB_SITE_OPTIONS_NAME = ngfb_site_options NGFB_SOCIAL_PRIORITY = 100 NGFB_TEXTDOM = nextgen-facebook NGFB_TRANSIENT_CACHE_DISABLE = 1 NGFB_URLPATH = https://www.cardboardrepublic.com/wp-content/plugins/nextgen-facebook/ --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() Available Features : aioseop = any_seo = aop = curl = 1 marketpress = mbdecnum = 1 ngg = postthumb = 1 seou = woocommerce = wpecommerce = wpseo = --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() Debug Log : ngfbHead :: add_header : is_archive() = false ngfbHead :: add_header : is_category() = false ngfbHead :: add_header : is_tag() = false ngfbHead :: add_header : is_home() = false ngfbHead :: add_header : is_search() = false ngfbHead :: add_header : is_singular() = true ngfbHead :: add_header : is_attachment() = false ngfbOpenGraph :: get : transient cache is disabled ngfbWebPage :: get_title : wp_title() = "The Cardboard RepublicVariant Chess | " ngfbWebPage :: get_description : use_post = false ngfbWebPage :: get_description : is_singular() = true ngfbWebPage :: get_description : has_excerpt() = false ngfbWebPage :: get_content : using content from post id 5329 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5329_filtered) ngfbSocial :: remove_filter : filter_the_content() removed = true ngfbWebPage :: get_content : calling apply_filters() ngfbSocial :: add_filter : filter_the_content() added ngfbWebPage :: get_content : content strlen() before = 22939, after = 23661 ngfbWebPage :: get_content : object cache: filtered content saved to wp_cache ngfb_c515f1732ab8d33b0bcf5e37f2502f7a (60 seconds) ngfbMedia :: get_meta_video : args (num = 1, post_id = 5329, check_dupes = true) ngfbMedia :: get_content_videos : args (num = 1, check_dupes = true) ngfbWebPage :: get_content : using content from post id 5329 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5329_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_c515f1732ab8d33b0bcf5e37f2502f7a ngfbMedia :: get_content_videos : no <iframe|embed/> html tag(s) found ngfbMedia :: get_post_images : args (num = 3, size_name = ngfb-open-graph, post_id = 5329, check_dupes = true) ngfbMedia :: get_meta_image : args (num = 3, size_name = ngfb-open-graph, post_id = 5329, check_dupes = true) ngfbMedia :: get_featured : args (num = 3, size_name = ngfb-open-graph, post_id = 5329, check_dupes = true) ngfbMedia :: get_attached_images : args (num = 3, size_name = ngfb-open-graph, post_id = 5329, check_dupes = true) ngfbMedia :: get_attachment_image_src : args (pid = 5343, size_name = ngfb-open-graph, check_dupes = true) ngfbMedia :: get_attachment_image_src : image_downsize: https://www.cardboardrepublic.com/wp-content/uploads/2013/11/Spock-300x221.jpg (300x221) ngfbMedia :: get_attachment_image_src : args (pid = 5342, size_name = ngfb-open-graph, check_dupes = true) ngfbMedia :: get_attachment_image_src : image_downsize: https://www.cardboardrepublic.com/wp-content/uploads/2013/11/knightmare-248x300.jpg (248x300) ngfbMedia :: get_attachment_image_src : args (pid = 5341, size_name = ngfb-open-graph, check_dupes = true) ngfbMedia :: get_attachment_image_src : image_downsize: https://www.cardboardrepublic.com/wp-content/uploads/2013/11/four-300x210.jpg (300x210) ngfbUtil :: slice_max : max values reached (3 == 3) ngfbUtil :: slice_max : max values reached (3 == 3) ngfbWebPage :: get_description : use_post = false ngfbWebPage :: get_description : is_singular() = true ngfbWebPage :: get_description : has_excerpt() = false ngfbWebPage :: get_content : using content from post id 5329 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5329_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_c515f1732ab8d33b0bcf5e37f2502f7a ngfbHead :: html : 17 meta_tags to process ngfbHead :: get_meta_html : meta fb:admins is empty - skipping ngfbHead :: get_meta_html : meta fb:app_id is empty - skipping ngfbHead :: get_meta_html : meta og:locale = "en_US" ngfbHead :: get_meta_html : meta og:site_name is disabled - skipping ngfbHead :: get_meta_html : meta og:url = "https://www.cardboardrepublic.com/articles/variants/variant-chess" ngfbHead :: get_meta_html : meta og:title is disabled - skipping ngfbHead :: get_meta_html : meta og:description = "Your move, Mr. Bond. Chess has been one of the foremost games of strategy and skill in the Western world for centuries. However, chess is partially defined by the fact that the stronger player will almost always win. There is no handicap built in, and there’s no application..." ngfbHead :: get_meta_html : meta og:type = "article" ngfbHead :: get_meta_html : meta article:author = "https://www.cardboardrepublic.com/author/nathan" ngfbHead :: get_meta_html : meta article:publisher is empty - skipping ngfbHead :: get_meta_html : meta article:tag is empty - skipping ngfbHead :: get_meta_html : meta article:section is empty - skipping ngfbHead :: get_meta_html : meta article:published_time = "2013-11-06T02:00:37+00:00" ngfbHead :: get_meta_html : meta article:modified_time = "2013-11-06T01:37:15+00:00" ngfbHead :: get_meta_html : meta og:video is empty - skipping ngfbHead :: get_meta_html : meta og:image = "https://www.cardboardrepublic.com/wp-content/uploads/2013/11/Spock-300x221.jpg" ngfbHead :: get_meta_html : meta og:image:cropped is disabled - skipping ngfbHead :: get_meta_html : meta og:image:height = "221" ngfbHead :: get_meta_html : meta og:image:width = "300" ngfbHead :: get_meta_html : meta og:image = "https://www.cardboardrepublic.com/wp-content/uploads/2013/11/knightmare-248x300.jpg" ngfbHead :: get_meta_html : meta og:image:cropped is disabled - skipping ngfbHead :: get_meta_html : meta og:image:height = "300" ngfbHead :: get_meta_html : meta og:image:width = "248" ngfbHead :: get_meta_html : meta og:image = "https://www.cardboardrepublic.com/wp-content/uploads/2013/11/four-300x210.jpg" ngfbHead :: get_meta_html : meta og:image:cropped is disabled - skipping ngfbHead :: get_meta_html : meta og:image:height = "210" ngfbHead :: get_meta_html : meta og:image:width = "300" ngfbHead :: get_meta_html : meta description = "Your move, Mr. Bond. Chess has been one of the foremost games of strategy and skill in the Western world for centuries. However, chess is partially..." ngfbDebug :: get_html : truncating debug log -->
Regarding the 200×200 image on the other link , the past links aren’t working correctly. For this week’s I essentially duplicated the image and gave it a different name, with no other changes. The newer one appears to work. Perhaps you can see what the difference is?
The newest (working) debug info:
[og:image] => Array ( [0] => Array ( [og:image:cropped] => false [og:image:height] => 200 [og:image:width] => 200 [og:image] => https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png ) ) ) --> <!-- NGFB Open Graph+ debug from ngfbHead::html() Media URLs Found : Array ( [https://html5-player.libsyn.com/embed/episode/id/2540320/height/90/width/280/thumbnail/no/theme/legacy] => 1 [https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png] => 1 [https://www.cardboardrepublic.com/wp-content/uploads/2013/07/rss.png] => 1 ) --> <meta name="generator" content="NGFB Open Graph+ 6.14.0-G" /> <link rel="author" href="https://www.cardboardrepublic.com/author/erin" /> <meta property="og:locale" content="en_US" /> <meta property="og:url" content="https://www.cardboardrepublic.com/podcast/vox-republica-018-siteiversary" /> <meta property="og:description" content="Episode 018 Length: 33:06 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes every Thursday, and each episode will be about 20 – 30 minutes long. This week is Ryan stops by. First, we talk about the..." /> <meta property="og:type" content="article" /> <meta property="article:author" content="https://www.cardboardrepublic.com/author/erin" /> <meta property="article:published_time" content="2013-11-07T00:30:05+00:00" /> <meta property="article:modified_time" content="2013-11-08T08:34:55+00:00" /> <!-- og:image:1 --><meta property="og:image" content="https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png" /> <!-- og:image:1 --><meta property="og:image:height" content="200" /> <!-- og:image:1 --><meta property="og:image:width" content="200" /> <meta name="description" content="Episode 018 Length: 33:06 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes..." /> <!-- ngfb meta tags end --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() NGFB Constants : NGFB_CACHEDIR = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/cache/ NGFB_CACHEURL = https://www.cardboardrepublic.com/wp-content/plugins/nextgen-facebook/cache/ NGFB_CURL_CAINFO = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/share/curl/cacert.pem NGFB_CURL_USERAGENT = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:18.0) Gecko/20100101 Firefox/18.0 NGFB_DEBUG_FILE_EXP = 300 NGFB_FILEPATH = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/nextgen-facebook.php NGFB_FOOTER_PRIORITY = 100 NGFB_HEAD_PRIORITY = 10 NGFB_INIT_PRIORITY = 12 NGFB_MAX_CACHE_HRS = 24 NGFB_MAX_IMG_OG = 20 NGFB_MAX_VID_OG = 20 NGFB_MENU_PRIORITY = 99.10 NGFB_META_NAME = _ngfb_meta NGFB_MIN_DESC_LEN = 156 NGFB_NONCE = ******** NGFB_OG_SIZE_NAME = ngfb-open-graph NGFB_OPTIONS_NAME = ngfb_options NGFB_PLUGINBASE = nextgen-facebook/nextgen-facebook.php NGFB_PLUGINDIR = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/ NGFB_SITE_OPTIONS_NAME = ngfb_site_options NGFB_SOCIAL_PRIORITY = 100 NGFB_TEXTDOM = nextgen-facebook NGFB_TRANSIENT_CACHE_DISABLE = 1 NGFB_URLPATH = https://www.cardboardrepublic.com/wp-content/plugins/nextgen-facebook/ --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() Available Features : aioseop = any_seo = aop = curl = 1 marketpress = mbdecnum = 1 ngg = postthumb = 1 seou = woocommerce = wpecommerce = wpseo = --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() Debug Log : ngfbHead :: add_header : is_archive() = false ngfbHead :: add_header : is_category() = false ngfbHead :: add_header : is_tag() = false ngfbHead :: add_header : is_home() = false ngfbHead :: add_header : is_search() = false ngfbHead :: add_header : is_singular() = true ngfbHead :: add_header : is_attachment() = false ngfbOpenGraph :: get : transient cache is disabled ngfbWebPage :: get_title : wp_title() = "The Cardboard RepublicVox Republica 018: Siteiversary | " ngfbWebPage :: get_description : use_post = false ngfbWebPage :: get_description : is_singular() = true ngfbWebPage :: get_description : has_excerpt() = false ngfbWebPage :: get_content : using content from post id 5349 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5349_filtered) ngfbSocial :: remove_filter : filter_the_content() removed = true ngfbWebPage :: get_content : calling apply_filters() ngfbSocial :: add_filter : filter_the_content() added ngfbWebPage :: get_content : content strlen() before = 1959, after = 2108 ngfbWebPage :: get_content : object cache: filtered content saved to wp_cache ngfb_d59e430ea904db05e682495abe394463 (60 seconds) ngfbMedia :: get_meta_video : args (num = 1, post_id = 5349, check_dupes = true) ngfbMedia :: get_content_videos : args (num = 1, check_dupes = true) ngfbWebPage :: get_content : using content from post id 5349 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5349_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_d59e430ea904db05e682495abe394463 ngfbMedia :: get_content_videos : 1 x video html tag(s) found ngfbMedia :: get_content_videos : <iframe/> html tag found = https://html5-player.libsyn.com/embed/episode/id/2540320/height/90/width/280/thumbnail/no/theme/legacy ngfbMedia :: get_video_info : image = (x) ngfbMedia :: get_video_info : video = (280x90) ngfbMedia :: get_post_images : args (num = 3, size_name = ngfb-open-graph, post_id = 5349, check_dupes = true) ngfbMedia :: get_meta_image : args (num = 3, size_name = ngfb-open-graph, post_id = 5349, check_dupes = true) ngfbMedia :: get_featured : args (num = 3, size_name = ngfb-open-graph, post_id = 5349, check_dupes = true) ngfbMedia :: get_attached_images : args (num = 3, size_name = ngfb-open-graph, post_id = 5349, check_dupes = true) ngfbMedia :: get_attachment_image_src : args (pid = 5367, size_name = ngfb-open-graph, check_dupes = true) ngfbMedia :: get_attachment_image_src : image_downsize: https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png (200x200) ngfbMedia :: get_attachment_image_src : retrieving full image size - original (200x200) is smaller than ngfb-open-graph (300x300) ngfbMedia :: get_attachment_image_src : image_downsize: https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png (200x200) ngfbWebPage :: get_content : using content from post id 5349 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5349_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_d59e430ea904db05e682495abe394463 ngfbMedia :: get_content_images : 2 x matching <img/> html tag(s) found ngfbMedia :: get_content_images : src = https://www.cardboardrepublic.com/wp-content/uploads/2013/07/rss.png (32x32) ngfbMedia :: get_content_images : src image rejected: width and height attributes missing or too small ngfbUtil :: is_uniq_url : duplicate url rejected: https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png ngfbWebPage :: get_description : use_post = false ngfbWebPage :: get_description : is_singular() = true ngfbWebPage :: get_description : has_excerpt() = false ngfbWebPage :: get_content : using content from post id 5349 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5349_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_d59e430ea904db05e682495abe394463 ngfbHead :: html : 17 meta_tags to process ngfbHead :: get_meta_html : meta fb:admins is empty - skipping ngfbHead :: get_meta_html : meta fb:app_id is empty - skipping ngfbHead :: get_meta_html : meta og:locale = "en_US" ngfbHead :: get_meta_html : meta og:site_name is disabled - skipping ngfbHead :: get_meta_html : meta og:url = "https://www.cardboardrepublic.com/podcast/vox-republica-018-siteiversary" ngfbHead :: get_meta_html : meta og:title is disabled - skipping ngfbHead :: get_meta_html : meta og:description = "Episode 018 Length: 33:06 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes every Thursday, and each episode will be about 20 – 30 minutes long. This week is Ryan stops by. First, we talk about the..." ngfbHead :: get_meta_html : meta og:type = "article" ngfbHead :: get_meta_html : meta article:author = "https://www.cardboardrepublic.com/author/erin" ngfbHead :: get_meta_html : meta article:publisher is empty - skipping ngfbHead :: get_meta_html : meta article:tag is empty - skipping ngfbHead :: get_meta_html : meta article:section is empty - skipping ngfbHead :: get_meta_html : meta article:published_time = "2013-11-07T00:30:05+00:00" ngfbHead :: get_meta_html : meta article:modified_time = "2013-11-08T08:34:55+00:00" ngfbHead :: get_meta_html : meta og:video is empty - skipping ngfbHead :: get_meta_html : meta og:image = "https://www.cardboardrepublic.com/wp-content/uploads/2013/11/VR-Logo-post.png" ngfbHead :: get_meta_html : meta og:image:cropped is disabled - skipping ngfbHead :: get_meta_html : meta og:image:height = "200" ngfbHead :: get_meta_html : meta og:image:width = "200" ngfbHead :: get_meta_html : meta description = "Episode 018 Length: 33:06 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes..." ngfbDebug :: get_html : truncating debug log
And the ones no longer working:
[og:image] => Array ( ) ) --> <!-- NGFB Open Graph+ debug from ngfbHead::html() Media URLs Found : Array ( [https://html5-player.libsyn.com/embed/episode/id/2528474/height/90/width/280/thumbnail/no/theme/legacy] => 1 [https://www.cardboardrepublic.com/wp-content/uploads/2013/07/rss.png] => 1 [https://www.cardboardrepublic.com/wp-content/uploads/2013/07/VR-Logo-front.png] => 1 ) --> <meta name="generator" content="NGFB Open Graph+ 6.14.0-G" /> <link rel="author" href="https://www.cardboardrepublic.com/author/erin" /> <meta property="og:locale" content="en_US" /> <meta property="og:url" content="https://www.cardboardrepublic.com/podcast/vox-republica-017-extra-life" /> <meta property="og:description" content="Episode 017 Length: 14:34 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes every Thursday, and each episode will be about 20 – 30 minutes long. This week is a truncated version where we discuss our..." /> <meta property="og:type" content="article" /> <meta property="article:author" content="https://www.cardboardrepublic.com/author/erin" /> <meta property="article:published_time" content="2013-10-31T00:30:55+00:00" /> <meta property="article:modified_time" content="2013-10-29T16:27:10+00:00" /> <meta name="description" content="Episode 017 Length: 14:34 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes..." /> <!-- ngfb meta tags end --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() NGFB Constants : NGFB_CACHEDIR = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/cache/ NGFB_CACHEURL = https://www.cardboardrepublic.com/wp-content/plugins/nextgen-facebook/cache/ NGFB_CURL_CAINFO = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/share/curl/cacert.pem NGFB_CURL_USERAGENT = Mozilla/5.0 (Macintosh; Intel Mac OS X 10.7; rv:18.0) Gecko/20100101 Firefox/18.0 NGFB_DEBUG_FILE_EXP = 300 NGFB_FILEPATH = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/nextgen-facebook.php NGFB_FOOTER_PRIORITY = 100 NGFB_HEAD_PRIORITY = 10 NGFB_INIT_PRIORITY = 12 NGFB_MAX_CACHE_HRS = 24 NGFB_MAX_IMG_OG = 20 NGFB_MAX_VID_OG = 20 NGFB_MENU_PRIORITY = 99.10 NGFB_META_NAME = _ngfb_meta NGFB_MIN_DESC_LEN = 156 NGFB_NONCE = ******** NGFB_OG_SIZE_NAME = ngfb-open-graph NGFB_OPTIONS_NAME = ngfb_options NGFB_PLUGINBASE = nextgen-facebook/nextgen-facebook.php NGFB_PLUGINDIR = /home/cardboar/public_html/wp-content/plugins/nextgen-facebook/ NGFB_SITE_OPTIONS_NAME = ngfb_site_options NGFB_SOCIAL_PRIORITY = 100 NGFB_TEXTDOM = nextgen-facebook NGFB_TRANSIENT_CACHE_DISABLE = 1 NGFB_URLPATH = https://www.cardboardrepublic.com/wp-content/plugins/nextgen-facebook/ --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() Available Features : aioseop = any_seo = aop = curl = 1 marketpress = mbdecnum = 1 ngg = postthumb = 1 seou = woocommerce = wpecommerce = wpseo = --> <!-- NGFB Open Graph+ debug from ngfbHead::add_header() Debug Log : ngfbHead :: add_header : is_archive() = false ngfbHead :: add_header : is_category() = false ngfbHead :: add_header : is_tag() = false ngfbHead :: add_header : is_home() = false ngfbHead :: add_header : is_search() = false ngfbHead :: add_header : is_singular() = true ngfbHead :: add_header : is_attachment() = false ngfbOpenGraph :: get : transient cache is disabled ngfbWebPage :: get_title : wp_title() = "The Cardboard RepublicVox Republica 017: Extra Life | " ngfbWebPage :: get_description : use_post = false ngfbWebPage :: get_description : is_singular() = true ngfbWebPage :: get_description : has_excerpt() = false ngfbWebPage :: get_content : using content from post id 5242 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5242_filtered) ngfbSocial :: remove_filter : filter_the_content() removed = true ngfbWebPage :: get_content : calling apply_filters() ngfbSocial :: add_filter : filter_the_content() added ngfbWebPage :: get_content : content strlen() before = 3020, after = 3193 ngfbWebPage :: get_content : object cache: filtered content saved to wp_cache ngfb_9f717897ed85650f0103a9ae58348b50 (60 seconds) ngfbMedia :: get_meta_video : args (num = 1, post_id = 5242, check_dupes = true) ngfbMedia :: get_content_videos : args (num = 1, check_dupes = true) ngfbWebPage :: get_content : using content from post id 5242 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5242_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_9f717897ed85650f0103a9ae58348b50 ngfbMedia :: get_content_videos : 1 x video html tag(s) found ngfbMedia :: get_content_videos : <iframe/> html tag found = https://html5-player.libsyn.com/embed/episode/id/2528474/height/90/width/280/thumbnail/no/theme/legacy ngfbMedia :: get_video_info : image = (x) ngfbMedia :: get_video_info : video = (280x90) ngfbMedia :: get_post_images : args (num = 3, size_name = ngfb-open-graph, post_id = 5242, check_dupes = true) ngfbMedia :: get_meta_image : args (num = 3, size_name = ngfb-open-graph, post_id = 5242, check_dupes = true) ngfbMedia :: get_featured : args (num = 3, size_name = ngfb-open-graph, post_id = 5242, check_dupes = true) ngfbMedia :: get_attached_images : args (num = 3, size_name = ngfb-open-graph, post_id = 5242, check_dupes = true) ngfbWebPage :: get_content : using content from post id 5242 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5242_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_9f717897ed85650f0103a9ae58348b50 ngfbMedia :: get_content_images : 2 x matching <img/> html tag(s) found ngfbMedia :: get_content_images : src = https://www.cardboardrepublic.com/wp-content/uploads/2013/07/rss.png (32x32) ngfbMedia :: get_content_images : src image rejected: width and height attributes missing or too small ngfbMedia :: get_content_images : src = https://www.cardboardrepublic.com/wp-content/uploads/2013/07/VR-Logo-front.png (200x200) ngfbMedia :: get_content_images : src image rejected: width and height attributes missing or too small ngfbMedia :: get_default_image : args (num = 3, size_name = ngfb-open-graph, check_dupes = true) ngfbWebPage :: get_description : use_post = false ngfbWebPage :: get_description : is_singular() = true ngfbWebPage :: get_description : has_excerpt() = false ngfbWebPage :: get_content : using content from post id 5242 ngfbWebPage :: get_content : object cache: filtered content wp_cache salt ngfbWebPage::get_content(lang:en_US_post:5242_filtered) ngfbWebPage :: get_content : object cache: filtered content retrieved from wp_cache ngfb_9f717897ed85650f0103a9ae58348b50 ngfbHead :: html : 17 meta_tags to process ngfbHead :: get_meta_html : meta fb:admins is empty - skipping ngfbHead :: get_meta_html : meta fb:app_id is empty - skipping ngfbHead :: get_meta_html : meta og:locale = "en_US" ngfbHead :: get_meta_html : meta og:site_name is disabled - skipping ngfbHead :: get_meta_html : meta og:url = "https://www.cardboardrepublic.com/podcast/vox-republica-017-extra-life" ngfbHead :: get_meta_html : meta og:title is disabled - skipping ngfbHead :: get_meta_html : meta og:description = "Episode 017 Length: 14:34 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes every Thursday, and each episode will be about 20 – 30 minutes long. This week is a truncated version where we discuss our..." ngfbHead :: get_meta_html : meta og:type = "article" ngfbHead :: get_meta_html : meta article:author = "https://www.cardboardrepublic.com/author/erin" ngfbHead :: get_meta_html : meta article:publisher is empty - skipping ngfbHead :: get_meta_html : meta article:tag is empty - skipping ngfbHead :: get_meta_html : meta article:section is empty - skipping ngfbHead :: get_meta_html : meta article:published_time = "2013-10-31T00:30:55+00:00" ngfbHead :: get_meta_html : meta article:modified_time = "2013-10-29T16:27:10+00:00" ngfbHead :: get_meta_html : meta og:video is empty - skipping ngfbHead :: get_meta_html : meta og:image is empty - skipping ngfbHead :: get_meta_html : meta description = "Episode 017 Length: 14:34 Subscribe to Show Link: Welcome back to Vox Republica, the Cardboard Republic Podcast! We’ll be posting new episodes..." ngfbDebug :: get_html : truncating debug log -->
Forum: Plugins
In reply to: [NextGEN Facebook] og:image size recognition issueOhh WP, such the love/hate relationship…
At any rate, things have seemed to smooth out a little, though not entirely. At a 300×300 setting, it seems to scale down the image until one of the two reaches 300. It still spits the error, but they’re being registered when posted to Facebook. As #3 states, though, Google+ is still not being responsive. That could be caching though?
Additionally, I’m still curious on how the plugin selects the images, as several of my posts have different images available after being re-linted than when they were originally posted.
Also, I had a recurring weekly post that has one image in it that is exactly 200×200. Until this week, that worked fine. However, the linter doesn’t even find it. That one still has me scratching my head.
So, progress, albeit slowly.
Forum: Plugins
In reply to: [NextGEN Facebook] og:image size recognition issueThis actually could be heading on to something. The three images that it scraped were the featured image and then two other images from the page. There are other images on the page that it didn’t grab, but that’s alright.
The thing was, the reported dimensions didn’t make sense. The featured image in the media library information is 400×474, and it’s posted at 305×362 to the site. However, if I go into the library and clicked on the image directly, showing the attachments view, then it gets the 300×253.
The 179×300 is also not accurate. The original image of that picture is 900×538 and it’s in the post at 486×291, still well above the minimum. The only place it claims it’s 179×300 is if I go into the media library. If I click to Edit the image from Media Library, it shows the maximum size. If I click the View link instead, it shows the image at the 179×300 size. However, clicking on the image from there pulls up the image at the full size.
Updated:
After some experimenting, it appears that it’s pulling the og:image information from “Medium” size setting that WP uses for attachment viewing, which was set at 300×300, which was probably too low (and a setting I rarely use when adding images to posts anyway.) I have since raised it to 512×512, and then did a thumbnail regen on those few images of that post. This seems to have solved part of the issue, or at least the issue with the example mentioned beforehand.
Related to that, I started testing out another few link to see how it is affected, and links are still reporting as having issues. I’m noticing now that image sizes (while often still being reported as being below the 200 mark even though not being true) are being resized.
Currently my Image Dimension size is set to 300×300 with 3 og:images, and it has been for quite some time. If I increase my dimension setting to something like 550×550, it removes any images smaller than that from the list, which I don’t want. I’d prefer to leave it at the 300×300 if at all possible.
1. I experimented with raising the dimension size higher, but aside from the reported og changes in the output of the linter, it doesn’t actually remove the errors even with new sizes reported. It didn’t actually change or remove the error. It’s possible that their cache just isn’t keeping up with the changes, so I’ll keep an eye on that. Now, this was with WP Auto Resize off. So, what does Auto Resize do practically speaking?
2. How does the plugin determine the order of items to pull if it pulls more than one image? I saw the FAQ answer, and that explains the featured image being pulled, but I’m curious after that with the ones being pulled with IMG tags. I’m only guessing, but it seems to pull from the end of the post going backwards. Is that correct? And is there a way to control that behavior to make it go from the beginning of the post instead?
3. I’m assuming this is related to the caching again, but usually G+ allows for different images when posting. It is currently not doing that for these changed / fixed links, instead only providing one option. Is this just the google bots not being caught up yet?
Again, thanks for the patience and help with all this. It’s appreciated.
Forum: Plugins
In reply to: [NextGEN Facebook] og:image size recognition issueSorry about that. For this issue, we can look at this link:
https://www.cardboardrepublic.com/cr_reviews/warmachine-high-command
As one can see from putting it through the linter, the featured image shows up as the first in the og:image section, but the warning section is stating that the image, which is certainly larger than 200×200, is not large enough.
For the record, the Auto-Resize option is currently turned on, and for sake of argument I did run the plugin on the image in question. Unfortunately, neither seem to correct this issue. As I said, I have made no plugin, site, or template changes since this link went live the other day.
I’m open to suggestions though.
Forum: Plugins
In reply to: [WP Glossary] Behavioral questionsThanks for the click option in 3.1. Excellent work!
As for the filter option, forgive my ignorance, but where would I add that filter code?
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Connection IssueWell don’t I feel silly now. I still had another PHPBB tie-in app active. Disabling that one lets the connection through.
Sometimes it’s the little things! ??
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Connection IssueSadly, I have not. All it appears to do is migrate the line errors 1127 and 1135 to 1133 and 1141, respectively.
I also tried to do a full Automod update instead of the quick patch, and that seemed to have broken things. I managed to fix the error there (not sure how it ended up with multiple function listings, but no bother).
Alas, it is still not working.
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Cross-Posting ErrorSorry for the delay on my end this time.
Yes, the admin account can post directly without any issue.
The debug message doesn’t change from what I can see.
The ACP settings seemed to be the culprit. I have two forums on my domain: the real one, and a sandbox for testing things like these plugins. The path and cookies were set to the domain instead of the direct IP address for the dev one and I corrected that. It can now cross-post successfully.
Thanks for the assist. You can go close this out.
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Cross-Posting ErrorYeah, perhaps I am missing something here. The debug shows the following:
DEBUG WP Version = 3.5 Integrate users hook called. User integration active. WP already logged in, phpBB logged out. Logging in to integrated phpBB account, user ID = 2. HAHAHA Established Session for user 2.
The debug seems to say they are connected, no?
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Cross-Posting ErrorOk, so we’re on the right track here. The latest build did fix the code errors.
I now integrated a user, and the post when created does appear to cross-post to the specified forum. However, it is showing up as needing moderation. The test user I’m using on PHPBB is an admin that has has full rights across the board for the specified forum (including the WP-United “can post” and “can reply to cross posts” for the forum settings for that user. I even tried globally enabling the option for post as author as well. However, it is still putting the posts in a pending state…
Forum: Plugins
In reply to: [WP-United : phpBB WordPress Integration] Cross-Posting ErrorThanks! I will give .924 a try and let you know!
Correct, I was using the combination you suggested.
I added the Gallery plugin for testing purposes, but I didn’t have in installed initially.
With the plugin installed, yes, I see Gallery for Default ID.
And in the debug mode with the plugin activated, it shows as you show it:
<!-- NextGEN Facebook OG debug from load_is_active() $this->is_active : cdnlink = 0 expages = 0 ngg = 1 postthumb = 1 wikibox = 0 -->
With the plugin not active, it shows ngg= 0 and the option in Default ID isn’t there (naturally).
Not a problem.
I commented out each line to be sure, but it is indeed the ‘ngg’ line call that is crashing it.
Changing it to the latter code from the “method_exists” start to the “class_exists” start seems to correct that. All settings load and Blackbox reports no issues.
Alright, so progress:
When trying this version after installation I get the debug message:
Notice: register_uninstall_hook was called incorrectly. Only a static class method or function can be used in an uninstall hook. Please see Debugging in WordPress for more information. (This message was added in version 3.1.) in /wp-includes/functions.php on line 2944
This crashes the admin console again. However, when commenting out 177, I can get back in to the admin section. The debug list still shows the error, but I can navigate. (Webserver error log shows none, which is how I like it!)
More useful, is that the NGFB menu shows the entire contents, and if I turn Blackbox on, it works on the NGFB options page like it’s supposed to.
I hope that helps narrow down what could be causing it.