bbAntiSpam: Discuss how to stop web spam

The forum is retired.

bbAntiSpam Forum Index - Textual Confirmation - pb to have TC work with template different from subsilver

Author Message
qwerty



Joined: 09 Jan 2007
Posts: 2

Posted: Tue Jan 09, 2007 10:41 pm    Post subject: pb to have TC work with template different from subsilver  

Hello,

Here is my my problem:
I've been using textual confirmation for 2 weeks and it's been doing great. I used to go by basic subsilver.
Only, I added recently a new template (ashfuel http://demo.forumshotel.org/demo/index.php?s=80&mforum=demo
), and since then, the Textual confirmation question has disappeared from the registration form, and all users trying to register are rejected for "failing to answer the TC Q"!!! Crying or Very sad
What can I do to fix it?

thank you!
(I know that I've just asked this question to the author of TC, sorry.)
PS: I've installed textual confirmation with Easymod
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Wed Jan 10, 2007 4:18 am    Post subject:  

Quote:
added recently a new template ... and since then, the Textual confirmation question has disappeared from the registration form ...
What can I do to fix it?

A bit of manual work is required.

1) Copy the file "templates/subSilver/admin/textual_confirmation.tpl" to the file "templates/your_template_name/admin/textual_confirmation.tpl".

2) In the new template, find the file "templates/your_template_name/profile_add_body.tpl".

Edit the file: find the string
Code:
<!-- END switch_confirm -->


and after the string, add the following:
Code:

   <!-- BEGIN switch_textual_confirm -->
   <tr>
     <td class="row1"><span class="gen">{TEXTUAL_CONFIRMATION_QUESTION} * </span><br /><span class="gensmall">{L_TEXTUAL_CONFIRMATION_EXPLAIN}</td>
     <td class="row2"><input type="text" class="post" style="width: 200px" name="tc_answer" size="25" value="" /></td>
   </tr>
   <!-- END switch_textual_confirm -->


Then check that TC works well in the both cases:
* when an user successfully answers a qeustions, and
* when a bot fails to answer.

Quote:
I know that I've just asked this question to the author of TC.

This forum is exactly the place to ask the author of TC, so you are right.
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
qwerty



Joined: 09 Jan 2007
Posts: 2

Posted: Wed Jan 10, 2007 8:28 pm    Post subject:  

Thank you for the fast reply.
I followed your recommendations, and tested the registration with both a "wrong" and a "correct" confirmation, and everything works perfectly now.
That trick really does wonders to keep the spamming away!
Thanks a lot again.
admin
Site Admin


Joined: 18 Apr 2006
Posts: 805
Location: Saint-Petersburg, Russia

Posted: Thu Jan 11, 2007 4:17 am    Post subject:  

Nice to hear the problem is solved. Best wishes to the forum!
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Guest






Posted: Sun Jan 21, 2007 3:59 pm    Post subject:  

Tnx to this post I've edited my forum and my template as well... hope it will be useful against spam Smile

I'd like to tnx all the staff here for the great job done.

MY BEST REGARDS

Ok.