Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#13 2015-05-11 18:53:00

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: Add file upload to contact form?

Besides, I’m not sure what exactly can I do with the help of mem_form. The plugin help is not very clear (perhaps because I don’t understand php), but it seems to me that the tag <txp:mem_form_file/> is ment to upload files to the server, not to send them by mail. Am I missing sometning or is there something missing?

Offline

#14 2015-05-11 20:26:28

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

Re: Add file upload to contact form?

Hah… didn’t realise this, but mem_form is a library plugin, so it’s meant to be used in combination with another plugin which would for example send the email after the form submission. Without understanding PHP yourself, you’d have to ask someone to develop a plugin which can be used alongside mem_form.

Offline

#15 2015-05-12 05:00:14

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: Add file upload to contact form?

Thanks Ruud, I thought so too. I will do it, I will ask someone of the awsome txp gang to write the plugin. I think it will be usefull.

Offline

#16 2016-10-15 20:38:53

jayrope
Plugin Author
From: Berlin
Registered: 2006-07-06
Posts: 687
Website Mastodon

Re: Add file upload to contact form?

Bit late, but was such a plugin ever developed then?


A hole turned upside down is a dome, when there’s also gravity.

Offline

#17 2016-10-16 05:47:12

colak
Admin
From: Cyprus
Registered: 2004-11-20
Posts: 9,011
Website GitHub Mastodon Twitter

Re: Add file upload to contact form?

jayrope wrote #302214:

Bit late, but was such a plugin ever developed then?

Yes it was. some years ago. It had security vulnerabilities so it was not widely used.


Yiannis
——————————
NeMe | hblack.art | EMAP | A Sea change | Toolkit of Care
I do my best editing after I click on the submit button.

Offline

#18 2016-10-16 08:51:29

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: Add file upload to contact form?

Have a look at this thread

Offline

#19 2016-10-16 12:25:03

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 11,271
Website GitHub

Re: Add file upload to contact form?

As dorka says, you could try my simple file attach module for ZCR. Grab it from Github and give it a whirl. Requires zem_contact_reborn v4.5.0.0+ and jQuery to be loaded on your public page.

I haven’t rolled in Javascript-style uploads yet. Maybe one day.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#20 2016-10-17 09:34:54

dorka
Member
Registered: 2012-10-04
Posts: 90

Re: Add file upload to contact form?

Bloke wrote #302236:

I haven’t rolled in Javascript-style uploads yet. Maybe one day.

Yeah! I my hope is still living. ;-)

Offline

Board footer

Powered by FluxBB