[3.2][RC] External Link In New Window

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
___Martin
Registered User
Posts: 44
Joined: Wed Aug 27, 2014 3:05 pm
Location: Germany

[3.2][RC] External Link In New Window

Post by ___Martin » Tue Dec 30, 2014 8:46 pm

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.
Last edited by ___Martin on Sat May 12, 2018 11:05 pm, edited 7 times in total.

User avatar
alhitary
Registered User
Posts: 807
Joined: Wed Jan 17, 2007 7:51 am
Location: ROY
Name: Basil Taha Alhitary
Contact:

Re: [BETA] External Link In New Window

Post by alhitary » Wed Dec 31, 2014 8:21 pm

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 ?
Last edited by alhitary on Thu Jan 01, 2015 9:18 pm, edited 1 time in total.

spello
Registered User
Posts: 117
Joined: Sat May 28, 2011 11:12 am
Contact:

Re: [BETA] External Link In New Window

Post by spello » Thu Jan 01, 2015 3:56 pm

Search engines don't recognise javascript. "ELONW" is javascript based so "nofollow" will never work in that extension.

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20889
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [BETA] External Link In New Window

Post by RMcGirr83 » Thu Jan 01, 2015 4:26 pm

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
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

janus_zonstraal
Registered User
Posts: 2610
Joined: Sat Aug 30, 2014 1:30 pm

Re: [BETA] External Link In New Window

Post by janus_zonstraal » Thu Jan 01, 2015 7:49 pm

Other ext. is this one:
viewtopic.php?f=456&t=2270671
Sorry! My English is bat ;) !!!

lavachapi
Registered User
Posts: 49
Joined: Sat Nov 01, 2014 8:12 am

Re: [BETA] External Link In New Window

Post by lavachapi » Fri Jan 02, 2015 1:51 am

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.

User avatar
___Martin
Registered User
Posts: 44
Joined: Wed Aug 27, 2014 3:05 pm
Location: Germany

Re: [BETA] External Link In New Window

Post by ___Martin » Fri Jan 02, 2015 3:43 pm

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. :)


User avatar
Paul
Infrastructure Team Leader
Infrastructure Team Leader
Posts: 24593
Joined: Sat Dec 04, 2004 3:44 pm
Location: The netherlands.
Name: Paul Sohier
Contact:

Re: [ABD] External Link In New Window

Post by Paul » Tue Oct 06, 2015 5:29 pm

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
Last edited by Derky on Tue Dec 01, 2015 7:41 am, edited 1 time in total.
Reason: Restored from ABD after request from author.
Knock knock
Race condition
Who's there?

My BlogMy Photosmy phpBB Extensionscustom phpBB work & Development

User avatar
___Martin
Registered User
Posts: 44
Joined: Wed Aug 27, 2014 3:05 pm
Location: Germany

Re: [BETA] External Link In New Window

Post by ___Martin » Tue Dec 01, 2015 8:23 pm

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.

User avatar
null2
Registered User
Posts: 422
Joined: Wed Jan 20, 2010 11:03 am

Re: [BETA] External Link In New Window

Post by null2 » Tue Dec 01, 2015 8:34 pm

Great!
Sorry for my bad english. I'm from USA.

User avatar
RomaamoR
Registered User
Posts: 144
Joined: Tue Feb 24, 2015 4:45 pm
Contact:

Re: [BETA] External Link In New Window

Post by RomaamoR » Wed Dec 02, 2015 4:29 pm

Why invent something new, if such extension is already there?

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20889
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [BETA] External Link In New Window

Post by RMcGirr83 » Wed Dec 02, 2015 4:40 pm

Because there is always more than one way to skin a cat. ;)
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

User avatar
___Martin
Registered User
Posts: 44
Joined: Wed Aug 27, 2014 3:05 pm
Location: Germany

Re: [BETA] External Link In New Window

Post by ___Martin » Fri Jan 15, 2016 8:48 pm

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.

User avatar
OmkePom
Registered User
Posts: 205
Joined: Tue Jul 15, 2014 8:38 am
Name: IJsbrand Nijboer

Re: [BETA] External Link In New Window

Post by OmkePom » Sun Jan 17, 2016 2:08 pm

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:
You got Brains like a Peanut, OMG i insulted a Peanut!

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: martti, v12mike and 29 guests