vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Own Redirector and Anonymization V2.0.1 (https://vborg.vbsupport.ru/showthread.php?t=118042)

redlabour 10-25-2006 07:12 PM

It works perfect at me and everyone else.

You replaced the wrong line.

phill2003 10-25-2006 08:27 PM

oh ok :) i will have a look then but as far as i am aware there is only the one line of code that is the same as we are looking for.

This guy had a problem https://vborg.vbsupport.ru/showpost....7&postcount=12 i assume he fixed it with localhost but that did not do it for me.

phill2003 10-25-2006 08:37 PM

this is what i have put into class_bbcode.php
Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="www.THATSSHOCKING.COM"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;

and it does not work as you state it should and indeed does for others, now if i have made a mistake would be gatefull if you would point it out to me as i cant for the life of me see where? :)

Revpolar 10-26-2006 05:56 AM

I switched to this one mainly because it works for links posted into the shoutbox and the other one didnt. Thank you nice hack.

redlabour 10-26-2006 06:02 AM

Quote:

Originally Posted by phill2003
this is what i have put into class_bbcode.php
Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="www.THATSSHOCKING.COM"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;


Which line did you have replaced ?

Quote:

Originally Posted by Revpolar
I switched to this one mainly because it works for links posted into the shoutbox and the other one didnt. Thank you nice hack.

Thanx ! :)

Revpolar 10-26-2006 06:58 AM

His problem is the all caps in his Site url.

BTW it would be useful to include an english version of links.php in the download.

phill2003 10-26-2006 07:50 AM

Quote:

Originally Posted by Revpolar
His problem is the all caps in his Site url.


Really, i'll change it and see what happens. Does it do it with yours because it may be something wrong with my server or something if it really is only me its happening to.

and do you just put www or do you need the http part as well.

[edit] no didnt make a difference its still using links.php for all links.

Rian 10-26-2006 03:16 PM

Not working unfortunately. Go to www.whatismyip.com using this script.

redlabour 10-26-2006 03:23 PM

Quote:

Originally Posted by Rian
Not working unfortunately. Go to www.whatismyip.com using this script.

You misunderstand the way it is working. It is only anonymizing the Refererr - not the IP !!

The Website you come from stay anonym - not the User.

It is usefull if you do not want to let see other Webmasters that you are linking to them.

Revpolar 10-26-2006 07:04 PM

Quote:

Originally Posted by phill2003
Really, i'll change it and see what happens. Does it do it with yours because it may be something wrong with my server or something if it really is only me its happening to.

and do you just put www or do you need the http part as well.

[edit] no didnt make a difference its still using links.php for all links.

Phil try this.
Code:

$url_info = parse_url($rightlink);
                if ($url_info["host"]=="www.thatsshocking.com"):
                return "<a href=\"$rightlink\" target=\"_blank\">$text</a>";
                else:
                return "<a href=\"http://www.thatsshocking.com/links.php?url=$rightlink\" target=\"_blank\">$text</a>";
                endif;



All times are GMT. The time now is 01:45 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01195 seconds
  • Memory Usage 1,740KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete