Page Index Toggle Pages: 1 2 3 [4] 5 6 
Topic Tools
Very Hot Topic (More than 25 Replies) PMs from Ex-Members (Read 16,040 times)
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: PMs from Ex-Members
Reply #45 - Nov 21st, 2011 at 8:35pm
Post Tools
corvettec3 wrote on Nov 21st, 2011 at 8:30pm:
OK Derek...I just went into the Guardian and added an IP address in the IP ban section.  Both the .htacess file and Settings.pl indicated modification.  I checked the .htacess file and the new IP I had added was appended to the file.  I checked the Settings.pl file to what had changed but I could not find anything so I do not know what was changed in it.  SFS has only been adding names to the .htacess file since yesterday, all the other addresses are those that I added through the Guardian as you indicated should be the case.  However, I still can kill the forum by adding text through the Guardian resulting in a 404 error.  That doesn't concern me as I am not suppose to do that anyway   The forum is running fine with no more spam member requests.  The SFS is catching those 100%   We have had one valid member request today so we know the process is working fine.

Settings.pl will be modified because the enable/disable settings etc. are set there, for example:

Code
Select All
$use_guardian = 1;
$use_htaccess = 1; 


I'd still like to figure out what is going on anyhow...
« Last Edit: Nov 21st, 2011 at 8:36pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
corvettec3
YaBB Newcomer
*
Offline



Posts: 38
Re: PMs from Ex-Members
Reply #46 - Nov 21st, 2011 at 9:27pm
Post Tools
Derek, I removed that section of text from the Settings.pl file and it still crashes the forum with a 404 error.  There is something else with that file that is causing problems.
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: PMs from Ex-Members
Reply #47 - Nov 21st, 2011 at 10:20pm
Post Tools
For anybody who happened to be reading this, it was indeed that line which was causing problems.

Binnie, it's a mistake on my behalf... If you had 'Auto-ban both IP Address and Email Address if either one matches?' enabled, it was adding the email address to the ban list before any validity checks were made on the email address. I'll fix it it the Mod at some point tonight, but if you don't want to wait until then and uninstall/reinstall, then find this bit of code in Sources/Register.pl:

Code (Perl)
Select All
    if ($check_sfs_username || $check_sfs_ip || $check_sfs_email) {
        require "$sourcedir/StopForumSpam.pl";
        $sfs_username = $member{'regusername'};
        $sfs_email = $member{'email'};
        &CheckForumSpam;
    } 


And move it to just before this line:

Code (Perl)
Select All
    &ToHTML($member{'language'}); 


Thank you very much for the feedback and help finding out what the problem was. Smiley

You can safely enable the auto-ban features again after making that change.
« Last Edit: Nov 21st, 2011 at 10:23pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
------
Senior Member
Beta Testers
****
Offline



Posts: 528
Re: PMs from Ex-Members
Reply #48 - Nov 21st, 2011 at 10:23pm
Post Tools
Just to add my 2¢ if no one minds.

I just enabled the auto-ban features along with banning ip addresses on the server level with out any ill effect. In other words my forum is still up and running.

(v2.4)
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: PMs from Ex-Members
Reply #49 - Nov 21st, 2011 at 10:30pm
Post Tools
Thanks Ron,

It was if someone entered an invalid email with characters which could break the settings which was causing problems, because the email wasn't being checked before the SFS checks were. The fix above should sort it.

------ wrote on Nov 21st, 2011 at 10:23pm:
Just to add my 2¢ if no one minds.

Of cause we don't mind, the more 2¢ the better. Smiley
  
Back to top
 
IP Logged
 
------
Senior Member
Beta Testers
****
Offline



Posts: 528
Re: PMs from Ex-Members
Reply #50 - Nov 21st, 2011 at 10:33pm
Post Tools
Thanks Derek
  
Back to top
 
IP Logged
 
corvettec3
YaBB Newcomer
*
Offline



Posts: 38
Re: PMs from Ex-Members
Reply #51 - Nov 21st, 2011 at 10:33pm
Post Tools
Thank you Derek.  I just made those changes.
  
Back to top
 
IP Logged
 
