PDA

View Full Version : New Posting Features - Easy Forms (Old Thread)


bananalive
12-31-2008, 10:00 PM
Now at: Click here for the new thread in 3.8 modifications forum - no support will be given in this thread (https://vborg.vbsupport.ru/showthread.php?t=201097)

Easily create forms with no HTML or PHP knowledge. Questions can be made compulsory and are checked before the form is submitted. Forms can be previewed. (You can create multiple forms)

Working with vb v3.8

Example Form: http://www.bananalive.co.cc/misc.php?do=form&fid=2

Question Types:
Single line text
Multi-line text
Multi-select checkboxes
Single-select radio buttons
Single Select Dropdown
Yes/No
Multi-line text field using vbeditor (max one per form - limited by vB)
Human verification questionForm can Submit to:
new thread in forum
new post in thread
new pm to user
email addressInstallation:
Just Import the Product File
Set usergroups options
admincp -> vboptions -> Easy Form Options
View/Create forms at
http://your-forum.com/forums/misc.php?do=forms
Click installed (https://vborg.vbsupport.ru/vborg_miscactions.php?do=installhack&threadid=200340) to get latest updatesMore Features:
Form list categories (optional)
Preview form
Optional questions
Form Sections
Different thread/pm title to form title with variables {username} {userid} and {q_1} (replacing 1 with appropriate question number)
Poll Options: Multiple choice, public vote, poll question, poll options
Regular expression match for single line text input field
Usergroup permissions per form
Forumid/threadid/username can be specified by input via {value=X} in dropdown, single line input or radio buttons
Multiple dropdown select for form usergroup permissions (still optional - leave blank to not use)
Option to show link to form list in navbar and quick links (separate options)Coming soon:
Help file (with macroses)
Custom form template editor (optional, uses macroses)
Allow attachments

bananalive
01-01-2009, 12:25 PM
Screenshots

bananalive
01-01-2009, 12:26 PM
Version History

v1.8
- Forumid/threadid/username can be specified by input via {value=X} in dropdown, single line input or radio buttons
- Human verification question
- Multiple dropdown select for form usergroup permissions (still optional - leave blank to not use)
- Option to show link to form list in navbar and quick links (separate options)
- Form can be emailed

v1.7
- More question variables
- Regular expression match for single line text input field
- Usergroup permissions per form

v1.6
- Poll Options: Multiple choice, public vote, poll question, poll options

v1.4
- Form categories for form list
- vbeditor field
- Thread/pm title with variables

v1.3
- Add sections to forms

v1.2
- Enabled bbcode for form title & description and for form questions and questions' descriptions

v1.1
- Fixed 'Error' displaying in navbar on form submition
- Fixed validation for boolean

v1.0
- Initial Release

dxflw
01-01-2009, 12:26 PM
thanks!! and a happy new year!!!

bananalive
01-01-2009, 12:48 PM
thanks!! and a happy new year!!!
No problem; happy new year :D

ImmortalForums
01-01-2009, 12:53 PM
So is there a global variable I can replace to allow for multiple forms?

KatieG
01-01-2009, 12:58 PM
Just tried this and getting

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your

bananalive
01-01-2009, 12:58 PM
So is there a global variable I can replace to allow for multiple forms?

Number of Forms are unlimited, just create new form or go to misc.php?do=newform

YsTyle
01-01-2009, 01:00 PM
any chance you will make 3.8 version?

bananalive
01-01-2009, 01:00 PM
Just tried this and getting

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your

When importing product? creating a new form?

(you missed off part of error message)

bananalive
01-01-2009, 01:01 PM
any chance you will make 3.8 version?

It should work with v3.6 and v3.8 but I have only tested it on v3.7

adhmwagde
01-01-2009, 01:01 PM
good work .. but i want to know where is exactly in the forum i can see the example ?

bananalive
01-01-2009, 01:07 PM
good work .. but i want to know where is exactly in the forum i can see the example ?

http://www.bananalive.co.cc/misc.php?do=form&fid=2

There is no admin demo atm

KatieG
01-01-2009, 01:08 PM
When importing product? creating a new form?

(you missed off part of error message)


Creatiing a Form


Invalid SQL:
INSERT INTO forms
(title, description, displayorder, action, where)
VALUES ('Test Form', 'testing Forme', '1', '1', 'KatieG');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where)
VALUES ('Test Form', 'testing Forme', '1', '1', 'KatieG')' at line 2
Error Number : 1064

adhmwagde
01-01-2009, 01:12 PM
There is no admin demo atm

Error, this form does not exist.

bananalive
01-01-2009, 01:16 PM
Creatiing a Form


Invalid SQL:
INSERT INTO forms
(title, description, displayorder, action, where)
VALUES ('Test Form', 'testing Forme', '1', '1', 'KatieG');

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'where)
VALUES ('Test Form', 'testing Forme', '1', '1', 'KatieG')' at line 2
Error Number : 1064

Re-download and import product-file

bananalive
01-01-2009, 01:17 PM
Error, this form does not exist.

I clicked delete on the form instead of edit :S

I've created another form here tho:
http://www.bananalive.co.cc/misc.php?do=form&fid=2

KatieG
01-01-2009, 01:26 PM
Re-download and import product-file


OK it now creats the form but I recive this at the top of the Page


Warning: in_array() [function.in-array (http://www.kellysbestofoldies.com/1NewWeb/Forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code(486) : eval()'d code on line 3

Warning: in_array() [function.in-array (http://www.kellysbestofoldies.com/1NewWeb/Forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code(486) : eval()'d code on line 4

abdelghani68
01-01-2009, 01:44 PM
Thanks for this product!

I have this error when I validated a form:


Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 3

When I submit the form,I have the message :

Form was submitted successfully. Click here to view the thread.

But I have with this message : forums > error

why error ?it's a message not an error...

thanks for your help!

DjEddie
01-01-2009, 03:51 PM
Thanx for this mod all works.....same as above tho ..altho it works with no errors i get
forums > error << in the breadcrumb .... but creates the topic correctily

Couple of suggestions if u want for next version:

For descriptions... have increase size of box function aswell as ability to use bbcode or html for the text.

Thanks ..marked as installed :)

Ok after goin more into it...Errors:

When deleting a question it says form doesnt exist.... when refresh the question actually has gone.
Same with when editing a question..
Still works just gives u the error message...as i say when refreh the edit or deletion does work :)

SageStone
01-01-2009, 06:26 PM
Running 3.7.4

I have everything installed and I can create and edit forms; however, when I go to take a form, I get the following error in FireFox on both my Windows and my Mac.

Any ideas or suggestions?

http://forums.technicallity.com/misc.php?do=form&fid=1

Content Encoding Error

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

The page you are trying to view cannot be shown because it uses an invalid or unsupported form of compression.

* Please contact the website owners to inform them of this problem.

bananalive
01-01-2009, 06:50 PM
OK it now creats the form but I recive this at the top of the Page


Warning: in_array() [function.in-array (http://www.kellysbestofoldies.com/1NewWeb/Forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code(486) : eval()'d code on line 3

Warning: in_array() [function.in-array (http://www.kellysbestofoldies.com/1NewWeb/Forum/function.in-array)]: Wrong datatype for second argument in [path]/misc.php(100) : eval()'d code(486) : eval()'d code on line 4
I'll look into this, what form question types are in the form?
Thanks for this product!

I have this error when I validated a form:


Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 3When I submit the form,I have the message :



But I have with this message : forums > error

why error ?it's a message not an error...

thanks for your help!
I changed the text 'Error' and am looking into the in_array function problem. What question types have you included in the form?
Thanx for this mod all works.....same as above tho ..altho it works with no errors i get
forums > error << in the breadcrumb .... but creates the topic correctily

Couple of suggestions if u want for next version:

For descriptions... have increase size of box function aswell as ability to use bbcode or html for the text.

Thanks ..marked as installed :)

Ok after goin more into it...Errors:

When deleting a question it says form doesnt exist.... when refresh the question actually has gone.
Same with when editing a question..
Still works just gives u the error message...as i say when refreh the edit or deletion does work :)
I've changed the 'Error' display in the navbar on form submit and fixed the redirect of deleting a question
Running 3.7.4

I have everything installed and I can create and edit forms; however, when I go to take a form, I get the following error in FireFox on both my Windows and my Mac.

Any ideas or suggestions?

http://forums.technicallity.com/misc.php?do=form&fid=1
What have you got in the form?

clayh456
01-01-2009, 07:12 PM
This mod does something weird in the misc.php file, causing it to not work. Going to misc.php?do=forms just loads the list of smilies, and shows something at the top about some syntax errors. Note that this is just merely having the product installed. I've not created any forms, and can't see the list.

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/martinpa/public_html/zb/misc.php(97) : eval()'d code on line 57

Uninstalling for now. I'll keep an eye on the progress of this mod and try again when more bugs have been squashed. Good work though - and a very useful mod.

digitalhype
01-01-2009, 08:28 PM
A great feature for this would be to add a function that allows to specify a thread prefix when created a new thread in a forum.
Another great feature for this would be to clone existing forms.

Gleedo
01-01-2009, 08:37 PM
This product looks good, but i havent installed it yet.

When someone submits a form, what happens to the data? Does it get pm'd to some one or does a thread get created from it or something?

Just wondering if we could use this for our clan applications or something like that?

Thanks for your work banana - we are having fun with your Tournaments mod :)

DjEddie
01-01-2009, 08:41 PM
This product looks good, but i havent installed it yet.

When someone submits a form, what happens to the data? Does it get pm'd to some one or does a thread get created from it or something?


Form can Submit to:

* new thread in forum
* new post in thread
* new pm to user.
:)

digitalhype
01-01-2009, 10:03 PM
When a form has a boolean question that is compulsory, it doesn't allow you to select "No" as an option. If you select "No" it returns: This question is compulsory.

SageStone
01-02-2009, 01:27 AM
What have you got in the form?

1. Title of Change
(Single Line Text Field)
2. Category
(Dropdown Select)
3. Purpose
(Multi-line text field)
4. Summary
(Multi-line text field)
5. Notes
(Multi-line text field)

Brittany
01-02-2009, 01:40 AM
I created a simple form and got this at the very top of my forum page

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 3

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 4

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 3

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 4

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(530) : eval()'d code on line 3

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(530) : eval()'d code on line 4

Gleedo
01-02-2009, 09:42 AM
Form can Submit to:

* new thread in forum
* new post in thread
* new pm to user.
:)

Thanks for the reply Eddie - cool stuff :)

Gleedo
01-02-2009, 09:59 AM
I created a simple form and got this at the very top of my forum page

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 3

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 4

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 3

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(486) : eval()'d code on line 4

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(530) : eval()'d code on line 3

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/misc.php(97) : eval()'d code(530) : eval()'d code on line 4


I get the same as above when i view my form, but the form does display and did submit correctly and created a new thread as expected for me.

My form consisted of 3 single line fields, a check box field(s), and one multi-line field - all fields were mandatory.

HTH

PS This is a very fine mod - great work banana

Brittany
01-02-2009, 11:22 AM
I hope you can figure this problem out because I need this hack sooo bad.
I will nominate you for sure!

Brittany
01-02-2009, 11:23 AM
I get the same as above when i view my form, but the form does display and did submit correctly and created a new thread as expected for me.

My form consisted of 3 single line fields, a check box field(s), and one multi-line field - all fields were mandatory.

HTH

PS This is a very fine mod - great work banana

yah my form displays too just fine. Its the coding at the top that shows that bothers me.

Brittany
01-02-2009, 11:57 AM
sorry im posting so much but the form works just fine. It gets submitted to me
via pm and everything. its just that coding at the top that needs to be fixed.

Gleedo
01-02-2009, 01:41 PM
I think it would be nice if you could add admin links for this into the 'quick links' drop down menu :)

