[ABD] External Links - URL Manager

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
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] External Links - URL Manager

Post by [email protected] »

button class does not need to use, it was a temporary solution, better postlink.

Other wishes to extent of free time will be made.


Holger, Thank you! :D
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
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: [BETA] External Links - URL Manager

Post by Raul [ThE KuKa] »

Spanish translation ready ;)

Code: Select all

<?php
/**
*
* External Links [Spanish]
*
* @package info_acp_exlinks.php
* @copyright (c) 2014 Anvar http://bb3.mobi
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
*
*/

/**
* DO NOT CHANGE
*/
if (!defined('IN_PHPBB'))
{
	exit;
}

if (empty($lang) || !is_array($lang))
{
	$lang = array();
}

$lang = array_merge($lang, array(
	'ACP_MODED_LINKS_TITLE'			=> 'Enlaces Externos',

	'ACP_MODED_LINKS'				=> 'Gestionar enlaces',
	'ACP_MODED_LINKS_EXPLAIN'		=> 'Anvar (c) <a href="http://bb3.mobi">BB3.Mobi</a>',
	'ACP_MODED_LINKS_DESCRIPTION'	=> 'Aquí puede personalizar la visualización de todos los enlaces externos publicados en el foro.',

	'ACP_MODED_LINKS_SETTINGS'		=> 'Ajustes básicos de enlaces',
	'ACP_TARGET_ATTRIBUTE'			=> '¿Usar el atributo «target»?',
	'ACP_TARGET_ATTRIBUTE_EXPLAIN'	=> 'Si está desactivada, se utilizará OnClick JavaScript.',
	'ACP_HIDE_LINKS_GUESTS'			=> '¿Ocultar enlaces externos a invitados?',
	'ACP_HIDE_LINKS_GUESTS_EXPLAIN'	=> 'Introduzca el texto, y nombres de los enlaces que desea reemplazados.',
	'ACP_EXTERNAL_LINK_PREFIX'		=> 'Prefijo antes del enlace',

	'ACP_INTERNAL_LINK_DOMAINS'		=> 'Lista de los dominios que no están cubiertos por el mantenimiento anteriormente, utilizando ";" (punto y coma para separar)',
	'ACP_FORBIDDEN_DOMAINS'			=> 'Lista de los dominios que no se muestran enlaces, utilizando ";" (punto y coma para separar)',
	'ACP_FORBIDDEN_DOMAINS_TEXT'	=> 'Texto en lugar de URL bloqueada',
	'ACP_FORBIDDEN_NEW_URL'			=> 'URL en lugar de los enlaces remotos',

	'ACP_MODED_LINKS_ATTRIBUTES'	=> 'Atributos de enlaces',
	'ACP_INTERNAL_LINK_REL'			=> 'El atributo rel de enlaces internos',
	'ACP_EXTERNAL_LINK_REL'			=> 'El atributo rel de enlaces externos',
	'ACP_INTERNAL_LINK_TARGET'		=> 'Tipo de target para enlaces internos',
	'ACP_EXTERNAL_LINK_TARGET'		=> 'Tipo de target para enlaces externos',
	'ACP_INTERNAL_LINK_CLASS'		=> 'Clase de los enlaces internos',
	'ACP_EXTERNAL_LINK_CLASS'		=> 'Clase de los enlaces externos',
	'ACP_EXTERNAL_LINK_NOINDEX'		=> '¿Cerrar noindex en enlaces externos?',

	'MESSAGE_TEXT'	=> '<strong>Usted va a un enlace externo: <span class="error">%s</span></strong><p>Asegúrese de que el enlace es de plena confianza y protegido de influencias nocivas.<br />Si el enlace muestra algo sospechoso, informe respetuosamente a la Administración.</p>',
	'URL_LINK'		=> '%sIr al enlace%s',
));
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
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [BETA] External Links - URL Manager

Post by Volksdevil »

Any thoughts on the fact that signatures seem to have both classes added to them after the first post?
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] External Links - URL Manager

Post by [email protected] »

Volksdevil, Updated archive.
Separate signature will not work. Use common function, other possibilities yet. No events. Sorry..

