I installed the module, I turned it on for one of my content filters, I made one of my nodes with a table with email addresses mailto link in it like this: mbmbm@sdffd.not and it didn't obfuscate anything. All the mailto links in the table were still there in the source.
I also tried to remove the tag and put a straight email address in there, but no dice, it still didn't obfuscate anything.
I had a look at the regular expression in the module and I don't see how it would ever match the above. In fact, I couldn't get that regex to match a simple email address when I extracted it into a standalone test script.
What am I doing wrong?
Michael Grant
Comments
Comment #1
mgrant CreditAttribution: mgrant commentedFirst, my mistake, I didn't quote the html above with code tags, so you might need to do a show source to see what I was actually talking about.
Second, I managed to solve the problem by modifying the regex (will this:
And lastly, this module does not support pulling apart a mailto: tag, so make sure your email addresses are just email addresses, not wrapped in an an 'a' tag.
Comment #2
kriskd CreditAttribution: kriskd commentedI assume when you say modify the regex, you mean modify invisimail.module.
I did just that searching for $pattern and replaced a line that was very similar to the above with your code. It is still not working for me. E-mail addresses are displayed like this:
text before '+'name@'+'domain.'+'com'+'');
//-->
text after
"text before" and "text after" is just that -- filler text I entered before and after the e-mail address. I have the e-mail filter set as the first filter and I'm using javascript and I have "Automatically create links from email addresses" selected.
Comment #3
Dolphus CreditAttribution: Dolphus commentedI downloaded the module and placed it in the modules folder.
I configured it in the Administer->SiteConfiguration->Input Formats.
I set the "Use Javascript" and "Automatically convert email ids"
But my page html source still shows the email id with no encryption.
Please help.
Dolphus
webmaster@asbindia.org
Comment #4
kriskd CreditAttribution: kriskd commentedI was never able to get this mod to work either. However, this morning I discovered similar mod that hides e-mail addresses and I got it to work right away: http://drupal.org/project/spamspan
Comment #5
Crell CreditAttribution: Crell commented#297351: Does not appear to work