[ADDON] External Link Notifier

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

[ADDON] External Link Notifier

Post by themission »

Had to turn it off was getting white page - how exactly do i add them can you show me like 3 in a row i added 1 was fine - 2 gave me a white page - i kind of get it but dont ( im sure i should ) ..sorry

[ADDON] External Link Notifier

Post by Stoker »

Please post the edit you made in prime_links.php

[ADDON] External Link Notifier

Post by themission »

Code: Select all

	// Options
	define('PRIME_LINKS_ENABLE', false);			// Enable this MOD?
	define('REMOVE_SUBDOMAINS', true);			// Specify subdomains to be removed before checking the link, separated by semicolons (setting TRUE will remove all subdomains)
	define('USE_TARGET_ATTRIBUTE', false);		// The attribute "target" is not valid for STRICT doctypes.
	define('HIDE_LINKS_FROM_GUESTS', false);	// Hide external links from guests? If this is a string, then the text of the link will be replaced with this string.
	define('EXTERNAL_LINK_PREFIX', 'http://www.squadoffour.com/go.php?');			// Example: 'http://anonym.to?'
	define('INTERNAL_LINK_DOMAINS', '');		// List of domains to be considered local, separated by semicolons. Example: 'http://www.alternate-domain.com'
	define('FORBIDDEN_DOMAINS', '');			// List of domains for which links should be removed, separated by semicolons. Example: 'http://www.porn.com'
	define('FORBIDDEN_NEW_URL', '#');			// URL to insert in place of any removed links. Example: 'http://www.google.com' or '#top'
	define('TOP_LEVEL_DOMAIN_NAME', '');		// Recommended for domains with country codes. Example: '.co.jp'
i took it off but in the define('INTERNAL_LINK_DOMAINS', ''); // List of domains to be considered local, separated by semicolons. Example: 'http://www.alternate-domain.com' i added them in there - tbh i think i added it in the wrong place and added them in these ' ' probably wrong too

[ADDON] External Link Notifier

Post by Stoker »

Its hard to say what you did wrong.
Start over and only do the edit suggested.

Highslide problem

Post by Blackwolf »

Stoker wrote:External Link Notifier
Would you mind letting me know what I may have done wrongly please? Yes uploaded go.php to /home4/ultimbz7/public_html/forum and also the html file to /home4/ultimbz7/public_html/forum/styles/ca_black/template. I added all the edits.....changed to ultimateeditionoz but keep getting

Code: Select all

Not Found

The requested URL /go.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
Apache Server at www.ultimateeditionoz.com Port 80
:( I know.....n00b :roll:

[ADDON] External Link Notifier

Post by Stoker »

You should use this in prime_links.php:
define('EXTERNAL_LINK_PREFIX', 'http://www.ultimateeditionoz.com/forum/go.php?');
And remember to do the language edit.

[ADDON] External Link Notifier

Post by Blackwolf »

Stoker wrote:You should use this in prime_links.php:
define('EXTERNAL_LINK_PREFIX', 'http://www.ultimateeditionoz.com/forum/go.php?');
And remember to do the language edit.

;) duh!! thank you !! :thumb:

[ADDON] External Link Notifier

Post by Solidjeuh »

This is great!
Thank you!

[ADDON] External Link Notifier

Post by Solidjeuh »

1 little question ..
I have download links on my forum .. like rapidshare, fileserve, easyshare ...
Is it possible to exclude those links?
Cause it's really annoying .. normally the download is starting immediately
But now there is always that link notifier .. :D

[ADDON] External Link Notifier

Post by Stoker »

Yes, set them up as local in prime_links.php