[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 Stoker »

External Link Notifier
Written by Stoker

This is an addon to Prime Links mod. It notifies users when the click an external link.
You have problably seen it on sites like price runner.

Demo:
http://www.google.com
http://www.phpbb.com


Open includes/prime_links.php
Find:

Code: Select all

define('EXTERNAL_LINK_PREFIX', '');	
Replace with:

Code: Select all

define('EXTERNAL_LINK_PREFIX', 'http://www.yourdomain.com/go.php?');	
Change the http://www.yourdomain.com part with your domain.

Open language/en/common.php.php
Find:

Code: Select all

?>
Before add:

Code: Select all

// Extermal Link
$lang = array_merge($lang, array(
	'GO_PHP'						=> 'You are now leaving',
	'GO_PHP_SEE'						=> 'See you later!',
));
External Link Notifier.zip
You do not have the required permissions to view the files attached to this post.

[ADDON] External Link Notifier

Post by themission »

Thanks for posting this - its great, one thing is it possible to add like a banner to it ?

Highslide problem

Post by themission »

Have added a new theme - 360elite, and added all the mods from the premod to it all seems fine apart from the highslide and another mod but with the highslide if you click on an image it says its loading and thats about it does it on the main theme to now - obviously ive done somthing with a js file again cant figure out where i went wrong
site is http://www.squadoffour.com , thanks

[ADDON] External Link Notifier

Post by Stoker »

Sure, you can do whatever you want with the html file.

Highslide problem

Post by Stoker »

Highslide isnt part of the premod. Prettyphoto is.

Please activate the styleswitcher on the portal so I can access the style.

[ADDON] External Link Notifier

Post by themission »

Ok, thanks

Highslide problem

Post by themission »

have activated it its on the portal page bottom right :)

Highslide problem

Post by Stoker »

This is not related to the highslide attachment mod.
You are using a bbcode for external images and you also have the external link notifier. That is the conflict.


To avoid this you have to add the domains where the external images are located to the prime_links.php

Highslide problem

Post by themission »

Ahh right thank you once again :)
EDIT - working now

[ADDON] External Link Notifier

Post by Stoker »

No problem.
I merged the topic with the external link topic.