Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

#493 2006-06-12 13:40:16

heschen
Member
From: Bielefeld
Registered: 2005-01-07
Posts: 13
Website

Re: Plug-in: zem_contact_reborn

Hi,

I´m using send_article and its working fine for me.
I would like to preselect the receiver´s email adress. So I could take the plugin for direct requests for example. How to edit the code?

Thanks a lot.

hes

Offline

#494 2006-06-12 20:19:41

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

@roelof:

You can use the subject="your own text" attribute in the <txp:zem_contact> tag for the email subject.
I don’t know why you would receive emails without a sender though… are these emails you sent yourself for testing, or ‘real’ emails from others?

Offline

#495 2006-06-13 11:32:53

lee
Member
From: Normandy, France
Registered: 2004-06-17
Posts: 831

Re: Plug-in: zem_contact_reborn

Feature request: Be nice to be able to turn off <code><label></label></code> tags on fields. This would allow the label/input to be wrapped like:
<code><dt><label for=“name”><strong>Name</strong></label></dt></code>
<code><dd><label for=“text” class=“zemRequired text”>Text</label>&nbsp;<input type=“text” id=“text” class=“zemRequired” name=“text” value=”“ maxlength=“100” /></dd></code>

Or can this already be done and I’ve over looked it?
Cheers, Lee

Offline

#496 2006-06-13 17:40:24

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: Plug-in: zem_contact_reborn

Els,

They are real messages.
If you want i can let you see the headers of a message sent to me from another person.

Roelof

Offline

#497 2006-06-13 19:46:06

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

Sure I can have a look at it, but I can’t promise it will make me, or you, any wiser… Maybe you can give me the url of your contact form, I will send you an email through it, and then you can send me the header of my own email?

Offline

#498 2006-06-14 09:02:27

roelof
Member
Registered: 2005-03-27
Posts: 647

Re: Plug-in: zem_contact_reborn

oke,

The url is : http://www.tamarawobben.nl/contact

Roelof

Offline

#499 2006-06-14 10:49:31

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

OK I sent you a mail.

Offline

#500 2006-06-14 14:46:59

els
Moderator
From: The Netherlands
Registered: 2004-06-06
Posts: 7,458

Re: Plug-in: zem_contact_reborn

Roelof’s problem is solved. For anyone encountering the same problem: apparently the provider requires the from address to belong to the domain. Using the from attribute will see to this.

Offline

#501 2006-06-15 03:03:59

DaveR
Member
From: Dunedin, New Zealand
Registered: 2004-04-20
Posts: 13

Re: Plug-in: zem_contact_reborn

Hi Stuart,
I wonder if you would consider retaining the plugin API in future versions. I’m using it to develop a plugin that records all the form data into mysql tables. This, along with mem_self_register and ign_password_protect forms the basis of a simple conference registration system.

My plugin is not ready for public release yet, but I think the plugin API is a very valuable extension that will come to facilitate all sorts of applications beyond just spam filtering. It may take some time for these to emerge, but if the API is deprecated they’ll never get the chance.

Cheers,
Dave Robertson.

Offline

#502 2006-06-18 00:10:00

jonathanlewenhaupt
Member
From: Buenos Aires, Argentina
Registered: 2005-08-01
Posts: 54
Website

Re: Plug-in: zem_contact_reborn

Sugerence:
Change (line 493, aprox.)
$out .= n.t.'<option selected="1">'.$item.'</option>';
by
$out .= n.t.'<option selected="selected">'.$item.'</option>';
for XHTML Strict validation. =)


Jonathan Emanuel Lewenhaupt
Todo es Construcción
http://www.jonathanlewenhaupt.com

Offline

#503 2006-06-19 10:51:36

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

Re: Plug-in: zem_contact_reborn

I’m re-opening a discussion initialized betweeen tinyfly and Stuart, in this thread, on page 17…
Is there a project / version in progress to add something like:
<code>
<txp:zem_contact_image id=“13” />
To output:
<input type=“image” src=“path/to/image.gif” value=“Send it” />
</code>
To have the ability to add images buttons type ( type=“image” )
Or is there an existing way to do this ? Such as hardcoding the input button inline without using the txp tag
<code> <txp:zem_contact_submit />
</code>
Is it a safe way to go ?

Last edited by hablablow (2006-06-19 11:29:12)


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

#504 2006-06-21 13:57:54

hablablow
Member
From: Paris
Registered: 2004-12-13
Posts: 309
Website

Re: Plug-in: zem_contact_reborn

Here’s another question…
Suppose I’m using zem_contact_reborn, just with the email input on all the pages of a site…
If the user goes trough the process successfully, the email input is removed, replaced by a custom message … Thank you etc…
Is it possible to then avoid this email input to appear again on the rest of the site, through a cookie or a conditional plugin or some inline php…
Any idea ?
Thanks…


_
_I plant seeds for future visions. Farmer of your eyes. Subliminal engineer of your minds. eion founder__

Hablablow + Webdesignofficina

Offline

  1. Index
  2. » Archives
  3. » Plug-in: zem_contact_reborn

Board footer

Powered by FluxBB