corvettec3
YaBB Newcomer
*
Offline



Posts: 38
Re: PMs from Ex-Members
Reply #52 - Nov 21st, 2011 at 10:34pm
Post Tools
And thank you Ron  Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: PMs from Ex-Members
Reply #53 - Nov 21st, 2011 at 10:35pm
Post Tools
Great! Thank you to you guys too.

Right, I'm off for a beer break. Smiley
« Last Edit: Nov 21st, 2011 at 10:36pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
corvettec3
YaBB Newcomer
*
Offline



Posts: 38
Re: PMs from Ex-Members
Reply #54 - Nov 21st, 2011 at 10:45pm
Post Tools
And a well deserved beer break Smiley  Next time you are in Nova Scotia, I will have a cold one ready  Smiley
  
Back to top
 
IP Logged
 
JonB
YaBB Administrator
YaBB Next Team
Operations Team
Beta Testers
Support Team
*****
Offline



Posts: 4,038
Location: Land of the Blazing Sun!

YaBB 2.6.1
Re: PMs from Ex-Members
Reply #55 - Nov 21st, 2011 at 10:55pm
Post Tools
"I'd sooner have a Schooner" (Please) -- yes, I am older than dirt....

Grin

(many fond memories)
  

I find your lack of faith disturbing.
Back to top
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: PMs from Ex-Members
Reply #56 - Nov 21st, 2011 at 11:02pm
Post Tools
corvettec3 wrote on Nov 21st, 2011 at 10:45pm:
And a well deserved beer break Smiley  Next time you are in Nova Scotia, I will have a cold one ready  Smiley

Thanks! But where the 'eck is 'Nova Scotia' - isn't that somewhere on the Moon? Cheesy

Oh, you might want to delete your Settings.pl attachment now - your email address in stored in there, so you probably don't want it lying around.


« Last Edit: Nov 21st, 2011 at 11:05pm by Derek Barnstorm »  
Back to top
 
IP Logged
 
corvettec3
YaBB Newcomer
*
Offline



Posts: 38
Re: PMs from Ex-Members
Reply #57 - Nov 22nd, 2011 at 12:18am
Post Tools
DereDerek Barnstorm wrote on Nov 21st, 2011 at 11:02pm:
corvettec3 wrote on Nov 21st, 2011 at 10:45pm:
And a well deserved beer break Smiley  Next time you are in Nova Scotia, I will have a cold one ready  Smiley

Thanks! But where the 'eck is 'Nova Scotia' - isn't that somewhere on the Moon? Cheesy

Oh, you might want to delete your Settings.pl attachment now - your email address in stored in there, so you probably don't want it lying around.




Thanks Derek, I will do that.  Nova Scotia (New Scotland) is on the east coast of Canada.  Just across the pond from you Derek.
  
Back to top
 
IP Logged
 
------
Senior Member
Beta Testers
****
Offline



Posts: 528
Re: PMs from Ex-Members
Reply #58 - Nov 22nd, 2011 at 12:48am
Post Tools
Derek I really hate to say this.

I made the changes you suggested in reply#47 and then I had the problem corvettec3 mentioned, except I was getting a 500 error.

Maybe this has to do with the fact that I'm using 2.4?


(I have a case of Paulaner ready for you guys)
« Last Edit: Nov 22nd, 2011 at 12:50am by ------ »  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: PMs from Ex-Members
Reply #59 - Nov 22nd, 2011 at 1:01am
Post Tools
Grrrrr!

The 2.4 code in that specific place is the same, so wouldn't make a difference.

Can you open up Settings.pl and post up your email ban list for me to see please?

They'll be under this variable:

Code (Perl)
Select All
$email_banlist = "your_email_ban_list"; # EMAIL banlist 


corvettec3 wrote on Nov 22nd, 2011 at 12:18am:
Nova Scotia (New Scotland) is on the east coast of Canada.  Just across the pond from you Derek.

Aha, I've got ya. I'll just find find my swimming trunks out, and I'll be with you shortly. Smiley
« Last Edit: Nov 22nd, 2011 at 1:07am by Derek Barnstorm »  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 2 3 [4] 5 6 
Topic Tools