Mailform Module For All Sites
Helmut_pdorf 22 Aug 2009 07:20
Yesterday Michal "opened" after an important change the
MailForm Module to be publicly available to all sites! This module let you define a form, let others fill it and receive the forms via email ! The content of the submitted form is sent to a list of recipients: [[module MailForm ... to="user1, user2,..."]] means
- A comma-separated list of Wikidot user names
- Spaces in user names should be replaced by - or _ ( underscore)
- Same syntax as for user: search filter
- User names do not need to be members or admins of the site
- Spaces in user names should be replaced by - or _ ( underscore)
This comment should inform the community about the - now for all sites available - Mailform module:
have a look on: http://www.wikidot.com/doc:mailform-module !
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
I thought the "email" attribute was a useful feature. Any chance it will ever be available again?
Eduardo R. Ribeiro
http://www.etnolinguistica.org
So did I, but if the email attribute it used, the form isn't sent to all admins.
I wouldn't mind if it was added again, but made so that it wasn't required…
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
The reason MailForm was not always available was the risk of it being used for spam. By forcing emails to the admins, this loophole is closed and we were thus able to roll it out for everyone.
Perhaps an alternative would be to specify a specific user, but in fact I want to deprecate MailForm completely and replace it with the new forms system, combined with private category and notifications:
This is a nicer pattern than sending out email. It means contact pages can hook into wiki workflow.
So I'd rather spend time on doing that, than improving something we're going to deprecate.
Portfolio
I have added the mail form module to my website. But the validation rule required = true does seem to work….here is the code i used.
[[module MailForm title="New message from MailForm documentation page"]]
[[/module]]
You have to be careful with the layout which is quite exact; it seems that you have got too many spaces before the" required". The * required should be one space indented from the * rules line. This will work:
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
Thanks Rob! that worked.
What are the chances of getting IP address capture added to the Mailform?
Can I change the email to which I receive the mails? Also, I would like to be the only admin who receives those mails. Is it possible? Also, can I change the text SEND in the button?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
You could define the email address, but that has been changed and you can no longer do that.
You can't change the text in the send button.
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
Brunhilda,
I like Jotform for its flexibility and features, including specifying the list of recipients (a simple list of comma-separated e-mail addresses) and the ability to change the text on the submit button. I used it to create a contact form and an order form on my friend's site.
They are easy to style and embed into your site. The free account limits you to 100 submissions per month, which we haven't come close to yet (that would be a nice problem to have!). It's only $9.00 a month if you exceed that.
-Ed
Community Admin
I agree with Ed and also always integrate Jotform.
Rob
Rob Elliott - Strathpeffer, Scotland - Wikidot first line support & community admin team.
Thank you, Ed. I will bookmark the page and study it when I catch a little time… :D
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
Why can't we just have something like a id number, and have in the admin panel the id number, and users to send to.
That would be a good solution. I am a big Jotform fan as well, but I'd rather have a Wikidot option for mail forms. It would be a pain to replace all my forms with third-party services now…
Eduardo R. Ribeiro
http://www.etnolinguistica.org
I took the liberty of adding a little comment to Pieter's blog about one of the functionalities of MailForm that is now lost.
I was planning to create, in one of my sites, a directory of researchers in my field; part of the plan involved adding for each researcher's entry a mail form, as part of a live template, which would add the email address as a content.
I understand the need to curtail spam, but what if the old MailForm was kept as a pro feature? I find it less likely that spammers would use pro accounts, since they would risk losing their money by going against the TOSs, no?
I don't quite understand Pieter's idea for the new contact form; if I'm not mistaken, only site members would be able to receive it, and as a whole category. No individual email address would be accepted. Am I missing something?
Eduardo R. Ribeiro
http://www.etnolinguistica.org
There are reasons to not allow arbitrary email addresses. If Wikidot's email servers are used to send out spam, we could be blacklisted.
We're going to add the option to send the email to registered Wikidot user names.
Portfolio
with the change of 31.August 2009 there is a list of recipients possible:
[[module MailForm ... to="user1, user2,..."]]
Service is my success. My webtips:www.blender.org (Open source), Wikidot-Handbook.
Sie können fragen und mitwirken in der deutschsprachigen » User-Gemeinschaft für WikidotNutzer oder
im deutschen » Wikidot Handbuch ?
Are those three dots obligatory, or you put it there because something is missing? Shoud I write it like this?
[[module MailForm … to="brunhlda"]]
or
[[module MailForm to="brunhilda"]]
or something else?
If slaughterhouses had glass walls, everyone would be vegan. - Paul McCartney
No, the dots are there to represent the ability to add other attributes as well. You can do this if you want:
(no attributes at all)
~ Leiger - Wikidot Community Admin - Volunteer
Wikidot: Official Documentation | Wikidot Discord server | NEW: Wikiroo, backup tool (in development)
I'm really thankful for all the recent improvements to MailForm. There's just one missing feature to make it perfect: the ability of sending, with the form, files (for conference abstracts, photos, etc.). Is that feasible?
Eduardo R. Ribeiro
http://www.etnolinguistica.org
Unlikely, we've kind of exhausted our MailForm budget.
I'll explain the plan with MailForm. The module will be killed at some future stage and replaced with data forms + private categories + notifications. This fits better with the wiki workflow model:
Forms will eventually include photos and files.
In the meantime, you'll have to use a more manual process, e.g. invite submitters to a private wiki, give them a page and help them put their submission up.
If submissions are public you can do something like HeresMyCV.com does, i.e. allow people just to create their pages.
Portfolio
The new form sounds interesting. That brings us closer to having a mailing list, no? That would allow me to finally get rid of our Yahoo group and keep all of our communities info in one single place.
Looking forward to it!
Eduardo R. Ribeiro
http://www.etnolinguistica.org
Replacing mailing lists is definitely one of the goals with Wikidot's notification system. It still needs work. E.g. I'd like to know when someone watches or unwatches one of my sites. (That's like joining/leaving a mailing list).
Portfolio
I'd understand if you guys are getting tired of hearing about this topic, but I was wondering whether it would be possible to add any "live" features to MailForm, i.e. the possibility of specifying, say, to="%%author%%" or to="%%content{n}%%", or title="page_title" "URL", etc. I think MailForm would be a great way of adding a per-page feedback funcionality, in which one would insert the form automatically with live templates, but the value of to= and title= could be specified on a per-page basis. Hopefully that could be implemented without too much extra hassle.
Eduardo R. Ribeiro
http://www.etnolinguistica.org
I think at least part of what you want was just announced a couple days ago:
http://blog.wikidot.com/blog:new-template-variables
-Ed
Community Admin
We never get tired of it :-)
We made it work. You need to include the MailForm module in the template and use 'to="%%created_by%%"' to send an email to the author of the page. Do not use %%author%% because that inserts a linked name + icon, which totally does not work as a 'to' value. You can specify the title of the email as the title of the page. You can, as far as I know, use any of the template variables in the MailForm.
Please try this, tell me if it does not work.
Portfolio
Wonderful! It works great.
Thanks, guys!
Eduardo R. Ribeiro
http://www.etnolinguistica.org
Did something change? I was able to get a variable such as title="%%title%%" to work before, but it seems that doesn't work any longer :(
Eduardo R. Ribeiro
http://www.etnolinguistica.org
I'm having the same problem in other places, e.g. with the Clone module. Give us a few days to get around to it… if you have a specific site/page showing the problem, that always makes it easier for us.
Portfolio