The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
IP's all being the same
When anyone registers, all the IP's are the same. We have 14 people and on everyone they all have the same IP even though we are from different areas. Anyone have a clue?
|
#2
|
||||
|
||||
Are you using CloudFlare or other CDN? What do the IP addresses resolve to?
|
#3
|
|||
|
|||
They resolve to the our hoster, cuz it says zeal.megaworldhosting.com when i click the IP
|
#4
|
||||
|
||||
I don't know about vB4, but for 3.8.x I would say try this:
1. open includes/class_core.php after saving a clean copy of it to your desktop for easy revert. 2. Find: Code:
function fetch_ip() { return $_SERVER['REMOTE_ADDR']; } Code:
function fetch_ip() { if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { return $_SERVER['HTTP_CF_CONNECTING_IP']; } return $_SERVER['REMOTE_ADDR']; } Code:
function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR']; if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; } Replace with: Code:
function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR']; if (isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { $alt_ip = $_SERVER['HTTP_CF_CONNECTING_IP']; } else if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; } |
Благодарность от: | ||
Lynne |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|