[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!
Get Involved
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: 730
Joined: Fri Sep 05, 2014 6:48 am
Location: The Netherlands
Contact:

Re: [ABD] Form Maker/Creator

Post by dmzx » Sat Dec 09, 2017 5:01 pm

Elias wrote:
Sat Dec 09, 2017 1:54 pm
Nice to see this extension being worked on again!

Don’t forget to change the topic title as it still says ABD.

Thanks!
Did change it. ;)
dmzx-web.net - Need a Host? - Want to Donate

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

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

Post by dmzx » Sat Dec 09, 2017 5:30 pm

First post updated.
dmzx-web.net - Need a Host? - Want to Donate

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

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

Post by Tarantino » Sat Dec 09, 2017 5:43 pm

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!
Is this being considered? Just to know if there is plans for it. You can be honest. No hard feelings. Just want to know what I can really expect. ;)

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

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

Post by dmzx » Sat Dec 09, 2017 5:45 pm

Tarantino wrote:
Sat Dec 09, 2017 5:43 pm
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!
Is this being considered? Just to know if there is plans for it. You can be honest. No hard feelings. Just want to know what I can really expect. ;)
Yes will keep this in mind ;)
Need to do some more items so its on the list.
dmzx-web.net - Need a Host? - Want to Donate

RevengeFromMars
Registered User
Posts: 19
Joined: Mon Dec 11, 2017 5:09 pm
Location: Belgium

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

Post by RevengeFromMars » Wed Dec 20, 2017 6:36 pm

Hi there,

Nice work.

However I miss a little feature already mentionned before in this thread: the ability to make the form mode mandatory for a given forum.
To be open to all possibilities, I would like to see two parameters linked to the form definitino in the ACP:
Use form mode by default [] Yes [*] No
Allow only form mode [] Yes [*] No
What do you think ?

dynserver
Registered User
Posts: 92
Joined: Thu Apr 06, 2017 11:06 pm

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

Post by dynserver » Sat Feb 10, 2018 7:33 am

RevengeFromMars wrote:
Wed Dec 20, 2017 6:36 pm
Hi there,

Nice work.

However I miss a little feature already mentionned before in this thread: the ability to make the form mode mandatory for a given forum.
To be open to all possibilities, I would like to see two parameters linked to the form definitino in the ACP:
Use form mode by default [] Yes [*] No
Allow only form mode [] Yes [*] No
What do you think ?
This is exactly what we need! Good extension nonetheless. Would be great to have a form automatically be set instead of the "form mode" button. Specific for w.e forum u want to set it to :D

fnys
Registered User
Posts: 26
Joined: Sun Oct 24, 2010 11:52 pm
Location: Stockholm
Name: Fredrik Nyström

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

Post by fnys » Tue Mar 13, 2018 11:43 pm

First, thank you so much for one of the best extensions here. This was exactly what I was looking for! :D

...but I got 2 problems that I need help with:
* How do I remove underscores?
* How do I move all fields longer to the right?

Image
Last edited by fnys on Thu Mar 22, 2018 10:29 am, edited 1 time in total.

netzversteher
Registered User
Posts: 6
Joined: Tue Oct 03, 2017 8:53 am

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

Post by netzversteher » Thu Mar 15, 2018 9:44 am

Hello dmzx
A little hint.
This module is really great. But it has a problem when another module is active.
lf the Mod. "Change Post Time" is also installed, you will always get the message that your input is too short. It does not transfer the data to normal Post.
If you have a solution, I can use it well I would like to use both ext.

Thanks
Netzversteher

netzversteher
Registered User
Posts: 6
Joined: Tue Oct 03, 2017 8:53 am

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

Post by netzversteher » Thu Mar 15, 2018 9:49 am

Hello fnys
As far as the underscores are concerned, open root/ext/dmzx/formcreator/event/listener.php
Find and delete 2x this:

Code: Select all

$row['name'] = str_replace(' ', '_', $row['name']);

fnys
Registered User
Posts: 26
Joined: Sun Oct 24, 2010 11:52 pm
Location: Stockholm
Name: Fredrik Nyström

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

Post by fnys » Thu Mar 15, 2018 3:58 pm

netzversteher wrote:
Thu Mar 15, 2018 9:49 am
Hello fnys
As far as the underscores are concerned, open root/ext/dmzx/formcreator/event/listener.php
Find and delete 2x this:

Code: Select all

$row['name'] = str_replace(' ', '_', $row['name']);
Hi netzversteher and thank you so much for your help.
I did what you wrote and it worked great! No more underscores. :)

Do you maybe know also how to move the column with the fields longer to the right?

EDIT: This will not solve the problem cause when you post some of the text fields will appear blank.
I tho got a (not the best but it works) solution for this: :!:
viewtopic.php?f=456&t=2400921&start=30#p14969856
Last edited by fnys on Mon Apr 02, 2018 9:15 pm, edited 2 times in total.

User avatar
Hippie459MN
Registered User
Posts: 892
Joined: Mon Oct 15, 2007 10:13 pm
Location: Minnesota, USA
Contact:

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

Post by Hippie459MN » Thu Mar 15, 2018 4:11 pm

fnys wrote:
Thu Mar 15, 2018 3:58 pm
Do you maybe know also how to move the column with the fields longer to the right?
I moved and adjusted my columns on my forum. Open ext/dmzx/formcreator/styles/prosilver/theme/formcreator.css and the adjustments are in there. Off hand I dont remember what edits are for what parts of the form layout but there is not much there so just play around until you get it how you want. Thats what I did. I think the .att section is for the post body but I dont have my computer with all the files right in front of me at the moment.

fnys
Registered User
Posts: 26
Joined: Sun Oct 24, 2010 11:52 pm
Location: Stockholm
Name: Fredrik Nyström

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

Post by fnys » Thu Mar 15, 2018 10:07 pm

Thank you but I just found it in the same file :)
In /ext/dmzx/formcreator/styles/prosilver/theme/formcreator.css:

Code: Select all

.fbox {
	background: #FFF none repeat-x 0 0;
	background-repeat: repeat;
	text-align:left;

	margin: -20px 0 8px 140px;

	/* if <br /> in code use
	margin: -20px 0 0 150px;
	*/

	padding: 3px 3px 3px 5px;
	
	width: 500px;
	overflow:auto;
	height: auto;

	border: solid 1px #E3E5E5;
	box-shadow: 1px 1px 1px 1px #BBB;
	//box-shadow: 2px 2px 2px 2px #BBB;
	border-radius: 3px;
	text-align: left;

    white-space: pre-wrap;      /* CSS3 */   
    white-space: -moz-pre-wrap; /* Firefox */    
    white-space: -pre-wrap;     /* Opera <7 */   
    white-space: -o-pre-wrap;   /* Opera 7 */    
    word-wrap: break-word;      /* IE */
}
At row:
" margin: -20px 0 8px 140px;" - I changed 140px to 250px to move the fields longer to the right
" width: 500px;" - I changed 500px to 400px to shorten the lengh of the fields

Shabox
Registered User
Posts: 1
Joined: Thu Mar 22, 2018 8:40 am

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

Post by Shabox » Thu Mar 22, 2018 8:48 am

Hi guys,

First, this extension is really great. Good job from devs.

I post a message cause I find an issue when i'm using this form :
- I tested it on prosilver, and flat-style too => the issue appears in both.
- The issue => when I create a new post, I click on "form mode" and complete fields that i had created before in ACP. Until there, it's OK.
====> When I post the topic, some fields are blank, although i completed here before pressed the submit/posting button.

I followed some steps in order to scale my fields and put out underscores (see posts before). Otherwise, i didnt change anything.

Did someone got the same issue ?

Waiting to read u, have a good day, and sorry for my bad english :-)

Shabox

fnys
Registered User
Posts: 26
Joined: Sun Oct 24, 2010 11:52 pm
Location: Stockholm
Name: Fredrik Nyström

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

Post by fnys » Thu Mar 22, 2018 10:15 am

Shabox wrote:
Thu Mar 22, 2018 8:48 am
I post a message cause I find an issue when i'm using this form :
- I tested it on prosilver, and flat-style too => the issue appears in both.
- The issue => when I create a new post, I click on "form mode" and complete fields that i had created before in ACP. Until there, it's OK.
====> When I post the topic, some fields are blank, although i completed here before pressed the submit/posting button.

I followed some steps in order to scale my fields and put out underscores (see posts before). Otherwise, i didnt change anything.
I forgot to write that I also got the same problems with blank fields when posting but I found a solution for the problem:
Instead of making a blank space, use the keyboard combination: <alt+0160>. That also makes a blank space.

Try this code:

Code: Select all

$row['name'] = str_replace('<alt+0160>', '_', $row['name']);
...This is maybe not the best solution and may not works in all browsers so a more "correct" solution of this problem would be great :)

fnys
Registered User
Posts: 26
Joined: Sun Oct 24, 2010 11:52 pm
Location: Stockholm
Name: Fredrik Nyström

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

Post by fnys » Tue Apr 03, 2018 3:08 pm

Hi again.
Found a new problem and I'm really hoping that someone can help me tho it is a conflict between a style and this extension... :(

Everything works great in prosilver BUT when I'm using my other theme Aero I get double of every button.
See pictures below:
Image

Image

Does someone have a solution for this or even know where I should look to make it work correct again?

Post Reply

Return to “Extensions in Development”

Who is online

Users browsing this forum: oBot, Shredder and 24 guests