Page 2 of 7

Re: Bonus Forms

PostPosted: Tue May 10, 2011 9:17 am
by marcelfw
Bonusforms updated to 0.03:

I added a CHANGES.txt, here's what's changed from 0.02:

- Add more help. Specifically, more checkbox and select/radio help
- Added checkbox 'fill the preset hint' confirmation
- Field-help now has it's own html template
- Checkboxes can now be required
- There is now a help icon with help for select and radio types
- Reworked adding new forms, should be simpler to add a predefined form
- Moved 'checkbox' items to its own class now
- Added help html to radio template

Re: Bonus Forms

PostPosted: Tue May 10, 2011 7:03 pm
by jonners

Downloaded and installed this, but I've got a strange problem.
None of the links/buttons in the bonusforms set-up/configuration work.
I can work round it with some, by right clicking and selecting 'Open' from the menu, but one does not allow that - the 'Save' button when I edit form details like Actions.

So. Any ideas? It seems the same on ie 8 and firefox 3.6. At the moment I cannot change any form 'Actions' or 'Fields' which is a bit limiting!

If you don't know the solution, most importantly, I would like to change the email address any emails are sent to. How can I do that? I think it is the 'override' email address. If you let me know where it is stored in the system (which path/filename) I could edit it directly.

I am using flat file database, incidentally.



Re: Bonus Forms

PostPosted: Wed May 11, 2011 7:36 am
by jonners
Got it!

I've put my pivotx folder under another folder (blog). But the form actions are referenced directly to the server base.

So, I need it to call ... s-ajax.php

But I need it to call ... s-ajax.php

Is that hard-coded, or have I missed a configuration somewhere?

I'm also not getting any emails through. Is that possibly related?

Re: Bonus Forms

PostPosted: Wed May 11, 2011 9:41 am
by marcelfw
It's hardcode, or at least it was. Next update will have a fix for this.

While I think bonusforms should provide more feedback when doing anything, and mailing in particular, it's not there yet.

But can you provide more information? I need:
- which actions do you have for the form and in which order are they? the order is (very) important.
- what are the settings for the mail action?
- if you use from/to e-mail that are in the forms, please also provide the fields list
- do the bcc's also not work? which bcc did you enter, the global one or the local bcc?

Re: Bonus Forms

PostPosted: Wed May 11, 2011 10:39 am
by jonners

I'm quite happy to patch it myself if you let me know where the hard code is (unless it's everywhere!).

I think I have successfully set my email address in the datafile ser-bonusforms.php in pivotx/db/.

I'm using the English contact form.

1) I've changed no settings, so the actions are as they come.
1 - validate
2 - spamprotect
3 - mail
4 - message

2) Mail settings are as they come except for my email address (I can't change them because I can't save any changes).
From name value: Use field "Your name" (name)
From e-mail value: Use field "Your e-mailaddress" (email)
To name value: Use override
Override name: Website
To e-mail value: Use override
Override e-mail: [my email address]
Subject value: Use field "Subject" (subject)

3) Not sure what you mean. The fields available for the from/to e-mail are
Use override
Use field "Your name" (name)
Use field "Your e-mailaddress" (email)
Use field "Subject" (subject)
Use field "Comment" (comment)

4) I cannot enter a bcc as I cannot save changes on the form. I looked in ser_bonusforms.php, but I am not sure where to add the bcc fields.

When I have more time later, I shall try moving the whole system to the base of my server, and see what changes.

Re: Bonus Forms

PostPosted: Thu May 12, 2011 11:27 pm
by danielschut
FYI, the 'override' field works perfectly for me. I've set the to-adress and it works!

Re: Bonus Forms

PostPosted: Tue May 17, 2011 9:28 am
by marcelfw
Updated version! 0.4 now. Still pre-release.

- Bonusforms now also works in a subdirectory
- Added logging for website actions (see Setup > Log)
- Now able to select the label of options in the mailaction
- You can now select a 'mailer' and enter additional parameters (mail -f)
- Moved easyflow class to external file, to be included if not already defined

When updating, please verify bonusforms can still mail, significant changes. have been made.
Adding other mailers is not possible yet, but the framework is there now, please wait for next release.

Re: Bonus Forms

PostPosted: Mon Jun 06, 2011 5:11 pm
by danielschut
I wondered: is it also possible to create this set-up:

Someone registers their emailadress
They get a conformation email
To the confirmation email is a pdf-attachment

I want people to sign up for which they can get something like a white-paper in return. The white paper is an incentive to share their emailadresses with me, so I can contact them, for example for my newsletter.

Another possible route would be to have a download-link in the emailtext.

Thanks in advance!

Re: Bonus Forms

PostPosted: Tue Jun 07, 2011 7:42 am
by marcelfw
It is possible to customize the messages which get send.

You can either send two messages (just add 2 mail actions), or 1 message which you BCC to yourself. You can customize the mail template in the mail action setup.

Good luck.

Re: Bonus Forms

PostPosted: Wed Jun 08, 2011 11:12 am
by marcelfw
Bonusforms update 0.5:

- Fixed easyflow class file, no more dependencies. It should be truly separate now
- Fixed new mailers part
- Fixed renaming forms
- Fixed OOPs text for contact button text 'send'
- Labels for options now also go through the magic 'translate' routine
- Fixed a problem with mailing of the checkboxes

Especially the last fix, fixes a serious issue.