The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
A Little help for a php n00b please?
Recently we have been having issues with certain members continuously registering and posting abusive and threatening messages, including and I quote "if i where you , i would be leaving your home sorry to tell you a lot
off bad ass cheaters out there who hate asses like you enough to kill .... your pants little wet now? lmfao , you deserve every single bit off it for making such a retarted forum". We took the liberty of reporting this to the users' ISP, along with logged IP information. However the reply we got was that the ip address we had was assigned to one of their webcache servers. They were kind enough to provide us with information about changing the coding so as to show the real IP address, they advised that "This script is looking at the wrong variable. REMOTE_ADDR and REMOTE_HOST will both respond with the Inktomi (Cacheing) traffic servers. However, if you use HTTP_CLIENT_IP or HTTP_X_FORWARDED_FOR this will report the correct IP address of the user. Which file would I need to edit to change this variable so we can progress with this complaint? Thanks in Advance. |
#2
|
|||
|
|||
Anyone, Please?
|
#3
|
||||
|
||||
it's in the global.php file, do a search for REMOTE_ADDR and replace it with HTTP_CLIENT_IP
I hope that works |
#4
|
||||
|
||||
Do you need to do it? It's good that cache system assigns him a static IP, so you can ban the IP and he wont be able to access your board anymore..
|
#5
|
|||
|
|||
Thanks for the info scsa20 we'll get on it straight away.
Yes we need to do it because we have several users on that particular ISP and if we IP Ban one then the others cannot access the board either. Besides which we want to report his behaviour and therefore need more information about him, not just the IP Address of his ISP's cache |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|