[ABD] External Links

Any abandoned Extensions will be moved to this forum.

WARNING: Extensions in this forum are not currently being supported or maintained by the original Extension author. Proceed at your own risk.
Forum rules
IMPORTANT: Extension Development Forum rules

WARNING: Extensions in this forum are not currently being supported nor updated by the original Extension author. Proceed at your own risk.
User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

[ABD] External Links

Post by AbaddonOrmuz »

Extension Name: External Links
Author: Alfredo Ramos (Abaddon Ormruz)

Extension Description:

It adds cosmetic, functionality and security configuration options for external links.

It helps identify external links for both users and search engines by adding relationship identifiers to all external links.

Image Image

Extension Version: 0.4.0-dev

Requirements:
  • PHP 7.1.3 or greater
  • phpBB 3.3 or greater
Features:
  • Open external links in a new tab
  • Add visual indicator to external links
  • Add link relationships
    • rel=external: To indicate the linked page does not belong to the current website (ref)
    • rel=nofollow: To indicate that search engines must not crawl the linked page (ref1, ref2)
    • rel=noreferrer: To prevent information leakage when following the link (ref)
    • rel=noopener: To prevent an attack surface when opening links in a new tab (ref1, ref2)
    • rel=ugc: To indicate user-generated content links (ref)
  • Show warning page on external links
  • Optional automatic redirection, for warning page, with delay
Screenshots:

Image Image Image Image

(Click to see in full size)

Extension Download: alfredoramos_externallinks_0.4.0-dev.zip
GitHub repository: AlfredoRamos/phpbb-ext-external-links

Changelog:
  • 0.4.0-dev - 2020-02-06
    • Fix issue with internal links
    • Add warning page for external links
    • Add Spanish translations
  • 0.3.0-dev - 2020-01-28
    • Code optimization
  • 0.2.0-dev - 2020-01-27
    • Fix issue with extra <p> tag that made the topic text bigger
  • 0.1.0-dev - 2020-01-23
    • First version
Last edited by AbaddonOrmuz on Thu Mar 26, 2020 5:31 am, edited 5 times in total.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

User avatar
3Di
Former Team Member
Posts: 15414
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.3][DEV] External Links

Post by 3Di »

Nice. :) Also Discord adds a warning page btw.
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ยบ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.3][DEV] External Links

Post by AbaddonOrmuz »

3Di wrote: โ†‘
Fri Jan 24, 2020 12:23 am
Nice. :) Also Discord adds a warning page btw.
I just saw a screenshot. I don't use Discord ๐Ÿ˜…
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

User avatar
3Di
Former Team Member
Posts: 15414
Joined: Mon Apr 04, 2005 11:09 pm
Location: Milan (IT) Frankfurt (DE)
Name: Marco
Contact:

Re: [3.3][DEV] External Links

Post by 3Di »

AbaddonOrmuz wrote: โ†‘
Fri Jan 24, 2020 12:28 am
3Di wrote: โ†‘
Fri Jan 24, 2020 12:23 am
Nice. :) Also Discord adds a warning page btw.
I just saw a screenshot. I don't use Discord ๐Ÿ˜…
phpBB Discord ;) https://discordapp.com/channels/2201926 ... 1090650114
Please PM me only to request paid works. Thx.
Want to compensate me for my interest? Donate
My development's activity ยบ PhpStorm's proud user
Extensions, Scripts, MOD porting, Update/Upgrades
:studio_microphone: Premium extensions @ The Studio

mastnacek
Registered User
Posts: 83
Joined: Thu Oct 25, 2018 6:43 am

Re: [3.3][DEV] External Links

Post by mastnacek »

Hello man, great extension. I tried, works as uzual. But one bug. Font in topics are bigger and bold after activate your extension.

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.3][DEV] External Links

Post by AbaddonOrmuz »

mastnacek wrote: โ†‘
Sat Jan 25, 2020 9:00 am
Hello man, great extension. I tried, works as uzual. But one bug. Font in topics are bigger and bold after activate your extension.
Thanks.

I've fixed the issue (#8) that makes the font bigger (content wrapped in a <p> tag), however I can't reproduce your issue about the font being bolder, maybe is just because the text was bigger.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

User avatar
L&R
Registered User
Posts: 41
Joined: Mon Oct 08, 2018 5:47 am

