[CDB] Magic OGP links: thumbnails and descriptions

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Suggested Hosts
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
Ger
Recognised Extension Developer
Posts: 1962
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Ger »

Frogmen wrote:
Fri Oct 13, 2017 4:25 pm
Hello, Its not working in my forum, it does nothing to the urls. Maybe is because I have lots of extensions installed:

Image

rgds
Frogmen
Please provide a link and a test account to check
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
User avatar
Frogmen
Registered User
Posts: 133
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Frogmen »

Thks, details on pm.

Frogmen
User avatar
Frogmen
Registered User
Posts: 133
Joined: Fri Dec 28, 2007 11:48 pm
Location: Palma De Mallorca. Spain

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Frogmen »

Well, looks like now is working more or less. When I post a new msg the links appears as normal links, but if I close the page and open again, voila, there it's.

Also the extension doesn't work on the old messages.

rgds
Frogmen
User avatar
Ger
Recognised Extension Developer
Posts: 1962
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Ger »

Frogmen wrote:
Sat Oct 14, 2017 9:16 pm
Well, looks like now is working more or less. When I post a new msg the links appears as normal links, but if I close the page and open again, voila, there it's.
I've tested in (in preview mode) on your board and it works as expected to me.
Frogmen wrote:
Sat Oct 14, 2017 9:16 pm
Also the extension doesn't work on the old messages.
That's correct and intended. The OGP data is only fetched once during posting, since otherwise your board would get very slow.

If you want it to work on old messages, you should use the text reparse function in phpBB 3.2
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
Mesto
Registered User
Posts: 39
Joined: Mon Jul 27, 2009 12:29 am

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Mesto »

Hello Ger und thank you for your work. I would be very grateful, if your ext would know also special characters like ä, ü, ö or š, ć and č. Is it possible?

Image

Image

Thank you in advance.
phpBB: 3.3.0
PHP: 7.3.13
Style: aero, prosilver, Absolution, SoftBlue
User avatar
Ger
Recognised Extension Developer
Posts: 1962
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Ger »

Mesto wrote:
Mon Oct 16, 2017 1:12 pm
Hello Ger und thank you for your work. I would be very grateful, if your ext would know also special characters like ä, ü, ö or š, ć and č. Is it possible?

Image

Image

Thank you in advance.
I can look into it. Do you have an url for me to check on (the one that you used for the screenshot for example)?

edit:

Hmm, i tried several sources, including the two that seem to come from your screenshots. They work fine for me:
Image
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by lifeguard81 »

Hi Ger,

his is again a realy nice extension!
But, is it possible to put image on top in mobile browsers?

Now its a bit messy on smaller screens.
Please see screen below.

Image
I think, it looks better when u have

<image>
tekst
tekst
tekst
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!
User avatar
Ger
Recognised Extension Developer
Posts: 1962
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Ger »

I see your point. You can change/override the styling in your theme. I'll probably look at this in a couple of days (I'm on mobile now)
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
User avatar
Chrono
Registered User
Posts: 71
Joined: Fri Jul 12, 2002 2:52 am
Location: Chihuahua México
Name: Alfonso Camacho
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Chrono »

Ger wrote:
Mon Oct 16, 2017 1:30 pm
Mesto wrote:
Mon Oct 16, 2017 1:12 pm
Hello Ger und thank you for your work. I would be very grateful, if your ext would know also special characters like ä, ü, ö or š, ć and č. Is it possible?

Image

Image

Thank you in advance.
I can look into it. Do you have an url for me to check on (the one that you used for the screenshot for example)?

edit:

Hmm, i tried several sources, including the two that seem to come from your screenshots. They work fine for me:
Image
I can confirm that it also happens to me with characters like the tilde in the letters like for example "ó".

The forum is in Spanish

Image

cheers!
www.degeneracionx.com - Anime, Games & Nothing Else.
Anime and Games Hispanic Community (Spanish only)
Sorry for my poor english
lifeguard81
Registered User
Posts: 147
Joined: Tue Dec 04, 2007 10:11 am

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by lifeguard81 »

Ger wrote:
Fri Oct 27, 2017 4:54 pm
I see your point. You can change/override the styling in your theme. I'll probably look at this in a couple of days (I'm on mobile now)
Thanks Ger. NO stress.
Bye phpBB, hello Compo.sr A complete website package with news, forum, chat, gallery and much more!
User avatar
Ger
Recognised Extension Developer
Posts: 1962
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Ger »

lifeguard81 wrote:
Fri Oct 27, 2017 3:06 pm
But, is it possible to put image on top in mobile browsers?
I've pushed a responsive fix in the latest version, check github.
Chrono wrote:
Fri Oct 27, 2017 6:59 pm

I can confirm that it also happens to me with characters like the tilde in the letters like for example "ó".

The forum is in Spanish

Image

