Welcome, Guest. Please login or register.
Did you miss your activation email?
May 25, 2012, 11:19:05 AM

Login with username, password and session length
Search:     Advanced search
Interested in joining the WebsiteBaker team?
For more Information read here or on our new website.
155499 Posts in 21710 Topics by 7736 Members
Latest Member: deenangle
* Home Help Search Login Register
Pages: 1 2 [3] 4 5 ... 8   Go Down
Print
Author Topic: Stable version of MPForm ( Multi Purpose Form)  (Read 24256 times)
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #50 on: August 12, 2009, 02:23:19 PM »

is it possible to use a multiple page form to send just 1 mail instead of for every page a seperate mail?

Or am i doing something wrong? Used the help function to create multiple page form.
Logged

BRAMUS Internet Services
Bramus
Forum Team
*****
Offline Offline

Posts: 601


WWW
« Reply #51 on: August 12, 2009, 05:46:34 PM »

Hi,

I really need a multiple page form, so 1 page you enter the first data then go to the 2nd form and enter other data and then it has to send 1 e-mail.

This is for some customer that has 0.0% knowledge about pc's (except reading e-mail and checking websites). So he wants 1 e-mail with both the info and all the info is needed for him.

Hope there is a way to fix this. I'm only using 2 pages, 1 form for the first entry and 2nd form for adress info. And that has to be send in 1 e-mail, i'm not using the MPform module on other "forms" then those 2 (those 2 that has to be 1 form).
Logged

BRAMUS Internet Services
spida

Offline Offline

Posts: 203


« Reply #52 on: August 21, 2009, 12:33:40 PM »

I think there's a bug in the current version (0.3.2): the td class mpform_help is set 16px width, yet it is displayed quite broad. Changing the value to 1px or even 0px didn't change this behavior, only attributing the style with display:none helped me. I have fixed the class.admin.php thus this shouldn't be the cause.

Logged
spida

Offline Offline

Posts: 203


« Reply #53 on: August 21, 2009, 12:58:58 PM »

Hi Frank,

can't give you a link since the website isn't launched officially yet. Browser was FireFox 3.x, WB version 2.7
Besides this bug: Great module!

Cheers,
spida
Logged
spida

Offline Offline

Posts: 203


« Reply #54 on: August 21, 2009, 04:29:11 PM »

Hi Frank,

I know from own dev experiences how much pain an error is that can't be reproduced, thus sorry for giving you a headache.
I did have tried out the help feature (nice idea btw) and removed the help text after seeing how it would work and look in the front end.

I should also add that I use version 0.3.1 in another life installation and didn't have this problem at all. Same webserver, same variables thus.

Regards,
spida
Logged
spida

Offline Offline

Posts: 203


« Reply #55 on: August 21, 2009, 04:59:29 PM »

Hi Frank,

that's me again. I stumbled over another, way more important problem which I had encountered but not yet solved in the earlier version too. In 0.3.2 it still exists and really needs to be solved. As far as possible I will be happy to help finding the solution.

If php mail is set as mailer routine in the general settings, your module does the following:

Sender receives an email with the subject as specified in your module's backend, however special characters like German Umlaute are not displayed correctly.
Receiver (i.e. website owner) receives an email with an unspecified subject (see screenshot pls) and fieldnames with field values as filled in by the sender. If special characters are used, they are crunched in the email body too.

Since the website is supposed to launch on Monday I need a solution for this problem. Have only Sunday left to work on it.

EDIT: I forgot the screenshot, now it's attached.
« Last Edit: August 21, 2009, 05:12:03 PM by spida » Logged
spida

Offline Offline

Posts: 203


« Reply #56 on: August 21, 2009, 05:21:31 PM »

When subject is set to "test" it is correctly transmitted in the email. Weird ... The other subject did not have any special characters, it was just a little longer.

I can't use SMTP since I get error messages.

EDIT: New subject "Ihre Nachricht an xxx-Firma" is transmitted correctly now. For whatever reason.
But Umlaute in email body are really awful ...  huh
« Last Edit: August 21, 2009, 05:47:21 PM by spida » Logged
spida

Offline Offline

Posts: 203


« Reply #57 on: August 21, 2009, 06:01:25 PM »

I just figured that MPForm sends with character set iso 8859-1, but the website is set to utf-8, as is my local mail client. Is there any possibility to make special characters readable no matter what the mail client is set to?

Best regards,
spida

