[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!
Scam Warning
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
Registered User
Posts: 1148
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 » Fri Oct 13, 2017 10:11 pm

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
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

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

User avatar
Frogmen
Registered User
Posts: 95
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 » Sat Oct 14, 2017 12:13 am

Thks, details on pm.

Frogmen

User avatar
Frogmen
Registered User
Posts: 95
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 » 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.

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

rgds
Frogmen

User avatar
Ger
Registered User
Posts: 1148
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 » Mon Oct 16, 2017 6:53 am

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
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

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

Mesto
Registered User
Posts: 35
Joined: Mon Jul 27, 2009 12:29 am

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

Post by Mesto » 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.

User avatar
Ger
Registered User
Posts: 1148
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 » 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
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

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

lifeguard81
Registered User
Posts: 134
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Fri Oct 27, 2017 3:06 pm

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

User avatar
Ger
Registered User
Posts: 1148
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 » 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)
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

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

User avatar
Chrono
Registered User
Posts: 70
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 » Fri Oct 27, 2017 6:59 pm

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: 134
Joined: Tue Dec 04, 2007 10:11 am

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

Post by lifeguard81 » Sat Oct 28, 2017 4:53 am

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.

User avatar
Ger
Registered User
Posts: 1148
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 » Mon Oct 30, 2017 9:51 am

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?
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

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

User avatar
Ger
Registered User
Posts: 1148
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 » Tue Oct 31, 2017 12:22 pm

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.
Checkout my extensions: Simple CMS, Feed post bot, Modbreak, Magic OGP links and Live topic update

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

User avatar
Chrono
Registered User
Posts: 70
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 » Tue Oct 31, 2017 3:50 pm

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]
Jr. Extension Validator
Posts: 3757
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] » 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
If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
phpBB International Support Team (Spanish - Español) :flag_es: Online Since 2003
🎨phpBB Professional Premium Themes🔥
Author Translations (Spanish - Spain) :two_hearts:

:warning: I don't support those without the copyright Spanish translation. :warning:

User avatar
Chrono
Registered User
Posts: 70
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 » Tue Oct 31, 2017 10:01 pm

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”

Who is online

Users browsing this forum: Naguissa, remoss and 34 guests

cron