vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Use real ip when proxy server is detected. (https://vborg.vbsupport.ru/showthread.php?t=95198)

csidlernet 10-05-2005 03:14 AM

thanks!
/me installs

Paul M 10-05-2005 03:55 AM

Quote:

Originally Posted by csidlernet
[high]* csidlernet installs[/high]

csidlernet has been very busy tonight by the look of things. :)

utw-Mephisto 10-05-2005 11:33 AM

It is working great but I just discovered one member having as Proxy only PROXYIP displayed. I thought first it was something missing in file edits, but all the other proxy people are displayed correctly - any thoughts >!?

DBs 10-05-2005 03:16 PM

I used to run this hack on vb3.0.x and it worked great.

Just installed it on my 3.5 and i too get the following, when clicking on the getip link,

Real IP Address : $postinfo[ipaddress]
Real IP Hostname : $postinfo[hostaddress]
Proxy Server IP Address : $postinfo[proxyip]
Proxy Server Hostname : $postinfo[proxyhost]

All fileedits applied to class_core.php

Paul M 10-05-2005 05:24 PM

Quote:

Originally Posted by utw-Mephisto
It is working great but I just discovered one member having as Proxy only PROXYIP displayed. I thought first it was something missing in file edits, but all the other proxy people are displayed correctly - any thoughts >!?

That means that PROXYIP was not defined at the time the data was saved, I can't see how that would be possible once it's all installed and working. Is this for all their posts or just a few at the time you installed it - i.e if they post again now, what do you see ?

Paul M 10-05-2005 05:36 PM

Quote:

Originally Posted by DBs
I used to run this hack on vb3.0.x and it worked great.

Just installed it on my 3.5 and i too get the following, when clicking on the getip link,

Real IP Address : $postinfo[ipaddress]
Real IP Hostname : $postinfo[hostaddress]
Proxy Server IP Address : $postinfo[proxyip]
Proxy Server Hostname : $postinfo[proxyhost]

All fileedits applied to class_core.php

It's nothing to do with the file edits - it's because your phrase "thread_displayproxyip" is wrong (it's the 3.0.x version).

Edit the phrase and change it to ;
Code:

The Real IP Address is: {1}<br /> The Proxy Server IP Address is: {2}

memoriess 10-06-2005 06:30 AM

Quote:

Originally Posted by Paul M
It's nothing to do with the file edits - it's because your phrase "thread_displayproxyip" is wrong (it's the 3.0.x version).

Edit the phrase and change it to ;
Code:

The Real IP Address is: {1}<br /> The Proxy Server IP Address is: {2}


Sorry how do I alter the sql?

I'm not good in this..

ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'ALTER TABLE vb ADD proxyip VARCHAR(50) not null AFTER ipaddress' at line 1

Paul M 10-06-2005 07:46 AM

Eh ?

Why are you trying to run that sql (which btw, is not even from the 3.5.0 version).

memoriess 10-06-2005 08:47 AM

Quote:

Originally Posted by Paul M
Eh ?

Why are you trying to run that sql (which btw, is not even from the 3.5.0 version).

Because I'm trying to follow the instructions to convert proxy to ip.. Pls help.

DBs 10-06-2005 02:01 PM

Yeh, i had 2 phrases with different texts.

You might wanna add that to the install notes?

Cheers, all working lovely now :)

Quote:

Originally Posted by Paul M
It's nothing to do with the file edits - it's because your phrase "thread_displayproxyip" is wrong (it's the 3.0.x version).

Edit the phrase and change it to ;
Code:

The Real IP Address is: {1}<br /> The Proxy Server IP Address is: {2}



All times are GMT. The time now is 02:33 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.01154 seconds
  • Memory Usage 1,744KB
  • 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
  • (6)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