vBulletin ModsThe Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=248042 |
Quote:
And no, any vB addon that uses hooks won't work in v5, and nobody's interested in coding anything for that platform. Which by the way I would never use or recommend SoM. It is too invasive, and blocks far too many legitimate people - admins included. |
I resolved my problem by deleting my entire site, replacing my database with a several week-old backup (our site isn't real busy so losing a few posts isn't really a big deal), and reinstalling 4.2.2 and then updating to patch level 4.
The problem persisted and turned out to be based on a poorly structured ModSecurity rule implemented as a security issue by our host. So, bottom line, I was chasing my tail. GlowHost wasn't the source of the problem at all. Hope this helps someone else; my problem is solved (until another undisclosed edit to Modsecurity raises its ugly head at my expense, LOL). |
Hey evryone. Is anyone using this with vb 4.2.x? i'm using 4.2.3 with php 5.5
|
Quote:
|
I need a little help with setting this up with Cloudflare.
Their instructions have be going into class_core.php and editing the following lines: take the following steps. ------------------- Open includes/class_core.php Find function fetch_ip() { return $_SERVER['REMOTE_ADDR']; } and replace with function fetch_ip() { if(isset($_SERVER['HTTP_CF_CONNECTING_IP'])) { return $_SERVER['HTTP_CF_CONNECTING_IP']; } return $_SERVER['REMOTE_ADDR']; } Find function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR']; if (isset($_SERVER['HTTP_CLIENT_IP'])) { $alt_ip = $_SERVER['HTTP_CLIENT_IP']; } And replace with 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']; } -------------------- I can do the first step fine, but the second one is formatted differently by this mod. I have: ============== function fetch_alt_ip() { $alt_ip = $_SERVER['REMOTE_ADDR']; if (isset($_SERVER['HTTP_X_FORWARDED_FOR'])) { $altip = $_SERVER['HTTP_X_FORWARDED_FOR']; } else if (isset($_SERVER['HTTP_CLIENT_IP'])) { $altip = $_SERVER['HTTP_CLIENT_IP']; } else if (isset($_SERVER['HTTP_FROM'])) { $altip = $_SERVER['HTTP_FROM']; } else { $altip = false; } if ($altip AND $this->filter_ip($altip)) { $alt_ip = $altip; } return $alt_ip; } =========== What do I need to change in there and how should it be formatted to get this mod to work with Cloudflare? Thanks! |
You should need to change nothing. On Cloudflare change the setting so that cloudflare passes on the origin IP to you instead of passing you their IP. Once that's done you don't need to make any changes to your site.
|
hello!
First I must to say very much thanks for great work on the module! You are the best! I already found a solution to the issue i'm talking about, but just look at the following post: In my admincp I dont see any "GlowHost - Spam-O-Matic Logs" in "Admincp > Statistics and Logs", until I change in file cpnav_glowhostspamomatic.xml the string product="glowhostspamomatic" to product="vbulletin" or to other string with name of any of installed products in my forum, except glowhostspamomatic. I Dont understand, why I get the Issue. May be it was some SQL problems while installing the module - I don't know. May be you have any ideas why I got this issue? |
Quote:
|
squidsk, thanks for the help. Do you know where to change that setting on Cloudflare?
|
Quote:
Then open your /includes/config.php in a text editor that is NOT word and search for "superadmin". Then enter your user id in the spot for it and upload the file back to /includes/config.php |
Quote:
Quote:
|
Ahh I was referencing Force's post thinking that it was one you wrote and that T2VSonya was asking where to make herself superadmin :D
|
Quote:
|
Quote:
|
Quote:
|
All times are GMT. The time now is 05:25. |
Powered by vBulletin® Version 3.8.14
Copyright © 2023, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.