[3.2][DEV] Form Maker/Creator

A place for Extension Authors to post and receive feedback on Extensions still in development. No Extensions within this forum should be used within a live environment!
Anti-Spam Guide
Forum rules
READ: phpBB.com Board-Wide Rules and Regulations

IMPORTANT: Extensions Development rules

IMPORTANT FOR NEEDED EVENTS!!!
If you need an event for your extension please read this for the steps to follow to request the event(s)
User avatar
dmzx
Registered User
Posts: 705
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

[3.2][DEV] Form Maker/Creator

Post by dmzx » Mon Jan 09, 2017 9:19 pm

Extension Name: Form Maker/Creator
Authors: dmzx - michaelo

Special thanks to: martin

Extension Description:
Create forms to collect data from you members in any forum (one form per forum)

Image Image Image

Image
Update template with Twig.
Changed code for php 7.x

Image
Code update.

Screenshots:
Image

Image

Image

Image

Image

Extension Download:
Download-link

Installation:
  1. Download the latest release.
  2. Unzip the downloaded release, and change the name of the folder to `formcreator`.
  3. In the `ext` directory of your phpBB board, create a new directory named `dmzx` (if it does not already exist).
  4. Copy the `formcreator` folder to `/ext/dmzx/` if done correctly, you'll have the main extension class at
    (your forum root)/ext/dmzx/formcreator/composer.json
  5. Navigate in the ACP to `Customise -> Manage extensions`
  6. Look for `Form Maker/Creator` under the Disabled Extensions list, and click its `Enable` link.
Last edited by dmzx on Sat Dec 09, 2017 5:30 pm, edited 4 times in total.
dmzx-web.net - Need a Host? - Want to Donate

User avatar
Tarantino
Registered User
Posts: 423
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by Tarantino » Mon Jan 09, 2017 10:31 pm

Great! Thanks for this! dmzx and michaelo, hope you are better in health!

It would be awesome to be able to write the outcome post. I mean... to create the bbcode before and after each choice we want to add on the form creator.

Example:
[b][i][u]TEXT OPTION HERE[/u][/i][/b]
[quote]TEXT BOX OPTION HERE[/quote]
[url]EMAIL OPTION HERE[/url]

Etc... With an before and after bbcode we could create the outcome visual as we liked. And it would turn this extension perfect!

CHEERS!

User avatar
Mess
Registered User
Posts: 985
Joined: Wed Jul 01, 2009 6:37 am
Name: Kim

Re: [3.2][DEV] Form Maker/Creator

Post by Mess » Tue Jan 10, 2017 10:12 am

Tarantino wrote:
Mon Jan 09, 2017 10:31 pm
Great! Thanks for this! dmzx and michaelo, hope you are better in health!

It would be awesome to be able to write the outcome post. I mean... to create the bbcode before and after each choice we want to add on the form creator.

Example:
TEXT OPTION HERE
TEXT BOX OPTION HERE
EMAIL OPTION HERE

Etc... With an before and after bbcode we could create the outcome visual as we liked. And it would turn this extension perfect!

CHEERS!
+1!

Html or bbcode would be fine for me. But being able to format the output would open for a world of possibilities. :)

User avatar
Leinad4Mind
Translator
Posts: 804
Joined: Sun Jun 01, 2008 11:08 pm
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by Leinad4Mind » Tue Jan 10, 2017 4:22 pm

+1

I had this request too: viewtopic.php?f=496&t=2394006

Glad to see it is being developped.
Want to access all my portuguese MOD and Extension translations?
Become my Patreon!
phpBB Portugal Translator and Moderator

User avatar
dmzx
Registered User
Posts: 705
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by dmzx » Tue Jan 10, 2017 4:24 pm

Will check this ;)
dmzx-web.net - Need a Host? - Want to Donate

User avatar
jayArr69
Registered User
Posts: 2
Joined: Thu Jan 12, 2017 10:57 pm

Re: [3.2][DEV] Form Maker/Creator

Post by jayArr69 » Thu Jan 12, 2017 11:30 pm

I have installed 3.2 on my board using the pro-silver style
and have installed your latest Form Maker/Creator for phpBB 3.2.

I am having several problems when I use the Form Creator as illustrated in the following screen grabs

Here's the design:
Image

and here's what it looks like in use
Image

You can see the the field titles all have underscore in place of spaces and colons at the end of the text - why?
You'll also see that there's a note about when check boxes are mandatory - and the are no check boxes in use - why?

Here's the form PARTIALLY filled in - deliberately - only the mandatory field has been entered
Image

Here's what happened when you submit the form
Image

Why do I get the error message about too many characters?

Your answers to these questions and help would be most appreciated.
In anticipation Thanks

User avatar
jayArr69
Registered User
Posts: 2
Joined: Thu Jan 12, 2017 10:57 pm

Re: [3.2][DEV] Form Maker/Creator

Post by jayArr69 » Mon Jan 16, 2017 1:14 pm

