Page Index Toggle Pages: 1 ... 3 4 [5]  Send TopicPrint
Very Hot Topic (More than 25 Replies) Automatic Flooding Protection 2.0 (Read 37424 times)
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #60 - Nov 14th, 2005 at 10:18am
Print Post  
I don't really think it messes up anything, I would have recognized that  Wink
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
Kong
God Member
*****
Offline


Is it just me or is my
back hairy???

Posts: 858
Joined: Aug 2nd, 2002
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #61 - Nov 14th, 2005 at 7:17pm
Print Post  
The problem I was having was it was looking for all images at the following url...

http:///YaBB/Images/

I had to modify the following to get it to work...

Search for...
Code
Select All
$showcheck = qq~<base href="$imagesdir/"><table border="0" cellspacing="0" cellpadding="0"><tr>~;
 



replace with...
Code
Select All
$showcheck = qq~<base href="www.3dxl.com$imagesdir/"><table border="0" cellspacing="0" cellpadding="0"><tr>~; 



Seems to be working fine now.  Before I changed that url in the code no images would show up for the verification code.
  


Back to top
 
IP Logged
 
Damon
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 7
Joined: Apr 11th, 2006
Re: Automatic Flooding Protection 2.0
Reply #62 - May 2nd, 2006 at 5:29am
Print Post  
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #63 - May 2nd, 2006 at 7:48am
Print Post  
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
George Maschke
New Member
*
Offline



Posts: 2
Joined: Nov 5th, 2005
Re: Automatic Flooding Protection 2.0
Reply #64 - May 14th, 2006 at 8:27am
Print Post  
Ron,

Thank you for this mod! My YaBB forum has been affected by the recent spamming episodes, so this is just what I needed. (The spamming stopped after requiring a password to be sent to the user, but we continued to get several bogus registrations per day.)

As Carlos mentioned above, I think it's actually better not to use the "password" parameter for the verification input field but to use "text" instead. That way, the user can see that he has entered the correct code before hitting return.
  

Back to top
WWW  
IP Logged
 
Valtiel
God Member
*****
Offline


Copy & paste coder

Posts: 873
Joined: Sep 5th, 2003
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #65 - May 14th, 2006 at 10:41am
Print Post  
I agree with that - already changed it on my board some time ago. There's no need for hiding the verification code entered.
  

Proud copy & paste coder Grin
Admin @ Silent Hill Forum
Back to top
WWW  
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #66 - May 17th, 2006 at 7:41am
Print Post  
Quote:
I agree with that - already changed it on my board some time ago. There's no need for hiding the verification code entered.

In Y2.1 this was almost the first thing I changed based on the same comment.
I however did not update the Y1 mod as it was allready in the database.
The fix is easy.
Just change the type="password" into type="text" in the validation form.
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Tuff
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 33
Joined: Nov 4th, 2003
Re: Automatic Flooding Protection 2.0
Reply #67 - Feb 7th, 2007 at 2:34pm
Print Post  
I am having problems using this mid with IE7.
People attempting to register cannot see the verification code.

Can anything be done about this?

Tuff
  
Back to top
 
IP Logged
 
TheSkier
Junior Member
**
Offline



Posts: 94
Location: Sakhalin
Joined: Jul 9th, 2004
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #68 - Feb 8th, 2007 at 2:02am
Print Post  
Tuff wrote on Feb 7th, 2007 at 2:34pm:
I am having problems using this mid with IE7.
People attempting to register cannot see the verification code...

see post #61 above

or do the following:
in .mod file:
search string:
Code
Select All
$showcheck = qq~<base href="$imagesdir/"><table border="0" cellspacing="0" cellpadding="0"><tr>~; 


replace with:
Code
Select All
$showcheck = qq~<table border="0" cellspacing="0" cellpadding="0"><tr>~; 



in CharTable.pl file:
search all the instances of:
Code
Select All
img src=" 


replace with:
Code
Select All
img src="$imagesdir/ 



then upload updated files to the web server in ASCII mode
« Last Edit: Feb 8th, 2007 at 6:51am by TheSkier »  
Back to top
WWW  
IP Logged
 
Tuff
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 33
Joined: Nov 4th, 2003
Re: Automatic Flooding Protection 2.0
Reply #69 - Feb 8th, 2007 at 3:45pm
Print Post  
Hmm, I get this error now.

Bareword found where operator expected at /d4/d8/themarinedoctor.com/cgi-bin/Sources/CharTable.pl line 19, near "$img_1 = qq~img"  (Might be a runaway multi-line ~~ string starting on line 18)


Tuff
  
Back to top
 
IP Logged
 
Tuff
New Member
*
Offline


I love YaBB 1G - SP1.2!

Posts: 33
Joined: Nov 4th, 2003
Re: Automatic Flooding Protection 2.0
Reply #70 - Feb 8th, 2007 at 3:54pm
Print Post  
9.gif" height="1"~;

I got it, forgot to leave that stuff on the tail end.

Thank you for the help.

Tuff
  
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #71 - Mar 25th, 2007 at 7:52pm
Print Post  
Tuff wrote on Feb 8th, 2007 at 3:54pm:
9.gif" height="1"~;

I got it, forgot to leave that stuff on the tail end.

Thank you for the help.

Tuff

9.gif does not look like the latest code to me Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Spikecity
God Member
*****
Offline


Beer anyone ?

Posts: 2630
Location: New York
Joined: Apr 16th, 2002
Gender: Male
Re: Automatic Flooding Protection 2.0
Reply #72 - Mar 25th, 2007 at 7:54pm
Print Post  
TheSkier wrote on Feb 8th, 2007 at 2:02am:
in CharTable.pl file:
search all the instances of:
Code
Select All
img src=" 


replace with:
Code
Select All
img src="$imagesdir/ 



then upload updated files to the web server in ASCII mode

good catch, bloody IE7 does not recognise base href anymore..... (I do have to call Bill about standards again Wink
  

Nothing to add here Smiley
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1 ... 3 4 [5] 
Send TopicPrint