Quote:
Originally Posted by kh99
I have a question for people using this: I started using this a couple weeks ago but today I checked the Spam-O-Matic log and I see lots of blocked registrations which is good, but I see "submitted to SFS" log entries for only 6 members when I know I used the box in ACP on the member profile page to ban and submit a lot more than 6. Looking at SFS in "my spammers" also shows I've only submitted 6. Anyone else having a problem like this?
|
I'm answering my own question (I realize support is only given in the 4.0 thread).
Anyway, in a couple of places in includes/functions_ghsom.php there's some code like this:
Code:
if (!headers_sent()) if(!isset($_SESSION)) session_start();
but (on our server anyway) it was stopping the sessions from working, so if you tried to use the functions on the user edit page (in the ACP) nothing would happen (it would go to the ban or delete user page but wouldn't submit to SFS or delete threads). So I edited the code (in two places) to look like this:
Code:
if (!isset($_SESSION)) @session_start();
the @ stops it from displaying an error that happens because the headers *have* been sent, but it seems to work in spite of that error.
BTW, I also commented out the part that deletes threads because the comment says "this is definitely ALPHA code" and I'm not sure if that's the right way to delete threads and posts.