vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Administrative and Maintenance Tools - Proxy to Real IP Conversion (https://vborg.vbsupport.ru/showthread.php?t=120082)

forzablues 08-15-2006 09:08 AM

i get this
Fatal error: Call to undefined function: fetch_substr_ip() in /home/fhlinux185/s/street-stylers-southwest.co.uk/user/htdocs/forum/includes/class_core.php on line 1568

Got this when doing it now i cant access forum. Tried changing it back to the original code and i now get this any ideas?

Paul M 08-15-2006 05:06 PM

That function is part of class_core.php so I would say you have made a mistake in editing it - re-upload the original and start again.

Total666 08-20-2006 04:10 PM

Hello : I did all the changes , how can I see if it is working ?? Thanks

I||usi0nz 08-20-2006 05:49 PM

Quote:

Originally Posted by Zelos
I get this when I look at the who's online list: http://img477.imageshack.us/img477/8648/wtfav9.png



If I click one, it says "Unable to resolve IP address". The ips in the posts however are still showing.

I think you might of deleted this line
PHP Code:

 define('SESSION_HOST'substr($registry->ipaddress015)); 

under
In class_core.php ;
Find ;
PHP Code:

 // define session constants
define('SESSION_IDHASH'md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip($registry->alt_ip))); // this should *never* change during a session 

Replace with ;
PHP Code:

// Paul M - define session constants
define('SESSION_IDHASH'md5($_SERVER['HTTP_USER_AGENT'] . vB_Session::fetch_substr_ip($registry->ipaddress))); // this should *never* change during a session 


iatbm 08-20-2006 05:56 PM

Installed !

DaveAK 08-20-2006 11:44 PM

This all seems a bit flaky on my board, not that I'm saying there's anything wrong with it, just that I don't understand what's happening.

Here's my problem :

Sometimes the icon appears red and when you click for info the proxy server IP address simply reads 'PROXYIP', sometimes the icon is the normal green. Either way the actual IP address is the same, and you never get a proxy server IP. This happens for most users, regardless of the service they use. Any idea as to where the problem lies?

Paul M 08-21-2006 09:48 PM

Sounds to me like you haven't done the file edits to class_core.php

DaveAK 08-22-2006 01:39 AM

Quote:

Originally Posted by Paul M
Sounds to me like you haven't done the file edits to class_core.php

I followed your instructions to the letter and did the file edits. It's an intermittent problem, so I'm guessing it's not a problem with your code, or my installation of it. Something else is screwy and I was looking for ideas as to what it might be as I don't understand too much about proxy servers. Could it be something on my server set up?

As a very basic rule of thumb would it be fair to say that most home users won't be using a proxy, (excluding AOL users), where as members logging in from work might well be using a corporate proxy server? This might give me an idea as to which IP's are having a problem.

Paul M 08-22-2006 02:09 AM

The only way it can say "PROXYIP" is if the code has not run.

BTW, as far as I know, this won't detect AOL proxies as they don't pass on the correct http variables.

DaveAK 08-22-2006 02:29 AM

Thanks Paul. I've just been checking my board again and all seems normal. Why it happened first time around I guess we'll never know.


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.01106 seconds
  • Memory Usage 1,745KB
  • 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_php_printable
  • (2)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