bbAntiSpam: Discuss how to stop web spam

The forum is retired.

bbAntiSpam Forum Index - Textual Confirmation - Where to install TC

Author Message
Guest






Posted: Fri May 02, 2008 10:42 am    Post subject: Where to install TC  

I'm sorry for being dense, but I'm not an expert in these things. I have installed easymod to the correct directory etc and it tells me it has installed sucessfully. I have read the install.php file re TC and I understand that I will have to add/amend code to relevant forum files for TC to work.

My simple question is, where should I upload the unzipped TC files to? To within easymod, to the mods folder, to the admin folder? Where please?
admin
Site Admin


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

Posted: Sat May 03, 2008 2:56 am    Post subject:  

As far as I remember, you need to upload the unpacked folder "TextualConfirmation-1.0.x" to the directory "admin/mods".
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Guest






Posted: Sat May 03, 2008 7:42 am    Post subject:  

Thanks
Guest






Posted: Sat May 03, 2008 5:21 pm    Post subject:  

Bit stuck here. Have changed/added text so far from the install instructions, which are quite clear as to what to open, what to find and what to copy in. This last tranche kust says "COPY" then "SQL" but I can't find where that goes. Is it meant to be in the Sub Silver file?

#-----[ OPEN ]------------------------------------------
#
templates/subSilver/profile_add_body.tpl

#
#-----[ FIND ]------------------------------------------
#
<!-- END switch_confirm -->

#
#-----[ AFTER, ADD ]------------------------------------------
#
<!-- 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 -->

#
#-----[ COPY ]------------------------------------------
#
copy includes/functions_tc.php to includes/functions_tc.php
copy admin/admin_tc.php to admin/admin_tc.php
copy language/lang_english/lang_tc.php to language/lang_english/lang_tc.php
copy language/lang_english/email/textual_confirmation.tpl to language/lang_english/email/textual_confirmation.tpl
copy templates/subSilver/admin/textual_confirmation.tpl to templates/subSilver/admin/textual_confirmation.tpl

#
#-----[ SQL ]------------------------------------------
#
CREATE TABLE phpbb_textual_confirmation (
id INTEGER NOT NULL AUTO_INCREMENT,
question TEXT NOT NULL,
answers TEXT NOT NULL,
PRIMARY KEY (id)
);
INSERT INTO phpbb_textual_confirmation(question,answers) VALUES ('Are you human?', 'yes\nja\noui');
INSERT INTO phpbb_textual_confirmation(question,answers) VALUES ('Say hello', 'hello\nhi\nhallo');
admin
Site Admin


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

Posted: Mon May 05, 2008 3:18 am    Post subject:  

If you install Textual Confirmation through EasyMOD, you don't need to execute actions described in install.txt -- EasyMOD executes them for you. However, if you want to install Textual Confirmation manually, here are explanations what to do:
* How to install a MOD
* Executing SQL
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!
Guest






Posted: Mon May 05, 2008 7:02 am    Post subject:  

Thank you very much for your help - I have now installed the MOD using EasyMOD as I can now see what is required etc. Thanks again.
admin
Site Admin


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

Posted: Tue May 06, 2008 2:50 am    Post subject:  

I'm glad to hear it. Best luck!
_________________
Oleg Parashchenko, bbAntiSpam
Do you love our tools? Please sponsor further development!

Ok.