(yeah, i know, it's nearly weekend ...  rolleyes)
Logged
spida

Offline Offline

Posts: 203


« Reply #58 on: August 21, 2009, 06:23:45 PM »

And one more thing:
Since just a simple "thank you for your email" doesn't need an extra email to the person who filled out the form, it would be great to paste the fields and their values into that email just as they are pasted into the mail which is send to the website owner, wouldn't it.

I briefly looked through the module's files but couldn't figure out where the values are passed on. If you'd give me a hint I'd try to do the same for the sender of the form.

Cheers,
spida
Logged
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #59 on: November 08, 2009, 03:44:43 PM »

Sounds great! Thanks for your hard work.

I already have a new request for future version  grin

- optional default values for listbox
- added optional default dynamic values for date in listbox, set to current or current+xdays future date

This is often used on booking sites, that use dropdown listboxes with dates. soemtimes the curretn date is the first option in the list, and sometimes the current date plus x number days in the future (for example a week from now).
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Stefek
WebsiteBaker Org e.V.

Offline Offline

Posts: 4884



« Reply #60 on: November 08, 2009, 04:01:06 PM »

Hello Frank.
Same as Argos I want to thank you for your hardwork on this module.
It's a huge contribution for this cms.  smiley

*thumbsup*

Regards,
Stefek
Logged

"In a time of universal deceit, telling the truth becomes a revolutionary act."
- George Orwell, Nineteen eighty-four (1984)
Hans

Offline Offline

Posts: 565


« Reply #61 on: November 08, 2009, 04:50:39 PM »

Hi Frank
a big THANK YOU. I'ts a great module!
Hans

EDIT: attached the NL translation. I didn't find a good translation for "placeholder", maybe someone else could help. I used "plaatshouder" for the moment.
Hans
« Last Edit: November 08, 2009, 08:36:59 PM by Hans » Logged

Hans - Nijmegen - The Netherlands
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #62 on: November 09, 2009, 12:12:28 AM »

I already have a new request for future version  grin

- optional default values for listbox
- added optional default dynamic values for date in listbox, set to current or current+xdays future date

First one is already there  smiley
O OK. Nice, I didn't realize that.

Quote
The second one will be possible with some php code you write into a private function, the module comes with an interface to such functions, and all you have to do is add one or two lines of code to the file private.php (to the function private_function_be fore_new_form) smiley
I'm no coder, but it's good to hear that it's possible when I need such a feature for a project.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
FrankH

Offline Offline

Posts: 735


WWW
« Reply #63 on: November 21, 2009, 04:47:00 PM »

The latest version is available from http://wbdemo.heysoft.de/pages/en/mpform.php
This page has links to about 20 help pages and a FAQ regarding this module!
Logged

Ochs und Esel in ihrem Lauf
halt ich leider auch nicht auf
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #64 on: November 24, 2009, 12:32:44 PM »

I was looking for MPForm on amasp.org, but couldn't find it. Is it removed from there?
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
erpe

Offline Offline

Posts: 2077


WWW
« Reply #65 on: November 24, 2009, 12:50:41 PM »

Not from me.
I tried to find it some days ago but couldn't find it either.
I wrote a pm to Frank but no response yet.

I will open a new page for this.

rgds

erpe
Logged

maverik

Offline Offline

Posts: 1568



WWW
« Reply #66 on: November 24, 2009, 12:54:32 PM »

frank wrote on demo page

Quote
Die aktuelle Version des Moduls MPForm erhalten Sie künftig immer hier. Ich bitte ausdrücklich darum, diese Version nicht an anderen Stellen anzubieten, um zu vermeiden, dass ewig veraltete Versionen durch das Netz schwirren! Vielen Dank!

http://wbdemo.heysoft.de/pages/en/mpform.php
Logged

Signatur wird geladen...
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #67 on: November 24, 2009, 12:59:12 PM »

Yes I know, but nevertheless there should be a page on amasp, even if it only contains description and external link.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
erpe

Offline Offline

Posts: 2077


WWW
« Reply #68 on: November 24, 2009, 01:16:09 PM »

You are right Argos.
I added it again.

rgds

erpe
Logged

Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #69 on: November 24, 2009, 01:21:15 PM »

Nice.

I'm modding the css file now in MPForm, and I noticed that the advanced editing options are enabled by default. This is annoying, because it takes 10 seconds before the editor comes up. I think the default should be set to off. Is this a WB setting, or an MPForm setting? It's also annoying that you are sent back to the main page after saving CSS changes, so you have to click on Settings and then on CSS to go on editing.

Great module for the rest  grin
« Last Edit: November 24, 2009, 01:43:36 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #70 on: November 24, 2009, 05:15:57 PM »

In this latest version the javascript calendars don't work, there is no captcha (it is enabled) and no send button... My CSS has no z-index or absolute position (as mentioned as possible cause on FrankH's site)
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
FrankH

Offline Offline

Posts: 735


WWW
« Reply #71 on: November 24, 2009, 05:50:51 PM »

@Argos: Did you install the patch? What version of PHP do you have?
Logged

Ochs und Esel in ihrem Lauf
halt ich leider auch nicht auf
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #72 on: November 24, 2009, 06:13:00 PM »

@Argos: Did you install the patch? What version of PHP do you have?
Yes, I did apply the patch. My PHP is 5.2.6

Maybe on the domein the suhosin eval function is enabled, I have had other script poblems causued by that. I have asked my hoster to disable it. I think I will get their reply tomorrow. Could it be the cause of the error?
« Last Edit: November 24, 2009, 06:19:46 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #73 on: November 25, 2009, 12:13:19 PM »

That's it! Suhosin protection has been disabled by the hosting company, and now captcha and send button are visible, and the form works fine. Maybe good to add this to your FAQ.
Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Argos
Moderator
**
Offline Offline

Posts: 2157


WWW
« Reply #74 on: November 25, 2009, 01:36:53 PM »

I have updated the Dutch language file, based on the version of Hans, posted a few posts above. There were some untranslated texts, some errors, and some awkward translations (in my opinion). I changed "plaatshouders" to "codes". Everyone will understand that, seeing the actual tags.

Here it is:

Code:
<?php
/**
 * WebsiteBaker Page module: MPForm
 * For more information see info.php
 * 
 * The file NL.php provides strings in Dutch language.
 * This file is (c) 2009 WebsiteBaker Project <http://www.websitebaker.org/>
*/

// Dutch module description
$module_description 'Deze module biedt mogelijkheden om krachtige webformulieren te maken. 
Zie http://www.websitebakers.com/pages/modules/interaction/mpform.php en de uitgebreide documentatie
van de maker op http://wbdemo.heysoft.de/pages/en/mpform.php.'
;

// declare module language array
global $LANG;
$LANG = array();

// Text outputs for the backend
$LANG['backend'] = array(
    
'SETTINGS' => 'Formulierinstellingen',
    
'TXT_TYP'    => 'Type',
    
'TXT_LIST'    => "Lijst",
    
'TXT_DEFAULT'    => "Standaardwaarde",
    
'TXT_ISFOLLOWING' => "Heeft een voorgaand formulier",
    
'des_is_following'=> 'Geeft aan of het formulier onderdeel is van een samengesteld formulier, of niet.<br />
Voor formulieren die uit een enkele pagina bestaan is NEE vereist!'
,
    
'TXT_MP_SETTINGS' => 'Workflow-instellingen',
    
'EMAIL_SETTINGS_1' => 'Instellingen voor mail aan BEHEERDER',
    
'EMAIL_SETTINGS_2' => 'Instellingen voor mail aan BEZOEKER',
    
'TXT_STATIC'    => 'Kies een veld, of voer hieronder een tekst in',
    
'EMAIL_SUBJECT' => 'Ingezonden webformulier',
    
'EMAIL_SUC_TEXT' => 'Hartelijk dank voor het inzenden van het formulier op ',
    
'EMAIL_SUC_SUBJ' => 'Uw ingezonden webformulier',
    
'VERIFICATION' => 'Verificatie (anti-spam maatregel)',
    
'HELP' => 'Hulp voor',
    
'TXT_COPY_FIELD' => 'Veld kopi&euml;ren',
    
'TXT_ADD_FIELD'    => 'Veld toevoegen',
    
'ROWS'    => 'Hoogte (aantal regels)',
    
'TXT_TBLSFX' => 'Achtervoegsel voor databasetabel',
    
'DES_TXT_TBLSFX' => 'Maar als u meerdere MPForm-formulieren gebruikt op uw site, is het aan te raden om de resultaten in aparte databasetabellen op te slaan, om te voorkomen dat alle resultaten in dezelfde tabel terechtkomen.',
    
'textfield'    => 'Korte tekst (1 regel)',
    
'textarea'    => 'Lange tekst (meerdere regels)',
    
'date'    => 'Datum',
    
'fileupload'    => 'Bestandsupload',
    
'txt_email_to'    => 'E-mailadres(sen) ontvanger(s)',
    
'des_email_to'    => 'Plaats niet meer dan 1 ontvanger per regel en gebruik de volgende notatie:<br>
 <strong>Algemeen &lt;info@uwbedrijf.nl&gt;<br>
 Support &lt;support@uwbedrijf.nl&gt;<br>
 Marketing &lt;marketing@uwbedrijf.nl,marketing2@uwbedrijf.nl&gt;</strong><br>
 U kunt ook gewoon e-mailadressen gebruiken (ipv namen met adressen tussen haakjes),
 maar in dat geval zal de bezoeker wel het e-mailadres kunnen zien als hij zelf de ontvanger kan kiezen.'
,
 
    
'txt_success_email_to'    => 'E-mailadres ontvanger',
    
'txt_email_fromname_field'    => 'Naam afzender',
    
'txt_success_email_fromname'    => 'Naam afzender',
    
'txt_email_from_field'    => 'E-mailadres afzender',
    
'txt_success_email_from'    => 'E-mailadres afzender',
    
'txt_success_page'    => 'Landingspagina na verzenden',
    
'des_success_page'    => 'De landingspagina wordt in de browser getoond nadat het formulier zonder fouten is ingevuld.<br />
Als geen landingspagina is ingesteld wordt de in het volgende veld gespecificeerde tekst verzonden.'
,
    
'txt_success_text'    => 'Succestekst',
    
'des_success_text'    => 'Als geen landingspagina is ingesteld wordt deze tekst getoond nadat het formulier zonder fouten is ingevuld.',
    
'txt_submissions_text'    => 'Gegevens worden opgeslagen in de tabel mpform_submissions',
    
'des_submissions_text'    => 'Deze tekst wordt in het veld <b>body</b> van de tabel mpform_submissions opgeslagen.',
    
'success_options'    => 'De volgende codes zijn mogelijk:<br />
 &nbsp; {DATA} - de gegevens die in het formulier zijn ingevuld<br />
 &nbsp; {REFERER} - indien bekend, de pagina waarvandaan het formulier is opgeroepen<br />
 &nbsp; {IP} - het IP-adres van de afzender<br />
 &nbsp; {DATE} - datum en tijd<br />
'
,
    
'des_success_email_text'    => 'Inhoud van de bevestigingsmail aan de afzender',
    
'des_email_text'    => 'Inhoud van de e-mail aan de site-eigenaar',
    
'fieldset_start'    => 'Veldset (start)',
    
'fieldset_end'    => 'Veldset (eind)',
    
'integer_number'    => 'Numerieke waarde',
    
'decimal_number'    => 'Numerieke waarde met decimaal',
    
'email_recip'    => 'E-mailadres ontvanger',
    
'email_subj'    => 'E-mailonderwerp (achtervoegsel)',
    
'module_name'    => 'Multi Purpose Form',

    
'TXT_SUBMIT'    => 'Verzenden',
    
'HTML'    => "HTML-Code",
    
    
'entry'    => "Invoer is",
    
'compulsory_entry'    => "verplicht",
    
'optional_entry'    => "optioneel",
    
'ro_entry'    => "alleen lezen",
    
'des_field_loop'    => 'De volgende codes zijn mogelijk:<br />
 &nbsp; {CLASSES} - CSS-class (afhankelijk van het formulierveld en foutstatus)<br />
 &nbsp; {TITLE} - naam van het formulierveld<br />
 &nbsp; {FIELD} - het formulierveld zelf<br />
 &nbsp; {REQUIRED} - markering voor verplichte velden<br />
 &nbsp; {HELP} - initieel verborgen helptekst (vereist Javascript om te tonen)<br />
 &nbsp; {HELPTXT} - altijd zichtbare helptekst<br />
 &nbsp; {ERRORTEXT} - fouttekst (alleen voor bepaalde veldtypen)<br />'
,
    
'des_footer'    => 'De volgende code is mogelijk:<br />
 &nbsp; {SUBMIT} - Verzendknop'
,
 
'TXT_MODIFY_FIELD'    => 'Bewerken veld (ID: %s)'
);
    
