Remove Spamfilter ?

Author Message

laurent le cadet

Monday 27 September 2004 7:01:53 am

Hello,

I want to remove the spam filter in ezauthor.tpl.

I tryied this :

{section name=Author loop=$attribute.content.author_list sequence=array(bglight,bgdark)}
{$Author:item.name|wash(xhtml)} : <a href='mailto:&lt;{$Author:item.email|wash(email)}&gt;'>{$Author:item.email|wash(email)}</a>{delimiter},{/delimiter}
{/section}

It's correctly print on screen, but the template render me this address in outlook:
laurent<span class="spamfilter">SPAMFILTER</span>@lestudiot.com <laurent<span class="spamfilter">SPAMFILTER</span>@lestudiot.com>

:((

Any idea ?

Thanks .

Laurent.

Alex Jones

Monday 27 September 2004 9:13:34 am

A couple of thoughts...
1. Remove &lt; and &gt; from your href, they should not be there
2. Try removing <i>|wash(email}</i>

{section name=Author loop=$attribute.content.author_list sequence=array(bglight,bgdark)}
{$Author:item.name|wash(xhtml)} : <a href='mailto:{$Author:item.email}'>{$Author:item.email}</a>{delimiter},{/delimiter}
{/section}

Alex
[ bald_technologist on the IRC channel (irc.freenode.net): #eZpublish ]

<i>When in doubt, clear the cache.</i>

Ekkehard Dörre

Monday 27 September 2004 3:43:20 pm

Try this:

http://ez.no/community/bug_reports/pdf_version_of_demo_news_shows_spamprevent_tags

Greetings, ekke

http://www.coolscreen.de - Over 40 years of certified eZ Publish know-how: http://www.cjw-network.com
CJW Newsletter: http://projects.ez.no/cjw_newsletter - http://cjw-network.com/en/ez-publ...w-newsletter-multi-channel-marketing

laurent le cadet

Monday 27 September 2004 11:56:57 pm

Thanks Alex + Ekke,

Sure the < + > wasn't really nice in an URL...

I tryed Alex solution which works.

Laurent.

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.

eZ debug

Timing: Jan 18 2025 19:34:07
Script start
Timing: Jan 18 2025 19:34:07
Module start 'layout'
Timing: Jan 18 2025 19:34:07
Module start 'content'
Timing: Jan 18 2025 19:34:08
Module end 'content'
Timing: Jan 18 2025 19:34:08
Script end

Main resources:

Total runtime1.1097 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.2422152.6094
Module start 'layout' 0.00730.0032 741.851639.4141
Module start 'content' 0.01051.0976 781.2656596.5781
Module end 'content' 1.10810.0015 1,377.843812.1875
Script end 1.1096  1,390.0313 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3106160.0002
Check MTime0.00140.1272160.0001
Mysql Total
Database connection0.00120.112110.0012
Mysqli_queries1.050994.7059620.0170
Looping result0.00060.0577600.0000
Template Total1.075296.920.5376
Template load0.00220.198220.0011
Template processing1.073096.695120.5365
Template load and register function0.00010.008610.0001
states
state_id_array0.00180.158510.0018
state_identifier_array0.00120.111220.0006
Override
Cache load0.00180.1652310.0001
Sytem overhead
Fetch class attribute can translate value0.00060.058030.0002
Fetch class attribute name0.00150.133970.0002
XML
Image XML parsing0.00130.119330.0004
class_abstraction
Instantiating content class attribute0.00000.001680.0000
General
dbfile0.00090.0827280.0000
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
4content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
5content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 19
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs