vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Proxy Hack v1.0 (https://vborg.vbsupport.ru/showthread.php?t=38358)

Takara 05-07-2002 05:44 PM

Thanks ren (btw, if you install it please use the 'I installed this hack' option ^_^)

Allstar: I supose it would be possible, though alot of people use proxys at work and school etc. I dunno how to do it off the top of my head, and right now I'm working on external avatar linking. So I cant look into it >.<

sorry

Keyser S?ze 05-07-2002 06:14 PM

does this only show up to mods and admins, or to everyone?

and also, is it possible to make it so it only shows to admins? another thing i think i said before, would be wonderful if you could tie this into the banning options and auto ban the person who does a re-register

Neo 05-07-2002 06:15 PM

Very nice.

NTLDR 05-07-2002 06:20 PM

Very nice hack Takara, just what I was looking for :D

One error in the one that displays the Proxy in the thread_displayip template is that you have the Machines IP adddress and the proxy address labled the wrong way round!

Takara 05-07-2002 06:51 PM

Eurgh, I knew i would mess up somewhere, lol. I changed it -.-
thanks NTLDR.

Ice: If you use the one that adds the 'Proxy Detected' under the posts, it shows for everone. However only the admins/mods can view it. I made it like this to discourage a fiew certin people that will use proxys to view the boards. When they see 'proxy detected' they will run away XD

But if you use the non intrusive version its the same as what you set for viewing the persons IP

[b00lean] 05-07-2002 07:49 PM

]nice hack. gonna find a better use for this ;)
make it show a fake forum for a proxy user muhaha =P

Ian 05-07-2002 08:12 PM

For some reason I couldn't get it to work...
I used a proxy and posted and it didn't display the proxy thing... Any idea what's wrong?

Allstar DC 05-07-2002 08:38 PM

@Takara: thats ok, im in no hurry with it.

@boolean, sounds like a cool idea. if you find out how to do that, than let me know please

Takara 05-07-2002 09:47 PM

Quote:

Originally posted by Ian
For some reason I couldn't get it to work...
I used a proxy and posted and it didn't display the proxy thing... Any idea what's wrong?

It doesnt work with all proxys, some are completely anon. So its not fool proof

DWZ 05-07-2002 10:29 PM

Quote:

Originally posted by Takara
This was the asked for integration with the current one. Its more or less the same, you dont have to edit postings.php. For this one it wont display Proxy Detected in the postbit, instead it just displays the proxy info, if any when you click the get IP link.

have fun

Thanks for that :D

But im talking a look over the instructions, but I'm a bit confused on how it works. Sorry if I'm totally wrong, I'm still a bit new to PHP :). But where you say to add:
PHP Code:

//Proxy Check
    
if ($post[proxyip]!='') {
        eval(
"\$post[proxysip] = \"".gettemplate("proxy_proxyip")."\";");
    } else {
        
$post[proxysip]='';
    }
//Proxy Check 

Don't I need a proxy_proxyip template? I can't find one that comes with vB, and your instructions don't say to make one anywhere..

The second thing I found that I wasn't too sure about was replace the template threads_displayip with:
Quote:

The Proxy IP Address is: $postinfo[ipaddress]. The Proxy host name is: $postinfo[hostaddress].<br>Real IP: $postinfo[proxyip]<P>Please click <a href="showthread.php?s=$session[sessionhash]&threadid=$threadid">here</a> to return to the thread.
Wont that come up if they have a proxy IP or not? I mean, I only want to get that sort of message if they have a proxy. If not, it just shows the normal message.

Sorry to be a bother :)


All times are GMT. The time now is 06:41 AM.

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.01232 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
  • (1)bbcode_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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