News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Custom Form Mod

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

Previous topic - Next topic

wperock

Does this still work ? I can't see to get it on my website


wperock

After installing it takes me to : /index.php?action=admin;area=modsettings;sa=customform

And I get This page isn't hxxp:workingwww.warriorpointe.org [nonactive] is currently unable to handle this request.
HTTP ERROR 500

Kindred

look in your server log as to what is triggering the 500 error.
(not the smf error log, but the server-side error.log errorlog. or similar file.)
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

live627

Probably the duplicate parameters issue

njtweb

Hello, thank you for the mod, I would like to leverage this for my forum to survey guests.

However when I install on 2.0.17 it redirects to 500 error page. I go back to admin>Modification Settings>Custom Form and get 500 error page.

Any chance somebody knows why this is happening and how to fix so it's able to be used?

Thank you to all in advance.

Arantor

Quote from: ladyquack on November 12, 2019, 02:10:55 PM
I just tried installing this modification on a clean copy of 2.0.15 and it was also throwing HTTP ERROR 500. When I checked my error log, it shows PHP Fatal error: Redefinition of parameter $nul in /home/xcxcx/public_html/Sources/ManageSettings.php on line 3310. The string of coding on that line is "function list_CustomForm_fields($nul, $nul, $nul, $id)". I'm not exactly sure with how to proceed fixing this issue.
Quote from: Arantor on November 12, 2019, 02:21:53 PM
Change the second $nul to $nul2 and the third to $nul3 but leave the first alone.

njtweb

Thank you as always @Arantor. very much appreciated!

njtweb

I scanned through this topics comments and see there is a hack to have the new topic button re-direct to the form for a board.

I'm not looking to do that but I would rather the submitted output from the form be directed to a specific topic within a board. Rather than a new topic being generated on a board for each submission.

Is it possible to change from the board ID to a topic ID so all output goes to the topic as a new comment?

Thank you in advance.

Sectomy

Quote from: Sectomy on August 21, 2020, 03:02:33 AM
yeah, ive done that, and it works :) thanx !
but now i got 2 Errors in my Error Log:

this one if someone submits a form:

2: Invalid argument supplied for foreach()
Filter hinzufügen: Nur Fehler von dieser Datei zeigen
Datei: Subs-Post.php
Zeile: 3091


this is in the line:


3089: // Ignore any parents on the top child level.
3090: //!!! Why?
==>3091: foreach ($parents as $id => $parent)
3092: {
3093: if ($parent['level'] != 0)


any Ideas ?

greets
andy

anyone ? :)

njtweb

Anybody know if this developer is still around? I'd like to see if this can be modified to send form responses to a topic as new replies instead of to a forum to start new topics on each response.

Shades.

Would love to see this updated for 2.0.17! Any solutions? Im willing to donate a little $ for it! :)
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

Kindred

I am using it on 2.0.17
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Shades.

Quote from: Kindred on October 03, 2020, 07:51:27 AM
I am using it on 2.0.17
Doesn't work for me and I tried it on a fresh install! When I go to https://mysite.com/xxxx/index.php?action=admin;area=modsettings;sa=customform i get This page isn't working mysite.com is currently unable to handle this request.
HTTP ERROR 500
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

Doug Heffernan

Quote from: Shades. on October 03, 2020, 09:57:53 AM
Quote from: Kindred on October 03, 2020, 07:51:27 AM
I am using it on 2.0.17
Doesn't work for me and I tried it on a fresh install! When I go to https://mysite.com/xxxx/index.php?action=admin;area=modsettings;sa=customform i get This page isn't working mysite.com is currently unable to handle this request.
HTTP ERROR 500

This looks to be a server related issue.

Shades.

I wonder if its because Im running php 7.3?
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

Gavin Chatt

Hi Guys and a huge cheers for this mod, I'm sort of getting it but now having difficulties in the form design and ask if anyone could assist. I'll add attachments to try and help visually where things are right now.

The install process provided a blank page / error however I feel I have sorted that side. Reading the information Custom Form Mod Version 1.7 I'm understanding most part however struggle between the fields.

The list can be seen and looks fine


Custom Form Mod Settings - From what I can see and understand I need to setup a new form


Once setup the next step would be to enter the for data we would be hoping to have supplied. I'm unable to force an entry as note knowing how as yet. Once this has been completed I don't see the new form in the list however noticed that unless I have a form field setup the form name will not show in the list.


Once I have added a Form Field the form name will show and allow selection from the list, however will only show the Form Field and not the posted needs.


Regards
Gavin Chatt
Austeam Founder
http://austeamracing.com.au

Gavin Chatt

Sorry All, but is anyone able to assist the above with this and point out where I'm going wrong?

Thanks in advance.
Regards
Gavin Chatt
Austeam Founder
http://austeamracing.com.au

Gavin Chatt

Quote from: Gavin Chatt on October 08, 2020, 04:31:53 AM
Sorry All, but is anyone able to assist the above with this and point out where I'm going wrong?

Thanks in advance.

Well it has takes a few days and some additional hours but I now feel I had this sorted.

Cheers all :)
Regards
Gavin Chatt
Austeam Founder
http://austeamracing.com.au

Shades.

Quote from: Arantor on September 04, 2020, 07:35:43 AM
Quote from: ladyquack on November 12, 2019, 02:10:55 PM
I just tried installing this modification on a clean copy of 2.0.15 and it was also throwing HTTP ERROR 500. When I checked my error log, it shows PHP Fatal error: Redefinition of parameter $nul in /home/xcxcx/public_html/Sources/ManageSettings.php on line 3310. The string of coding on that line is "function list_CustomForm_fields($nul, $nul, $nul, $id)". I'm not exactly sure with how to proceed fixing this issue.
Quote from: Arantor on November 12, 2019, 02:21:53 PM
Change the second $nul to $nul2 and the third to $nul3 but leave the first alone.
That worked for me as well...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

Shades.

Is there a way to had "Attachments" to the forms?
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

Advertisement: