2011-08-26 10:33:46

planeth
Plugin Author
epsilon
Real name: Aleth gueguen
From: Nantes, France
Known languages: french, english
Website

Re: zem_contact_reborn 4.0.3.20

Hi Jakob,
could i also ask for a copy, too, please ?
It would be perfect for one of my client ASAP project !

Offline

 

2011-09-05 12:49:09

wornout
Member
êta
Real name: Edoardo Stefani
From: Italy
Known languages: it, en
Website

Re: zem_contact_reborn 4.0.3.20

How can I add an image upload filed?

Offline

 

2011-09-05 14:22:14

colak
Admin
omega
Real name: Yiannis
From: Cyprus
Known languages: el, en
Website

Re: zem_contact_reborn 4.0.3.20

wornout wrote:

How can I add an image upload filed?

You can’t. You need Anonymous File Upload and another form.

Offline

 

2011-09-06 11:43:22

Dragondz
Moderator
rho
Real name: Rabah
From: Algérie
Known languages: French, Arabic, English(little), Amazigh
Website

Re: zem_contact_reborn 4.0.3.20

Hi

I try to make contact depending on article author, then i use jmd_author and use it in zem_contact, but i have error message: email cant be sent!

jmd_author return a right email!

here is the code:

<txp:zem_contact to='<txp:jmd_author display="email"/>' label="">
<txp:zem_contact_text label="Nom/Prénom" size="34" /><br />
<txp:zem_contact_email size="34" /><br />
<txp:zem_contact_textarea label="Message" cols="25" /><br />
<txp:zem_contact_submit label="Envoi" />
</txp:zem_contact>

Offline

 

2011-09-06 19:42:33

ruud
Developer emeritus
omega
Real name: Ruud van Melick
From: a galaxy far far away
Known languages: li,nl,en,(de)
Website

Re: zem_contact_reborn 4.0.3.20

@Dragondz: does a simple ZCR form work?

Offline

 

2011-09-06 22:14:03

aslsw66
Member
thêta
Real name: Anura
From: Canberra, Australia

Re: zem_contact_reborn 4.0.3.20

I agree, I would split this into two for testing:

- does a plain ZCR work? – does <txp:jmd_author display="email"/> output the correct values (tested in a page so that you can see the output).

Online

 

2011-09-07 10:48:17

Dragondz
Moderator
rho
Real name: Rabah
From: Algérie
Known languages: French, Arabic, English(little), Amazigh
Website

Re: zem_contact_reborn 4.0.3.20

Hi

A simple zcr work as expected (with the same email that rendered by <txp:jmd_author display=“email”/>)

The <txp:jmd_author display=“email”/> return the right email (i put it in <p><txp:jmd_author display=“email”/></p> and it rendered the email without extra code or caractere

Has someone tried that before me?

Offline

 

2011-09-07 12:05:49

aslsw66
Member
thêta
Real name: Anura
From: Canberra, Australia

Re: zem_contact_reborn 4.0.3.20

Sorry, but I haven’t used jmd_author at all, but I have done something similar by using the results from smd_query with success.

Only last thought – are you sure that the output doesn’t obscure the email address (ie. in the source) to prevent harvesting of email addresses? Otherwise, I don’t think I can add much…

Online

 

2011-09-07 12:49:25

Dragondz
Moderator
rho
Real name: Rabah
From: Algérie
Known languages: French, Arabic, English(little), Amazigh
Website

Re: zem_contact_reborn 4.0.3.20

Hi

I looked into jmd_author code to see what it do:

It s small but i found this line:

$out = Ee(safe_field("email", "txp_users", "name='$username'"));

and this one

return strreplace(' ', $separator,$out);

I remve the Ee form the first and change the second to :

return $out;

and now the form work!

Thanks guys for you help i really appreciate.

Offline

 

2011-09-09 17:13:13

chebake
New Member
alpha

Re: zem_contact_reborn 4.0.3.20

Sorry if this has been asked before – can’t seem to find it through the 106 pages.

I’m trying to do a very simple form but clicking on Send Article results in refreshing the page and wiping out all the fields. And, Send Article disappears.

<txp:zem_contact to="yaddayadda@blahlblah.com" thanks="Thank you, your message has been sent." label="Your Information">
<txp:zem_contact_text label="First Name" /><br><br>
<txp:zem_contact_text label="Last Name" /><br><br>
<txp:zem_contact_email /><br><br>
<txp:zem_contact_text label="Phone Number"/><br><br>
<txp:zem_contact_send_article />
</txp:zem_contact>

Something I missed?

I tried doing what ruud suggested here but that didn’t work out.

Last edited by chebake (2011-09-09 17:29:40)

Offline

 

Powered by FluxBB