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

#109 2006-01-23 04:40:37

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

:)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#110 2006-01-23 06:22:45

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: Plug-in: zem_contact_reborn

> thebombsite wrote:
> New version .08 with added “copysender” goodness and a fix for the bug which stopped “break” working for the email input.

You’re a legend Stu! Many thanks for that…

Cheers


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#111 2006-01-23 06:24:46

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

No problem Neil. Just complain if it fails. :)


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#112 2006-01-23 07:00:45

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: Plug-in: zem_contact_reborn

Works a treat Stu… ;-)

Only thing I wonder about is that the copy that goes to the sender reveals the ‘to’ address of main recipient. So when I sent myself a test message using a a different email address for the ‘sender’, I see both addresses on the ‘to’ field of the email that arrives.

Wonder if the primary address the form goes to should be be put in the bcc field?

Waddya think?


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#113 2006-01-23 07:08:59

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

I thought it was too easy. :) You are no doubt right Neil so I shall keep on looking at it. Is it a problem for you at the moment showing your address?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#114 2006-01-23 07:37:10

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: Plug-in: zem_contact_reborn

It’s not a major hassle Stu, as I use a ‘throwaway’ address for the contact form, and I really appreciate the efforts you’ve put into this thus far. ;-)


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#115 2006-01-23 19:16:19

bancroft
Member
Registered: 2005-09-30
Posts: 39

Re: Plug-in: zem_contact_reborn

Hi all,

Not sure if this is of any use to anyone but I’ve added a couple of bits to give you this, clear default text onClick – restore if nothing entered thingy from Textsnippets

Add the following at about line 287, I placed it between <code>name=”’.$name.’”</code> and <code>value=”’.htmlspecialchars($value).’”’.$size.$maxlength.’ />’;</code>

Code to add;

<code>onfocus=“clickclear(this, ‘.”’$default’”.’)” onblur=“clickrecall(this, ‘.”’$default’”.’)”</code>

Then state the default text using <code>default=“Your name”</code> in your contact form.

Then just add the javascript and Bobs your Uncle…..

The only other thing I had to change was at line 413 ish <code>‘default’ => $email,</code> I think disabled the use of <code>default=”“</code> in the Email field so I changed it to <code>‘default’ => $default,</code>

Not being in any way proficient in all this I’m not sure if any of the above is at all correct, but it works. Here’s an example of it in use

Thought it may be of use. :)

Graham

Last edited by bancroft (2006-01-23 19:16:46)

Offline

#116 2006-01-23 21:58:49

dominik.osterholt
Member
Registered: 2006-01-13
Posts: 18

Re: Plug-in: zem_contact_reborn

Is there any support for radio buttons so far? If not, maybe someone has coded his own solution?

Offline

#117 2006-01-23 22:02:49

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

I’m not being funny but why do you need radio buttons? Do you have a specific purpose for them?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#118 2006-01-24 02:18:55

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

Version .09 released. This modifies the way that “copysender” works in order not to show your address on the email. I should point out that, as both emails are identical, your address won’t appear on either of them.

@NeilA – does that solve it for you?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

#119 2006-01-24 03:12:03

NeilA
Member
From: Blue Mountains, Australia
Registered: 2004-08-15
Posts: 316
Website

Re: Plug-in: zem_contact_reborn

Hey Stu,
Nearly there!
In .09 the site owners address appears in the CC field, whereas, the BCC field is what we need to be aiming for :-)

Cheers


Neil – Blue Mountains, Australia

http://westserve.org
http://ministrygrounds.net.au

Offline

#120 2006-01-24 03:25:08

thebombsite
Archived Plugin Author
From: Exmouth, England
Registered: 2004-08-24
Posts: 3,251
Website

Re: Plug-in: zem_contact_reborn

You’ll have to educate me on that one. It’s not a problem. Minor changes. But why Bcc?


Stuart

In a Time of Universal Deceit
Telling the Truth is Revolutionary.

Offline

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

Board footer

Powered by FluxBB