Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#289 2008-04-03 13:55:34

michaelb
Member
From: London, UK
Registered: 2008-04-02
Posts: 21

Re: zem_contact_reborn 4.0.3.20

Hi Smaavie,

I’m no expert on zem_contact_reborn, but I think if you find these 2 lines:

($reply ? ($sep.'Reply-To: '.$reply) : '').
$sep.'X-Mailer: Textpattern (zem_contact_reborn)'.

and put the following line between them, it may do what you want.

$sep.'BCC: yourbccemail@domain.com'.

Cheers,
Michael

Last edited by michaelb (2008-04-03 14:04:18)

Offline

#290 2008-04-03 14:16:31

Smaavie
Member
Registered: 2005-02-07
Posts: 25

Re: zem_contact_reborn 4.0.3.20

Fantastic … it worked perfectly. Many thanks.

Offline

#291 2008-04-03 14:28:42

michaelb
Member
From: London, UK
Registered: 2008-04-02
Posts: 21

Re: zem_contact_reborn 4.0.3.20

You’re welcome – glad I could help.

Offline

#292 2008-04-04 01:21:09

christopherTate
New Member
Registered: 2008-03-17
Posts: 4

Re: zem_contact_reborn 4.0.3.20

I’ve configured the contact form to act as a survey, a fairly lengthy one at that, and have received timeout errors. Where can I change the timeout value?

Thanks

Offline

#293 2008-04-04 02:14:26

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: zem_contact_reborn 4.0.3.20

What do the timeout errors that you’re getting say?

Offline

#294 2008-04-04 06:33:43

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

By default the timeout is set to 10 minutes, identical to the timeout for TXP comments:

safe_insert('txp_discuss_nonce', "issue_time = now(), nonce = '$zem_contact_nonce'");

You can change that line to:

safe_insert('txp_discuss_nonce', "issue_time = (now() + 20 MINUTE), nonce = '$zem_contact_nonce'");

That would increase the timeout from the default 10 minutes to 10 + 20 = 30 minutes.

Offline

#295 2008-04-04 16:50:18

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: zem_contact_reborn 4.0.3.20

@christopherTate: If you’re also using asy_jpcache, you could be running into a known conflict between the two plugins.

Reducing the cache expiration time for jpcache to less than your ZCR timeout will get rid of “form expired” errors caused by this combination. To fix the “form already used” errors, you’ll need this plugin.

Offline

#296 2008-04-05 03:11:20

Ruhh
Member
From: dakota dunes
Registered: 2008-01-20
Posts: 305

Re: zem_contact_reborn 4.0.3.20

how do i get rid of the box, the fieldset if that is what it is?


<txp:Ruhh />

Offline

#297 2008-04-05 03:19:21

Logoleptic
Plugin Author
From: Kansas, USA
Registered: 2004-02-29
Posts: 482

Re: zem_contact_reborn 4.0.3.20

Ruhh wrote:

how do i get rid of the box, the fieldset if that is what it is?

You can make it invisible with CSS. Try this:

form.zemContactForm fieldset { border: none; }

Offline

#298 2008-04-05 11:05:36

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

No, just set label="" in the zem_contact tag.

Offline

#299 2008-04-09 21:59:36

johnnie
Member
Registered: 2007-03-10
Posts: 58

Re: zem_contact_reborn 4.0.3.20

When a user wants to send an article to a friend, is it possible to omit some fields (like “your e-mail” and “friend e-mail”) from the actual message? If so, how?

Also, is it possible to insert the “friend e-mail” in the message by means of a tag or php code?

Last edited by johnnie (2008-04-10 00:52:22)

Offline

#300 2008-04-10 06:27:15

ruud
Developer Emeritus
From: a galaxy far far away
Registered: 2006-06-04
Posts: 5,068
Website

Re: zem_contact_reborn 4.0.3.20

Johnnie, not without hacking plugin code.

Offline

Board footer

Powered by FluxBB