News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Custom Form Mod

Started by live627, July 09, 2008, 10:24:44 PM

Previous topic - Next topic

live627

2.0.0 (2021-03-25)

⚠ BREAKING CHANGES

       
  • Require PHP 7.4
Features

       
  • Allow whitespace in template vars (18297e7)
  • Check session when users submit forms (bf7139a)
  • Show a list of errors if a form is submitted with invalid data (facb90a)
Bug Fixes

       
  • Make select boxes validate if no value provided and default is set (05605a2)
  • Populate field types when editing or adding fields (2d4e575)
  • Translate old field names so they can actually be used (867076e)
Download it from the mod site

wylo

It does not transfer the entered information to the post. . It gives it as [nobbc][/ nobbc].

Shades.

Quote from: wylo on March 25, 2021, 04:27:24 PM
It does not transfer the entered information to the post. . It gives it as [nobbc][/ nobbc].

Has anybody checked or verified this? I'm still using the 1.7 version on smf 2.0.18.
Also should I be using 1.8 or 2.0 on smf 2.0.18? I uploaded 2.0.0 but in package manager it still says 1.8.

I'll check it later too when I get time, just curious thanks!
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

outragedmetro

Members are trying to fill out application. I have made a test user for a form and I am not able to submit it. I get the following error on any text that has been imputed.
Oops, there were errors!

    The value you chose for Your first & Last name: is invalid.
    The value you chose for Have you ever worked as a moderator of a forum or web based community? if yes please explain below! if not please write N/A. is invalid.
    The value you chose for How often are you on the forums per day? is invalid.


This is on the latest SMF is there a way to fix this? turns out it is caused by making the fields required.

BigAlGeorge

This mod requires a minimum of PHP %s in order to function. (You are currently running PHP %s)

SMF 2.0 and PHP version 7.4; tried switching to 7.3 still no different.

BTW mod version 2.0 still shows version 1.8 which was a tad confusing for a newbie like me.

Appreciate any advise re this error.

BigAlGeorge

What I tried was modifying .htaccess thus:

<FilesMatch "\.(php4|php5|php7|php3|php2|php|phtml)$">
SetHandler application/x-lsphp70
</FilesMatch>


Made no difference the Forms mod still throws up same php error - definitely Im using Version 7.4

live627

My error reporting has errors 😂

live627

2.0.1 (2021-06-10)

Bug Fixes

       
  • Send correct field names when submitting a form (0542987)
  • Version check should replace placeholders (9a78c4c)
Download it from the mod site

Sir Osis of Liver

Mod installs without errors on 2.0.18 test forum in php 7.4.  Any idea why BigAlGeorge is having problems?
Ashes and diamonds, foe and friend,
 we were all equal in the end.

                                     - R. Waters

BigAlGeorge

Quote from: Sir Osis of Liver on June 09, 2021, 11:23:45 PM
Mod installs without errors on 2.0.18 test forum in php 7.4.  Any idea why BigAlGeorge is having problems?

I think author has sorted it out as I removed the .htaccess code:
<FilesMatch "\.(php4|php5|php7|php3|php2|php|phtml)$">
SetHandler application/x-lsphp70
</FilesMatch>


Which was now causing an issue, and once removed, I could install the forms mod.

Plus

could you add 2.1 support ?

BigAlGeorge

SMF 2.0.18

(?) https://alsbrew.com/alsbrew_forum/index.php?action=helpadmin;help=customform_output

See image when (?) clicked its not parsing help text any ideas? Thanks, Al.

live627

Thanks for reporting. I'll fix that soon.

BigAlGeorge

Quote from: live627 on June 23, 2021, 05:27:33 AM
Thanks for reporting. I'll fix that soon.
Anything I can do to help, lets know I checked and some of maybe old lines are missing after install eg
$txt['CustomForm_tabheader'] = 'Custom Forms';

Tried uninstall and reinstall and both appeared to go perfectly well.

heroclass

To whom it may concern,

I have recently installed the custom forms mod and i am receiving this error



i am using
php 7.4,
2.0.18
2.0.1 custom forms mod



any help would be appreciated

live627

Did you fill in the fields?

heroclass



Yes the fields were filled in - the radio buttons were selected

heroclass


heroclass

Does anyone know if any update to this has been completed?

Aleksi "Lex" Kilpinen

Probably doesn't matter, but does that still happen if you switch to the default theme?
Slava
Ukraini!
"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

Advertisement: