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-27-2013 12:30 PM

Could you post a link with the Chinese characters that don't work in the existing mod?

dougdirac 08-27-2013 04:13 PM

Umm here's a link to where some showed up bad.
http://www.teslamotorsclub.com/showt...l=1#post420183

letipro 08-29-2013 06:21 PM

please edit og:description to thread description

BirdOPrey5 09-01-2013 12:45 PM

Quote:

Originally Posted by dougdirac (Post 2441443)
Umm here's a link to where some showed up bad.
http://www.teslamotorsclub.com/showt...l=1#post420183

I think the encoding of you page will need to be UTF-8 to display UTF-8 content.

Quote:

Originally Posted by letipro (Post 2441876)
please edit og:description to thread description

Will look into adding this option.

dougdirac 09-01-2013 01:14 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2442338)
I think the encoding of you page will need to be UTF-8 to display UTF-8 content.

Hmm, how do I do that?


Quote:

Originally Posted by BirdOPrey5 (Post 2442338)
Will look into adding this option.

Think you could add an option for those Twitter tags while you're at it? Would be great if tweets from my site had "the card" show up. :)

BirdOPrey5 09-01-2013 01:48 PM

Quote:

Originally Posted by dougdirac (Post 2442343)
Hmm, how do I do that?



Think you could add an option for those Twitter tags while you're at it? Would be great if tweets from my site had "the card" show up. :)

Not sure I know what you mean by "those twitter tags" and "the card" is? :confused:

To change the page encoding go to Admin CP -> Languages & Phrases -> Language Manager -> Edit your Language,

Change charset from ISO-8859-1 to UTF-8

Note- I'm not sure if other steps may be required- I did this on my _TEST_ forum and it seemed to work, I did not do extensive testing. Please do your own testing or keep an eye on things to make sure nothing breaks by this change.

dougdirac 09-01-2013 09:30 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2442359)
Not sure I know what you mean by "those twitter tags" and "the card" is? :confused:

"The card" or Twitter Cards are little previews you get sometimes when a link is included in a tweet. Twitter uses meta tags not unlike the open graph tags facebook uses. So I figure if you're doing one, it's not much trouble to also do the other.

These are the twitter tags from the NYTimes example I posted above.
HTML Code:

<meta name="twitter:card" value="summary">
<meta name="twitter:site" value="@nytimes">
<meta name="twitter:url" content="http://www.nytimes.com/2013/08/24/business/wondering-if-tesla-can-get-there-from-here.html?pagewanted=all"/>
<meta name="twitter:title" content="Getting Tesla From Here to There"/>
<meta name="twitter:description" content="Tesla Motors gets raves for its Model S, and Wall Street loves the company?s soaring stock. But it remains to be seen whether Tesla can actually sell the cars."/>
<meta name="twitter:image" content="http://graphics8.nytimes.com/images/2013/08/24/business/Stewart/Stewart-thumbLarge.jpg"/>

See it's basically the same stuff. There are different types of cards as you can see here: https://dev.twitter.com/docs/cards
But we're probably just interested in the summary card. https://dev.twitter.com/docs/cards/types/summary-card

Quote:

Originally Posted by BirdOPrey5 (Post 2442359)
To change the page encoding go to Admin CP -> Languages & Phrases -> Language Manager -> Edit your Language,

Change charset from ISO-8859-1 to UTF-8

Note- I'm not sure if other steps may be required- I did this on my _TEST_ forum and it seemed to work, I did not do extensive testing. Please do your own testing or keep an eye on things to make sure nothing breaks by this change.

Thanks, I'll give it a try!

BirdOPrey5 09-01-2013 10:03 PM

I have a twitter mod in the works... You can see a preview of it at the bottom of this thread-

http://www.qapla.com/mods/showthread...-upgrade-of-VB

dougdirac 09-02-2013 05:14 AM

So if you include those twitter meta tags, a tweet that includes a link to your site can look more like this:
https://dev.twitter.com/sites/defaul..._summary_1.png

Perhaps Twitter will play nicer with attached images. I think, though, you only tell it to use one (like the first image of the thread). If no image is available it's better to skip it. The only tags that are required are title and description. Title would obviously just be the thread title. Description would be the first couple hundred characters of the first post like we'd like for facebook.

For the pro version would be cool to get the first bit of blog text for the description for both twitter and open graph. CMS articles already have description filled out for open graph. Should just copy that into twitter as well.

SimonB 11-10-2013 01:09 PM

I there any way to get a specific default image displayed when a vbulletin thread is posted to facebook? I have installed this mod which does a good hob of fetching other thumbnails, but it seems to pick up smilies and icons, about which FB seems to complain because they are less than 200px, and then for some reason facebook uses my site logo image (which I do not want because it has transparency). I have specified a "default" in the facebook options in vBulletin, but it gets overridden if there are smaller than 200px images.


All times are GMT. The time now is 09:32 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.01394 seconds
  • Memory Usage 1,751KB
  • 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
  • (1)bbcode_html_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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