Re: [3.3][DEV] External Links

Post by L&R »

Good job! I have tested it and it works as it should.

Sergio64
Registered User
Posts: 4
Joined: Sun Jan 19, 2020 3:46 pm
Contact:

Re: [3.3][DEV] External Links

Post by Sergio64 »

Hello,

I found some bugs on Chrome browser : Some wide message windows and some font bigger.

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.3][DEV] External Links

Post by AbaddonOrmuz »

Version 0.2-0-dev released, see the first post for download link and changelog.
mastnacek wrote: โ†‘
Sat Jan 25, 2020 9:00 am
Font in topics are bigger and bold after activate your extension.
It must be fixed now.
L&R wrote: โ†‘
Sat Jan 25, 2020 7:46 pm
Good job! I have tested it and it works as it should.
Thanks :sunglasses:
Sergio64 wrote: โ†‘
Sat Jan 25, 2020 10:28 pm
Some wide message windows and some font bigger.
I don't know what "wide message windows" means but the issue regarding the bigger text has been fixed.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

Sergio64
Registered User
Posts: 4
Joined: Sun Jan 19, 2020 3:46 pm
Contact:

Re: [3.3][DEV] External Links

Post by Sergio64 »

Hello, "wide message windows" means :

On Chrome, with extension enabled :
with.jpg
Bug on font:
policywith.jpg

Extension disabled :
without.jpg
policywithout.jpg

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.3][DEV] External Links

Post by AbaddonOrmuz »

Hi,
Sergio64 wrote: โ†‘
Mon Jan 27, 2020 6:27 pm
Hello, "wide message windows" means :
:thinking:

Did you try the the new version 0.2.0-dev I just released?

It looks very similar to the issue reported here:

viewtopic.php?t=2536496

If that's the case, then it's an error in prosilver itself, not the extension.

Please update the extension to version 0.2.0-dev and create a new post, If the issue is still there, please share that post URL to take a look.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

Sergio64
Registered User
Posts: 4
Joined: Sun Jan 19, 2020 3:46 pm
Contact:

Re: [3.3][DEV] External Links

Post by Sergio64 »

Hi,

I tried the new version 0.2.0-dev but there's no change. So I try to modify the responsive.css like the issue you reposted. No change for me, there is always the bug like above.

Edit : Obviously, I erased the cache, and cookies between each test.
PHP 7.3.12 - phpBB 3.3.0

User avatar
AbaddonOrmuz
Recognised Extension Developer
Posts: 870
Joined: Wed Dec 25, 2013 9:06 pm
Location: /dev/null
Name: Alfredo Ramos
Contact:

Re: [3.3][DEV] External Links

Post by AbaddonOrmuz »

Version 0.3.0-dev released, see the first post for download link and changelog.

Now it only modifies URLs, to prevent introducing new bugs.
Sergio64 wrote: โ†‘
Tue Jan 28, 2020 11:59 am
I tried the new version 0.2.0-dev but there's no change.
Well, I can't do much to help you, I can't reproduce the issue and you didn't share the URL as I requested in my previous message.
Some of my phpBB extensions:
Image Imgur | :chart_with_upwards_trend: SEO Metadata | Image Markdown | :lock: Auto-lock Topics
:trophy: Check out all my validated extensions :trophy:

:penguin: Arch Linux user :penguin:

User avatar
L&R
Registered User
Posts: 41
Joined: Mon Oct 08, 2018 5:47 am

Re: [3.3][DEV] External Links

Post by L&R »

With the latest release 0.3 internal(board) links go to new tabs as external do.
Can we have this in ACP menu like: open local links in new tab/same tab.

Thank you in advance!

User avatar
Steve
Registered User
Posts: 1092
Joined: Tue Apr 07, 2009 7:48 pm
Location: UK ,up north!!
Name: Steven Clark
Contact:

Re: [3.3][DEV] External Links

Post by Steve »

Sergio64 wrote: โ†‘
Mon Jan 27, 2020 6:27 pm
Hello, "wide message windows" means :

On Chrome, with extension enabled :
with.jpg
Bug on font:
policywith.jpg


Extension disabled :
without.jpg
policywithout.jpg
Enable phpBB debug. Check all language files are utf8 with out bom. The space looks like a suppressed php error.

Locked

Return to โ€œAbandoned Extensionsโ€