Author |
Topic |
gledav
Starting Member
4 Posts |
Posted - 21 September 2009 : 19:09:39
|
If anyone can clarify the ambiguous code issue in pop_mail.asp I’d appreciate it. Where is the following?:
if YEmail = "" then Response.Write "<input name=""YEmail"" type=""text"" value=""" & YEmail & """ size=""25"">" else Response.Write "<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & YEmail & "</font>" end if |
|
|
Carefree
Advanced Member
Philippines
4207 Posts |
Posted - 23 September 2009 : 05:11:27
|
quote: Originally posted by gledav
If anyone can clarify the ambiguous code issue in pop_mail.asp I’d appreciate it. Where is the following?:
if YEmail = "" then Response.Write "<input name=""YEmail"" type=""text"" value=""" & YEmail & """ size=""25"">" else Response.Write "<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & YEmail & "</font>" end if
The instructions do not have that bit of code. That may be why you cannot find it. |
|
|
timmay
Starting Member
USA
1 Posts |
Posted - 08 October 2009 : 09:57:57
|
Is there a way to add the spam question back to the quick reply as well as have it required for people who are logged in? From what I've read, it looks like the spam question goes away once you are logged in.
Thanks for your help. |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
AnonJr
Moderator
United States
5768 Posts |
Posted - 08 October 2009 : 15:17:08
|
quote: Originally posted by timmay
Is there a way to add the spam question back to the quick reply as well as have it required for people who are logged in? From what I've read, it looks like the spam question goes away once you are logged in.
As it should be. If its a registered, logged in user that's causing your problems you've got bigger issues that can be solved by locking the account (temporarily or permanently depending on the situation.) |
|
|
Joebobby
Starting Member
3 Posts |
Posted - 28 February 2010 : 10:56:03
|
I'm running into the same issue RE: the missing or different code in pop_mail. Podge refers to some code he had put on an earlier page of this post, but it's no longer there. According to one of his more recent replies, he was going to try and find this...
quote:
quote:Can't see anything in your post on page3 Podge.
Thats because its gone missing. I'll see if I can find it somewhere. Podge.
I (and probably others) need this because I'm no coder, so I have no idea what I should or should not be replacing in this section of this file.
Kind regards,
JoeBobb |
|
|
systemshock
Starting Member
United Kingdom
4 Posts |
Posted - 24 June 2010 : 03:23:38
|
A couple of points on the implementation
podge's addition on page 3 causes the post_info.asp file to not check the gatekeeper Q/A response as the conditions of the IF are never satisfied. The {strDBNTUserName = ""} is declared earlier in the file so will always be false, so the AND condition will bring back false. The only way to get around this problem is to delete this part of the condition, and follow the mod on page 2 about moving the position of the gatekeeper check to outside the IF statements.
The pop_mail.asp can be fixed if you are using 3.4.06
Follow the first code insert. and for the second. Look for the block of code starting
if YEmail = "" then Response.Write "<input name=""YEmail"" type=""text"" value=""" & YEmail & """ size=""25"">" else Response.Write "<font face=""" & strDefaultFontFace & """ size=""" & strDefaultFontSize & """>" & YEmail & "</font>" end if
The string section under this gives you the layout for the main message box, along with the submit button.
Find the end of a table ( e.g look for the </tr> flag ) Insert JUST the IF statement from the readme. MAKE SURE you delete the { & _ } (ignore the curly braces} otherwise you will get a syntax error. And after the IF statement make sure you add the { Response.Write } before the beginning of the next string.
Here is an extract of my code, which will give you the Antispam Q/A table between the message and the submit box.
http://www.radio.warwick.ac.uk/~rclubb/Edit1.txt
Hope this helps anyone else.
Thanks for this mod, it is very useful. Just testing it on my forum to check if it can knock out some of the spam.
|
Edited by - systemshock on 24 June 2010 03:24:58 |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
leblanc9425
New Member
USA
92 Posts |
Posted - 16 October 2012 : 11:48:12
|
I just implemented the GateKeeper mod to my v3.4.07 message board and it seems to have fixed my spam registration problem! Initially I used a numeric answer to the question but apparently the spammers know this is common and were still getting through. Instead, I used a more unique question that seems to be working! Yaahhooo.
Thanks a great mod. I was spending a lot of time every day deleting spam registrations. Now, I do not have to check each one as I was doing.
|
www.Slug-Lines.com Snitz Version 3.4.07 |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Topic |
|