I created a profile field using the "Email" field type. Under the "Manage Display" options, the Format list contains an "Email SpamSpan" option.

If that option is selected, the email address is not displayed on the user's profile. If the user has filled out the field, the profile displays the field label (in this case, "Email address"), but the field value is not shown.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Dane Powell’s picture

Also seeing this, on user profiles and on views

Dane Powell’s picture

Priority: Normal » Critical

This is pretty critical... the D7 version simply does not work, at least not with Fields and Views

Dane Powell’s picture

Hmm, this seems to be working on Views now- not sure why. But the problem still occurs on user profiles.

Floop’s picture

The same problem here. I can't see the address in node.

flightrisk’s picture

This doesn't work at all. I can't see the email address. On top of that, since installing the Email Field and SpamSpan, It takes 3 to 5 minutes to get back to the home page from the admin screen in a localhost setup.

davesommerhalder’s picture

same problem here. any solution?

flightrisk’s picture

Shall we just write this module off as "unsupported" and "obsolete"? can't even get a reply from anyone maintaining this code.

Dane Powell’s picture

Did you specifically contact the maintainer (using the contact form)? I think it's lakka... If so, and there's been no reply in two weeks, then it might be time to start the abandoned module process.

Unsupported, perhaps... but I don't think it's obsolete. Can you recommend alternative modules that would make it obsolete?

flightrisk’s picture

I didn't know there was a direct contact for. I searched and found it and sent a note to the author. But he hasn't posted a change in 34 weeks and the main page says "seeking co-maintainers". I don't have much hope. But then maybe I'm just frustrated since I've been posting so many questions about so many critical issues in several modules and getting almost no help at all. :)

lakka’s picture

I've been on vacation. I'll take a look at these issues when I can, but "This doesn't work at all. I can't see the email address." doesn't really give me much to go on. Have a look at http://drupal.org/node/73179 . Let me know precisely what text you have input (use a dummy email address if necessary), and precisely what HTML is output. Are you using views, or fields? Does the module work without them? What versions of each are you using?

My reading of this report so far is that (1) there was a problem with the module when used with views/fields; (2) that was fixed, at least for views (but not clear what happens with fields); (3) there may still be a problem with user profiles (which would seem to be a duplicate of http://drupal.org/node/172960 and is dealt with there); (4) something else (unspecified) may not work. If someone lets me know with some specifics precisely what the problem now is, that would help!!

lakka’s picture

Priority: Critical » Normal
Status: Active » Postponed (maintainer needs more info)
Petr Illek’s picture

Hello,
I've just run into same problem. I will try to provide as much info, as I can.

My setup (regarding SpamSpan and E-mail):

  • Drupal 7.7
  • Email 7.x-1.x-dev
  • SpamSpan 7.x-1.1-beta1
  • Views 7.x-3.0-rc1
  • No using it on user profile, just new content type with email field.

On Views page is the obfuscation of email working properly. But on page view, there is no e-mail at all.
There is only the surrounding field HTML markup, but not the value.

<div class="field field-name-field-catalogue-email field-type-email field-label-hidden">
<div class="field-items">
<div class="field-item even"></div>
</div>
</div>

Thanks for your effort.

sheld0r’s picture

Hi!

I ran into the same problem and got to replace the following in line 125 in email.module:

$element[$delta] = spamspan($item['email']);

with

$element[$delta] = array('#markup'=> spamspan($item['email']));

Worked for me.

My core/modules versions:

  • Drupal 7.8
  • Email 7.x-1.x-dev (29.09.2011)
  • SpamSpan 7.x-1.1-beta1
mstrelan’s picture

#13 is right, which means this is a bug in email.module not in SpamSpan.

mstrelan’s picture

Project: SpamSpan filter » Email Field
Version: 7.x-1.1-beta1 » 7.x-1.x-dev
Status: Postponed (maintainer needs more info) » Needs review

Moving to Email issue queue, #13 needs review.

szantog’s picture

Status: Needs review » Reviewed & tested by the community

#13 right, this fixes my problem.

mh86’s picture

Status: Reviewed & tested by the community » Fixed

Committed fix from #13. Thanks for this report and for testing.

Dane Powell’s picture

Just FYI, the latest release of Views (7.x-3.0-rc3) breaks this and other modules further (although really, it sounds like such modules weren't properly conforming in the first place). For instance, Editable Fields employed the same solution as proposed in #13: #1327458: editable fields & latest Views/CTools show "1!--form-item-<my_fieldname>--0-->" » editable fields don't work after update to lat

Because things break so badly with Views 7.x-3.0-rc3, you should probably consider releasing a corresponding new stable version of Email Field.

jlpicard2’s picture

I agree that a new stable version should be released. I had to install the Email 7.x-1.x-dev so that in my views, my SpamSpan protected email links did not look like this (from site below):

1span class="spamspan">emf [at] fabriciuslaw [dot] com

Just Google for 1span class="spamspan">

Here is an example of what it looks like with Email 7.x-1.0 (not my site):
http://www.fabriciuslaw.com/attorneys

Install Email 7.x-1.x-dev, and the problem goes away with rc3 of Views.

Dane Powell’s picture

Priority: Normal » Major

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Anybody’s picture

Status: Closed (fixed) » Active

Problem still exists, this is definitely not fixed!

Solution from #13 works and it would be great, if you could bring that into the next release!

flightrisk’s picture

So what exactly is the status? We are talking about views, the email field and the email module. So we have 3 equations in 3 unknowns. Do all 3 versions of the latest dev on each of these work together or not?

B-Prod’s picture

For those who are waiting for the next release, here is a patch against current version, to facilitate code migration and update.

@flightrisk: only the email module needs to be updated.

hass’s picture

Status: Active » Needs review
mh86’s picture

Status: Needs review » Fixed

new release is scheduled for today, so I close this issue

edit: release can be expected soon (not today), giving people the chance to test the latest changes in the dev version

hass’s picture

Status: Fixed » Needs review

Patch seems not committed.

mh86’s picture

Status: Needs review » Fixed

fix has been committed some time ago ;-)
http://drupalcode.org/project/email.git/commitdiff/523cd0d

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Mark_L6n’s picture

Status: Closed (fixed) » Active

I manually added the patch on May 8, and it started working.
Just noticed on June 15 that it is not working correctly anymore--the email is showing up in the HTML source code. Checked the patch, and it is still in place.

aschiwi’s picture

Status: Active » Fixed

@Mark123: check the latest release and choose the "Email Spamspan" formatter in display fields.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.