cforms II User Forum

Registration is currently disabled.


Login form protected by Login LockDown.

Lost password?
Advanced Search

— Forum Scope —


— Match —


— Forum Options —


Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 4 characters - maximum search word length is 84 characters

Topic RSS
Bug Report (no need to post to forum)
Text for reset captcha image not displaying on public forms, possible bug
February 17, 2014
9:59 pm
Marc Gottlieb

Problem: On the public form there is no text displaying in the link to refresh a captcha image

In the global/admin section, the captcha reset text works fine:

cforms-global-settings.php(634): <a title="<?php _e('Reload Captcha Image', 'cforms'); ?>" href="javascript:resetAdminCaptcha('<?php echo $cforms_root; ?>')"><?php _e('Reload Captcha Image', 'cforms'); ?> »</a>

But the code for rendering the form only has a one-pixel image in the anchor tag

cforms.php(744): '<a title="'.__('reset captcha image', 'cforms').'" href="javascript:reset_captcha(\''.$no.'\')"><img src="'.$cforms_root.'/images/spacer.gif" alt="Captcha"/>[something should be here]</a>';

Solution: I was able to put text there:

patch for cforms.php(744):'<a title="'.__('reset captcha image', 'cforms').'" href="javascript:reset_captcha(\''.$no.'\')"><img src="'.$cforms_root.'/images/spacer.gif" alt="Captcha"/>'.__('reset captcha image', 'cforms').'</a>';

Please verify that this is correct and will be patched in the next upgrade, otherwise please explain why there isn't text there.

Been using the plugin for a long time. Nothing else comes close.

Forum Timezone: Europe/Berlin

Most Users Ever Online: 959

Currently Online:
29 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

tracedef: 43

mores: 21

Gyrus: 20

frozenwaste: 18

asuffredini: 15

photoworks: 14

Member Stats:

Guest Posters: 3763

Members: 1463

Moderators: 3

Admins: 2

Forum Stats:

Groups: 1

Forums: 4

Topics: 5359

Posts: 18742

Newest Members: juredujmovic, dreamkeeper, rajattyagi, wrokaa, lukass

Moderators: Paul (421), cnymike (8), sonika (95)

Administrators: Oliver (6400), Nicky (3)