Advertisement:

Author Topic: Anonymize Links  (Read 102664 times)

Offline mzeblu

  • Semi-Newbie
  • *
  • Posts: 22
Re: Anonym.to All External Links
« Reply #40 on: September 17, 2007, 08:03:44 PM »
I've got this same error.  Does anyone know why this is happening?

Hi - i've got some errors with v1.1 and smf 1.1.3:

First Error:
Code: [Select]
8: Undefined index: host
Datei: /web/forum/Sources/Subs.php
Zeile: 2558

My Line 2558:
Code: [Select]
$parsed = $temp['host'];

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #41 on: September 17, 2007, 09:02:21 PM »
I need to know a couple of things.

1) The topic/link on your forum where it is occuring (so I can take a look at content which maybe causing it)
2) To be able to view the links in that topic/post that could be causing it.

Offline mzeblu

  • Semi-Newbie
  • *
  • Posts: 22
Re: Anonym.to All External Links
« Reply #42 on: September 17, 2007, 09:58:18 PM »
Hi, if you are referencing my post, It appears when I simply go to the index page.
I am not psting anything or typing a link anywhere.
The simple action of going from the ACP to the main page of the forum caused this error.

// GET THE BASE OF THE DOMAIN/IP (CAN'T USE COMPONENT AS ONLY PHP5 SUPPORTED) :(
               $temp = parse_url($link);
               $parsed = $temp['host'];
               // ANONYMISER
               $anonymiser = ($modSettings['anonymchooseanonymiser'] == 'random') ? $a[array_rand($a,1)] : $modSettings['anonymchooseanonymiser'];
               


I need to know a couple of things.

1) The topic/link on your forum where it is occuring (so I can take a look at content which maybe causing it)
2) To be able to view the links in that topic/post that could be causing it.

Offline metallica48423

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 19,842
  • Gender: Male
  • Professional Multislacker!
    • Zentendo
Re: Anonym.to All External Links
« Reply #43 on: September 23, 2007, 02:28:27 AM »
i get the same error on a fresh install of 1.1.3
Justin O'Leary
Ex-Project Manager
Ex-Lead Support Specialist

Quote
Microsoft wants us to "Imagine life without walls"...
I say, "If there are no walls, who needs Windows?"

Useful Links:
Online Manual!
How to Help us Help you   
Search
Settings Repair Tool
     

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #44 on: September 27, 2007, 12:56:15 PM »
I've installed clean installs of 1.1.3 and 1.1.4 and I can't get this error to appear.
I've also tried it on my latest 5.2.1 version of php.
(as well as my normal 5.1.3)

Can I ask what version of php you guys are running it on?

Offline owvvwo

  • Newbie
  • *
  • Posts: 7
Re: Anonym.to All External Links
« Reply #45 on: September 29, 2007, 09:10:35 PM »
i found one error;
[URL=http://"http://www.asdf.com/asdf"] asdfafd[/URL]

i used this url code. this url redirected with double with  http:// prefix
example: http://anonym.to/?http://"http://www.asdf.com/asdf"

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #46 on: September 29, 2007, 09:18:54 PM »
I may need to try to determine a valid url.
I need to make it 'idiot' proof for users who put crappy urls between url tags like the above.

Thanks for posting owvvwo.

The mod will never 'fix' crappy urls. its just whether we want bad urls to be anonymized or not.
« Last Edit: September 29, 2007, 09:22:04 PM by karlbenson »

Offline WH33LS

  • Semi-Newbie
  • *
  • Posts: 28
Re: Anonym.to All External Links
« Reply #47 on: October 02, 2007, 06:57:15 PM »
i'd hate to waste your time

but i'm a complete noob with mods and i don't wanna f*ck up my forum,

my forum is on Domain.com/forum
would i paste these files in the main forum folder? or is there a certain folder i need to paste them in?

thanks in advance for any help and it's greatly appreciated

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #48 on: October 02, 2007, 08:00:10 PM »
you install mods via the package manager.

Offline WH33LS

  • Semi-Newbie
  • *
  • Posts: 28
Re: Anonym.to All External Links
« Reply #49 on: October 02, 2007, 08:38:39 PM »
cool, i didn't realize it was that easy

thank you for your time and i got it working

great mod

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Anonym.to All External Links
« Reply #50 on: October 04, 2007, 11:37:48 PM »
any news on the forum specific option?

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #51 on: October 05, 2007, 09:05:16 AM »
I'm still busy with finishing other incomplete mods rather than improving current ones.

It will probably be around 2.0 public release time that this mod gets updated.

Offline shatter

  • Newbie
  • *
  • Posts: 2
Re: Anonym.to All External Links
« Reply #52 on: October 18, 2007, 07:59:29 PM »
Hi - i've got some errors with v1.1 and smf 1.1.3:

First Error:
Code: [Select]
8: Undefined offset: -1
Second Error:
Code: [Select]
8: Undefined index: host

i'm using smf 1.1.4 and i also get those errors, however i noticed that if i turn on "Anonym.to YOUR subdomain links?" the first error goes away. i'm still left with the second error however.


the other problem i'm noticing is with email addresses. anonym.to is also being added to mailto links as well, which when you click on it you get a browser warning that you're trying to log on to the email domain. does anyone have any idea how to fix this?

thank you

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #53 on: October 18, 2007, 08:15:03 PM »
That is a bug.
I'll try to get it fixed asap.

I don't think it will be easy to fix either bug and may take me some time to re-write it.
Please bear with me, hopefully by the end of the weekend I'll have it fixed.  I am at the moment bug fixing lots of my mods and this is ON the list already.

Offline shatter

  • Newbie
  • *
  • Posts: 2
Re: Anonym.to All External Links
« Reply #54 on: October 18, 2007, 09:03:30 PM »
thanks a lot. wish i could help out in some way, but unfortunately i'm a php newbie..

oh yeah, i wanted to suggest hiderefer.com as an anonymizer. they have a simple and clean redirection page.

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #55 on: October 18, 2007, 09:53:48 PM »
I'll look at it when i bug fix.
thx.

Offline slackerpunk

  • Jr. Member
  • **
  • Posts: 193
Re: Anonym.to All External Links
« Reply #56 on: October 28, 2007, 01:27:22 AM »
can't wait for 2.0 for this mod hehe

Offline karlbenson

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 15,629
  • Gender: Male
    • Criminal Brief UK
Re: Anonym.to All External Links
« Reply #57 on: October 28, 2007, 11:09:35 AM »
Indeed, I will look to have a fixed version very soon.

However at the moment I have yet to find an alternative to using the php function parse_url which is the cause of the problem.

Offline pcspecialist

  • Newbie
  • *
  • Posts: 5
Re: Anonym.to All External Links
« Reply #58 on: November 03, 2007, 07:43:04 PM »
When viewing a post as a guest and then logging in (post still visible) the following error is logged:

8: Undefined index: host
File: /home/suhs84/public_html/forums/Sources/Subs.php
Line: 2413

Line 2413 is as follows:
$parsed = $temp['host'];


Also but no big deal, version 1.3 is listed as 1.2 in the package manager
« Last Edit: November 03, 2007, 07:48:40 PM by pcspecialist »

Offline darkNiGHTS

  • Semi-Newbie
  • *
  • Posts: 65
Re: Anonym.to All External Links
« Reply #59 on: November 06, 2007, 07:16:23 PM »
This saves me so much time, you're awesome!  Before we had to code all of our links, but now we don't have to worry about that.