BOARDS

planetluc.com discussion board

all about the planetlu.com scripts

You are not logged in.

Announcement

I had to clean the boards due to massive spam. Actually i deleted everything /-one after 1st Oct 2008. It was the only way to get this spam out of the boards. So i'm sorry for all serious users who registered/posted meanwhile.

#1 03-06-2008 02:31:51

zeta1600
New member
Registered: 31-12-2007
Posts: 5

Custom Subject Line

Currently the script allows you to create a subject line when sent to the email address. Was wondering if there is a way to allow for form user to type in custom subject line?

Last edited by zeta1600 (03-06-2008 02:32:21)


Formpro 10; Local: OS 10.4.11; Firefox 2.0.0.11; Server: Apache 1.3.37

Offline

 

#2 04-06-2008 10:31:51

admin
Administrator
From: Winterhur, Zurich, Switzerland
Registered: 25-11-2004
Posts: 462
Website

Re: Custom Subject Line

it's not a feature currently but can easily be done like so:

- add a form filed i form.xml

Code:

<item caption="Subject" name="subject" type="line" attr="" mandatory="*" error="pls fill in subject" />

- open formpro.php, goto line 178 change it from

Code:

$mail->Subject = $fpCfg['emailSubject'];

to

Code:

$mail->Subject = $_REQUEST['subject'];

- save all and upload

any success?

Offline

 

Board footer

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson

 
 
© 2003-2010 by planetluc.com · Bachtelstrasse 104 · CH-8400 Winterthur | Support | Login |