Subject:*
<
Name/Email:*
<
Message Icon:*
<
Select*
<
Message:*
<



Click the Preview to see the content in action.
Options:*
<
Confirmation Code*
<
8 - 4 = ?  
Input the result from the expression
Maximum attempts you can try: 10
*
<
     

Re: Captcha Module - How do I change the message text
by tomodea on 2008/2/21 1:59:41

Quote:

trspice wrote:
The file to change is
modules\liaise\language\english\main.php(Line 33): define("_LIAISE_CAPTCHA_DESC","Enter same character string in image.<br />If you dont read string, you can change other string when you click the image.");

The line number may differ for you. When done, refresh the page and it should change. If not then empty your templates_c folder and refresh.


Thanks. That did the trick. I searched for the old string in the module files as they appear after download from the XOOPS repository, i.e. before installation. This string does not appear anywhere in those files. It seems as though the file (main.php) gets modified during installation. The original file has 28 lines, the file that exists in the XOOPS installation has 36 lines. I've now updated the installed version of main.php and the new text now appears. Thanks for the pointer.
Re: Captcha Module - How do I change the message text
by trspice on 2008/2/20 21:20:21

The file to change is
modules\liaise\language\english\main.php(Line 33): define("_LIAISE_CAPTCHA_DESC","Enter same character string in image.<br />If you dont read string, you can change other string when you click the image.");

The line number may differ for you. When done, refresh the page and it should change. If not then empty your templates_c folder and refresh.
Re: Captcha Module - How do I change the message text
by Feichtl on 2008/2/20 19:46:45

Hmm ... not sure - have you tried to refresh Liaise, Captcha and System in modul administration after changing the langfile? Also cleared templates_c (except index.html)?
Re: Captcha Module - How do I change the message text
by tomodea on 2008/2/19 21:50:17

Quote:

Feichtl wrote:
Quote:

tomodea wrote:
... but I can't find where the text is stored.

your_xoops_root/modules/captcha/language/english/main.php


OK. Thanks very much. I found the file, made the changes and uploaded it. However, the new text appears in the XOOPS Admin area only. The old text still appears in the user area.

I am using the Liaise module which has an option to invoke the Captcha module. For some reason the old Captcha text still appears in the forms that are presented using Liaise???
Re: Captcha Module - How do I change the message text
by xunil on 2008/2/19 21:49:13

Quote:
Did you click the link above provided by wishcraft? Here it is again:


Yes, I did it, but it is not the same. It is a hack, not a module and Feitchl wrote about a module called captcha
Quote:
your_xoops_root/modules/captcha/language/english/main.php

Who's Online

766 user(s) are online (726 user(s) are browsing Support Forums)


Members: 0


Guests: 766


more...

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Jul 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!

Latest GitHub Commits