Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Own Redirector and Anonymization V2.0 Details »»
Own Redirector and Anonymization V2.0
Version: 2.01, by redlabour redlabour is offline
Developer Last Online: Oct 2012 Show Printable Version Email this Page

Version: 3.5.5 Rating:
Released: 10-10-2005 Last Update: 09-27-2006 Installs: 7
Code Changes Additional Files  
No support by the author.

This Hack is not longer supported!!! Please use :

Own Redirector and Anonymization V2.0.1 for 3.6.x

Supporters / CoAuthors

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #2  
Old 10-11-2005, 04:55 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<i>if ($url_info["host"]=="www.YOURDOMAIN.de"):</i>

^^

What about YOURDOMAIN.DE without the www. ?
Reply With Quote
  #3  
Old 10-11-2005, 05:53 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can´t work because vBulletin does not use URL´s without www. for redirecting unhacked.

Was this just a question if it works or do you need this without www. ?

But of course you can ad this Line so that it works with both. With www. or without.
Reply With Quote
  #4  
Old 10-11-2005, 08:17 PM
VaaKo VaaKo is offline
 
Join Date: Jul 2005
Location: Lebanon
Posts: 400
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

what does this hack do?
Reply With Quote
  #5  
Old 10-11-2005, 08:29 PM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry i forget :


Demo - that?s what it looks like if you click on a Link (http://www.google.de) where the Hack is installed :

http://www.redlabour.de/forum/links..../www.google.de

I have inserted a Screenshot for Hack in Action above in the first Posting !
Reply With Quote
  #6  
Old 10-11-2005, 09:20 PM
Paul M's Avatar
Paul M Paul M is offline
 
Join Date: Sep 2004
Location: Nottingham, UK
Posts: 23,748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour
Sorry i forget :


Demo - that?s what it looks like if you click on a Link (http://www.google.de) where the Hack is installed :

http://www.redlabour.de/forum/links..../www.google.de

I have inserted a Screenshot for Hack in Action above in the first Posting !
Sorry, but I don't speak German and am no wiser now, please can you explain this hacks actual purpose.
Reply With Quote
  #7  
Old 10-12-2005, 03:45 AM
vibe vibe is offline
 
Join Date: Jan 2005
Posts: 67
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks!!
works great.
Reply With Quote
  #8  
Old 10-12-2005, 06:55 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@Paul M - sorry i think this is selfexplaining.
Reply With Quote
  #9  
Old 10-12-2005, 08:02 AM
buro9 buro9 is offline
 
Join Date: Feb 2002
Location: London, UK
Posts: 585
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Paul M
Sorry, but I don't speak German and am no wiser now, please can you explain this hacks actual purpose.
Using a META REFRESH to handle the URL for the destination, the hack successfully prevents the referer header being set. As using META REFRESH is one of the ways in which to prevent referer info being set. (Another is using SSL for example.)

This means that the end site cannot see where the request originated... it basically is anonymising the requests of your user.

You might think this is pointless, but some organisations such as the BNP in the UK frequently check their logfiles and visit sites that links came from. In this instance using this hack will prevent a political conversation from being invaded by trolls from sites linked to.

In a one-liner: It anonymises hyperlinks on your forum by preventing referer information being sent to the end site.
Reply With Quote
  #10  
Old 10-12-2005, 09:23 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

And it opens a Disclaimer before Redirecting to the other Site what is necessary in some European Countries.
Reply With Quote
  #11  
Old 10-21-2005, 12:38 AM
leroub's Avatar
leroub leroub is offline
 
Join Date: Jul 2005
Location: In my computer
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thx for this hack.... work very fine....
Reply With Quote
  #12  
Old 10-22-2005, 09:43 PM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redlabour
Can?t work because vBulletin does not use URL?s without www. for redirecting unhacked.

Was this just a question if it works or do you need this without www. ?

But of course you can ad this Line so that it works with both. With www. or without.
Not everyone will put www.domain.com

Some will put domain.com or http://www.domain.com or http://domain.com

Where you say you can add a line so it works with both, would you do it like this?

Instead of this:
Code:
$url_info = parse_url($rightlink);
                 if ($url_info["host"]=="www.YOURDOMAIN.de"):
                 return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                 else:
                 return "<a href=\"http://www.YOURDOMAIN.de/forum/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                 endif;
It would be:
Code:
$url_info = parse_url($rightlink);
                 if ($url_info["host"]=="www.YOURDOMAIN.de") || ($url_info["host"]=="YOURDOMAIN.de") || ($url_info["host"]=="http://YOURDOMAIN.de") || ($url_info["host"]=="http://www.YOURDOMAIN.de"):
                 return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                 else:
                 return "<a href=\"http://www.YOURDOMAIN.de/forum/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                 endif;
?
Reply With Quote
  #13  
Old 10-23-2005, 07:01 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tokenyank
Not everyone will put www.domain.com

Some will put domain.com or http://www.domain.com or http://domain.com

Where you say you can add a line so it works with both, would you do it like this?
??? It makes no difference because the http:// is added automatically . :surprised:

Why did you want to do this ?
Reply With Quote
  #14  
Old 10-23-2005, 07:24 AM
tokenyank tokenyank is offline
 
Join Date: Jul 2005
Location: London
Posts: 142
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Because as it is now any link that is http://whatever.com does not get parsed through the link.php only links with www in them.

So, I'll take your word that I don't need to declare the http:// but could you tell us how to add another domain to the variable as I would like to declare that domain.com is handled the same way as www.domain.com, also I have another domain that is not part of my vB domain but do not want the link.php to parse it...

So, long post made short... Could you tell us how to add more domains so it will not parse through links.php?

I just tried it like this:
Code:
$url_info = parse_url($rightlink);
                 if ($url_info["host"]=="www.YOURDOMAIN.de") || ($url_info["host"]=="YOURDOMAIN.de") || ($url_info["host"]=="http://YOURDOMAIN.de") || ($url_info["host"]=="http://www.YOURDOMAIN.de"):
                 return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                 else:
                 return "<a href=\"http://www.YOURDOMAIN.de/forum/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                 endif;
and it did not work
Reply With Quote
  #15  
Old 10-23-2005, 09:01 AM
redlabour's Avatar
redlabour redlabour is offline
 
Join Date: Mar 2004
Location: Wuppertal, NRW, Germany
Posts: 1,541
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Oh now i understand - i will take a look of it tomorrow.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:40 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05560 seconds
  • Memory Usage 2,348KB
  • Queries Executed 29 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (15)post_thanks_box
  • (15)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (15)post_thanks_postbit_info
  • (14)postbit
  • (15)postbit_onlinestatus
  • (15)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete