[3.3][RC] Autolinks 1.3.9

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
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

This is not possible for the time being. But I think it works if you ask for the preview.
andyphp82
Registered User
Posts: 19
Joined: Sat Jun 13, 2020 5:35 pm

Re: [3.3][RC] Autolinks 1.3.3

Post by andyphp82 »

pierredu wrote: Sun Jun 21, 2020 1:55 pm This is not possible for the time being. But I think it works if you ask for the preview.
Sorry, I don't understand. What do you mean by "it works if you ask for the preview"? Thanks.
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

When you write a message, there is a preview feature to see the attributes. Autolinks should work in this window.
andyphp82
Registered User
Posts: 19
Joined: Sat Jun 13, 2020 5:35 pm

Re: [3.3][RC] Autolinks 1.3.3

Post by andyphp82 »

Ok, thanks. Would be great if you could also add autolink support for the main post preview.
kirang
Registered User
Posts: 4
Joined: Thu Feb 01, 2018 12:03 pm

Re: [3.3][RC] Autolinks 1.3.3

Post by kirang »

There is a serious performance issue as i had entered 10,000 terms in the autolink table.
The topic page gets loaded very slow or either it gets timeout.

Can we have something to optimize for a large number of records?
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

Hi,

10,000 autolinks!!
I'll have a look at this aspect.
User avatar
david63
Registered User
Posts: 20646
Joined: Thu Dec 19, 2002 8:08 am

Re: [3.3][RC] Autolinks 1.3.3

Post by david63 »

pierredu wrote: Wed Nov 18, 2020 3:04 pm I'll have a look at this aspect.
Might it be a table indexing problem?
David
Remember: You only know what you know and - you don't know what you don't know!

I now no longer support any of my extensions but they will start to become available here
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

Good idea, thanks David.
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

kirang wrote: Wed Nov 18, 2020 1:54 pm Can we have something to optimize for a large number of records?
Please send me a dump of your phphb(3)_autolinks table, to allow me to test with a big number of links.
I'm sending you my email address by pm.
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

You have indeed a huge dataset.

The error message you got says it all :
Fatal error: Maximum execution time of 30 seconds exceeded in /ext/lmdi/autolinks/event/listener.php on line 242

You should look for another tool.
For instance, you have 'x... recruiter', 'x... recruitment' ..., then again with a city name, and so on

Autolinks is not an indexing engine.

For the record, there is an index on the table and the data extracted is cached.
Holger
Registered User
Posts: 1895
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [3.3][RC] Autolinks 1.3.3

Post by Holger »

Hello,

on phpBB 3.3.3 I get this: The tables.yml file is invalid
The suggestion of the yml-checker is:
change

Code: Select all

lmdi.autolinks.tables.autolinks: %core.table_prefix%autolinks
into

Code: Select all

lmdi.autolinks.tables.autolinks: '%core.table_prefix%autolinks'
Should I do that?

(BTW, I get the same suggestion for LMDI Glossary!)
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

I think the version on github is up to date.
Holger
Registered User
Posts: 1895
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [3.3][RC] Autolinks 1.3.3

Post by Holger »

Thanks, but the version from GitHub:

Code: Select all

parameters:
    lmdi.autolinks.tables.autolinks: %core.table_prefix%autolinks
User avatar
pierredu
Registered User
Posts: 1274
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [3.3][RC] Autolinks 1.3.3

Post by pierredu »

I upgraded the github version.
Thanks for the pointer.
Holger
Registered User
Posts: 1895
Joined: Tue Mar 12, 2002 3:54 pm
Location: Hannover

Re: [3.3][RC] Autolinks 1.3.3

Post by Holger »

Thanks a lot pierredu!
(Note that this also is the case in the Glossary ext!)

Return to “Extensions in Development”