How can i change the Text for Captcha Input

Permalink 2 users found helpful
Hello,
how can i change this Text?

Please type the letters and numbers shown in the image.

Best Regards
Thomas

 
Mnkras replied on at Permalink Reply
Mnkras
Yes i believe it is in the captcha helper
harmst replied on at Permalink Reply
do you mean under /concrete/helpers/validation/captcha.php? I can't find this textstring.

Thomas
Remo replied on at Permalink Best Answer Reply
Remo
no, it's not in the helper. It can be different for each block. Can't tell you what exactly you have to do without knowing which block you want to modify though..

If it is the guestbook, you'll find it in this file concrete\blocks\guestbook\view.php
harmst replied on at Permalink Reply
thankyou, that was the right way ..

/concrete/blocks/form/controller.php.

Thomas
titiksha replied on at Permalink Reply
please tell me how can we change the input text that we use to be entered by the person?

also

how to change the background of text window
pdcouto replied on at Permalink Reply
pdcouto
You will have to build some CSS and apply it on that form field.
pdcouto replied on at Permalink Reply
pdcouto
Hi. Thanks for the location of the sentence. Actually it was a laugh when after I made a portuguese form the sentence appeared! :D

I've just deleted what was between the echo:

echo(t(''));

It works fine, and since I'm trying to make a bilingual site I can add latter a sentence like "Please type the letters and numbers shown in the image." in whatever the language the form is made.
kesnav replied on at Permalink Reply
I don't know if things were different when this thread started, but the file to change the captcha text is actually in:

concrete/models/system/captcha/types/securimage/controller.php

Hope this helps.
ubbo48 replied on at Permalink Reply
ubbo48
Thanks! I needed that too.
Ubbo
The Netherlands
cheekylele replied on at Permalink Reply
..... close to what I was looking for!

I found the editable file located here where you do all the colour customising also:
\concrete\core\models\system\captcha\types\securimage\

but I'm sure thats naughty editing the core files so should I be copying the whole directory to the root folder instead?
kesnav replied on at Permalink Reply
Now I'm using concrete5 5.6.0.2 and I can't find where to edit the captcha text.

Would someone please advise?

Looking at this topic, it seems that the code for the captcha text changes location in every concrete5 release....
xxjames1975xx replied on at Permalink Reply
In 5.6.0.2 it seems to appear in:

concrete/core/models/system/captcha/types/securimage/controller.php
labdesignstudio replied on at Permalink Reply
I'd like to add a class to the div holding the text so I can style it for different sections in my site. Since the controller is now deep inside the concrete>core directory where would I copy the file to at the root level since there is no corresponding path? I just don't want to make the change and then sometime later have my client call telling me things have gone a-rye.
Chrouglas replied on at Permalink Reply
Bump bump bump... indeed. This would be a great thing to either a) have been originally developed with a class in place even if its just class="1" class="2" or b) be able to add an override so that changes are not wiped out with the next core update. Not to mention... don't mess with the core! oh, and don't mess with the core!

I have an fairly tight space that I need to fit the form and (recently with a pile of spam rolling in) a captcha block. I can do :first-of-type for the first div and monkey with the label but the last few divs are out of reach.

Is there another method in css?
What about that core override?

http://www.adamsmfg.com (click "not a fan of the phone?" in the right hand gray block.

Thanks in advance for any advise.
Chris
ibloxser replied on at Permalink Reply
ibloxser
I was struggeling tho find where to edit this in Concrete 5.7, but I found it.
For who wants to know where to edit the text in the form of the conversation block in Concrete 5.7:

concrete/elements/conversation/message/author.php

edit the captcha text:

concrete/src/Captcha/SecureimageController.php
somesayinice replied on at Permalink Reply
Thanks so much for this.