PDA

View Full Version : Link Anonymizer


Marco van Herwaarden
09-05-2005, 10:00 PM
Link Anonymizer v1.02a & 1.03, 1.04, 1.05.3 & 1.10

Author: MarcoH64

vBulletin Version: 3.5.1

Warning: Version 1.02 might create double anonym links if you edit a post multiple times. Version 1.03 has been reported not to be working for some people. Please read posts in this thread if you plan on using this hack, until i had time to look into this.
v1.05 and higher should be the best versions
1.10 Is an updated version of 1.05.3 and is considered a stable release. Only version 1.10 will be supported now.

Description:
This Product will add a self configurable anonymising link to all external urls in posts.

Installation:
Install the XML-file as Product.

Configuration:
vBulletin Options->Link Anonymizer :

Local Addresses
Local addresses are not anonymized. If you leave this option blank, the value for vBulletin Options Cookie Domain will be used. Do not use a http:// prefix.

If you start the name with a dot (.mydomain.com) all server addresses ending with this will be considered local. If you want to add mulitple domain/servernames, seperate them by a single space.




Anonymizer (default: http://anonym.to/?)
Link to a anonymizer function. Use preceding / if needed. Other Usable Anonymizers:http://anon.free.anonymizer.com/

http://anonym.webgurus.de (Thanks Wachtmeister)




Allways anonymize Unparseble URLs (* New in version 1.10)Please click install if you are using this hack.

Donations are always welcomed at Paypal: marcoh64 AT gmail.com

Change log:
6-9-2005 v1.01
- 1 setting was missing from product file due to wrong Product. Fixed
7-9-2005 v1.02
- Under some conditions a newly posted post with only a link would not get anonymized. Fixed.
7-9-2005 v1.02a
- Fixed bug when handling generic local domain (starting with a dot '.'') Sorry for the many updates.
8-10-2005 v1.03
- Totally new way of doing this, on view instead of on write.
- Solved doubling the anonym link on edit
10-10-2005 v1.04
- Link not didn't get anonym prefix if URL= didn't contain http://. (http://./) Solved.
- Added truncate table post_parsed to install routine.
1-11-2005 v1.05
- Standard Editor fixed
- Simple URL's in standard editor fixed.
- Default anonymizer changed
2-11-2005 v1.05.1
- Fixed bug where only the last url to the same domain in a single post was anonymised.
9-11-2005 v1.05.2
- Added option to ignore certain protocols in the vBulletin Options (ie. ignore https, ftp, ....).
- Attempt to fix reported bug where an inline fragment (#fragment) would also be anonymized.
10.11.2005 v1.05.3
- Another attempt to ignore fragments
25.11.2005 v1.10
- Fixed a bug where some urls could lead to a parse error. Example of an url leading to this error:
http://mymail@mymail.com:password@www.mydomain.com
- Added new parameter to vB Options: Always anonimyze unparseble URLs
- This is considered a very stable release. No bug reports pending
- All previous versions are from now on unsupported

Upgrades:
If you are running an older version and want to upgrade, simply do an overwrite install.

It is possible that there are still double links in the database from old versions. If you wish to remove these, run the following queries (make backup first!!):

SQL Query: (how to run queries (http://www.vbulletin.com/forum/showthread.php?t=18558))
update post set pagetext = replace(pagetext, "http://YOURANONIMIZERLINK/","");

Nullifi3d
09-06-2005, 05:13 PM
I'm not exactly sure what this hack does. Is there anymore info?

Marco van Herwaarden
09-06-2005, 05:17 PM
If someone post an external link in a post, it will prefix the link with an anonymising url. Like this if someone click on the link, it can not be traced back to your site.

Nullifi3d
09-06-2005, 05:29 PM
Ok, I see what it does, but why is this good? seo or something?

b6gm6n
09-06-2005, 06:00 PM
sorry dude doesn't work for me, using RC2, imported as product, edit settings, edited my local domain (.mysite.com) and made a test post with some http links in it...nope!

bbcode is on so is vb code, certainly looks like it's not working, i made a new thread and a reply still nothing, should expect some page (anonymizer) before we hit the target page? hmmm

-b6

Chad F.
09-06-2005, 06:07 PM
^ yea I just tried and it doesn't work for me either. :(

b6gm6n
09-06-2005, 06:10 PM
There's actually no "http://anon.free.anonymizer.com/" anywhere in your plugin code?? so i wonder where i have to alter the "$anonymurl" is there an option i've missed someplace within my ACP?

-b6

Marco van Herwaarden
09-06-2005, 07:20 PM
Sorry, version 1.01 uploaded.

There was 1 setting (where you could set the anonymizing link) that had as Product vBulletin set, so it didn't end up in teh XML-file. Just do an overwrite install.

PS It is not needed that you fill in the local addresses, if nothing is set and nothing is set for the cookie address, the name of the server is used.

b6gm6n
09-06-2005, 07:53 PM
cheers dude!

=-b6

b6gm6n
09-06-2005, 07:59 PM
installed and it's either extreamly quick, or not working..are you supposed to see the anonymizing link/page before you enter the target link, it's seemingly flawless, just like clicking a normal link...cool!
(it's not working isn't it) :(

do i have to run some update counters for threads or sumink?
EDIT: tried that didn't work!

I'm sure i'll see the anon page first, but i can test my ref simply by typing (or clicking) www.tonee.com (which i did) and the site shows my referrer in the address bar...

anyways i cannot get it 2work...have i missed anything?

-b6

Marco van Herwaarden
09-06-2005, 08:47 PM
You should already see it when hovering over a link.

Please check the following:
- You did install version 1.01
- Is the product/plugin active?
- Please post a screenshot of the Options page for Link Anonymizer

And PM me a link to a thread with an external link on your forum please (if needed please a test login)

theArchitect
09-06-2005, 10:35 PM
Nice. Only one question. I am going to be putting some ads on my site and obviously these only work when the click through is registered. This hack won't affect this? i.e. it will only anonymize urls in posts and not every url on the forum.

b6gm6n
09-07-2005, 12:15 AM
PM sent

-b6

Abe1
09-07-2005, 03:13 AM
I created a hack that does the same but doesn't use an outside source. Look at my sig for the link. "Active Link Security Hack"

Marco van Herwaarden
09-07-2005, 03:41 AM
Nice. Only one question. I am going to be putting some ads on my site and obviously these only work when the click through is registered. This hack won't affect this? i.e. it will only anonymize urls in posts and not every url on the forum.
It will only work on links in posts.

Marco van Herwaarden
09-07-2005, 06:17 AM
Can anybody else who installed version 1.01 confirm if it is working or not?

Scooterpig
09-07-2005, 06:58 AM
It works ok for me although very slow to load up page, but when it does load up the address still shows the anon.free.anonymizer.com within the url of the page, dunno why..:(

Marco van Herwaarden
09-07-2005, 07:02 AM
Thanks for the report.

Yes that is how this peticular anonymizer works. But it is only set as an example, you can change to any anonymizer you want. Others might also have better speed, i don't have much experience with the different anonymizer services.

Edit: Please click install ;)

Scooterpig
09-07-2005, 07:27 AM
Thanks for the report.

Yes that is how this peticular anonymizer works. But it is only set as an example, you can change to any anonymizer you want. Others might also have better speed, i don't have much experience with the different anonymizer services.

Edit: Please click install ;)

So by selecting a different anonymiser would that then get rid of the link in the address bar, as I find this a bit annoying to have it there and makes it hard to copy/paste?

Marco van Herwaarden
09-07-2005, 11:00 AM
Try putting the following in your Anonymizer link:
http://anonym.to/?

b6gm6n
09-07-2005, 11:32 AM
I haven't got a clue then why it's not working on my board, all is active, i've tested over and over, i have WYSIWYG on, vb code on, etc

Marco van Herwaarden
09-07-2005, 01:55 PM
Updated with version 1.02, fixed problem of b6gm6n.

See change log in first post.

Chad F.
09-07-2005, 02:14 PM
1.02 works fine for me, thanks alot!

Marco van Herwaarden
09-07-2005, 02:33 PM
7-9-2005 v1.02a
- Fixed bug when handling generic local domain (starting with a dot '.'') Sorry for the many updates.

b6gm6n
09-07-2005, 02:41 PM
sorted! cheers!

-b6

Nullifi3d
09-07-2005, 02:43 PM
What is the purpose of making external links untraceable?

Marco van Herwaarden
09-07-2005, 02:45 PM
Well i don't know why people want to use it. ;)

(I guess they are hotlinking to other sites)

Nullifi3d
09-07-2005, 02:55 PM
lol. i guess you could somewhat hide illegal activity doing this.

b6gm6n
09-07-2005, 03:08 PM
Illegal? - ok so you wanna provide some privacy for your members when another member posts an external link from your forum, we all leave 'electronic' footprints in the cyber sand...but some would rather cover thier tracks (for whatever reason).

if you mean the posting of links to sites containing fine foul and birds to the gentry (examples below) then yes... personal & private habbit/hobby is bird watching i can tell you! :)

www.hugebills.com (http://www.americanbirding.org/)
www.touchmylongwebbedfeet.com (http://www.birdwatching.com/)
www.fingerlickingchicken.com (http://www.birdersworld.com/)

etc etc ;)

-b6

Nullifi3d
09-07-2005, 03:34 PM
I wasn't implying that everyone is trying to hide illegal activities. Just replying to Marco's statement regarding hotlinking (which is illegal).

Marco van Herwaarden
09-07-2005, 03:54 PM
I would call it unethical, but i doubt that it is illegal (might depend on your location).

Chad F.
10-05-2005, 10:18 PM
Any chance you could update this for 3.5 Gold?

Abe1
10-05-2005, 11:33 PM
Any chance you could update this for 3.5 Gold?

It works on gold.

Chad F.
10-06-2005, 01:14 AM
It works on gold.

Not for me, the anonymous part at the beginning of the link repeats itself 4 times.

Marco van Herwaarden
10-06-2005, 03:51 AM
Haven't tried on gold yet, but will try to have a look today.

RMS-Chef
10-06-2005, 05:02 PM
This has the same WYSIWYG editor issue as Active Link Security hack does/did.

When editing a post using Enhanced Editor, after the first edit it adds the "http://anonym.to/?" again and again each time you edit the post. Edit the post 4 times and you get:

http://anonym.to/?http://anonym.to/?http://anonym.to/?http://anonym.to/?http://network-tools.com/analyze

Marco van Herwaarden
10-06-2005, 07:04 PM
Thanks this will put me on the right track to duplicate the problem and solve it. Expect an update tomorrow.

RMS-Chef
10-07-2005, 04:04 AM
Awsome, thanks MarcoH64.
It's just wierd, post...it works great. Edit once, still works great. Edit again, and dup URLs are prefixed again and again on each edit.

JoeLouie
10-07-2005, 04:35 AM
any chance of this being something that you can turn on and off for each forum?

Nullifi3d
10-07-2005, 10:33 AM
any chance of this being something that you can turn on and off for each forum?I'm sure it could be added in future releases.

C_P
10-07-2005, 12:12 PM
Nice, works like a charm! If anyone has any additional anonymiser links to add, they should reply here. This would allow others to use one of their choice for faster loading.

Marco van Herwaarden
10-08-2005, 06:42 AM
New version released:
8-10-2005 v1.03

- Totally new way of doing this, on view instead of on write.

- Solved doubling the anonym link on edit

Mikobu
10-08-2005, 07:13 AM
thanks, by the release... installing...

Chad F.
10-08-2005, 07:24 AM
Hmm I'm still having the same problem, before it was adding http://anonym.to/? in front of every link 4 times. Now its gone up to 5.. :(

Marco van Herwaarden
10-08-2005, 07:34 AM
Hmm I'm still having the same problem, before it was adding http://anonym.to/? in front of every link 4 times. Now its gone up to 5.. :(If you are viewing an old post, then this could be. The ink is already 4 times stored in the database, and is added 1 more time when viewing, see the queries in the top to resolve this.

Try making a new post (or edit an old one) and it shouldn't happen anymore.

PS Which plugins you have now for the product, and which ones are active?

Chad F.
10-08-2005, 07:56 AM
It works fine when I make a new post. I ran those queries and it did not do anything, all the old links still have http://anonym.to/? in front of them 5 times.

Marco van Herwaarden
10-08-2005, 10:48 AM
Sorry no time now, but will later today post the exact query you will need to run.

RMS-Chef
10-08-2005, 11:51 AM
When I installed 1.03 the system simply stopped working.
Tried overwrite, then uninstalled and reinstalled.
Currently on RC3.

EDIT:
Just updated to v3.5 Gold and still, the plugin just does not work for me.

C_P
10-08-2005, 06:03 PM
When I installed 1.03 the system simply stopped working.
Tried overwrite, then uninstalled and reinstalled.
Currently on RC3.

EDIT:
Just updated to v3.5 Gold and still, the plugin just does not work for me.
Seems I have same issue after upgrade. I then added the following and seems to work anonym.to/? in the Local addresses are not anonymized section.

Loki12
10-08-2005, 08:38 PM
When I installed 1.03 the system simply stopped working.
Tried overwrite, then uninstalled and reinstalled.
Currently on RC3.

EDIT:
Just updated to v3.5 Gold and still, the plugin just does not work for me.

I am on 3.5.0, just installed this product, and it is not working at all...

JohnBee
10-08-2005, 08:49 PM
Same here, uninstalled the old version, ran the queeries and installed 1.03 now nothing... :(

I don't think running the links through a public anonymizer will beat your other system, if there is any .htaccess of any kind the anonymizer will not process the link. Your last hack approach was good it simply needed some refinement where post editing took place in order to deal with duplicating the redirector code.

Hope you sort it out soon, as for myself I have put back the old system until its sorted out :)

Additionaly there was a =3.0.x privacy link MOD, it used the same principle as this one here and had no inherent problems with duplicate tags. Perhaps you could take a peek at the other KACK to see if you can't use the same approach for this hack :)

Marco van Herwaarden
10-09-2005, 07:44 AM
Sorry guys i will try to have a look one of these days, but not much time now.

Looking at a 3.0 hack will not help, since the internals are really different.

I don't really understand why 1.03 shouldn't work for some people, it is working fine on my testboard.

dasdingansich
10-09-2005, 01:59 PM
I noticed some strange behavior:

it works flawless when using the "insert hyperlink" feature, but when posting only the text "www.google.com" or "http://www.google.com" it wouldn´t render the anonymizer URL into until I edited the posting and saved again.

the problem ist, only few people actually use that button and just prefer to type away ... do you know any workaround?

Marco van Herwaarden
10-09-2005, 08:34 PM
I actually never even tested the 'insert hyperlink'. I have just tested it with typing w ww.google.com on my testboard. Strange that it doesn't work.

I don't really have time to dig deep inot this right now, but i will try to find some time tomorrow or the day after.

Until then i will post a warning in the first post.

PS Since version 1.03 is adding the link when displaying a post, it shouldn't make a difference how you entered it in the first place, very strange. Try just doing a refresh, maybe the AJAX screen update when posting is not showing it.

Catlover
10-09-2005, 08:52 PM
MarcoH64, strange, but fact: some links anonymized, some - not :( Links posted by some users - just direct links, but all links i posted - anonymized...i don't understand why it happens.

Marco van Herwaarden
10-09-2005, 09:14 PM
Any chance you could PM me some links of posts that are working and some that are not working?

PS If your board is closed, send also a test account.

Chad F.
10-10-2005, 02:28 AM
I just re-installed the plugin again and like before it works on new posts etc. but now its not anonymizing links in old posts..

dasdingansich
10-10-2005, 08:01 AM
btw, I had two ideas for new features:

- a setting for what kind of URL´s are anonymized.
like anonymize all kinds of pages like plain domains, folders, .htm, .php and so on, but don´t anonymze file links

- ability to turn it on / off on a per forum basis.
In my case I really only need it in one forum, and I definately can´t use it in another.

(one forum is called "politics", sometimes people are hotlinking sites we really don´t want visitors from. A totally different forum on the same messageboard is movie-related, and we need to be able to link .mov´s and to save them with right-click.)

dasdingansich
10-10-2005, 08:03 AM
another suggestion:

I found out anonymizer.com sucks, it?s only free for a few clicks, after that I?m getting popups and ad pages, telling me I should subscribe. Right now I?m using www.anonym.to - seems to be free and easy!
also killing the referrer, but no proxy.

Marco van Herwaarden
10-10-2005, 08:11 AM
New version v1.04, should fix the reported bugs.

Will wait to see if this is working good for everyone (did some more extensive testing this time). If all is ok, i will have a look at the feature suggestions.

@dasdingansich
You can configure what anonymizer you want to use, but maybe i should change the default if that one is too much limited.

RMS-Chef
10-10-2005, 03:20 PM
I am back again to v1.2a
Sorry brother but v1.4, like v1.3 just does not work for me.
Again, I tried to first just overwrite. Then uninstalled the reinstalled v1.4 and it simply is not doing anything. I am on v3.5 Gold now.

v1.2a is perfect for me except for the WYSIWYG Editor issue.
I appreciate your efforts sir.

Chad F.
10-10-2005, 03:49 PM
I installed 1.04 and..

- All of the old links are untouched by the anonymizer.

- Some of the links in new posts are anonymized and the rest have "http://anonym.to/?" in front of it 6 times.

Marco van Herwaarden
10-10-2005, 06:42 PM
Some of the links in new posts are anonymized and the rest have "http://anonym.to/?" in front of it 6 times.
This could still be left overs from 1.02, i promised you i would give you the exact SQL to fix it, but didn't have time for it yet.

If one of you who still have 1.04 installed would let me have a llok at their board, i could maybe figure out why it is not working for you. If you're interested, please pm me contact info.

Chad F.
10-10-2005, 07:45 PM
This could still be left overs from 1.02, i promised you i would give you the exact SQL to fix it, but didn't have time for it yet.

If one of you who still have 1.04 installed would let me have a llok at their board, i could maybe figure out why it is not working for you. If you're interested, please pm me contact info.

Oh ok sorry, anyways I PMed you.

RMS-Chef
10-10-2005, 08:47 PM
This could still be left overs from 1.02, i promised you i would give you the exact SQL to fix it, but didn't have time for it yet.

If one of you who still have 1.04 installed would let me have a llok at their board, i could maybe figure out why it is not working for you. If you're interested, please pm me contact info.

OK MarcoH64, thanks again for your diligence.

Behavior for current 1.4
WYSIWYG:
-Working fine with WYSIWYG
-Editing issues seem fixed with WYSIWYG

Standard Editor:
-Does not prefix with anon properly if you only type the URL and have the board parse after you hit submit.
-Does work in standard if you click the add link button (https://vborg.vbsupport.ru/external/2009/12/3.gif)

Also a note, with your procedure for 1.2a, all links, even pre-existing links are prefixed with anon properly. With your current 1.3/4 method, pre-existing links created in WYSIWYG or in standard with the create link button are prefixed properly but regular typed URLs that were done in a standard editor do not seem to be prefixed after this install.

It seems to me that your original method works best, if you could iron out the Enhanced Editor issues with it. I would use 1.4 in it's current form if only I could force everyone to use WYSIWYG but that is a user option. My last couple posts reporting this as not working for me are because I had not reinstated the WYSIWYG editor on the board that I had disabled due to the v1.3+ issues. I am back to 1.2a right now and not missing WYSIWYG at this point as much as I thought I would. ;)

Hope I explained that clearly enough....I tend to ramble sometimes. ;)

bigmonay2k
10-16-2005, 03:10 AM
No Go For Me :ermm:

Chad F.
10-16-2005, 08:29 PM
What happened to Marco? :ermm:

Computer_Angel
10-18-2005, 02:20 AM
1. Case sensitive bugs:
just detect URL tag, but no for url, URl, uRl, Url ...
when typeing like this no anonymizer anymore.
2. Just parsing the pattern
[ URL = "xxxxxxx" ] xxxxx [ / URL ]
no for
[ URL ] xxxxxx [ / URL]

Computer_Angel
10-20-2005, 07:19 AM
This is my solution for ver 1.04:

if ($post['pagetext'])
{
if (preg_match_all("/(\]*)/i", $post['pagetext'], $matches))
{
$localdomains = ($vbulletin->options['mh_anolink_localaddresses'] ? explode(" ", $vbulletin->options['mh_anolink_localaddresses']) : ($vbulletin->options['cookiedomain'] ? array($vbulletin->options['cookiedomain']) : array($_SERVER['SERVER_NAME'])));
$preg_search = array();
$preg_replace = array();

foreach ($matches[2] AS $key=>$serverurl)
{
// Do we have a local url?
$parsed_url = parse_url($serverurl);
$servername = $parsed_url['host'];
foreach ($localdomains AS $localdomain)
{
if (substr($localdomain, 0, 1) == ".")
{
if (preg_match("/$localdomain$/i", $servername))
{
continue 2;
}
}
else
{
if ($localdomain == $servername)
{
continue 2;
}
}
}
$anonymurl = $vbulletin->options['mh_anolink_anonymizer'] . $serverurl;
//$preg_search["$servername"] = "[URL=\"$serverurl";
$preg_search["$servername"] = $matches[0]["$key"];
//$preg_replace["$servername"] = "[URL=\"" . $anonymurl;
$preg_replace["$servername"] = $matches[1]["$key"].$anonymurl;
if ($preg_search)
{
$post['pagetext'] = str_replace($preg_search, $preg_replace, $post['pagetext']);
}
}
}
//[URL]link (\")(.[^\"\)
if (preg_match_all("/(\[URL)(])(.[^\]]*)/i", $post['pagetext'], $matches))
{
$localdomains = ($vbulletin->options['mh_anolink_localaddresses'] ? explode(" ", $vbulletin->options['mh_anolink_localaddresses']) : ($vbulletin->options['cookiedomain'] ? array($vbulletin->options['cookiedomain']) : array($_SERVER['SERVER_NAME'])));
$preg_search = array();
$preg_replace = array();

foreach ($matches[3] AS $key=>$serverurl)
{
// Do we have a local url?
$parsed_url = parse_url($serverurl);
$servername = $parsed_url['host'];
foreach ($localdomains AS $localdomain)
{
if (substr($localdomain, 0, 1) == ".")
{
if (preg_match("/$localdomain$/i", $servername))
{
continue 2;
}
}
else
{
if ($localdomain == $servername)
{
continue 2;
}
}
}
$anonymurl = $vbulletin->options['mh_anolink_anonymizer'] . substr($serverurl,0,strlen($serverurl)-5);
$preg_search["$servername"] = $matches[0]["$key"];
$preg_replace["$servername"] = $matches[1]["$key"]."=\"".$anonymurl."\"".$matches[2]["$key"].$serverurl;
if ($preg_search)
{
$post['pagetext'] = str_replace($preg_search, $preg_replace, $post['pagetext']);
}
}
}
}

Marco van Herwaarden
10-20-2005, 07:59 PM
Sorry huys, i have been real busy the last week. I will try to have a look at the issues and the suggestions next week.

bigmonay2k
10-22-2005, 01:04 AM
Sorry huys, i have been real busy the last week. I will try to have a look at the issues and the suggestions next week.
thanks dude

Moosehunter
10-25-2005, 03:29 AM
Thanks Computer Angel. Works great.

This is my solution for ver 1.04:

if ($post['pagetext'])
{
if (preg_match_all("/(\]*)/i", $post['pagetext'], $matches))
{
$localdomains = ($vbulletin->options['mh_anolink_localaddresses'] ? explode(" ", $vbulletin->options['mh_anolink_localaddresses']) : ($vbulletin->options['cookiedomain'] ? array($vbulletin->options['cookiedomain']) : array($_SERVER['SERVER_NAME'])));
$preg_search = array();
$preg_replace = array();

foreach ($matches[2] AS $key=>$serverurl)
{
// Do we have a local url?
$parsed_url = parse_url($serverurl);
$servername = $parsed_url['host'];
foreach ($localdomains AS $localdomain)
{
if (substr($localdomain, 0, 1) == ".")
{
if (preg_match("/$localdomain$/i", $servername))
{
continue 2;
}
}
else
{
if ($localdomain == $servername)
{
continue 2;
}
}
}
$anonymurl = $vbulletin->options['mh_anolink_anonymizer'] . $serverurl;
//$preg_search["$servername"] = "[URL=\"$serverurl";
$preg_search["$servername"] = $matches[0]["$key"];
//$preg_replace["$servername"] = "[URL=\"" . $anonymurl;
$preg_replace["$servername"] = $matches[1]["$key"].$anonymurl;
if ($preg_search)
{
$post['pagetext'] = str_replace($preg_search, $preg_replace, $post['pagetext']);
}
}
}
//[URL]link (\")(.[^\"\)
if (preg_match_all("/(\[URL)(])(.[^\]]*)/i", $post['pagetext'], $matches))
{
$localdomains = ($vbulletin->options['mh_anolink_localaddresses'] ? explode(" ", $vbulletin->options['mh_anolink_localaddresses']) : ($vbulletin->options['cookiedomain'] ? array($vbulletin->options['cookiedomain']) : array($_SERVER['SERVER_NAME'])));
$preg_search = array();
$preg_replace = array();

foreach ($matches[3] AS $key=>$serverurl)
{
// Do we have a local url?
$parsed_url = parse_url($serverurl);
$servername = $parsed_url['host'];
foreach ($localdomains AS $localdomain)
{
if (substr($localdomain, 0, 1) == ".")
{
if (preg_match("/$localdomain$/i", $servername))
{
continue 2;
}
}
else
{
if ($localdomain == $servername)
{
continue 2;
}
}
}
$anonymurl = $vbulletin->options['mh_anolink_anonymizer'] . substr($serverurl,0,strlen($serverurl)-5);
$preg_search["$servername"] = $matches[0]["$key"];
$preg_replace["$servername"] = $matches[1]["$key"]."=\"".$anonymurl."\"".$matches[2]["$key"].$serverurl;
if ($preg_search)
{
$post['pagetext'] = str_replace($preg_search, $preg_replace, $post['pagetext']);
}
}
}
}

Catlover
10-25-2005, 08:33 AM
How to anonimyze links in Private Messages and in signatures? Thanks for solution it works fine in posts.

dasdingansich
10-26-2005, 07:06 AM
This is my solution for ver 1.04:

if ($post['pagetext'])
{
if (preg_match_all("/(\]*)/i", $post['pagetext'], $matches))
{
$localdomains = ($vbulletin->options['mh_anolink_localaddresses'] ? explode(" ", $vbulletin->options['mh_anolink_localaddresses']) : ($vbulletin->options['cookiedomain'] ? array($vbulletin->options['cookiedomain']) : array($_SERVER['SERVER_NAME'])));
$preg_search = array();
$preg_replace = array();

foreach ($matches[2] AS $key=>$serverurl)
{
// Do we have a local url?
$parsed_url = parse_url($serverurl);
$servername = $parsed_url['host'];
foreach ($localdomains AS $localdomain)
{
if (substr($localdomain, 0, 1) == ".")
{
if (preg_match("/$localdomain$/i", $servername))
{
continue 2;
}
}
else
{
if ($localdomain == $servername)
{
continue 2;
}
}
}
$anonymurl = $vbulletin->options['mh_anolink_anonymizer'] . $serverurl;
//$preg_search["$servername"] = "[URL=\"$serverurl";
$preg_search["$servername"] = $matches[0]["$key"];
//$preg_replace["$servername"] = "[URL=\"" . $anonymurl;
$preg_replace["$servername"] = $matches[1]["$key"].$anonymurl;
if ($preg_search)
{
$post['pagetext'] = str_replace($preg_search, $preg_replace, $post['pagetext']);
}
}
}
//[URL]link (\")(.[^\"\)
if (preg_match_all("/(\[URL)(])(.[^\]]*)/i", $post['pagetext'], $matches))
{
$localdomains = ($vbulletin->options['mh_anolink_localaddresses'] ? explode(" ", $vbulletin->options['mh_anolink_localaddresses']) : ($vbulletin->options['cookiedomain'] ? array($vbulletin->options['cookiedomain']) : array($_SERVER['SERVER_NAME'])));
$preg_search = array();
$preg_replace = array();

foreach ($matches[3] AS $key=>$serverurl)
{
// Do we have a local url?
$parsed_url = parse_url($serverurl);
$servername = $parsed_url['host'];
foreach ($localdomains AS $localdomain)
{
if (substr($localdomain, 0, 1) == ".")
{
if (preg_match("/$localdomain$/i", $servername))
{
continue 2;
}
}
else
{
if ($localdomain == $servername)
{
continue 2;
}
}
}
$anonymurl = $vbulletin->options['mh_anolink_anonymizer'] . substr($serverurl,0,strlen($serverurl)-5);
$preg_search["$servername"] = $matches[0]["$key"];
$preg_replace["$servername"] = $matches[1]["$key"]."=\"".$anonymurl."\"".$matches[2]["$key"].$serverurl;
if ($preg_search)
{
$post['pagetext'] = str_replace($preg_search, $preg_replace, $post['pagetext']);
}
}
}
}

perfect, works fine, with all kinds of links.
@Marco: maybe make this the official one, until youu find more time.

thanks guys!

take care
Flint Stelter
http://www.ddas.de

Lord Brar
10-26-2005, 03:58 PM
New version v1.04, should fix the reported bugs.

Will wait to see if this is working good for everyone (did some more extensive testing this time). If all is ok, i will have a look at the feature suggestions.

@dasdingansich
You can configure what anonymizer you want to use, but maybe i should change the default if that one is too much limited.

I installed it but nothing seems to happen. :( Could someone tell me where I could have gone wrong?

tokenyank
10-26-2005, 07:21 PM
Marco, this seems much more robust than this (https://vborg.vbsupport.ru/showthread.php?t=98131&page=1&pp=15) one but I do not wish to use an external anon server like safeurl or whatever... Would/could this hack work using the links.php in the other hack for non-anon parsed url's?

Marco van Herwaarden
10-26-2005, 09:01 PM
@tokenyank, i don't know, never looked at the other hack.

@Lord Brar
PM me MSN contact info and i will try to get in contact tomorrow.

tokenyank
10-26-2005, 10:38 PM
In principal, it should work yeah? As safeurl works with a ?domain switch as does the other hack...

Hmm... I may play with it and find out for myself... Thanks anyway

Computer_Angel
10-28-2005, 05:43 PM
Marco, this seems much more robust than this one but I do not wish to use an external anon server like safeurl or whatever... Would/could this hack work using the links.php in the other hack for non-anon parsed url's?
1.You can use links.php, just config your anonymous site to your site.
Ex: http://www.xxx.com/links.php?url=
2. The hack you said is which I don't like because It modified the class_bbcode.php code, so when you upgrade to new version --> need to hack again.

tokenyank
10-30-2005, 10:20 PM
1.You can use links.php, just config your anonymous site to your site.
Ex: http://www.xxx.com/links.php?url=
2. The hack you said is which I don't like because It modified the class_bbcode.php code, so when you upgrade to new version --> need to hack again.
Just to confirm, it does work, though using the settings in the AdminCP did not do anything... Almost as if they weren't saving...

I modified the xml to reflect what anon service I wanted to use though and reinstalled and it works fine!

Thanks... Installed

tokenyank
10-31-2005, 11:20 AM
Though this doesn't seem to effect links in sigs...

Does links in sigs parse differently than posted links? If so, can this be amended so that sig links are parsed through the anon service?

tokenyank
10-31-2005, 11:24 AM
Just to confirm, it does work, though using the settings in the AdminCP did not do anything... Almost as if they weren't saving...

I modified the xml to reflect what anon service I wanted to use though and reinstalled and it works fine!

Thanks... Installed
Ok, I take that back... It did work last night when I installed it but now it doesn't parse any links again... this is v1.4...

Looks like I have to go back to the file edit one! :(

microzott
11-01-2005, 08:51 AM
hai marco, just installed your hack but i think i have found a mall bug:

if you put more than one external link on the same post, the anonymizer works only on the first, it's normal?

D.Ilyin
11-01-2005, 11:36 AM
This is my solution for ver 1.04:
........

Well :) it works but for me only for new posts.....
and not work with link's:
[ url=http://www.xxx.xx]xxxx[ /url]
Can you fix it?
Thank's anyway :)

bigmonay2k
11-01-2005, 12:47 PM
this hack is kicking my a*s damit

Marco van Herwaarden
11-01-2005, 01:24 PM
Version 1.05 released. All mentioned problems should be solved. Please report if you find any new bugs:

1-11-2005 v1.05
- Standard Editor fixed
- Simple URL's in standard editor fixed.
- Default anonymizer changed


PS If you report a bug, please state the following:
- WYSIWYG/Standard Editor/QR
- Typed or with the Link button
- partial url (ie www.google.com) or full (http://www.google.com)

If possible a link to a topic on your forum where the error can be viewed, if needed suply a test account.

bigmonay2k
11-01-2005, 09:16 PM
same problem its work but it's not Anonymizer all the links. plese help man

D.Ilyin
11-02-2005, 04:42 AM
MarcoH64 just try new version. Thanks it works, but like bigmonay2k i have troubles with many links in one post. PS If you report a bug, please state the following:
- using QR or SE or WYSIWYG - it's no matter....
- all links are typed
- all links full with http:// prefix.
If possible a link to a topic on your forum where the error can be viewed, if needed suply a test account.
Links on topic sended in PM.

Marco van Herwaarden
11-02-2005, 10:49 AM
@D.Ilyin & bigmonay2k

Version 1.05.1 uploaded, should fix your problems.

microzott
11-02-2005, 04:16 PM
@D.Ilyin & bigmonay2k

Version 1.05.1 uploaded, should fix your problems.

thanks marco ...perfect

D.Ilyin
11-02-2005, 05:35 PM
@D.Ilyin & bigmonay2k

Version 1.05.1 uploaded, should fix your problems.
MarcoH64 for now all it's ok.
Thank's :)

tokenyank
11-02-2005, 10:35 PM
installed and tested...

tried typing in local and remote links as well as adding them via editor menu.

All links seem to work except for

http://domain.com

For instance, my domain, http://www.mumsonline.net will parse through the anon service if I use http://mumsonline.net instead

This seems to work retroactivly as the old links I've checked so far are parsing through the anon service.

Quick edit and Advanced edit doesn't seem to duplicate the anon code


So far, so good! Clicking install again! :D Let's just hope it stays working! ;)

Marco van Herwaarden
11-03-2005, 03:37 AM
For instance, my domain, http://www.mumsonline.net will parse through the anon service if I use http://mumsonline.net insteadSet your local links to .mumsonline.net (mind the leading dot). You can also specify multiple domains as local.

tokenyank
11-03-2005, 06:23 AM
Set your local links to .mumsonline.net (mind the leading dot). You can also specify multiple domains as local.
Added and still going through the anon... Will play with it more after the school run, but it doesn't appear to work with http://mumsonline.net/ type addresses

bigmonay2k
11-03-2005, 02:42 PM
@D.Ilyin & bigmonay2k

Version 1.05.1 uploaded, should fix your problems.
working fine now dude thanks :nervous:

Marco van Herwaarden
11-03-2005, 03:56 PM
Added and still going through the anon... Will play with it more after the school run, but it doesn't appear to work with http://mumsonline.net/ type addresses

Then enter both '.mumsonline.net' and 'mumsonline.net'

Marco van Herwaarden
11-03-2005, 03:57 PM
working fine now dude thanks Good to hear i (finally :() got all problems covered.

SecTa
11-04-2005, 07:35 PM
Works like a charm, thanks alot!

SecTa
11-05-2005, 11:48 PM
There's a little problem when using <a name=""> </a> tag.
Forex: i have
<a name="gstoned_ep">G-Stoned [EP] (1995)</a>
and link to it on the same post:
<a href="#gstoned_ep">G-Stoned [EP] (1995)</a>
the likn is parsed and i get: http://anonym.to/?#gstoned_ep. Could this be fixed?

And one more thing. Is there any possibility to disable anonymizing on ed2k:// links?

Marco van Herwaarden
11-09-2005, 03:17 PM
New version released:
9-11-2005 v1.05.2
- Added option to ignore certain protocols in the vBulletin Options (ie. ignore https, ftp, ....).
- Attempt to fix reported bug where an inline link (#.....) would also be anonymized


There's a little problem when using <a name=""> </a> tag.
I tried to fix this, but didn't have any test material. Could you please tell me how you create those links? Do you have HTML posting enabled?

Marco van Herwaarden
11-09-2005, 03:17 PM
And one more thing. Is there any possibility to disable anonymizing on ed2k:// links?
Use the new option to ignore certain protocols.

SecTa
11-10-2005, 12:07 AM
I tried to fix this, but didn't have any test material. Could you please tell me how you create those links? Do you have HTML posting enabled?
HTML posting is enabled.
<a name="some_name"> </a> sets anchor in sertain place of page.

and link <a href="#some_name"></a> returns you to the anchor on the same page.

P.S. Thanks for the update, but links with # are still anonymized...

Marco van Herwaarden
11-10-2005, 03:51 AM
Will try to have a look today.

Marco van Herwaarden
11-10-2005, 08:51 AM
@secta
10.11.2005 v1.05.3
- Another attempt to ignore fragments

Others don't need to upgrade.

@secta
If it still don't work, please PM me an URL to a thread where i can see it myself, please include a test account if needed.

What value did you put for Local Addresses in your vBulletin Options?

divided_by_fear
11-11-2005, 08:36 PM
works great thank you...

SecTa
11-18-2005, 05:35 PM
10.11.2005 v1.05.3
- Another attempt to ignore fragments
Yesss! It works! Thanks a bunch, MarcoH64, you saved me! :banana:

P.S. Just noticed another thing: links in signatures are not anonymized...

Marco van Herwaarden
11-18-2005, 06:05 PM
Glad your problem with fragments are solved. Will have a look at signatures as soon as i have time.

Wachtmeister
11-23-2005, 09:18 AM
Nice hack. Also works with

http://anonym.webgurus.de anonymizer of course ;)

http://anonym.webgurus.de/?www.webgurus.de

Marco van Herwaarden
11-23-2005, 09:24 AM
Nice hack. Also works with
Then please click Install ;)

Will add that link to the first post.

bigmonay2k
11-24-2005, 05:07 PM
MarcoH64, I love this hack, you know why dude, but I have another problem with it dude. I though it was some other problem. according to vb.com it might be this hack
]
vBulletin Message

Unable to add cookies, header already sent.
File: /home/server3/public_html/forums/includes/class_core.php
Line: 2948


sometimes I get this..
Warning: parse_url(http://alparikoglu@******.com:bigs546@*********.com): Unable to parse url in /includes/class_postbit.php(279) : eval()'d code on line 14

Marco van Herwaarden
11-24-2005, 08:14 PM
Temporary disable the product and see if it still happens.
Do you have a link to the vb.com thread about your problem?

Is that line 2948 on an unedited class_core.php of vB3.5.1? I don't even see it is possible to get that error there.

divided_by_fear
11-24-2005, 08:54 PM
how do i remove the german or what ever it is from that page?

Marco van Herwaarden
11-24-2005, 09:07 PM
how do i remove the german or what ever it is from that page?What page? There is no german in my hack and never was. And all my hacks are fully phrased so you should be able to change things if you want.

divided_by_fear
11-24-2005, 09:09 PM
hmmm when i click the link that it works with it brings me to black page before it goes to the site... and it has german or something on the bottom... its on the redirect page im talking about

Marco van Herwaarden
11-24-2005, 09:12 PM
That is beyond my control, try finding a different anonimyzing link that doesn't do this and set the in the vBulletin Options.

bigmonay2k
11-25-2005, 01:53 AM
Temporary disable the product and see if it still happens.
Do you have a link to the vb.com thread about your problem?

Is that line 2948 on an unedited class_core.php of vB3.5.1? I don't even see it is possible to get that error there.
check ya pm

Marco van Herwaarden
11-25-2005, 07:28 AM
Ok, it looks like it is caused by an error generated by the standard PHP function parse_url if you have an url in the form of: http://mymail@mymail.com:mypassword@www.mydomain.com

Will have a look today in why this is happening and how to prevent.

Marco van Herwaarden
11-25-2005, 09:45 AM
New version 1.10 released
25.11.2005 v1.10
- Fixed a bug where some urls could lead to a parse error. Example of an url leading to this error:
http://mymail@mymail.com:password@www.mydomain.com
- Added new parameter to vB Options: Always anonimyze unparseble URLs

This is considered the stable and supported version. From now on all old versions are not supported anymore.

croportal
11-25-2005, 08:31 PM
can i see demo of this, what this hack do?

dan35
12-16-2005, 05:33 PM
installed! Thx!

BiReL41r
12-16-2005, 07:43 PM
I'm not entirely sure what this hack. Does it prevent members from viewing the forum on Link Anonymizer sites or..?

Marco van Herwaarden
12-23-2005, 08:35 AM
No this hack adds an Anonimyzer URL to all (external if set in Options) links, so that if a member clicks on a posted link, the linked site will not see your address as referrer.

influence
01-29-2006, 01:12 PM
dont u think this will mess up adsense? because google do wants to know were clicks are coming from for that site to get paid

i would like to know if this will anonymize google adsense outgoing links. if so then I will pass on this hack then. Great hack though

Marco van Herwaarden
02-01-2006, 08:02 AM
It will only work on links inside posts, so as long as your adsense is not inside the posts text, it will work. You can also set domains to exclude from anonymizing in the vB Options.

RFViet
02-03-2006, 12:53 PM
So, If the http://anonym.to? slow down or die then the links in my forum doesn't work ???

D.Ilyin
02-03-2006, 01:55 PM
So, If the http://anonym.to? slow down or die then the links in my forum doesn't work ???

no, all forum links absolutly free from anonym.to. You can just OFF this plugin or choose another site (for example safeurl.de)

Rat
02-03-2006, 03:46 PM
The Meta Refresh in this Hack isn't harmless: http://www.url-hijacking.com/index_en.html

Meta refresh is (afaik) the only way to hide the referer but produces an 302.

So, if you wouldn't potential harm the linked page: dont use it (until (e.g.) google fixes this issue - and that may take a while)

A possible solution is to exclude the links.php (wich contains the Meta refresh) in the robots.txt to prevent indexing by SEs.

i've found a similar hack in a german board with the same problem, so i searched here for an alternative ...

and now decided to give it up to hide the referer, cause i didn't see really why i have to.

PS: that's not a critic pointed to the hack, just an information pointed Meta refresh... ;)

Marco van Herwaarden
02-03-2006, 06:54 PM
I don't see what this got to do with this hack. URL Hijacking like described there is about links TO your site. What this hack does is nothing more then prefixing all OUTGOING links posted at your board with a configurable prefix. If this prefix is set to one of the sites that offer an anonymiser service it will just call that site. Standard vBulletin will anyway open external links in a new window, so i don't see what harm can be done. But ofcourse i don't know what each website that offer this service is doing.

Tuan Ly
02-09-2006, 06:40 AM
Does this hack work correcly without any problem in vB 3.5.3 ?

Marco van Herwaarden
02-09-2006, 05:11 PM
Ihave not got any complaints about this hack not working for 3.5.3

RFViet
03-01-2006, 12:19 PM
Can I just setup some specific forums to use this hack, not all forums ???

Marco van Herwaarden
03-01-2006, 12:31 PM
No you can't set per forum.

Nathan2006
03-08-2006, 01:12 PM
Thank you Link Anonymizer v1.05.3.zip

worked great :)

Install*

Marco van Herwaarden
03-08-2006, 01:29 PM
If you are just install, i suggest you use 1.10.

The older versions are just there for reference and are not supported anymore.

lil doggy
03-10-2006, 09:00 AM
Installed 1.10 in 3.54 & it works like a dream :banana:

**clicks install**

Marco van Herwaarden
03-10-2006, 09:05 AM
Installed 1.10 in 3.54 & it works like a dream :banana:


**clicks install**Did you click install? It is not showing.

hotwheels
03-22-2006, 02:49 PM
Damn man, that is a kick ass mod.............I clicks install

hotwheels
03-23-2006, 12:49 AM
Quick question? Is there a way to specify which forum section to only use this in? Say i have 50 forum section's that may have link's in them, but i only want to use this in forum Id number 21, is that possible or is it just a broad set up for all links in general?

dan35
03-30-2006, 12:58 AM
same suggestion ;)

serhat_kk
04-01-2006, 09:36 PM
Thanks
Anyone know a site like or better http://anonym.to/ ???

Ins
04-03-2006, 09:13 PM
Thanks
Anyone know a site like or better http://anonym.to/ ???

http://safeurl.de

Use as: http://safeurl.de/http://www.vbulletin.org


Nice plugin ;] *installed*

SCRIPT3R
04-04-2006, 06:22 AM
Thanks
Anyone know a site like or better http://anonym.to/ ???
why, what's wrong with http://anonym.to/?

SCRIPT3R
04-04-2006, 06:22 AM
http://safeurl.de
what makes this better then http://anonym.to/... i'm honestly curious.

Ins
04-04-2006, 08:44 PM
what makes this better then http://anonym.to/... i'm honestly curious.

Ask serhat_kk; he wanted another link...

SCRIPT3R
04-05-2006, 12:55 AM
Ask serhat_kk; he wanted another link...
well technically he wanted a better link... to which you replied, so i was just curious why one would be better then another?

Jake25
04-12-2006, 06:08 AM
well technically he wanted a better link... to which you replied, so i was just curious why one would be better then another?


Actually,

Thanks
Anyone know a site like or better http://anonym.to/ ???

Perhaps he just wants some diversification. :)


Personally, I use http://d0x.de/. Dont really have a reason why (theyre both equal in terms of speed/anonymity) just like to go w/something different. :banana:

SCRIPT3R
04-12-2006, 07:12 PM
Actually,
Anyone know a site like or better http://anonym.to/ ???
either or i guess.

D.Ilyin
04-24-2006, 08:30 AM
BUG report:
When try to post link like that
http://files.test.com/test.file-[www.test.com].rar
http://files.test.com/test.file-[http://www.test.com].rar
I.e. with links to domain in files names, we'll get
[url ]http://files.test.com/test.file-[/ url ][[url ]www.test.com].rar[ /url]
[url ]http://files.test.com/test.file-[/ url][[url ]http://www.test.com].rar[ /url]
(without spaces).

UPDATED
Oops.... Sory it's not a bug of this hack :(. vB convert it like that.

]|fre$h-LoRd|[
04-24-2006, 01:02 PM
Thank you for this great plugin.

jgs007
04-27-2006, 11:24 AM
i've read a suggestion to use the google translator tool (with the options as en to en). such as: http://www.google.com/translate?langpair=en|en&u=

in front of the url in the anonymizer plugin.

any thoughts on this? do you guys feel it's as 'good' as using one of the free anon websites?

reason i ask is because several of my users' companies have most of the anonymizer websites blocked.

thanks!

Crazy Serb
05-03-2006, 12:48 AM
All right, a problem.

When I quote a post with a url in it, it also adds the anonym.de prefix to the already prefixed url in the original post, thus repeating it twice in the quotes.

Or is that just me?

BKD
05-13-2006, 04:56 AM
installed and so far perfect


being as ignorant as i am... how would one institute this into shout box? say vBShout 2.0

https://vborg.vbsupport.ru/showthread.php?t=93097

mktrilogy
05-14-2006, 12:08 AM
works like a charm :) thanks

SecTa
05-14-2006, 03:26 PM
Found small bug: links in sugnatures are not anonimyzed. Could that be fixed? :rolleyes:

Nathan2006
05-17-2006, 06:33 AM
If you are just install, i suggest you use 1.10.

The older versions are just there for reference and are not supported anymore.

Thanks Marco

I did update :)

Found small bug: links in sugnatures are not anonimyzed. Could that be fixed? :rolleyes:

I would also like to see this in signatures :D

dan35
05-19-2006, 07:36 PM
Nevermind!

Paul Janowitz
06-06-2006, 05:27 AM
I have a problem with this product. I have my own anonymizer on the same domain as my board in the directory /anon/ . Unfortunately when I change the anonymizer service to my script http://mydomain.com/anon/? all links are parsed to http://mydomain.com/anon/ and the real link is cut off. Can you please help me with this issue?

Marco van Herwaarden
06-21-2006, 03:52 PM
Found small bug: links in sugnatures are not anonimyzed. Could that be fixed? :rolleyes:Signatures have never been the aim of this modification. I currently don't have time to add this, but maybe another member is willing to add that part.

Marco van Herwaarden
06-21-2006, 03:55 PM
I have a problem with this product. I have my own anonymizer on the same domain as my board in the directory /anon/ . Unfortunately when I change the anonymizer service to my script http://mydomain.com/anon/? all links are parsed to http://mydomain.com/anon/ and the real link is cut off. Can you please help me with this issue?I have never tried to use it in combination with a local anonymizer. It should work like any other though, all that is done, is a string added in front of the real url.

My guess is that this maybe get corrupted by rewrite rules on your server. You could try to create a special (sub-)domain (pointing to the same server), maybe that would help.

Anyway to give a better educated guess, i would need to see real link, if you want you can sent them to me by pm.

mr3dblond
07-16-2006, 03:56 PM
Hi folks,

I added signature support to this mod and a SEO relevant parameter rel="nofollow" to all external links.

I also changed the version number to 1.11, I hope that is ok.

Ciao...

mr3dblond
07-17-2006, 03:09 PM
Hi,

here is another version with signature support. I fixed a small bug, which occurred by editing an post.

Version 1.11a

Ciao..

D.Ilyin
07-21-2006, 02:06 PM
mr3dblond threadid tag works wrong with your mod.
can u fix this?

Thank's

pedroenf
08-08-2006, 11:10 PM
I there i've installed this great hack, but i have a problem. Some links (url) in posts are to big and instead of the complete link we see dots. Does anyone knows how to extend the link to be all there? Thanks.

SecTa
09-09-2006, 03:01 PM
Will there be version for vB 3.6?

RMS-Chef
09-10-2006, 02:24 PM
Will there be version for vB 3.6?
This is working fine for me on an upgraded v3.6.

puertoblack2003
09-10-2006, 09:16 PM
yea i tried iyt an dit don't work for 3.6 it said that :

MySQL Error : Table 'xxx.xxx.xx.post_parsed' doesn't exist
Error Number : 1146

SCRIPT3R
09-12-2006, 03:35 PM
i'm receiving a similar error.

puertoblack2003
09-14-2006, 09:54 PM
i'm receiving a similar error.

ok guys i noticed something and i was playing around with sql with cautiously apparently on the new clean 3.6 installed some how the post_parsed is not written that way it's written postparsed and missing this_ so when you install the hack it's looking for that so what i did is i added that line_ and now it works on a clean install of 3.6 i guess the previous user didn't have problem from the upgrade because that table is still in sql.

I'm not much of a coder but that is my conclusion and it worked for me so if you want to try always backup your sql or you can upload this to your sql the exact same one i uploaded to my sql:cool:

good luck

ps change extension to sql from txt it didn't let me upload it that way here

SCRIPT3R
09-14-2006, 10:26 PM
how are you handling $parsed_url?

Dan27
09-20-2006, 07:30 AM
****

SCRIPT3R
09-22-2006, 03:26 PM
i've adjusted the source code for this product so that it's compatible with vB3.6.x - i'm not sure of the protocal as to posting, porting, or if i can even post it here. if anyone has any info, please let me know and i'll put it up if it's allowed. i should also mention that i have it tested on my 3.6.1 forum and works fine.

GNDI
09-23-2006, 09:28 AM
Hi,

here is another version with signature support. I fixed a small bug, which occurred by editing an post.

Version 1.11a

Ciao..
Database error in vBulletin 3.6.1:

Invalid SQL:
TRUNCATE post_parsed;

MySQL Error : Table 'sdfgret544y56yu4.post_parsed' doesn't exist
Error Number : 1146

any change that this will come to VB 3.6.1

Spydertech
09-25-2006, 05:37 PM
i've adjusted the source code for this product so that it's compatible with vB3.6.x - i'm not sure of the protocal as to posting, porting, or if i can even post it here. if anyone has any info, please let me know and i'll put it up if it's allowed. i should also mention that i have it tested on my 3.6.1 forum and works fine.


PM Marco with the details. It's up to him to allow you to edit and/or post the updated file.

SCRIPT3R
09-25-2006, 06:24 PM
PM Marco with the details. It's up to him to allow you to edit and/or post the updated file.
i sent him a PM later that day i posted but never heard back.

GNDI
09-25-2006, 10:19 PM
ok guys i noticed something and i was playing around with sql with cautiously apparently on the new clean 3.6 installed some how the post_parsed is not written that way it's written postparsed and missing this_ so when you install the hack it's looking for that so what i did is i added that line_ and now it works on a clean install of 3.6 i guess the previous user didn't have problem from the upgrade because that table is still in sql.

I'm not much of a coder but that is my conclusion and it worked for me so if you want to try always backup your sql or you can upload this to your sql the exact same one i uploaded to my sql:cool:

good luck

ps change extension to sql from txt it didn't let me upload it that way here
Worked for me, thanks :)

SCRIPT3R
09-26-2006, 03:23 PM
vB Version: 3.6.x...

GNDI
09-27-2006, 07:57 AM
vB Version: 3.6.x...
Well Done :) thanks for your effort :)

SecTa
10-09-2006, 10:45 PM
found a bug, when working under vB 3.6.x

the original link is: http://www.discogs.com/collection?user=PKS
link, that i should get after parsing: http://anonym.to/?http://www.discogs.com/collection?user=PKS

BUT, what i get is: http://anonym.to/?http://www.discogs.com/

It looks like tere's some problem with question mark in links...

SCRIPT3R
10-10-2006, 01:15 AM
which one are you using?

SecTa
10-10-2006, 06:17 AM
Link Anonymizer 2.00, yours version...

SCRIPT3R
10-10-2006, 06:28 AM
i just went to your forum and it appears to be working correctly.

SecTa
10-10-2006, 09:23 PM
That's because i've added .discogs.com to adresses that are not anonymized.

SCRIPT3R
10-10-2006, 10:23 PM
That's because i've added .discogs.com to adresses that are not anonymized.
but the outlinks (to places outside your forums) i checked from your forum seemed to be working as they should be, anonymized. i can't find any links that aren't working as they should be.

SecTa
10-12-2006, 04:05 AM
Here you go, i found another similar issue. Look at that (http://www.hqshare.net/showthread.php?t=1154) page, link http://www.bluetack.co.uk/config/nipfilter.dat.gz.
The code is http://www.bluetack.co.uk/config/nipfilter.dat.gz
but output is: http://anonym.to/?http://www.bluetack.co.uk/

SCRIPT3R
10-12-2006, 04:55 PM
Here you go, i found another similar issue. Look at that (http://www.hqshare.net/showthread.php?t=1154) page, link http://www.bluetack.co.uk/config/nipfilter.dat.gz.
The code is http://www.bluetack.co.uk/config/nipfilter.dat.gz
but output is: http://anonym.to/?http://www.bluetack.co.uk/
that's because in your post you specifically designated the link code properties.
Here's direct link: <a href="http://anonym.to/?http://www.bluetack.co.uk/" rel="nofollowconfig/nipfilter.dat.gz" target="_blank">http://www.bluetack.co.uk/config/nipfilter.dat.gz</a>
if this is not the case, please post here the actualy post content text... not what appears to the reader. hope that makes sense, i'm a little tired today.

SecTa
10-13-2006, 03:35 AM
this is not the case, here's the code:
http://www.bluetack.co.uk/config/nipfilter.dat.gz

SCRIPT3R
10-13-2006, 04:39 AM
and if you post that link without the BBCode code, it should anonymize correctly.

SecTa
10-13-2006, 01:33 PM
if i will post the link without bbcode, it will be added automatically after parsing.

SCRIPT3R
10-13-2006, 05:59 PM
then i'm afraid i'm not sure what the issue could be. i just don't see why or how this could pick only certain posts to parse incorrectly when all the others are done properly.

Patria
10-16-2006, 10:10 AM
Looks like anonym.to is unreachable ... I recommend to replace anonym.to with anonym.ws.

pedroenf
10-16-2006, 10:22 AM
It's working again.

YLP1
10-25-2006, 08:14 PM
I have version vb3.6.2 --- do I install the ver 1.10 of this mod and then overwrite the plugin using the xml from this post https://vborg.vbsupport.ru/showpost.php?p=1083975&postcount=176 or

Do I only use the xml from the post and not use the mod file ver 1.10?

I'm confused.

Thanks in advance.

nocte
11-14-2006, 11:06 PM
@YLP1: Just intall the file attached in this posting: https://vborg.vbsupport.ru/showpost.php?p=1083975&postcount=176

@all: Is there a hack that anonymizes the "homepage" link in the profile too?

cmwg
12-07-2006, 05:42 AM
[quote]
Database error in vBulletin 3.6.4:

Invalid SQL:
TRUNCATE post_parsed;

MySQL Error : Table 'vb.post_parsed' doesn't exist
Error Number : 1146
Date : Thursday, December 7th 2006 @ 08:40:57 AM
Script : http://www.xxxx.xxx/site/admincp/plugin.php?do=productimport
Referrer : http://www.xxxx.xxx/site/admincp/plugin.php?do=productadd
IP Address : xxx.xxx.xxx.xxx
Username : H######
Classname : vb_database
[/quote ]

Any ideas?

Seb@
12-10-2006, 07:10 PM
how integrate this for images ?

htrshgytrs
12-19-2006, 11:59 PM
[quote]
Database error in vBulletin 3.6.4:

Invalid SQL:
TRUNCATE post_parsed;

MySQL Error : Table 'vb.post_parsed' doesn't exist
Error Number : 1146
Date : Thursday, December 7th 2006 @ 08:40:57 AM
Script : http://www.xxxx.xxx/site/admincp/plugin.php?do=productimport
Referrer : http://www.xxxx.xxx/site/admincp/plugin.php?do=productadd
IP Address : xxx.xxx.xxx.xxx
Username : H######
Classname : vb_database
[/quote ]

Any ideas?

i just created a dummy table "post_parsed" using phpmyadmin, then imported the product. Works fine now on 3.6.4

jyajay
01-10-2007, 07:41 PM
I am using it on 3.6.3 and removed the <codes> part from the xml file which had the same effect. Works perfect for me, of course modifications are at your own risk. ;)

HolyKiller
01-19-2007, 12:39 PM
Perfect MOD, but can u integrate "auto-anonymization" in Signature area ?

THX

GNDI
01-21-2007, 07:42 AM
Perfect MOD, but can u integrate "auto-anonymization" in Signature area ?

THX

That would be one hell..... god idea :)

Cithiz
03-11-2007, 01:20 PM
I used to use this add-on, it was disabled. I mean, I wasn’t using it for a while. I have upgrade my forum to 3.6.5 version and removed the add-on from the system, however all of the links remained as “http://www.cithiz.com/redirect-to/?redirect=www.123456672.com”. How can this happen since I completely removed from the system and what should I do to cancel this entirely?

Thanks.

Marco van Herwaarden
03-12-2007, 09:44 AM
If i remember correct, then this is only changed in the cached version of a post.

You can try to solve this by running the following query:

TRUNCATE postparsed;

Cithiz
03-13-2007, 09:22 AM
I’m sorry; I couldn’t exactly understand what I need to do.



Let me make this clear: This add-on is not installed right now. I removed it. But all of the links seems as it was shown in the sample and remains to be so. I tried to reinstall and terminate the process but I didn’t work either. Then I uninstalled entirely… the same result.



When I shut down the entire Plug-in system from the Vbulletin options, it works as a brand new Cadillac, but then the other add-ons don’t function. All of the posts including the older ones still keep “redirecting”.

Cithiz
03-14-2007, 09:10 AM
Somebody help me?

Marco van Herwaarden
03-14-2007, 09:47 AM
Please see my previous response.

Cithiz
03-14-2007, 10:38 AM
I see but I didn't understand, what I need to do. please tell me again more basicly. sorry..

Marco van Herwaarden
03-14-2007, 11:21 AM
You can try to solve this by running the following query:


SQL Query: (how to run queries (http://en.wikipedia.org/wiki/Wikipedia:Database_queries#Quick_instructions_for_ running_your_own__MySQL_queries))
TRUNCATE postparsed;

Run that query.

Cithiz
03-14-2007, 12:33 PM
Query
TRUNCATE postparsed

Affected Rows: 0 (0.0124s)

nothing changed?

Marco van Herwaarden
03-15-2007, 09:13 AM
Which version did you have installed?

Cithiz
03-15-2007, 05:05 PM
Which version did you have installed?

V 1.10 :(

TheWhite
03-16-2007, 01:22 AM
i have board version 3.6.5 which version of this mod should i install and how come this mod is giving so many problems? I'd like to install it but i'm afraid :(

darkman
03-18-2007, 12:52 AM
Installed and working fine on vB version 3.6.5

Simply opening up product-mh_anolink.xml in Dreamweaver and changing the two instances of post_parsed to postparsed worked for me.

I im@gine notepad would work as well :)

Icehawk002
03-20-2007, 10:49 AM
Installed and working fine on vB version 3.6.5

Simply opening up product-mh_anolink.xml in Dreamweaver and changing the two instances of post_parsed to postparsed worked for me.

I im@gine notepad would work as well :)

Doing the same using wordpad solved the product import for me also on 3.6.4

upirate
03-23-2007, 02:51 PM
so if I change the anomyizer link to "somepage.php"

all user posts with external links will first go to somepage.php before they go to that outside link ?

thanks

upirate
03-23-2007, 09:56 PM
ok i installed it 2 questions:

1). I dont want the redirect message to show ("please wait while your page is being redirected"

2). I want to put in a different anonymizer link.

thanks guys!

Marco van Herwaarden
03-24-2007, 07:37 AM
so if I change the anomyizer link to "somepage.php"

Yes.

1). I dont want the redirect message to show ("please wait while your page is being redirected"
The redirect message is shown by the external link you have set for Anonymizer, not by this modification

2). I want to put in a different anonymizer link.
See first post in this thread.

Marco van Herwaarden
03-30-2007, 08:38 PM
A vB 3.6 version is now released: Link Anonymizer and Censor (https://vborg.vbsupport.ru/showthread.php?t=143615)

Now with a new Whitelist/Blacklist Censor and the option to also anonymize PM's and signatures

7lanet
02-21-2008, 08:58 PM
thankssssss

disken
09-14-2009, 10:49 PM
I need version for 1.8.2