blind-eddie
01-02-2009, 05:27 PM
Can you add an editor to this? So members can add images if need be.

Brittany
01-02-2009, 05:39 PM
Can you add an editor to this? So members can add images if need be.

That would be neat. Im just wanting the codes to go away at the top.
Everything works fine expect the codes at the very top of the forum

bananalive
01-02-2009, 08:40 PM
That would be neat. I'm just wanting the codes to go away at the top.
Everything works fine expect the codes at the very top of the forum
I'm working on it, just got one bit producing an 'error'.

bananalive
01-02-2009, 08:58 PM
I'm working on it, just got one bit producing an 'error'.

Finally found it, I was looking in the wrong place

columbusgeek
01-02-2009, 09:01 PM
It woudl be handy for me if it was possible for the user who is submitting the form to be able to select which forum it goes to via a dropdown or checkbox. Is this possible, or in the works?

ssslippy
01-02-2009, 09:29 PM
Also you should have a note someone on the submit form page that anything with a star is required.

Also is it possible to parse bbcode in the description section.

Also a confirmation on the delete option would be good.

Another thing is the * should follow the : in the question.

Also is it possible to get attachment support?

Brittany
01-02-2009, 11:24 PM
working great now. Thank you!!!

SageStone
01-02-2009, 11:38 PM
Suggestion: be able to set which response would become the title of the thread.

Ex: I have a "Suggestion Title" box for people to self-title their suggestions. I would like the information in this box to become the title of the thread.

NO deadliner
01-03-2009, 04:32 AM
I allways geht this error

"Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/1/d28418551/htdocs/portal/misc.php(97) : eval()'d code on line 59"

How can i get this fixed so i can use this great feature ?

Gleedo
01-03-2009, 07:30 AM
I allways geht this error

"Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/1/d28418551/htdocs/portal/misc.php(97) : eval()'d code on line 59"

How can i get this fixed so i can use this great feature ?

I receive the same error on a fresh installation, but not when overwriting a previous installation of this mod.

HTH

abdelghani68
01-03-2009, 10:53 AM
I'll look into this, what form question types are in the form?

I changed the text 'Error' and am looking into the in_array function problem. What question types have you included in the form?

I've changed the 'Error' display in the navbar on form submit and fixed the redirect of deleting a question

What have you got in the form?

Thanks I have upgrad and I haven't the prolems now but can you add the number of the caractere autorises for the question please? beacause I have a question and I don't see all of the caractere...

thanks

bananalive
01-03-2009, 11:38 AM
Thanks I have upgrad and I haven't the prolems now but can you add the number of the caractere autorises for the question please? beacause I have a question and I don't see all of the caractere...

thanks

Try upgrading to v1.2. Edit the question with the addition characters at the end.

(If you have do not mind loosing your forms just upgrade to v1.2 then uninstall product and then install v1.2.)

Gleedo
01-03-2009, 11:57 AM
I just tried importing the latest version (previous ones uninstalled) and got the following error:

Database error in vBulletin 3.7.3:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `forms` (
`fid` int(11) NOT NULL auto_increment,
`title` varchar(500) NOT NULL default '',
`description` text NOT NULL,
`displayorder` int(10) NOT NULL,
`action` int(3) NOT NULL,
`where` varchar(200) NOT NULL default '',
PRIMARY KEY (`fid`)
) TYPE=MyISAM;

MySQL Error : Column length too big for column 'title' (max = 255); use BLOB or TEXT instead
Error Number : 1074
Request Date : Saturday, January 3rd 2009 @ 01:56:35 PM
Error Date : Saturday, January 3rd 2009 @ 01:56:35 PM
Script : http://www.britishroguewarriors.com/forum/admincp/plugin.php?do=productimport
Referrer : http://www.britishroguewarriors.com/forum/admincp/plugin.php?do=productadd
IP Address : 212.58.32.2
Username : ZeroCool
Classname : vb_database
MySQL Version : 4.1.22-standard-log

bananalive
01-03-2009, 12:55 PM
I just tried importing the latest version (previous ones uninstalled) and got the following error:
ok fixed product file

Gleedo
01-03-2009, 01:06 PM
ok fixed product file

Thanks Banana, the product does now install fine but i now get the old error as before when viewing the page 'misc.php?do=forms'

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/britishr/public_html/forum/misc.php(97) : eval()'d code on line 74

Doh! :o

KatieG
01-03-2009, 01:11 PM
Works OK now thanks, clicks installed

bananalive
01-03-2009, 01:27 PM
Thanks Banana, the product does now install fine but i now get the old error as before when viewing the page 'misc.php?do=forms'

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/britishr/public_html/forum/misc.php(97) : eval()'d code on line 74

Doh! :o

Apparently if you import the product file again the error goes.

Gleedo
01-03-2009, 02:05 PM
Apparently if you import the product file again the error goes.

Tried importing it twice, overwriting the 2nd second time and the error persists for me.

I also have another problem, not sure if it will disapear when i no longer get the error, but after installing (with the error), it interferes with my chatbox mod (https://vborg.vbsupport.ru/showthread.php?t=177552):

http://i188.photobucket.com/albums/z68/LordGleedo/Crap/chatformserror.jpg

Brittany
01-03-2009, 02:26 PM
OH it would be great if we could separate the forms into categories.
Is this possible already?

NO deadliner
01-03-2009, 02:49 PM
Apparently if you import the product file again the error goes.

Dosent work for me i always get the same error. Equal witch Version i Install.

bananalive
01-03-2009, 03:29 PM
Tried importing it twice, overwriting the 2nd second time and the error persists for me.

I also have another problem, not sure if it will disapear when i no longer get the error, but after installing (with the error), it interferes with my chatbox mod (https://vborg.vbsupport.ru/showthread.php?t=177552):


Dosent work for me i always get the same error. Equal witch Version i Install.

I am running the same chatbox on my vBulletin and it isn't conflicting.

If you both want to try importing the attached file

NO deadliner
01-03-2009, 04:09 PM
Still getting this damn error "Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/1/d28418551/htdocs/portal/misc.php(97) : eval()'d code on line 74"

Then it jumps to my Smiley-Settings "..../misc.php?do=forms&styleid=1" Maybe that will help you to locate the error.

Gleedo
01-03-2009, 04:16 PM
I am running the same chatbox on my vBulletin and it isn't conflicting.

If you both want to try importing the attached file

Still same for me too:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/britishr/public_html/forum/misc.php(97) : eval()'d code on line 1527

Dang it lol :(

bananalive
01-03-2009, 04:41 PM
Still getting this damn error "Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /homepages/1/d28418551/htdocs/portal/misc.php(97) : eval()'d code on line 74"

Then it jumps to my Smiley-Settings "..../misc.php?do=forms&styleid=1" Maybe that will help you to locate the error.

Still same for me too:

Parse error: syntax error, unexpected '&', expecting T_VARIABLE or '$' in /home/britishr/public_html/forum/misc.php(97) : eval()'d code on line 1527

Dang it lol :(

I think I've found out what was causing it - code unsupported with php v4 :D Try importing attached file

Brittany
01-03-2009, 04:58 PM
when you are doing the descriptions and stuff...can you use
html or bbc?

NO deadliner
01-03-2009, 05:00 PM
works fine now. Great work !!! installed

bananalive
01-03-2009, 05:15 PM
when you are doing the descriptions and stuff...can you use
html or bbc?
bbcode only for form title, questions and descriptions

Gleedo
01-03-2009, 05:16 PM
I think I've found out what was causing it - code unsupported with php v4 :D Try importing attached file

Great stuff Banana, that got it - well done sir :)

Thanks for a great mod and your efforts in getting this working for us troublesome peeps - voted for MOTM :up::D

Brittany
01-03-2009, 05:38 PM
bbcode only for form title, questions and descriptions
thank you and can you put the form in categories?

bananalive
01-03-2009, 05:56 PM
thank you and can you put the form in categories?

yes use the 'section' option

Brittany
01-03-2009, 06:16 PM
yes use the 'section' option

Not the questions into sections but the actual
forms.
Likes Im using them as applications on my site
and I would like them divided into sections
Like where at the top it says "title"
Can we label that different and have multiple ones?
I hope Im making sense.

bananalive
01-03-2009, 06:36 PM
Not the questions into sections but the actual
forms.
Likes Im using them as applications on my site
and I would like them divided into sections
Like where at the top it says "title"
Can we label that different and have multiple ones?
I hope Im making sense.
Are you talking about categorising the forms on the form list?

Brittany
01-03-2009, 06:40 PM
Are you talking about categorising the forms on the form list?

yes exactly :]

NO deadliner
01-03-2009, 08:34 PM
Hey Codername,
is it possible to generate a Threadtitle from one ore more answers so that every thread can easily be found later on? We would use your form for matches between Clans and want a thread for every match but only one form to fill out. Now the thrade is named like the form and thats a little uncomfortable.

Greetz deadliner

siveriano
01-03-2009, 10:47 PM
wow i have to said it, thank you so much , this is just what i had been looking for, easy, simple, and the best is that actually work w/o headaches.

Suggestion: It is possible for your next version, to make the thread title same as username.
EX. my user name is biscuit so the thread tittle will said Biscuit application.

bananalive
01-04-2009, 01:32 PM
yes exactly :]
Added form categories for form list for you.
Hey Codername,
is it possible to generate a Threadtitle from one ore more answers so that every thread can easily be found later on? We would use your form for matches between Clans and want a thread for every match but only one form to fill out. Now the thrade is named like the form and thats a little uncomfortable.

Greetz deadliner
yes use thread pm title
{q_1} replacing 1 with appropriate question number
wow i have to said it, thank you so much , this is just what i had been looking for, easy, simple, and the best is that actually work w/o headaches.

Suggestion: It is possible for your next version, to make the thread title same as username.
EX. my user name is biscuit so the thread tittle will said Biscuit application.
use {username} in thread pm title

Brittany
01-04-2009, 02:14 PM
Added form categories for form list for you.


You seriously rock!!!
Thank you!

Brittany
01-04-2009, 02:28 PM
How do I update?
It says
No Files Uploaded.

bananalive
01-04-2009, 02:59 PM
How do I update?
It says
No Files Uploaded.

Hmm.. I'm sure I uploaded it, but obviously not. Re-uploaded to first post.

Vitaly
01-04-2009, 03:41 PM
Very nice forum constructor. Tested at my debug site.

Could you consider some extentions?
Optional preg_match (or ereg) rule for single line text. Very useful to check email, birthday format and so on, prior to send.
Customizable groups permissions for each form. For example, if user have no enougth privilegies, hi sould not disturb tech stuff with some questions.
Custom error message (for each form), if user have no permissions to access it. Sometime, links to form is publik, but user don't understand why he is not allowed to use form.
Extention to (2). Some form (for example, for advertisers), should be also available without any registration. Just with additional contact fields. To simplify process for regustered users, we can define "redirect rule to simplified form" in form parameters, if user is logged in.
Option to (4) - request default captcha for guests, if necessary.
It would be nice to have option to send form to email. (new post / new thread / pm to user / email to user). Some feedback questions can be confidential, and it's not a goot idea to keep such info at forum.
Add link to forms list in product settings. A bit annoying to remember URL :)

Brittany
01-04-2009, 04:02 PM
Ok it wont let me delete a form.
I say delete form a pop up comes up
and I say ok and it wont delete :[

eta: oh and how do I make the categories?

Bl4ckfly
01-04-2009, 04:06 PM
Hi, the {q_1} title method is working but not with all types of forms. I managed to get the single text field working. Radio Buttons also work but only show the number that is chosen. Dropdown doesnt work.

bananalive
01-04-2009, 04:11 PM
Ok it wont let me delete a form.
I say delete form a pop up comes up
and I say ok and it wont delete :[

eta: oh and how do I make the categories?

Fixed the form delete issue in attached product file.

You don't need to create categories just type the category for the form. All the forms with the same category name with be grouped together

Brittany
01-04-2009, 04:19 PM
Working great banana.
Thank you sooooo much!!!

bananalive
01-04-2009, 04:22 PM
Hi, the {q_1} title method is working but not with all types of forms. I managed to get the single text field working. Radio Buttons also work but only show the number that is chosen. Dropdown doesnt work.

Fixed in attached product file

Bl4ckfly
01-04-2009, 04:38 PM
Okay, so now I also see a number in the title when I add a dropdown menu. Is there a way to get the text that is chosen from a dropdown menu or behind a radio button? Or am I doing something wrong?

Question 14 is radio button with 2 choices A and B and no matter what I chosse the title only displays 1 or 2 instead of A or B...

bananalive
01-04-2009, 05:14 PM
Okay, so now I also see a number in the title when I add a dropdown menu. Is there a way to get the text that is chosen from a dropdown menu or behind a radio button? Or am I doing something wrong?

Question 14 is radio button with 2 choices A and B and no matter what I chosse the title only displays 1 or 2 instead of A or B...

Its working for my form with dropdown in the form displaying in title. Try importing attached product file.

Bl4ckfly
01-04-2009, 06:32 PM
Thanks, its working now ;) Great job. :up::up::up:

siveriano
01-04-2009, 07:20 PM
use {username} in thread pm title

woot woot:D

bananalive
01-04-2009, 07:22 PM
Attached is beta version of Easy Forms with polls

SageStone
01-04-2009, 07:25 PM
I think it would be nice to have permission-based forms. For example, I would be able to have staff members see a "Staff Request" form, while members could not see it, based on group ids.

Haenk
01-05-2009, 04:14 AM
Attached is beta version of Easy Forms with polls

how can i see the new very interesting function "with polls"

bananalive
01-05-2009, 07:21 AM
how can i see the new very interesting function "with polls"

Its part of this example form (http://www.bananalive.co.cc/misc.php?do=editform&fid=2) which outputs a thread like this (http://www.bananalive.co.cc/showthread.php?t=49)

To add it to your own form enter some poll options in Edit Form and that will enable poll

bananalive
01-05-2009, 09:36 AM
Very nice forum constructor. Tested at my debug site.

Could you consider some extentions?
Optional preg_match (or ereg) rule for single line text. Very useful to check email, birthday format and so on, prior to send.
Added in v1.7
Customizable groups permissions for each form. For example, if user have no enougth privilegies, hi sould not disturb tech stuff with some questions.Added in v1.7
Custom error message (for each form), if user have no permissions to access it. Sometime, links to form is publik, but user don't understand why he is not allowed to use form.I think an appropriate title would cover this, i.e. Suggestion form for public.
Extention to (2). Some form (for example, for advertisers), should be also available without any registration. Just with additional contact fields. To simplify process for regustered users, we can define "redirect rule to simplified form" in form parameters, if user is logged in.User permissions per question might be going over the top.
Option to (4) - request default captcha for guests, if necessary.I'm not sure if vBulletin captcha is easily accessible via modifications. If it is I'll add it.
It would be nice to have option to send form to email. (new post / new thread / pm to user / email to user). Some feedback questions can be confidential, and it's not a goot idea to keep such info at forum.I'll add this soon.
Add link to forms list in product settings. A bit annoying to remember URL :)
Added.

Gleedo
01-05-2009, 11:19 AM
Could a link to the forms be added in the 'quick links' drop down menu (if you have permission to see the forms)?

Forum Lover
01-05-2009, 11:48 AM
Now, If I go for upgrade, the forms I created, will be there? I dont wanna loose forms that I created already. sound a stupid question eh.. :p

bananalive
01-05-2009, 12:11 PM
Could a link to the forms be added in the 'quick links' drop down menu (if you have permission to see the forms)?

I'll add it as vboption in next version

bananalive
01-05-2009, 12:11 PM
Now, If I go for upgrade, the forms I created, will be there? I dont wanna loose forms that I created already. sound a stupid question eh.. :p

yep

Brittany
01-05-2009, 01:45 PM
Working Great Banana!!!

Nzo
01-05-2009, 03:26 PM
Very nice hack Bananalive ! :)

- Is it possible to have "Username of User to PM" get from the answer of one of the question.

ie : It would be interesting to have : Username of User to PM : {q_1} (in edit form)
Where {q_1} is the answer, for example, of a drop down menu with some valid usernames.

Vitaly
01-05-2009, 03:54 PM
hi, bananalive, i hope, you've got my preliminary respects :)

Tested 1.7.

1. It would be nice to replace groups selection with multibox, at least in mod settings. Product code looks like this:

<options><settinggroup name="general" displayorder="30"><setting varname="usergroupsexample" displayorder="10"><datatype>free</datatype>
<optioncode>usergroup:5</optioncode>
</setting>
</settinggroup>
</options>
Blank selection can meen "All groups" or "No Groups", depending on setting type. I don't know, if it's possible to use the same selection interface in form editor, but that would be very user-friendly - less time & less mistakes during setup.

2. It would be nice to have template editor for each form. For example, if standard template doesn't saticfy custom needs.

I don't think, that complicated editor is necessary, just a simple text area, where one can enter any bbcode & marcoses with variable names and values. If none entered - then standard one is used.

(*) Please, list available macroses in product description.

3. About custom error messages and additional contact fields for the guests. I think, in my case, that's essention feature for user-friendly forms. But i don't insist. Anyway, nobody prevent me to add necessary modifications, when your product will be stable, without frequent changes. Of cause, will send you all changes to consider.

I apologise, that can't help with coding right now, because all my efforts are spent to my own mods, which will be available soon. But if additional donations can help, that's not a problem. Your product is one of "everybody must have".

ssslippy
01-05-2009, 07:34 PM
So is it possible to be able to allow attachments?

cygy2k
01-05-2009, 09:58 PM
Question - does it allow you to setup a form where a usergroup has access to submit it (i.e. to a new post in a thread) but have it submit into a forum they don't have usergroup access to (i.e. a mod-only forum)?

Also - amazing mod, this is quickly going to be one of my favorites.

bananalive
01-06-2009, 07:18 AM
Question - does it allow you to setup a form where a usergroup has access to submit it (i.e. to a new post in a thread) but have it submit into a forum they don't have usergroup access to (i.e. a mod-only forum)?

Also - amazing mod, this is quickly going to be one of my favorites.

Yes

bananalive
01-06-2009, 07:23 AM
So is it possible to be able to allow attachments?

No yet...

Vinyljunky
01-06-2009, 09:51 AM
Very nice

Thanks

VinylJunky

bananalive
01-06-2009, 11:11 AM
hi, bananalive, i hope, you've got my preliminary respects :)

Tested 1.7.

1. It would be nice to replace groups selection with multibox, at least in mod settings. Product code looks like this:

<options><settinggroup name="general" displayorder="30"><setting varname="usergroupsexample" displayorder="10"><datatype>free</datatype>
<optioncode>usergroup:5</optioncode>
</setting>
</settinggroup>
</options>
Blank selection can meen "All groups" or "No Groups", depending on setting type. I don't know, if it's possible to use the same selection interface in form editor, but that would be very user-friendly - less time & less mistakes during setup.
That is very very useful - never seen it before. Two questions though: is it compatible with v3.6 and how can I use the array it outputs?

Its possible to do it on 'edit form' via custom query to do it quite easily - I'll add that soon.
2. It would be nice to have template editor for each form. For example, if standard template doesn't saticfy custom needs.

I don't think, that complicated editor is necessary, just a simple text area, where one can enter any bbcode & marcoses with variable names and values. If none entered - then standard one is used.
I like this idea :D.
(*) Please, list available macroses in product description.
Pardon my ignorance, but what are macroses?
3. About custom error messages and additional contact fields for the guests. I think, in my case, that's essention feature for user-friendly forms. But i don't insist. Anyway, nobody prevent me to add necessary modifications, when your product will be stable, without frequent changes. Of cause, will send you all changes to consider.

I apologise, that can't help with coding right now, because all my efforts are spent to my own mods, which will be available soon. But if additional donations can help, that's not a problem. Your product is one of "everybody must have".
p.s. thanks for all your help :D

Vitaly
01-06-2009, 04:49 PM
That is very very useful - never seen it before. Two questions though: is it compatible with v3.6 and how can I use the array it outputs?

No ideas about 3.6.

Output of that multiselection box (when you store settings in ACP) is a serialised array with selected groups IDs. Unserialise variable and enjoy :)

:5 (in example) = number of lines in box (if groups count is more, then scrolled)

Pardon my ignorance, but what are macroses?{username}, {q_1}, ...

That's my bad english :) .

Mike-D
01-06-2009, 06:06 PM
Example Form: http://www.bananalive.co.cc/misc.php?do=form&fid=2It'd be very helpful to provide a link without registering in that Forum!!!

bananalive
01-06-2009, 08:49 PM
No ideas about 3.6.

Output of that multiselection box (when you store settings in ACP) is a serialised array with selected groups IDs. Unserialise variable and enjoy :)

:5 (in example) = number of lines in box (if groups count is more, then scrolled)

{username}, {q_1}, ...

That's my bad english :) .
Cheers :D, I'll add that in tomorrow.
It'd be very helpful to provide a link without registering in that Forum!!!
There are very recent screenshots in first post if you don't want to register.

EyeintheSky57
01-06-2009, 10:00 PM
Is there any way to customize the Post Submit message?

Right now, after the form is submitted, a message comes up with a link to the thread where the data is posted.

That thread has restricted access so I would rather change the message to say something else.

Thanks.

bananalive
01-07-2009, 02:09 PM
Is there any way to customize the Post Submit message?

Right now, after the form is submitted, a message comes up with a link to the thread where the data is posted.

That thread has restricted access so I would rather change the message to say something else.

Thanks.

This will be available with the next release.

abdelghani68
01-07-2009, 03:04 PM
Can you made for the widh is 100% of the page please and there is a font with a color for the question...? thanks

bananalive
01-07-2009, 04:22 PM
Can you made for the widh is 100% of the page please and there is a font with a color for the question...? thanks

To change the width of form to 100%:
Open template form_view
Find:<div style="width:640px" align="left">
Replace with:
<div style="width:100%" align="left">You can use bbcode in question to make them coloured:
Example Code:
Question
Example Output:
Question

ssslippy
01-07-2009, 11:08 PM
The * and : are linked together. So if the question is not mandatory it removes the :. Also note that when you put a ? proper grammar says you should not have a : after it. I would totally remove the : and the person creating the form can add it.

Also I tried using the regular expression ^[a-zA-Z0-9\s]+$ which i use to restrict on user names of people who register on my forum. This only allows normal english and numbers.

I get this error

Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in [path]/misc.php(97) : eval()'d code on line 596

