Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
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.
Comment | File | Size | Author |
---|---|---|---|
#24 | email-spamspan-formater-1064974.patch | 675 bytes | B-Prod |
How the field is displayed on the profile | 9.16 KB | dzoll7 | |
"Manage Display" settings showing "Email SpamSpan" option | 89.45 KB | dzoll7 |
Comments
Comment #1
Dane Powell CreditAttribution: Dane Powell commentedAlso seeing this, on user profiles and on views
Comment #2
Dane Powell CreditAttribution: Dane Powell commentedThis is pretty critical... the D7 version simply does not work, at least not with Fields and Views
Comment #3
Dane Powell CreditAttribution: Dane Powell commentedHmm, this seems to be working on Views now- not sure why. But the problem still occurs on user profiles.
Comment #4
Floop CreditAttribution: Floop commentedThe same problem here. I can't see the address in node.
Comment #5
flightrisk CreditAttribution: flightrisk commentedThis 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.
Comment #6
davesommerhalder CreditAttribution: davesommerhalder commentedsame problem here. any solution?
Comment #7
flightrisk CreditAttribution: flightrisk commentedShall we just write this module off as "unsupported" and "obsolete"? can't even get a reply from anyone maintaining this code.
Comment #8
Dane Powell CreditAttribution: Dane Powell commentedDid 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?
Comment #9
flightrisk CreditAttribution: flightrisk commentedI 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. :)
Comment #10
lakka CreditAttribution: lakka commentedI'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!!
Comment #11
lakka CreditAttribution: lakka commentedComment #12
Petr IllekHello,
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):
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.
Thanks for your effort.
Comment #13
sheld0r CreditAttribution: sheld0r commentedHi!
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:
Comment #14
mstrelan CreditAttribution: mstrelan commented#13 is right, which means this is a bug in email.module not in SpamSpan.
Comment #15
mstrelan CreditAttribution: mstrelan commentedMoving to Email issue queue, #13 needs review.
Comment #16
szantog CreditAttribution: szantog commented#13 right, this fixes my problem.
Comment #17
mh86 CreditAttribution: mh86 commentedCommitted fix from #13. Thanks for this report and for testing.
Comment #18
Dane Powell CreditAttribution: Dane Powell commentedJust 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.
Comment #19
jlpicard2 CreditAttribution: jlpicard2 commentedI 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.
Comment #20
Dane Powell CreditAttribution: Dane Powell commentedComment #22
AnybodyProblem 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!
Comment #23
flightrisk CreditAttribution: flightrisk commentedSo 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?
Comment #24
B-Prod CreditAttribution: B-Prod commentedFor 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.
Comment #25
hass CreditAttribution: hass commentedComment #26
mh86 CreditAttribution: mh86 commentednew 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
Comment #27
hass CreditAttribution: hass commentedPatch seems not committed.
Comment #28
mh86 CreditAttribution: mh86 commentedfix has been committed some time ago ;-)
http://drupalcode.org/project/email.git/commitdiff/523cd0d
Comment #30
Mark_L6n CreditAttribution: Mark_L6n commentedI 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.
Comment #31
aschiwi CreditAttribution: aschiwi commented@Mark123: check the latest release and choose the "Email Spamspan" formatter in display fields.