$LANG['backend_adv'] = array(
    
'adv_settings'    => 'Geavanceerde instellingen',
    
'TXT_NOTIFICATION_SETTINGS'    => 'Notificatie-instellingen',
    
'txt_heading_html'    => 'Titel',
    
'des_heading_html'    => 'Gebruikt voor type: Titel<br />Code: {HEADING}',
    
'txt_short_html'    => 'Invoer op één regel',
    
'des_short_html'    => 'Gebruikt voor typen: Korte tekst, Radiobutton, E-mail ontvanger, E-mailonderwerp, Datum, Nummer<br />Codes: {TITLE} en {DATA}',
    
'txt_long_html'    => 'Invoer op meerdere regels',
    
'des_long_html'    => 'Gebruikt voor typen: Lange tekst, Aankruisvakje, Keuzemenu<br />Codes: {TITLE} en {DATA}',
    
'txt_email_html'    => 'E-mailadres',
    
'des_email_html'    => 'Gebruikt voor type: E-mailadres<br />Codes: {TITLE} en {DATA}',
    
'txt_uploadfile_html'    => 'Uploaden bestand',
    
'des_uploadfile_html'    => 'Gebruikt voor type: Uploaden bestand<br />Codes: {TITLE} en {DATA}',
    
'SPECIAL_SETTINGS'    => 'Speciale instellingen',
    
'txt_enum'    => 'Startwaarde voor Radiobutton en Aankruisvakje',
    
'des_enum'    => 'Standaard gedrag: Als dit veld leeg is tonen de radiobuttons en aankruisvakjes de zichtbare tekst.<br />
Als dit veld een cijfer of letter krijgt (handige cijfers of letters kunnen bijvoorbeeld, 0, 1 of a zijn), dan wordt deze waarde opgehoogd voor elke optie en in plaats van de tekst getoond.'
,
    
'TXT_DATE_FORMAT' => "Datumnotatie",
    
'TXT_ASP_SETTINGS'    => 'Spam-protectie'
     
'des_date_format'    => 'Datumnotatie, bijv. %d-%m-%Y',
    
'TXT_UPLOAD_FILE_FOLDER' => "Upload-folder",
    
'TXT_UPLOAD_ONLY_EXTS' => "Toegestane bestandstype(n)",
    
'TXT_UPLOAD_SETTINGS'    => 'Upload-instellingen',
    
'TXT_UPLOAD_FILEMASK' => "Rechten voor geupload bestand",
    
'TXT_UPLOAD_DIRMASK' => "Rechten voor upload-folder",
    
'TXT_ATTACH_FILE' => "Voeg geupload bestand bij e-mail",
    
'TXT_MAX_FILE_SIZE_KB' => "Max. upload bestandsgrootte in Kb",
    
'date_format'    => '%d-%m-%Y',
    
'help_extensions'    => 'Voer extensies kommagescheiden in, bijv. doc,pdf,xls,jpg,gif,png,tif,bmp.',
    
'help_filemask'    => 'Rechten voor geupload bestand, bijv. 0204',
    
'help_dirmask'    => 'Rechten voor upload-folder, bijv. 0705'
 
);

// Text outputs for the frontend
$LANG['frontend'] = array(
    
'integer_error'    => 'Cijfervelden kunnen alleen cijfers bevatten.',
    
'decimal_error'    => 'Geef een juist decimaal nummer',
    
'MAX_FILESIZE' => "Max. bestandsgrootte: %d Kilobyte<br />Toegestane bestandstypen: %s",
    
'err_too_large'    => 'Bestandsgrootte is groter dan de max. grootte van %d bytes!',
    
'err_too_large2'    => 'Bestand is te groot, max. %d byte is toegestaan!',
    
'err_partial_upload' => 'Bestand is slechts voor een deel geupload!',
    
'err_no_upload' => 'Bestand is niet geupload!',
    
'err_upload' => 'Er is een fout opgetreden bij uploaden van bestand %s (%s). Probeer opnieuw svp!',
    
'select' => "Maak een keuze...",
    
'select_recip' => "U dient een ontvanger voor het formulier te kiezen!",
    
'REQUIRED_FIELDS' => "Vul de rood gemarkeerde velden alsnog of juist in!",
    
'INCORRECT_CAPTCHA' => "Het verificatienummer dat is ingevuld is onjuist."
);

?>
« Last Edit: November 30, 2009, 12:29:37 PM by Argos » Logged

Jurgen Nijhuis
Argos Media
Heiloo, The Netherlands
WB Showcase: http://www.mywebsitebaker.com/pages/showcase.php?v&category_id=1242&count=30
----------------------------------------------------------------
Please don't request personal support, use the forums!
Pages: 1 2 [3] 4 5 ... 8   Go Up
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!