bananalive
01-08-2009, 02:22 PM
The * and : are linked together. So if the question is not mandatory it removes the :. Also note that when you put a ? proper grammar says you should not have a : after it. I would totally remove the : and the person creating the form can add it.
I'd noticed that as well and have already changed it for the next release.

If you wish to remove the ':' from the questions:Find and remove in the product file this line:
$formbit['question'] = $formbit['question'] . ":";
$formbit['question'] = $formbit['question'] . ":";
Also I tried using the regular expression ^[a-zA-Z0-9\s]+$ which i use to restrict on user names of people who register on my forum. This only allows normal english and numbers.

I get this error

Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in [path]/misc.php(97) : eval()'d code on line 596
You need to add / to beginning and end of the code. /^[a-zA-Z0-9\s]+$/

ShMilO
01-08-2009, 03:49 PM
first i have to say good work
i really liked this form mod

my question is this

is there a way for non registered users ( default group 2 )
to fill forms ???
now it asks to login

in my forum i want a form for guests to fill so they can ask for an invite

bananalive
01-08-2009, 04:23 PM
first i have to say good work
i really liked this form mod

my question is this

is there a way for non registered users ( default group 2 )
to fill forms ???
now it asks to login

in my forum i want a form for guests to fill so they can ask for an invite
There was one line prohibiting guests posting new thread which I've replaced now and will be in the next release. In the next release will also be human verification option to reduce spam.

bananalive
01-08-2009, 04:29 PM
Has anyone tested this on vb 3.8? I'll upgrade to it today/ tomorrow, hopefully it will work.

bananalive
01-08-2009, 04:31 PM
Here's pre-release v1.8 - should all be working

Note: You will need to select the usergroups allowed to view/edit forms

v1.8
- Forumid/threadid/username can be specified by input via {value=X} in dropdown, single line input or radio buttons
- Human verification question
- Multiple dropdown select for form usergroup permissions (still optional - leave blank to not use)
- Option to show link to form list in navbar and quick links (separate options)
- Form can be emailed

Gleedo
01-08-2009, 04:53 PM
Here's pre-release v1.8 - should all be working



Hi Banana, Just installed this new pre-release and noticed that when your configure EasyForms in the vBulletin options - there is an option that I think should not be there lol:

Option = Auto insert link to tournaments in navbar?

I think that must have accidentaly made it in by mistake from the tournaments mod :p

EDIT: Also just noticed that on a 3.7.3 PL1 system, the quick links option is not displaying like it does on my 3.7.4 system. Although on my 3.7.4 system, i do have the tournaments mod installed, but not on my 3.7.3.

ShMilO
01-08-2009, 04:58 PM
There was one line prohibiting guests posting new thread which I've replaced now and will be in the next release. In the next release will also be human verification option to reduce spam.

thx

is there an ETA on the next release ?

or maybe you can write the line that allows guests to post the form

bananalive
01-08-2009, 04:59 PM
Hi Banana, Just installed this new pre-release and noticed that when your configure EasyForms in the vBulletin options - there is an option that I think should not be there lol:

Option = Auto insert link to tournaments in navbar?

I think that must have accidentaly made it in by mistake from the tournaments mod :p

Yes i copied the code from tournaments mod to save re-typing it out and forgot to rename that bit. Fixed in attached file.

Also if the question ends with a '?' then the form will not add a ':' on the end of it.

bananalive
01-08-2009, 05:01 PM
thx

is there an ETA on the next release ?

or maybe you can write the line that allows guests to post the form
I would post the line here but a lot of the code has changed in v1.8

