vBulletin Customizations
If you use vBulletin and you are unable to login to your forum even with the correct credentials and you end up getting:
“You have used up your failed login quota! Please wait 15 minutes before trying again.”
The solution is simple. This happens because old versions of vBulletin will not display the original visitor IP address if the site is behind a reverse proxy (which is how our CloudProxy works).
To fix this issue you will need to edit your ./includes/class_core.php file:
Simply change this:
function fetch_ip()
return $_SERVER['REMOTE_ADDR'];
}
To this:
function fetch_ip()
return (getenv('HTTP_X_FORWARDED_FOR')) ?
getenv('HTTP_X_FORWARDED_FOR') : getenv('REMOTE_ADDR');
}
Now, you should be set.
0
0
Related Articles
- Signatures
- Protected Page
- Block User-agents
- Block HTTP Referers
- Block HTTP Cookies
- Country Blocking
- Testing CloudProxy Before Changing the DNS
- SSL Displaying Incorrectly
- Fixing VirtueMart Issues
- Fixing Vaultpress Issues
- Fixing osCommerce Who's Online