[3.1][3.2][RC] Autolinks 1.1.0

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!
Get Involved
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)
Post Reply
User avatar
pierredu
Registered User
Posts: 800
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Name: Pierre Duhem

[3.1][3.2][RC] Autolinks 1.1.0

Post by pierredu » Mon Feb 29, 2016 11:43 am

Extension Name: LMDI Autolinks
Author: Pierre Duhem

Extension Description: Autolinks for phpBB 3.1.x
Extension Version: 1.1.0


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.

Problems:
Nothing for the time being.

I'm open to all suggestions, remarks, critics, etc.
Thanks in advance.
Last edited by pierredu on Sun Mar 12, 2017 9:23 am, edited 25 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 » Mon Feb 29, 2016 3:26 pm

Great ext!!
Nice work..

I have this error:

Image
I speak spanish
Sorry for my bad english

User avatar
pierredu
Registered User
Posts: 800
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Name: Pierre Duhem

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu » Mon Feb 29, 2016 3:57 pm

Thanks for the check.
I uploaded a corrected version.

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3760
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [ALPHA] Autolinks 1.0.0

Post by Raul [ThE KuKa] » Mon Feb 29, 2016 4:02 pm

"PR" Spanish translation ready. :wink:
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
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 » Mon Feb 29, 2016 4:13 pm

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: 800
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Name: Pierre Duhem

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu » Mon Feb 29, 2016 8:06 pm

Raul [ThE KuKa] wrote:"PR" Spanish translation ready. :wink:
Thanks for the translation and for the minor corrections.

User avatar
pierredu
Registered User
Posts: 800
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Name: Pierre Duhem

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu » Mon Feb 29, 2016 8:07 pm

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 » Mon Feb 29, 2016 8:12 pm

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: 708
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [ALPHA] Autolinks 1.0.0

Post by dmzx » Mon Feb 29, 2016 8:13 pm

your readme says:

Unzip the downloaded release, and change the name of the folder to gloss.
dmzx-web.net - Need a Host? - Want to Donate

User avatar
Raul [ThE KuKa]
Jr. Extension Validator
Posts: 3760
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [ALPHA] Autolinks 1.0.0

Post by Raul [ThE KuKa] » Mon Feb 29, 2016 8:33 pm

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 ?
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
3Di
Registered User
Posts: 11872
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milano - Frankfurt
Name: Marco
Contact:

Re: [ALPHA] Autolinks 1.0.0

Post by 3Di » Mon Feb 29, 2016 8:42 pm

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
Want to compensate me for my interest? Donate
Please PM me only to request paid works. Thx.
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 » Mon Feb 29, 2016 9:00 pm

What does this ext? :roll:

User avatar
pierredu
Registered User
Posts: 800
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Name: Pierre Duhem

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu » Mon Feb 29, 2016 9:06 pm

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: 800
Joined: Thu Nov 01, 2012 8:04 am
Location: Paris (France)
Name: Pierre Duhem

Re: [ALPHA] Autolinks 1.0.0

Post by pierredu » Mon Feb 29, 2016 9:09 pm

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 » Mon Feb 29, 2016 9:09 pm

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

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: RomaamoR, Yandex [Bot] and 30 guests

cron