View Full Version : Active Link Security 4.0
Thanks to TC from ElAntro.cl for the PHP code.
This hack will allow you to have active links on your forum but with security knowing the place were you are linking to wont know were you came from. Ie. If you click on a link in a post on your web site, the web site you go to will not know were you came from.
Time: 1 minute
Files to edit: 1
Files to upload: 1
No screenshots needed. Also, please click ‘install’ if you use.
twoseven
10-17-2004, 02:08 PM
oh so this turns our forum into the blind redirector nice
Carter876
10-17-2004, 02:15 PM
I used your Active Link Security 3.0 but this is better because it doesn't use any site :)
* Click Install
Regards
I used your Active Link Security 3.0 but this is better because it doesn't use any site :)
* Click Install
Regards
Right. That is why I even started a new thread.
djohn
10-17-2004, 03:23 PM
installed.
suggestions: replace return return "<a href=\"http://www.yourwebsite.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>"; with "<a href=\"$vboptions[bburl]/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
for future versions: per-forums setting, whether to use this hack or not.
thanks
twoseven
10-17-2004, 03:31 PM
i dont know if this was ever covered but is there a way to not redirect same site links?
Lionel
10-17-2004, 05:31 PM
I changed the content to "20" in links.php so I could test it, but it goes straight to other site...
edit:... never mind it works, but with new links only.
dndog
10-17-2004, 05:36 PM
Are there any practical reasons for this?
It sounds good, but I don't know why anyone would want to do this.
i dont know if this was ever covered but is there a way to not redirect same site links?
Yes. Make sure your users know about the [thread] and [post] BB codes.
Are there any practical reasons for this?
It sounds good, but I don't know why anyone would want to do this.
Many reasons. Read though 'Active Link Security 3.0' for many reasons people posted.
theArchitect
10-18-2004, 02:08 AM
*theArchitect clicks install and is most impressed with Abe's work.*
Thankyou for sharing this with us.
msimplay
10-18-2004, 09:38 AM
Fantastic i needed one of these excellent idea :D
TCattitude
10-18-2004, 11:12 AM
Nice :)
Nice hack, thanks for sharing ;)
our related link is with an infoframe:
http://redirect.koelnboard.de/redirect.php?url=http://google.com
i saw it @giga and i think it works very well ;-)
text on the left:
the koelnboard is not responsible for the content
text on the right:
close infoframe
mmm... your site is currently down azmi :ermm:
:ermm: its Murphys law
he was down for half an hour.
at the same time you was looking for.
Ber|Art
10-19-2004, 12:05 PM
Wow, works perfectly, very nice hack THX! :)
Anyone else having this isssue?
After installing this mod, the prior urls link fine. BUT, if you go to add one or modify one, the link takes you to this yourwebsite url?
Example, I did a hyperlink url
[url = http://www.pcworld.com/news ] News Source [ / url] *Without spaces to show what I did*
And mine goes here now......
http://www.yourwebsite.com/links.php?url=http://www.pcworld.com/news
Help?
You can see this by going here
Not Working (http://www.cpfools.com/forum/showthread.php?p=8446#post8446)
and if you select another "prior to hack" post, it works as in this example here:
Working (http://www.cpfools.com/forum/showthread.php?t=3802)
the "http://www.yourwebsite.com/links.php"
is only an example and cannot work correkt.
http://anonym.to
is such an redirect url!
Anyone else having this isssue?
After installing this mod, the prior urls link fine. BUT, if you go to add one or modify one, the link takes you to this yourwebsite url?
Example, I did a hyperlink url
[url = http://www.pcworld.com/news ] News Source [ / url] *Without spaces to show what I did*
And mine goes here now......
http://www.yourwebsite.com/links.php?url=http://www.pcworld.com/news
Help?
You can see this by going here
Not Working (http://www.cpfools.com/forum/showthread.php?p=8446#post8446)
and if you select another "prior to hack" post, it works as in this example here:
Working (http://www.cpfools.com/forum/showthread.php?t=3802)
You must change www.yourwebsite.com to your web sites address like: www.cpfools.com/forum/
You must change www.yourwebsite.com to your web sites address like: www.cpfools.com/forum/
Worked like a charm!
Thanks!
Worked like a charm!
Thanks!
Now, make sure you click install.
* Clicks Install
* forget how to do that using a me tag, but I clicked install. Thanks
bonnmac
10-21-2004, 01:13 AM
ok is this right when i click on a link from my site i see for a split second redirecting to the actual url dose this mean its working right??
ok is this right when i click on a link from my site i see for a split second redirecting to the actual url dose this mean its working right??
Please click 'install' to get help.
Anyway, yes. That it was suppose to happen. Also, some web sites take longer to go to then others.
very nice upgrade, good work. Thanks a lot man.
The Realist
10-24-2004, 01:54 PM
Thanks M8, works great :)
djohn
10-24-2004, 02:35 PM
how can i make the script exclude site-wide links? for example, i would not like to open a redirection popup, if the link is to another topic or part of my site.
how can i make the script exclude site-wide links? for example, i would not like to open a redirection popup, if the link is to another topic or part of my site.
Tell your users to use the [thread] and [post] BB codes.
turkforum
10-27-2004, 04:06 AM
great hack installed and saved a bunch of money on my car insurance
Mone'
11-02-2004, 09:14 PM
Ae1 , great hack work almost perfectly for normal url
however if you have url like this one:
http://support.microsoft.com/default.aspx?scid=kb;en-us;832790
the links.php will redirect to:
http://support.microsoft.com/default.aspx?scid=kb
cutting the ";en-us;832790" part at the end of the url.
the weird thing it's that it work perfectly in firefox but my user get's the problem with IE6 sp2 with links like the above example.
Do you know how to fix it ?
thank you
Mone'
Hi,
you can use javascript to redirect instead of the meta-tag.
In links.php instead of
<META HTTP-EQUIV="refresh" content="0; URL=<? echo $site; ?>"></HEAD>
use this
<script type="text/javascript">window.location.href="<? echo $site; ?>"</script></HEAD>
You'll still have the title "Redirecting..." (just use the global phrase $vbphrase['redirecting'] instead no hardcoding for compatibilty with other languages) but it will redirect you right away even better and faster than the meta tag, no "extra info page" either :) Tested with internet explorer 5.5 and 6.0, no "cut offs" :D :D
how can i make the script exclude site-wide links? for example, i would not like to open a redirection popup, if the link is to another topic or part of my site.
In functions_bbcodeparse.php first change this:
function handle_bbcode_url($text, $link, $type = 'url')
{
global $wysiwygparse;
to this:
function handle_bbcode_url($text, $link, $type = 'url')
{
global $wysiwygparse, $vboptions;
in order to have access to vboptions first. Now again at around line 1480 or so use this:
if ($type == 'url')
{
// standard URL hyperlink
$lenbburl=strlen($vboptions['bburl']);
if ( substr($vboptions['bburl'],0,$lenbburl) == substr($rightlink,0,$lenbburl) ) {
return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
} else {
return "<a href=\"" . $vboptions['bburl'] . "/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
}
}
else
Good luck :)
teamgofast
11-27-2004, 11:45 PM
install, great hack thank you!
our related link is with an infoframe:
http://redirect.koelnboard.de/redirect.php?url=http://google.com
i saw it @giga and i think it works very well ;-)
text on the left:
the koelnboard is not responsible for the content
text on the right:
close infoframe
can we use anther url like said thati dont need to usemy url i need to use google.. so if TheUser enter forumssiteother.com and the forumssiteother.com check his log or state to find where poeple come from etc.. it will show from google if they was enter from my site.?
aranthorn
01-17-2005, 03:52 PM
Just the ticket!
Sin City
01-22-2005, 06:03 AM
great hack :)
Bubble #5
05-11-2005, 04:15 PM
suggestions: replace return return "<a href=\"http://www.yourwebsite.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>"; with "<a href=\"$vboptions[bburl]/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
for future versions: per-forums setting, whether to use this hack or not.
Are we supposed to make this modification? What is it's benifit?
Are we supposed to make this modification? What is it's benifit?
Up to you.
Bubble #5
05-11-2005, 05:12 PM
What does that code (by djohn) change? What is the benifit of changing it?
Also, in the instructions it says: Replace with:
return "<a href=\"http://www.yourwebsite.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
Shouldn't that read?:
Replace with:
return "<a href=\"http://www.yourwebsite.com/forums/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
dirtycrow
05-13-2005, 05:08 AM
does this work for hotlinked images as well?
What does that code (by djohn) change? What is the benifit of changing it?
Also, in the instructions it says: Replace with:
return "<a href=\"http://www.yourwebsite.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
Shouldn't that read?:
Replace with:
return "<a href=\"http://www.yourwebsite.com/forums/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
No. not every one uses /forums/.
does this work for hotlinked images as well?
No. Images are pulled.
dirtycrow
05-13-2005, 03:15 PM
No. Images are pulled.
hmmm. . .is there a hack out there so they don't know who is pulling it?
hmmm. . .is there a hack out there so they don't know who is pulling it?
I dont think that is possible. Your pulling it and have to send were it should get pulled to. How can you block it?
dirtycrow
05-14-2005, 04:21 AM
I dont think that is possible. Your pulling it and have to send were it should get pulled to. How can you block it?
short of always using a anonymous proxy go between, not sure.
This file functions_bbcodeparse.php doesn't appear in 3.5.4 what file do I have to modify in 3.5.4
This file functions_bbcodeparse.php doesn't appear in 3.5.4 what file do I have to modify in 3.5.4
This hack is for vb 3.0.3.
yep, but why not implant it to the 3.5.4
yep, but why not implant it to the 3.5.4
I did. Search the forums.
digibluez
07-28-2008, 01:12 PM
because the web is full of site trackers ,spam-bots and other stuff.i am one of them useing, so beware :P muahhaha, i dont use this though, bad for UUUssss :P
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.