PDA

View Full Version : [req] [vB 3.8] - Link redirector


booher
01-15-2009, 03:25 PM
Could anyone make me a link rediretor that replaces external links in posts with something like:

YourSite.com/redirect.php?link=RedirectLink.com

and have it redirect them in 5 seconds after showing a message with a timer that says "You will be redirected to {RedirectLink} in {timer} seconds"

AndyJensen
01-16-2009, 04:05 AM
<?php
$link = $_GET['link'];
?>
<script>
if(confirm( "You will be redirected to <?php echo 'http://' . $link; ?>."))
{
location = "http://<?php echo $link; ?>";
}
else
{
history.back();
}
</script>

booher
01-17-2009, 01:48 PM
I know that much, but i want something that will automaticly overwrite external links only with something like:
Coder-Central.co.uk/forums/redirector.php?url=redirectedsite.com kinda like what myspace uses when you click an external link it says something like "you are leaving myspace" and have it redirect in like 5 seconds :)

rajrana007
02-23-2009, 12:43 PM
yeah even i wanna know this tho i want it for 3.7

TigerC10
02-23-2009, 01:49 PM
Have you all seen vbAnonymizer (https://vborg.vbsupport.ru/showthread.php?t=184267)

rajrana007
02-24-2009, 07:51 AM
Wow! thts wht i wanted brother! thank u so much!

booher
03-04-2009, 12:30 AM
Thanks very much! that is what i wanted!