[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: 1272
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

[3.3][RC] Autolinks 1.3.9

Post by pierredu »

Extension Name: LMDI Autolinks
Author: Pierre Duhem

Extension Description: Autolinks for phpBB 3.3.x
Extension Version: 1.3.9


Features:
This extension is a minimalist port of MODs for 3.0.x. The extension manages a table with terms and URLs and replace automatically the terms with clickable links.

Extension Download: https://github.com/pierrdu/lmdi_autolin ... master.zip

History: this extension was ported from a MOD called Autolink 1.0.3, whose author doesn't have plans to port the code himself. There is also another comparable MOD called Th23 Autolinks. This extension doesn't allow multiple URLs for a single term with selected rates of insertion.

Installation:
1. Download the latest release.
2. Unzip the downloaded release, and change the name of the folder to `autolinks`.
3. In the `ext` directory of your phpBB board, create a new directory named `lmdi` (if it does not already exist).
4. Copy the `autolinks` folder to `/ext/lmdi/`.
5. Navigate in the ACP to `Customise -> Manage extensions`.
6. Look for `LMDI Autolinks` under the Disabled Extensions list, and click its `Enable` link.

Uninstallation:
1. Navigate in the ACP to `Customise -> Extension Management -> Extensions`.
2. Look for `LMDI Autolinks` under the Enabled Extensions list, and click its `Disable` link.
3. To permanently uninstall, click `Delete Data` and then delete the `/ext/lmdi/autolinks` folder.

Github repository:
https://github.com/pierrdu/lmdi_autolinks

Utilisation:
The extension exploits data pairs which have to be entered in the ACP. In the ACP, tab Extensions, select Autolinks. The extension displays an empty table and, above, a link to add a term. Click on it. In the entry form, type a word or a phrase in the upper entry zone, like Ferrari. The extension is not case sensitive. Below, in the URL entry zone, type an URL, like http://www.ferrari.com/en_en/.

Do it again for more entries. When finished, go to the board index an open a test topic. In the post, type any text and, within the text, one or several of the words you gave in. For instance I drive a Ferrari.. Save and look at the result. The word Ferrari is now a link to the Ferrari Web site.

This is how it works. Simple, but powerful. The use depends clearly on what your forum is or does.
Last edited by pierredu on Tue Nov 28, 2023 4:17 pm, edited 34 times in total.
User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [ALPHA] Autolinks 1.0.0

Post by uruguayito »

Great ext!!
Nice work..

I have this error:

Image
I speak spanish
Sorry for my bad english
User avatar
pierredu
Registered User
Posts: 1272
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu »

Thanks for the check.
I uploaded a corrected version.
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [ALPHA] Autolinks 1.0.0

Post by Raul [ThE KuKa] »

"PR" Spanish translation ready. :wink:
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
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [ALPHA] Autolinks 1.0.0

Post by uruguayito »

Where in the PCA is the config?

Can you put any image?

I Can't see nothing :roll:
I speak spanish
Sorry for my bad english
User avatar
pierredu
Registered User
Posts: 1272
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu »

Raul [ThE KuKa] wrote:"PR" Spanish translation ready. :wink:
Thanks for the translation and for the minor corrections.
User avatar
pierredu
Registered User
Posts: 1272
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu »

uruguayito wrote:Where in the PCA is the config?

Can you put any image?

I Can't see nothing :roll:
Go into the Extensions tab (the last to the right).
You should have my extension (amongst others).
User avatar
uruguayito
Registered User
Posts: 266
Joined: Mon Dec 13, 2010 2:46 pm
Location: Montevideo - Uruguay

Re: [ALPHA] Autolinks 1.0.0

Post by uruguayito »

pierredu wrote:
uruguayito wrote:Where in the PCA is the config?

Can you put any image?

I Can't see nothing :roll:
Go into the Extensions tab (the last to the right).
You should have my extension (amongst others).
No
There is nothing in the tab EXT.... and I have installed and active your ext :s
I speak spanish
Sorry for my bad english
User avatar
dmzx
Registered User
Posts: 853
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands

Re: [ALPHA] Autolinks 1.0.0

Post by dmzx »

your readme says:

Unzip the downloaded release, and change the name of the folder to gloss.
Contact me on dmzx-web.net
Buy me a beer Donate and try binance.com or try CentOS Web Panel
User avatar
Raul [ThE KuKa]
Style Customisations
Style Customisations
Posts: 11137
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo

Re: [ALPHA] Autolinks 1.0.0

Post by Raul [ThE KuKa] »

dmzx wrote:your readme says:

Unzip the downloaded release, and change the name of the folder to gloss.
Yes... but the correct path about composer.json file is:
ext/lmdi/autolinks

Correct pierredu ?
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
3Di
I've Been Banned!
Posts: 17538
Joined: Mon Apr 04, 2005 11:09 pm
Location: I'm with Ukraine 🇺🇦
Name: Marco

Re: [ALPHA] Autolinks 1.0.0

Post by 3Di »

pierredu wrote:Thanks for the check.
I uploaded a corrected version.
I didn't try this extension but a t a first glance I guess these lines need a fix
Maybe I am wrong though.
https://github.com/pierrdu/lmdi_autolin ... hp#L71-L72
🆓 Free support for our extensions also provided here: phpBB Studio
🚀 Looking for a specific feature or alternative option? We will rock you!
Please PM me only to request paid works. Thx. Buy me a coffee -> Image
My development's activity º PhpStorm's proud user º Extensions, Scripts, MOD porting, Update/Upgrades
nya
Registered User
Posts: 157
Joined: Mon Jun 01, 2015 8:31 am

Re: [ALPHA] Autolinks 1.0.0

Post by nya »

What does this ext? :roll:
User avatar
pierredu
Registered User
Posts: 1272
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu »

This extension was coded using the glossary extension as a base. It seems that I didn't do all the necessary tidying. Thanks for pointing those spots.

What does this extension do?
In the ACP, you create pairs made of a term (a string) and an URL. When a post contains the term, the code replaces the term with a link to the URL. For instance, you have a term 'Ferrari' and a link 'http://www.ferrari.com/en_en/'. Whenever a poster writes ferrari in one post, the code adds a link to the site.
User avatar
pierredu
Registered User
Posts: 1272
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu »

3Di wrote:
pierredu wrote:Thanks for the check.
I uploaded a corrected version.
I didn't try this extension but a t a first glance I guess these lines need a fix
Maybe I am wrong though.
https://github.com/pierrdu/lmdi_autolin ... hp#L71-L72
You're right.
I'm asking myself whether I really need a controller.
As I told before, this extension was coded using my former Glossary extension and there are still many remnants.
nya
Registered User
Posts: 157
Joined: Mon Jun 01, 2015 8:31 am

Re: [ALPHA] Autolinks 1.0.0

Post by nya »

It similiar to glossary ext.
But usable for making a forum-wiki connection. :roll:

Return to “Extensions in Development”