I must be missing something obvious here, but I've installed Mailhide and very nice it is too — until I actually click on an email address, and am taken directly to the reCAPTCHA site, rather than having the reCAPTCHA opening in a popup window.
Is this something I should configure myself? Which file/line number should I be editing, if so?
I don't have popups blocked, or anything like that ... and it happens in both FF and IE (Avant)
Thanks in advance!
Comments
Comment #1
szb100 commentedI have the same problem - can anyone help?
Comment #2
tomtech commentedI was experiencing the same issue, until I realized it was text filtering that was removing the on click attribute that was created by this module.
NOTE: you will need to delete the link that was created and type the email address again, as the filter was already applied.
This means you need to use FullHTML in order to make use of this feature. This is not something I wanted to do, so I came up with a workaround:
1) install the wysiwygfilter module and the colorbox module
2) set the wysiwyg filter to allow the class attribute
3) set the colorbox module to enable colorbox-load
4) modify the recaptcha/recaptchalib.php in this module.
a) add the class "colorbox-load".
b) add the width, height and iframe parameters to the query string. i.e. &width=500&height=318&iframe=true
c) remove the onclick attribute. (So if you edit with full html you don't get both the color box and the new window.)
The only remaining issue I have is getting rid of the "close" button recaptcha is putting, which doesn't work...since it is trying to close a window it didn't open. (It also doesn't work when the page opens up in the same window, so this problem hasn't changed...this issue wasn't introduced by going this route.)
-Tom
Comment #3
W.M. commentedThanks TomTech, worked great
Comment #4
liam morlandIs there a change that should be made to the reCAPTCHA module to make this work better? If so, please make a patch if you can.
Comment #5
Pete B commentedYou need to make sure that the input filters are appearing in the right order. Go to admin/settings/filters
press configure
press rearrange
Make sure the mailhide step happens after html filtering but before URL filtering (if enabled)
I don't think the module can do this for you in a consistent way, but there could be documentation to help the users with this.
Thanks,
Pete
Comment #6
liam morlandPlease re-open if you need further assistance.