vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Anti-Spam Options - [GlowHost] Spam-O-Matic - Spam Firewall stops forum spam (https://vborg.vbsupport.ru/showthread.php?t=248042)

Pers 01-29-2015 08:28 PM

Thank you for the offer, Force. At this point I've tried the edit to the config.php file and can confirm that Glowhost is no longer active. The two users are not banned (at least not in the database), there are no IP bans (I've never banned an IP although I do ban ranges of IPs in a .htacess file -- and yes, I checked that too) and I looked in the datastore table to confirm that my IP is not banned there, either.

When I attempt to access the control panel I get a "welcome, thanks for logging in" message and then the login page reloads. I had a friend (several minutes ago) try to access the same page with the Admin name and password from an entirely different IP address with the same result.

At this stage I'm thinking that the issue is not Glowhost related and I'm going to do a upgrade of the software and hope the issue is resolved that way. I'm otherwise out of ideas.

Thanks to all that offered suggestions. Many thanks, in fact.

ForceHSS 01-29-2015 08:35 PM

Did you install anything else apart from this plugin before this problem. Also, when you updated to 4.2.2 did you put the fix into your config as this can cause problems if not done the best thing you can do is disable all plugins via config use notepad++ to edit the config

To do that, open your includes/config.php file and below <?php add the following.


PHP Code:

define('DISABLE_HOOKS'true); 


So it looks like this:

PHP Code:

<?php
define
('DISABLE_HOOKS'true);
/*=================================================  =====================*\
|| ##################################################  ################## ||
|| # vBulletin 4.2.2


Use an editor like notepad++ to edit any files, don't use Notepad or Wordpad.
After you have done this update to 4.2.3 as the fixes are in this version it would be good if you could login to the admincp to turn the board off first, but if you can make a post to tell your members what is going to happen

Pers 01-29-2015 09:02 PM

No, I hadn't added any plugins prior to this issue arising. And yes, I did add that define line in my config.php file to disable all plugins, so hopefully all will go well (crosses fingers).

kh99 01-29-2015 09:44 PM

If you still have no luck,you might try uploading tools.php to the admincp folder and then do "Update the forum and usergroup cache".

oneobgyn 02-09-2015 08:43 PM

Presently I am running vBulletin 4.2.2 for my forum and am a strong advocate for the use of Spam O Matic which has reduced our moderator work load in eliminating spammers. Frankly we cannot be without it

We are now considering a conversion to vBulletin 5 and were made aware that plug ins will not transfer across in the conversion. We were also made aware that the present version of Spam O Matic will not function on vBulletin 5. Is this true and if so can anyone tell me if there will be a version of Spam O Matic which functions on VB5

TIA

Max Taxable 02-09-2015 08:48 PM

Quote:

Originally Posted by oneobgyn (Post 2536792)
Presently I am running vBulletin 4.2.2 for my forum and am a strong advocate for the use of Spam O Matic which has reduced our moderator work load in eliminating spammers. Frankly we cannot be without it

We are now considering a conversion to vBulletin 5 and were made aware that plug ins will not transfer across in the conversion. We were also made aware that the present version of Spam O Matic will not function on vBulletin 5. Is this true and if so can anyone tell me if there will be a version of Spam O Matic which functions on VB5

TIA

The bolded represents the biggest mistake you can ever make. Surely you must have some really compelling reason.

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.

Pers 02-10-2015 01:22 AM

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).

mykkal 02-27-2015 11:38 PM

Hey evryone. Is anyone using this with vb 4.2.x? i'm using 4.2.3 with php 5.5

bzcomputers 02-28-2015 09:00 AM

Quote:

Originally Posted by mykkal (Post 2539032)
Hey evryone. Is anyone using this with vb 4.2.x? i'm using 4.2.3 with php 5.5

Yes, it'll work fine.

T2VSonya 03-05-2015 04:47 PM

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!


All times are GMT. The time now is 07:49 AM.

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.05231 seconds
  • Memory Usage 1,753KB
  • 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
  • (2)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
  • (4)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