cheers!
Please provide some exact URLS that bother you. I can't replicate it at this point.

Can you also please post a link to your forum?
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
User avatar
Ger
Recognised Extension Developer
Posts: 1962
Joined: Wed Jan 02, 2008 7:35 pm
Location: 192.168.1.100
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Ger »

Chrono wrote:
Fri Oct 27, 2017 6:59 pm
I can confirm that it also happens to me with characters like the tilde in the letters like for example "ó".

The forum is in Spanish

Image

cheers!
Well, I've figured out what your link was I guess. This is how it appears to me:

Image

Looks good to me.
My extensions:
Simple CMS, Feed post bot, Avatar Resize, Modbreak, Magic OGP, Live topic update, Modern Quote, Quoted Where (GDPR) and Autoresponder.
Newest: FAQ manager for 3.2

Like my work? Buy me a coffee to keep it coming. :ugeek:

-Don't PM me for support-
User avatar
Chrono
Registered User
Posts: 71
Joined: Fri Jul 12, 2002 2:52 am
Location: Chihuahua México
Name: Alfonso Camacho
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Chrono »

Hi Ger!

I dont know why only my own links show like that :/

This a example of links
http://www.degeneracionx.com/foros/view ... p?f=7&t=55

Cheers!
www.degeneracionx.com - Anime, Games & Nothing Else.
Anime and Games Hispanic Community (Spanish only)
Sorry for my poor english
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 8612
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Raul [ThE KuKa] »

@Ger, I think the user is referring to giving UTF-8 support to the descriptions of the URLs, for example:

"ó", "Ñ", "Á", etc.

This is a GREAT extension. ;)

Edit, test by Ger works perfect.

About your source code @Chrono:

Code: Select all

<a href="http://www.degeneracionx.com" class="postlink" data-ogp="{&quot;title&quot;:&quot;Degeneraci\u00c3\u00b3nx.com | Anime, Games &amp; Nothing Else!!&quot;,&quot;description&quot;:&quot;Degeneracionx.com | Sitio con informaci\u00c3\u00b3n constante sobre el mundo del Anime y los Videojuegos en General. Noticias, Reviews, Trailers, Foros, Comunidad.&quot;,&quot;image&quot;:&quot;http:\/\/www.degeneracionx.com\/wp-content\/uploads\/2017\/04\/BANNER-SOCIAL-2.png&quot;}">http://www.degeneracionx.com</a>
Special this part \u00c3\u00b3 your table is charset uft-8?

Please add more info about PHP version, MySQL version, etc. I think it's important for the author to know more data about your "config" server, etc.

https://stackoverflow.com/questions/257 ... characters
All unsolicited PMs will be ignored.
:warning: Knowledge Base | Documentation | Board rules | phpBB Styles Rules & Policies | Styles Queue Stats :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate.
:flag_es: phpBB Spain - Online Since 2003 :heart:


User avatar
Chrono
Registered User
Posts: 71
Joined: Fri Jul 12, 2002 2:52 am
Location: Chihuahua México
Name: Alfonso Camacho
Contact:

Re: [3.2][RC] Magic OGP links: thumbnails and descriptions

Post by Chrono »

Raul [ThE KuKa] wrote:
Tue Oct 31, 2017 6:28 pm
@Ger, I think the user is referring to giving UTF-8 support to the descriptions of the URLs, for example:

"ó", "Ñ", "Á", etc.

This is a GREAT extension. ;)

Edit, test by Ger works perfect.

About your source code @Chrono:

Code: Select all

<a href="http://www.degeneracionx.com" class="postlink" data-ogp="{&quot;title&quot;:&quot;Degeneraci\u00c3\u00b3nx.com | Anime, Games &amp; Nothing Else!!&quot;,&quot;description&quot;:&quot;Degeneracionx.com | Sitio con informaci\u00c3\u00b3n constante sobre el mundo del Anime y los Videojuegos en General. Noticias, Reviews, Trailers, Foros, Comunidad.&quot;,&quot;image&quot;:&quot;http:\/\/www.degeneracionx.com\/wp-content\/uploads\/2017\/04\/BANNER-SOCIAL-2.png&quot;}">http://www.degeneracionx.com</a>
Special this part \u00c3\u00b3 your table is charset uft-8?

Please add more info about PHP version, MySQL version, etc. I think it's important for the author to know more data about your "config" server, etc.

https://stackoverflow.com/questions/257 ... characters
Im using Wordpress with utf8mb4 DB Charset

Code: Select all

Operating System: Linux
PHP Version: 5.6.30
MySQL Version: 5.6.32-78.1
CGI Version: CGI/1.1
Cheers!
www.degeneracionx.com - Anime, Games & Nothing Else.
Anime and Games Hispanic Community (Spanish only)
Sorry for my poor english
Locked

Return to “Extensions in Development”