You can download v1.8 here (https://vborg.vbsupport.ru/attachment.php?attachmentid=92028&d=1231441185) - I don't think anything major will be added (if anything at all) before I release it properly in the first post of the thread

bananalive
01-08-2009, 05:04 PM
EDIT: Also just noticed that on a 3.7.3 PL1 system, the quick links option is not displaying like it does on my 3.7.4 system. Although on my 3.7.4 system, i do have the tournaments mod installed, but not on my 3.7.3.
Just checked and it works fine on vbulletin v3.7.5 with tournament mod installed and both display. also tested it with tournament mod disabled and the links still displayed.

Sawa Dee SohL
01-08-2009, 06:08 PM
hi, I currently use the 'Form Hack' and am curious as to if this might be a better solution...

I'm trying to set a Mod up for Reviews and Guides that are submitted to my site...

Is there a way that once they fill out the form, the form is posted - in a different format? For example some fields they fill out, will not show - and some fields they fill out, will show in different spots on the form (after accepted)

Example here Left 4 Dead Review (http://thesocialrev.com/forum/showthread.php?t=1896)

You see 'Title of Review' - is different then the title of post - can the 'Title of review' = thread title?

---

I'm also curious as to how to set this up, so the form itself once accepted - posts onto a Custom page created.

Like this example: Example of Custom Page (http://www.gamefaqs.com/console/xbox360/review/944199.html)

And once inside the page that has the reviews, the review(form) itself, could be made to look like this: Example of Submitted Review (http://www.gamefaqs.com/console/xbox360/review/R130427.html)

bananalive
01-08-2009, 06:39 PM
hi, I currently use the 'Form Hack' and am curious as to if this might be a better solution...

I'm trying to set a Mod up for Reviews and Guides that are submitted to my site...

Is there a way that once they fill out the form, the form is posted - in a different format? For example some fields they fill out, will not show - and some fields they fill out, will show in different spots on the form (after accepted)
I'm going to be adding a form output layout field soon where you can customise the layout of the form's output.

Example here Left 4 Dead Review (http://thesocialrev.com/forum/showthread.php?t=1896)

You see 'Title of Review' - is different then the title of post - can the 'Title of review' = thread title?
You can specify a different title of thread according to one of the fields or custom input.


I'm also curious as to how to set this up, so the form itself once accepted - posts onto a Custom page created.

Like this example: Example of Custom Page (http://www.gamefaqs.com/console/xbox360/review/944199.html)

And once inside the page that has the reviews, the review(form) itself, could be made to look like this: Example of Submitted Review (http://www.gamefaqs.com/console/xbox360/review/R130427.html)
You'd have to edit the plugin and add a new form action - to do that would require php knowledge

bigcurt
01-09-2009, 04:39 PM
Thanks a ton for the work on this mod? Can anyone confirm this works for 3.6 versions?

Thanks,
Curt

ShMilO
01-09-2009, 06:26 PM
I would post the line here but a lot of the code has changed in v1.8

You can download v1.8 here (https://vborg.vbsupport.ru/attachment.php?attachmentid=92028&d=1231441185) - I don't think anything major will be added (if anything at all) before I release it properly in the first post of the thread

i downloaded and upgraded the mod

but when i try to get to the form link as a guest
i still get to the login page :(

bananalive
01-10-2009, 08:56 AM
i downloaded and upgraded the mod

but when i try to get to the form link as a guest
i still get to the login page :(
Have you given them permissions in Easy Forms Options?

ShMilO
01-11-2009, 01:55 PM
Have you given them permissions in Easy Forms Options?

i did in the VB options

not in the form permmisions

when i try to change to groups allowed in the form options i get an SQL error

MySQL Error : Unknown column 'submitmessage' in 'field list'
Error Number : 1054

and it happens when i try to make a new form as well ( when trying to set the permissions )

bananalive
01-11-2009, 02:11 PM
i did in the VB options

not in the form permissions

when i try to change to groups allowed in the form options i get an SQL error

MySQL Error : Unknown column 'submitmessage' in 'field list'
Error Number : 1054

Download this version here (https://vborg.vbsupport.ru/attachment.php?attachmentid=92032&d=1231447527) which should fix the mysql error.

ShMilO
01-11-2009, 05:11 PM
Download this version here (https://vborg.vbsupport.ru/attachment.php?attachmentid=92032&d=1231447527) which should fix the mysql error.

well i found the solution

i completly removed the mod
and then installed the newest version ( not the one you gave me here )
instead of upgrading as before
and it works , and guests see the form

thanks a lot bananalive

Sawa Dee SohL
01-12-2009, 05:14 PM
Hey banana, what stage are you at with putting the form to look differently after accepted/sent in?

That's a big thing I need and i dont wanna customize the other hackk I have, or this - would a donation help get it up there? PM if interested

bananalive
01-12-2009, 05:19 PM
Hey banana, what stage are you at with putting the form to look differently after accepted/sent in?

That's a big thing I need and i dont wanna customize the other hackk I have, or this - would a donation help get it up there? PM if interested

Since v1.9 you can customize the look of your form. You can download v2.0 in this thread: https://vborg.vbsupport.ru/showthread.php?t=201097

arkkhoax
01-16-2009, 04:59 AM
I've not had a change to install this yet but I had a little question.

The thing I like about Form Hack is that I can apply logic to the resulting thread. I can use IF statements and perform logic on the inputs to generate the output of the thread and title. Is this easy to do with Easy Forms or is variable substitution as good as it gets for now? I'm not super clear from just reading the thread and looking at the pictures if it is possible or easy to apply some more advanced logic.

bananalive
01-17-2009, 02:30 PM
I've not had a change to install this yet but I had a little question.

The thing I like about Form Hack is that I can apply logic to the resulting thread. I can use IF statements and perform logic on the inputs to generate the output of the thread and title. Is this easy to do with Easy Forms or is variable substitution as good as it gets for now? I'm not super clear from just reading the thread and looking at the pictures if it is possible or easy to apply some more advanced logic.
Where do you want the conditionals?

I'm thinking of adding hook locations for custom php code.

mhackl
02-02-2009, 07:31 PM
Is there a way to choose a location to redirect the browser after the form is submitted?

bananalive
02-03-2009, 04:34 PM
Is there a way to choose a location to redirect the browser after the form is submitted?

Redirection after form is submitted is coming in v2.8

TrIn@dOr
10-05-2014, 12:56 PM
Please help.

Database error in vBulletin 3.7.4:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `forms` (
`fid` int(11) NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`description` text NOT NULL,
`displayorder` int(10) NOT NULL,
`action` int(3) NOT NULL,
`where` varchar(200) NOT NULL default '',
PRIMARY KEY (`fid`)
) TYPE=MyISAM;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9
Error Number : 1064
Request Date : Sunday, October 5th 2014 @ 08:55:38 AM
Error Date : Sunday, October 5th 2014 @ 08:55:38 AM
Script : http://www.xn--lossureos-r6a.com/admincp/plugin.php?do=productimport
Referrer : http://www.xn--lossureos-r6a.com/admincp/plugin.php?do=productadd
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.5.38-35.2

blind-eddie
10-05-2014, 06:30 PM
Please help.

Database error in vBulletin 3.7.4:

Invalid SQL:

CREATE TABLE IF NOT EXISTS `forms` (
`fid` int(11) NOT NULL auto_increment,
`title` varchar(255) NOT NULL default '',
`description` text NOT NULL,
`displayorder` int(10) NOT NULL,
`action` int(3) NOT NULL,
`where` varchar(200) NOT NULL default '',
PRIMARY KEY (`fid`)
) TYPE=MyISAM;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'TYPE=MyISAM' at line 9
Error Number : 1064
Request Date : Sunday, October 5th 2014 @ 08:55:38 AM
Error Date : Sunday, October 5th 2014 @ 08:55:38 AM
Script : http://www.xn--lossureos-r6a.com/admincp/plugin.php?do=productimport
Referrer : http://www.xn--lossureos-r6a.com/admincp/plugin.php?do=productadd
IP Address :
Username :
Classname : vB_Database
MySQL Version : 5.5.38-35.2

Open the product,

Find:

Type=MyISAM

Change to:

ENGINE=MyISAM

Save, re-upload product.