Raul [ThE KuKa], Thank you!
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
..777..
Registered User
Posts: 150
Joined: Tue Oct 28, 2014 5:43 pm

Re: [BETA] External Links - URL Manager

Post by ..777.. »

Hi there, I am trying to understand this extension. Will it give the ability to alter the link's url?
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] External Links - URL Manager

Post by [email protected] »

..777... There are opportunities.

Need a correct translation of the values and description.
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
thoomas
Registered User
Posts: 56
Joined: Fri Jul 13, 2007 11:50 am

Re: [BETA] External Links - URL Manager

Post by thoomas »

tnx for the mod. But is it possible to disable "Showing page with a warning before proceeding"?
User avatar
janus_zonstraal
Registered User
Posts: 6590
Joined: Sat Aug 30, 2014 1:30 pm

Re: [BETA] External Links - URL Manager

Post by janus_zonstraal »

thoomas wrote:tnx for the mod. But is it possible to disable "Showing page with a warning before proceeding"?
Yes you can.
Leaf "Prefix before the link:" blank
Sorry! My English is bat ;) !!!
thoomas
Registered User
Posts: 56
Joined: Fri Jul 13, 2007 11:50 am

Re: [BETA] External Links - URL Manager

Post by thoomas »

janus_zonstraal wrote:
thoomas wrote:tnx for the mod. But is it possible to disable "Showing page with a warning before proceeding"?
Yes you can.
Leaf "Prefix before the link:" blank
thanks!
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [BETA] External Links - URL Manager

Post by Volksdevil »

[email protected] wrote:Volksdevil, Updated archive.
Separate signature will not work.
Thanks. Do you mean that signatures are no longer affected?
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] External Links - URL Manager

Post by [email protected] »

Will not change the operation of expansion, separately for signature.

No events in phpBB3.1.

Signatures of messages are handled as a common feature. ;)
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [BETA] External Links - URL Manager

Post by Volksdevil »

OK. I'm not sure I fully understand (Language barrier) but I've noticed that signatures after the first post still have BOTH classes (Internal and External) applied to them.

I still had to edit the exact link to show properly too, it was only showing last part of links, instead of the full url/exact link.

Can I suggest a change to the 'EN' language variable for:
'MESSAGE_TEXT'?

It reads better for English like:
'MESSAGE_TEXT' => '<strong>You have chosen to visit an external link at: <span class="error">%s</span></strong><p>Are you sure you wish to proceed?<br />If the link is suspicious, please let the Admin or Moderator team know.</p>',

Also, it would be nice to have an option for no redirect at all.

Otherwise, great work 8-)
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
[email protected]
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev

Re: [BETA] External Links - URL Manager

Post by [email protected] »

thanks! Update. Redirect max 50
[DEV/Beta] More extensions

Hopefully Google correctly translate my text// I do not support in private messages!
User avatar
Volksdevil
Registered User
Posts: 2415
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil

Re: [BETA] External Links - URL Manager

Post by Volksdevil »

Another small change I made...

Because we have already opened a new window/tab, we don't need 'Return to index' button.

So in: language/en/info_acp_exlinks.php at the bottom I added:
'CLOSE_PAGE' => '%sClose this page%s',

Then in: controller/url.php I changed this:
$message .= sprintf($this->user->lang['RETURN_INDEX'], '&nbsp;<a href="' . generate_board_url() . '" class="button">', '</a>&nbsp;');

To this:
// return to index button $message .= sprintf($this->user->lang['RETURN_INDEX'], '&nbsp;<a href="' . generate_board_url() . '" class="button">', '</a>&nbsp;');

// close window button
$message .= sprintf($this->user->lang['CLOSE_PAGE'], '&nbsp;<a class="button" onclick="self.close()">', '</a>&nbsp;');


It now looks like this with a 'Close this page' button instead. :)
Image

I hope you like the changes/request. :)
My phpBB Extensions
Finally found great Website Hosting from :arrow: KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Twitch | My Volkswagen Corrado G60
User avatar
aurquiel
Registered User
Posts: 243
Joined: Fri May 15, 2009 1:45 am

Re: [BETA] External Links - URL Manager

Post by aurquiel »

Its possible not time for redirection, i want the user ciclk to go out

Return to “Abandoned Extensions”