Yesterday I downloaded and created a new, virgin, phpBB 3.2 installation.
Then I downloaded this 3.2 Form Creator and installed and enabled the extension.
However when I clicked on the ACP/SYSTEM tab all I got was a blank screen, nothing, zip, nanda!

So,in my experience I have to conclude that this extension DOES NOT WORK .

User avatar
Tarantino
Registered User
Posts: 423
Joined: Sat Feb 18, 2012 1:51 pm
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by Tarantino » Mon Jan 16, 2017 1:48 pm

It's perfectly normal to not work. That's why it's a DEV extension. Dev means development. It means it's not finished. It's the same as "problems Will occur"

User avatar
eunaumtenhoid
Registered User
Posts: 603
Joined: Wed Jun 03, 2009 12:46 am
Location: ????

Re: [3.2][DEV] Form Maker/Creator

Post by eunaumtenhoid » Tue Jan 17, 2017 2:12 am

Tarantino wrote:
Mon Jan 09, 2017 10:31 pm
Great! Thanks for this! dmzx and michaelo, hope you are better in health!

It would be awesome to be able to write the outcome post. I mean... to create the bbcode before and after each choice we want to add on the form creator.

Example:
TEXT OPTION HERE
TEXT BOX OPTION HERE
EMAIL OPTION HERE

Etc... With an before and after bbcode we could create the outcome visual as we liked. And it would turn this extension perfect!

CHEERS!
+10
My translations of the extensions for Brazilian Portuguese
https://github.com/phpBBTraducoes

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20426
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by RMcGirr83 » Sun Jan 22, 2017 1:08 pm

Code: Select all

.panel.bg2 .inner .submit-buttons {
	display: none;
}
why are you setting submit buttons to not display? It is conflicting with my contact admin extension (it hides the submit button).
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Miri4ever
Registered User
Posts: 392
Joined: Sat Mar 07, 2015 11:18 am

Re: [3.2][DEV] Form Maker/Creator

Post by Miri4ever » Sun Jan 22, 2017 2:23 pm

Updater tells me Version 1.0.0 does exist but still getting only 1.0.0. Dev from this site.

After enable and try to call the module over ACP -> Exentsions I got this kind of error:

Fatal error: Redefinition of parameter $form_id in /home/www/xxx/html/xxx/ext/dmzx/formcreator/controller/admin_controller.php on line 332

Tested on existing board and fresh install. Always the same kind of error.
Homepage: Terra Oceanica

stef_mfc
Registered User
Posts: 5
Joined: Sun Jan 22, 2017 10:10 pm

Re: [3.2][DEV] Form Maker/Creator

Post by stef_mfc » Tue Jan 31, 2017 6:53 am

Hi,

I had the same issue.
I could fix in in a simple way...
  • Go to given file controller/admin_controller.php
  • Go to line 332
  • Remove one of both $form_id
After that is worked perfectly till now.

Best regards,

Stephane

User avatar
michaelo
Registered User
Posts: 1292
Joined: Thu Jun 13, 2002 3:49 am
Location: Dublin, Ireland
Name: Michael O'Toole
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by michaelo » Wed Feb 15, 2017 2:11 pm

Originally I suspected it should be forum_id and form_id (which means the function call would also require updating), however... the forum ID should not be required...

A quick test just using one form_id var in both the prototype and function call appears to work fine as per my original code...

Code: Select all

$this->build_preview($form_id);

Code: Select all

function build_preview($form_id) { .. }
But I'd check with dmzx just in case...
Mike

User avatar
michaelo
Registered User
Posts: 1292
Joined: Thu Jun 13, 2002 3:49 am
Location: Dublin, Ireland
Name: Michael O'Toole
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by michaelo » Wed Feb 15, 2017 2:45 pm

RMcGirr83 wrote:
Sun Jan 22, 2017 1:08 pm
why are you setting submit buttons to not display? It is conflicting with my contact admin extension (it hides the submit button).
The default submit button is hidden, else you have two copies... can't remember why but it's fixable...

User avatar
RMcGirr83
Recognised Extension Developer
Posts: 20426
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr
Contact:

Re: [3.2][DEV] Form Maker/Creator

Post by RMcGirr83 » Wed Feb 15, 2017 3:02 pm

michaelo wrote:
Wed Feb 15, 2017 2:45 pm
RMcGirr83 wrote:
Sun Jan 22, 2017 1:08 pm
why are you setting submit buttons to not display? It is conflicting with my contact admin extension (it hides the submit button).
The default submit button is hidden, else you have two copies... can't remember why but it's fixable...
As this only affects the posting page, then that is where the css should come into play. Not throughout the entire board.
In times of change, learners inherit the earth, while the learned find themselves beautifully equipped to deal with a world that no longer exists - Eric Hoffer
Former Modifications/Extensions Team Member | My extensions
Appreciate the extensions/mods/support then buy me a beer
All requests for support via PM will be ignored

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: posey, takufner and 28 guests