[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
Anv@r.all
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev
Contact:

Re: [BETA] External Links - URL Manager

Post by Anv@r.all » Thu Nov 13, 2014 6:42 pm

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: 6754
Joined: Mon Dec 08, 2003 9:24 pm
Location: Spain
Name: Raul Arroyo
Contact:

Re: [BETA] External Links - URL Manager

Post by Raul [ThE KuKa] » Thu Nov 13, 2014 9:00 pm

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 :warning:


If you like my styles, translations, etc. and want to show some appreciation, then feel free to Donate with Image
:flag_es: phpBB Spain - Online Since 2003 :heart:



User avatar
Volksdevil
Registered User
Posts: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] External Links - URL Manager

Post by Volksdevil » Thu Nov 13, 2014 10:22 pm

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 Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Anv@r.all
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev
Contact:

Re: [BETA] External Links - URL Manager

Post by Anv@r.all » Fri Nov 14, 2014 6:35 pm

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.. » Fri Nov 14, 2014 7:05 pm

Hi there, I am trying to understand this extension. Will it give the ability to alter the link's url?

User avatar
Anv@r.all
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev
Contact:

Re: [BETA] External Links - URL Manager

Post by Anv@r.all » Sat Nov 15, 2014 4:59 am

..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 » Sat Nov 15, 2014 9:20 am

tnx for the mod. But is it possible to disable "Showing page with a warning before proceeding"?

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

Re: [BETA] External Links - URL Manager

Post by janus_zonstraal » Sat Nov 15, 2014 9:50 am

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 » Sat Nov 15, 2014 10:08 am

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: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] External Links - URL Manager

Post by Volksdevil » Sat Nov 15, 2014 2:15 pm

Anv@r.all 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 Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Anv@r.all
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev
Contact:

Re: [BETA] External Links - URL Manager

Post by Anv@r.all » Sat Nov 15, 2014 6:24 pm

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: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] External Links - URL Manager

Post by Volksdevil » Sat Nov 15, 2014 7:32 pm

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 Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | My Volkswagen Corrado G60

User avatar
Anv@r.all
Registered User
Posts: 191
Joined: Sun Sep 15, 2013 11:49 am
Location: bb3.mobi
Name: Anvar Stybaev
Contact:

Re: [BETA] External Links - URL Manager

Post by Anv@r.all » Sat Nov 15, 2014 8:51 pm

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: 2414
Joined: Sun Oct 03, 2010 2:03 pm
Location: Lancashire, UK
Name: Neil
Contact:

Re: [BETA] External Links - URL Manager

Post by Volksdevil » Sun Nov 16, 2014 1:05 am

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 Image KUALO!
Do NOT use 123-reg.co.uk - Incapable of running phpBB!
:ugeek: TekNeil - Streamer on Mixer | 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 » Sun Nov 16, 2014 2:36 am

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

Locked

Return to “Abandoned Extensions”