vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   New Posting Features - Easy Forms (Old Thread) (https://vborg.vbsupport.ru/showthread.php?t=200340)

bananalive 12-31-2008 10:00 PM

Easy Forms (Old Thread)
 

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 question
Form can Submit to:
  • new thread in forum
  • new post in thread
  • new pm to user
  • email address
Installation:More 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

Quote:

Originally Posted by dxflw (Post 1698467)
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

Code:

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

bananalive 01-01-2009 12:58 PM

Quote:

Originally Posted by ImmortalForums (Post 1698476)
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

Quote:

Originally Posted by KatieG (Post 1698479)
Just tried this and getting

Code:

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

Quote:

Originally Posted by YsTyle (Post 1698484)
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

Quote:

Originally Posted by adhmwagde (Post 1698487)
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

Quote:

Originally Posted by bananalive (Post 1698485)
When importing product? creating a new form?

(you missed off part of error message)


Creatiing a Form


Code:

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

Quote:

Originally Posted by bananalive (Post 1698490)
There is no admin demo atm

Error, this form does not exist.

bananalive 01-01-2009 01:16 PM

Quote:

Originally Posted by KatieG (Post 1698491)
Creatiing a Form


Code:

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

Quote:

Originally Posted by adhmwagde (Post 1698495)
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

Quote:

Originally Posted by bananalive (Post 1698500)
Re-download and import product-file


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

Code:

Warning: in_array() [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]: 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:


Code:

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 :

Quote:

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

Quote:

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

Quote:

Originally Posted by KatieG (Post 1698506)
OK it now creats the form but I recive this at the top of the Page

Code:

Warning: in_array() [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]: 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?
Quote:

Originally Posted by abdelghani68 (Post 1698511)
Thanks for this product!

I have this error when I validated a form:


Code:

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 :



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?
Quote:

Originally Posted by DjEddie (Post 1698598)
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
Quote:

Originally Posted by SageStone (Post 1698683)
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.

Quote:

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

Quote:

Originally Posted by Gleedo (Post 1698764)
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

Quote:

Originally Posted by bananalive (Post 1698702)
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

Quote:

Originally Posted by DjEddie (Post 1698768)
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

Quote:

Originally Posted by Brittany (Post 1698949)
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

Quote:

Originally Posted by Gleedo (Post 1699151)
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

Quote:

Originally Posted by blind-eddie (Post 1699487)
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

Quote:

Originally Posted by Brittany (Post 1699498)
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

Quote:

Originally Posted by bananalive (Post 1699680)
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?


All times are GMT. The time now is 10:24 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05375 seconds
  • Memory Usage 1,857KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (8)bbcode_code_printable
  • (25)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete