Page 1 of 3

[ABD] External Link In New Window

Posted: Tue Dec 30, 2014 8:46 pm
by ___Martin
Extension Name: External Link In New Window
Author: ___Martin

Extension Description: Modifies external links (i.e. links to a resource outside of your board) to open in a new browser window by default.

Extension Version: 1.0.1 (release candidate, submitted to extension database: https://www.phpbb.com/customise/db/exte ... ew_window/)

Requirements: phpBB 3.2

Features:
Works without JavaScript (which may be ignored by bots or disabled by users), the needed attributes are injected into the HTML output. Also adds the ability to add the rel=nofollow attribute to external links.

The extension can be configured in the Admin Control Panel:
  • Allow users to choose for themselves if they would like to open external links in a new window.
  • Or force external links to be opened in a new window for registered users.
  • Open external links in new window for guests.
  • Open external links in new window for bots.
If enabled in the Admin Control Panel, the board users can configure in their User Control Panel if they would like to open external links in a new window. You can configure a default behavior in the Admin Control Panel that is used if a user does not choose a setting on his own.

The extension only modifies these links when displaying a message (post, private message, etc.). It does not alter the messages that are stored into the database.

Development Repository: https://github.com/Mar-tin-G/ExternalLinkInNewWindow

Extension Download:
Download at the development repository linked above via the "Download ZIP" button, or use this direct link: https://github.com/Mar-tin-G/ExternalLi ... /1.0.1.zip
Create the following folder structure in your board, and extract the files and folders from the downloaded ZIP file there: /ext/martin/externallinkinnewwindow.
Activate the extension in the Admin Control Panel (ACP) on the Customise > Manage Extensions page.
Configure the extension in the ACP on the Extensions > External Link In New Window > Settings page.
User option can be found in the UCP on the Board Preferences > Edit global settings page.

Re: [BETA] External Link In New Window

Posted: Wed Dec 31, 2014 8:21 pm
by alhitary
is it like ELONW aka "External Links Open in New Window" extension
viewtopic.php?f=456&t=2269181

What is the difference between yours and his ?

Re: [BETA] External Link In New Window

Posted: Thu Jan 01, 2015 3:56 pm
by spello
Search engines don't recognise javascript. "ELONW" is javascript based so "nofollow" will never work in that extension.

Re: [BETA] External Link In New Window

Posted: Thu Jan 01, 2015 4:26 pm
by RMcGirr83
spello wrote:Search engines don't recognise javascript. "ELONW" is javascript based so "nofollow" will never work in that extension.
You would be incorrect. Many search engines do recognize javascript. Google for example
The Google indexing system renders webpages using the HTML of a page as well as its assets such as images, CSS, and Javascript files.
https://support.google.com/webmasters/a ... 5769?hl=en

Re: [BETA] External Link In New Window

Posted: Thu Jan 01, 2015 7:49 pm
by janus_zonstraal
Other ext. is this one:
viewtopic.php?f=456&t=2270671

Re: [BETA] External Link In New Window

Posted: Fri Jan 02, 2015 1:51 am
by lavachapi
alhitary wrote:What is the difference between yours and his ?
RMcGirr83 wrote:Many search engines do recognize javascript. Google for example
___Martin wrote:Works without JavaScript (which may be ignored by bots or disabled by users), the needed attributes are injected into the HTML output. Also adds the ability to add the rel=nofollow attribute to external links.
Better is to have all situations managed by administrator/php so +1 for current extension.

Re: [BETA] External Link In New Window

Posted: Fri Jan 02, 2015 3:43 pm
by ___Martin
As you already pointed out, the main difference to RMcGirr83s "ELONW" is that his extension relies on JavaScript, while mine does not.
Anv@r.alls "External Links - URL Manager" has way more features than my extension, that I developed only for handling external links with the "Keep It Simple, Stupid" mantra in mind.

Feel free to choose the extension that fits your needs. :)

Re: [BETA] External Link In New Window

Posted: Tue Oct 06, 2015 3:01 pm
by alhitary
any update for this ext. ?

Re: [ABD] External Link In New Window

Posted: Tue Oct 06, 2015 5:29 pm
by Paul
This topic has been marked as [ABD] - Abandoned as the extension author has not been active recently. If the extension author wishes to continue development, please PM anyone on the Extensions Team to request this topic be unlocked.

Notice!
We do not recommend that a user of the phpBB software install this extension, or any other extension that is marked as “abandoned” or “in development”, on a live forum. Doing so may cause your forum to not perform in the manner it should.


Thank you,
The phpBB Extensions Team

Re: [BETA] External Link In New Window

Posted: Tue Dec 01, 2015 8:23 pm
by ___Martin
Just FYI: I had to change my GitHub username, the new repository URL is in the first post.
And I plan to continue the development of this extension.

Re: [BETA] External Link In New Window

Posted: Tue Dec 01, 2015 8:34 pm
by null2
Great!

Re: [BETA] External Link In New Window

Posted: Wed Dec 02, 2015 4:29 pm
by RomaamoR
Why invent something new, if such extension is already there?

Re: [BETA] External Link In New Window

Posted: Wed Dec 02, 2015 4:40 pm
by RMcGirr83
Because there is always more than one way to skin a cat. ;)

Re: [BETA] External Link In New Window

Posted: Fri Jan 15, 2016 8:48 pm
by ___Martin
Version 1.0.0-beta2 released.

Please feel free to download and test the new version:
https://github.com/Mar-tin-G/ExternalLi ... -beta2.zip
Any feedback is greatly appreciated.

There are no new features in this release, only code refactoring and cleanup, and the addition of unit tests.

Re: [BETA] External Link In New Window

Posted: Sun Jan 17, 2016 2:08 pm
by OmkePom
I tried, doesn't work at all.

The old version, External Links Open in New Window "rmcgirr83/elonw" version 1.0.1
date 2015-07-07 Licentie: GPL-2.0

works great. Needs no UCP or ACP function ...... just work.

THX :ugeek: