Author |
Topic |
Podge
Support Moderator
Ireland
3775 Posts |
Posted - 09 December 2006 : 07:52:13
|
Gog a 404 not found for your link.
Logged in users should not see the gatekeeper antispam question. Requiring login to access the forum has no bearing on the problem. If you want to see the gatekeeper question, disable "Require registration", logout and then try to post a new topic. Before you can post you have to enter a username, password and gatekeeper answer along with the subject & text of the topic.< |
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts. |
Edited by - Podge on 09 December 2006 07:53:19 |
|
|
janaf
Starting Member
Sweden
19 Posts |
Posted - 09 December 2006 : 13:29:49
|
Thanks for a gread mod!
I had some problems with 3.4.06 but with 3.4.05 I simply downloaded the files from SnitzBitz and it worked.< |
Edited by - janaf on 09 December 2006 13:46:45 |
|
|
dondon
Starting Member
United Kingdom
24 Posts |
Posted - 11 December 2006 : 05:43:05
|
Podge
Sorry for the delay in coming back.
I tried your suggestion and though I saw the two lines requesting one to register, the Gatekeeper question did not appear.
Don< |
|
|
dondon
Starting Member
United Kingdom
24 Posts |
Posted - 11 December 2006 : 10:52:00
|
Podge
Further to my last posting - I replaced my post.asp with the one in the downloaded edited folder.
The situation is this.
If I have Link Spam Gatekeeper set to on and do not register on entry - I get the request to register and the Gatekeeper question OK.
However, if I do register on entry and try to post, the three lines do not show but the posting is not permitted and I get the message
There has been a problem!
You have not entered an answer for the Antispam question. Please use your back button and try again
But there is no question visible to answer.
Hope this gives you a clue.
By the way I noticed the size of the post file I edited is 74Kb but the one in the Edited folder is 73Kb.
Thanks for your patience.
Don < |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Podge
Support Moderator
Ireland
3775 Posts |
Posted - 11 December 2006 : 11:36:27
|
There is a bug. In post_info.asp replace the Gatekeeper block of code with this
'Gatekeeper Mod
if strLinkSpamGatekeeper = "1" and strDBNTUserName = "" then
select case len(Request.Form("GateKeeperAnswer"))
case "0"
Go_Result "You have not entered an answer for the Antispam question. Please use your back button and try again.", 0
case else
if (lcase(Request.Form("GateKeeperAnswer")) <> lcase(strGatekeeperAnswer1)) and (lcase(Request.Form("GateKeeperAnswer")) <> lcase(strGatekeeperAnswer2)) then
Go_Result "You have entered a wrong answer for the Antispam question. Please use your back button and try again.", 0
end if
end select
end if
'Gatekeeper Mod
I cannot test this until later this evening when I get back from work.< |
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts. |
|
|
dondon
Starting Member
United Kingdom
24 Posts |
Posted - 11 December 2006 : 16:24:14
|
Podge
Tried your modification.
Now -
If not logged in and if I try to post a new topic I see the three lines asking me to log in and answer the Gatekeeper question; however, if I am logged in and try to post a new topic I am able to as I do not see the Gatekeeper question. Would I expect to or am I misunderstanding how this should work?
Regards
Don< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
Posted - 11 December 2006 : 16:34:58
|
You are misunderstanding how this works. The link spam this mod is trying to stop is normally posted by a robot which sends a http POST request to post_info.asp. The robot doesn't support cookies (or doesn't try to fake them) so it sends the username & password directly to post_info.asp. It doesn't know the answer to the gatekeeper question so the spam is not posted. There is the possibility that its a person who just hasn't logged in or a person using a browser which does not support cookies (or has them turned off), thats why the question is shown on post.asp. If a user is logged in, they probably are human and are not asked the question.
favorini actually posted a fix for this earlier in the topic but I have yet to test it. < |
Podge.
The Hunger Site - Click to donate free food | My Blog | Snitz 3.4.05 AutoInstall (Beta!)
My Mods: CAPTCHA Mod | GateKeeper Mod Tutorial: Enable subscriptions on your board
Warning: The post above or below may contain nuts. |
|
|
dondon
Starting Member
United Kingdom
24 Posts |
Posted - 12 December 2006 : 15:51:14
|
Podge
Thanks - well it seems that your last edit fixed my problem and so I thank you for your support.
Best regards
Don< |
|
|
Pertinax
Starting Member
23 Posts |
Posted - 24 September 2007 : 14:36:20
|
I'm using 3.4.06 with the Site Integration mod, too.
I have a problem with the instructions for pop_mail.asp
They say Around line 174 find these four lines if YEmail <> "" then Response.Write(YEmail)
Response.Write "</font></td>" & vbNewLine & _
" </tr>" & vbNewLine & _
" <tr>" & vbNewLine & _ if YEmail <> "" then Response.Write(YEmail)
Response.Write "" & vbNewLine & _
" " & vbNewLine & _
" <tr>" & vbNewLine & _
however, there's no line that has if YEmail <> "" the line at 188 has the opposite if YEmail = ""
What should be the correct modification to make, please ? < |
|
|
Pertinax
Starting Member
23 Posts |
Posted - 24 September 2007 : 14:43:45
|
The other problem is that it says Around line 174 find these four lines but it then gives 7 lines to look for.
So, should I be replacing just the first 4 lines, or all 7 lines ?< |
|
|
earlabs
Starting Member
Netherlands
5 Posts |
Posted - 26 September 2007 : 05:38:55
|
I have exact the same problem. It also happened with the CAPTCHA mod. Podge then refered to the Gatekeeper mod but ironically we encounter the same problem here....
So, Podge, what do we do?< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
earlabs
Starting Member
Netherlands
5 Posts |
Posted - 28 September 2007 : 02:11:05
|
Darned! I keep getting a registration page with no questions asked. The Fields are there, but I cannot see any question and thus cannot answer it.......< |
|
|
Podge
Support Moderator
Ireland
3775 Posts |
|
Topic |
|