Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Easy Forms - Create a form or multiple forms without php or html knowledge Details »»
Easy Forms - Create a form or multiple forms without php or html knowledge
Version: 3.6, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 01-07-2009 Last Update: 07-11-2009 Installs: 976
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

EASY FORMS FOR vB 4.x here


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)

Backwards compatible with vb v3.7.x and 3.6.8

Example Form | Help File | Version History

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
  • Custom Question (can query database or do whatever you want)
  • Date (month/ day/ year fields)
Form can Submit to:
  • new thread in forum
  • new post in thread
  • new pm to user
  • email address
  • save to database
Installation:More Features:
  • Form list categories (optional)
  • Preview form (can disable for individual forms)
  • Optional questions
  • Form Sections
  • Prefix support - you can choose which prefix you want thread to have
  • 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, poll timeout
  • 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)
  • Import/ Export your forms as XML files - great for transferring forms across forums or creating backups
  • Specify bbcode for questions/ answers/ sections for the form's output
  • Form Hooks: (uses php code)
    1. Before form submitted
      Useful for: your own form validation, multiple form outputs, etc.
    2. At form start
      Useful for: banning userids/usergroups from form, setting minimum post count,etc.
  • Attachments allowed for posting new thread
  • Mass Copy Forms & their questions
Coming soon:
  • Allow attachments for posting in thread
Translations:

Download Now

File Type: xml product-easyforms v3.6.xml (163.0 KB, 2648 views)
File Type: zip vb_easyforms v3.7beta.zip (36.6 KB, 2404 views)

Screenshots

File Type: jpg 7.jpg (83.4 KB, 0 views)
File Type: jpg 8.jpg (88.6 KB, 0 views)
File Type: jpg 9.jpg (89.6 KB, 0 views)
File Type: jpg 11.jpg (69.0 KB, 0 views)
File Type: jpg edit1.jpg (90.1 KB, 0 views)
File Type: jpg edit2.jpg (75.8 KB, 0 views)
File Type: jpg edit3.jpg (103.6 KB, 0 views)
File Type: jpg form_results_table.jpg (87.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
hpidriver, vbresults

Comments
  #632  
Old 03-09-2009, 04:59 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For some form, i need to implement such functionality:

1. Add 1 UINT parameter to form URL, when form is addressed
2. Disable form, if no parameter given
3. Send whis parameter in custom template via email (it will bу used to compose URL, such as "baselink/xxx/"."parameter")

That should be hidden from user interface.

What's the proper way to do that?
Reply With Quote
  #633  
Old 03-09-2009, 06:32 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Almost finished testing Easy-Forms as "feedback system". Here is list of comments, applyed to such use-case.

1. No option to "disable preview button".

Preview is good for forum posts, but very bad for feedback emails. User should not see, if additional information generated.

Possible solution - one more form option.

2. "Add field" has only basic fields set.

Almost any field have to be edited twice. Once - created. Second - to edit additional parameters.

Not critical. Just unconvenient.

3. Date separator is sent as HTML code in text emails

And date format is hardcoded. It's better to use format string from VB options (not from language preferences).

4. Form description is not "templateable" (no conditions, no variables)

Not convenient, when you wish to automatically generate helper lins, for example, based on user id, and so on.

It would be good to have the same power there, as in form template. With the same variables, just without questions.

(*) Don't know, if the same needed for field descriptions. For now - not, in my case.

5. Additional Notice would be sweet for page with forms list.

(shown as standard VB notice at the top)

Possible solution - one more product setting.

6. When form is hidden from list, it's good to hide "Forms" link from navbar path.

Imagine, that you have multiple forms, used for contacts, forum posts and so on. When user fill "hidden" form for forum post, he will see link to contacts page (forms list) in navbar. That's confusing.

Dont's know, what is better:

- separate option
- hide if form is not listed
- hide if preview button disabled

7. When user fill form, navbar shows text "Viewing form: FormName"

"Viewing form:" - absulutely unnecesary and confusing. Looks like strange debug message.

8. I'd show asterisks (*) for compulsory question with red color.

Can do so with template edit, but think, that would be useful for all as general template.

9. Email has wrong return-path.

If someone write me email via contacts (forms list) page, I expect reply back, but not to forum administrator's email

Possible solution:

- add "email" field and use it automatically in return-path, if filled. Also automatic check can be done, that email conforms to standard.
- if no such field used (or empty) - try to take from member profile

- can be done by hooks, but not convenient (and i don't know how now )

10. Captcha takes the whole row and have unnecessary border (group separator with name)

Is is possible to

- move captcha to right column, as other fields
- remove border
?

=================================================

More general things:

1. Form IDs and fields IDs are absolute and fixed.

That can cause huge problems, if you wish to export form to another site. If those IDs are already reserver to another form, information can be destroyed.

Possible solution:
- address form by text tag.
- numerate field in form namespace and allow duplicated field IDs, if those used for different forms.
- It would be also good to call form not by id, but by tag (as option). For example: misc.php?do=form&ftag=myformname

2. Mass import/export

It's normal practice to develop forms on debug site and then setup those on production. Function "export all" and "import all" would be convenient. At least for backups.

====================================

That's all for interface. Will review code a bit later.
Reply With Quote
  #634  
Old 03-10-2009, 04:30 PM
alduren alduren is offline
 
Join Date: Aug 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have various post icons in my forum.

It´s possible to select the post icon that you want to show in your new thread before form submitted??
Reply With Quote
  #635  
Old 03-10-2009, 04:48 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alduren View Post
I have various post icons in my forum.

It?s possible to select the post icon that you want to show in your new thread before form submitted??
  1. Import attached file
  2. add following to Form Hook: Before Submit
    PHP Code:
    $iconid 3
    where 3 is the post icon id
Attached Files
File Type: xml product-easyforms v3.3.xml (151.3 KB, 17 views)
Reply With Quote
  #636  
Old 03-10-2009, 05:13 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
For some form, i need to implement such functionality:

1. Add 1 UINT parameter to form URL, when form is addressed
2. Disable form, if no parameter given
3. Send whis parameter in custom template via email (it will bу used to compose URL, such as "baselink/xxx/"."parameter")

That should be hidden from user interface.

What's the proper way to do that?
Import attached file.

form Hook: Form start
PHP Code:
$hiddenfield1 $vbulletin->input->clean_gpc('g''param'TYPE_UINT);
if (empty(
$hiddenfield1))
    {
        
$errormessage "Error, this form needs a parameter.";
           eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
    } 
form Hook: Before Submit
PHP Code:
$hiddenfield1 $vbulletin->input->clean_gpc('p''hiddenfield1'TYPE_UINT);
$formoutput str_replace('{param}'"$hiddenfield1"$formoutput); 
Then you can use {param} in custom output.
Attached Files
File Type: xml product-easyforms v3.3.xml (151.6 KB, 9 views)
Reply With Quote
  #637  
Old 03-10-2009, 06:36 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
...Then you can use {param} in custom output.
Thanks for details.
Reply With Quote
  #638  
Old 03-10-2009, 10:22 PM
alduren alduren is offline
 
Join Date: Aug 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
  1. Import attached file
  2. add following to Form Hook: Before Submit
    PHP Code:
    $iconid 3
    where 3 is the post icon id
Worked like a charm. Thanks again!!!
Reply With Quote
  #639  
Old 03-10-2009, 10:29 PM
Trek Trek is offline
 
Join Date: Sep 2003
Posts: 664
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, I'm finally redoing my old form and I have to say... this really is easy! Nice work!

I've found one bug though (no idea if it's been reported already or not, too much to sort through in this thread.)

Anyway, if you don't end your form question with a ? it will automatically add a : to the end of your sentence, even if you don't want it. Not a big deal, but a little annoying to assume what I want.

Anyway, excellent work!
Reply With Quote
  #640  
Old 03-11-2009, 04:21 AM
SnowBot's Avatar
SnowBot SnowBot is offline
 
Join Date: Jul 2003
Location: Manchester UK
Posts: 631
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi

Great Mod

Have you got any example .xml form files so that people can see all the features?
Reply With Quote
  #641  
Old 03-11-2009, 05:01 AM
lazyseller lazyseller is offline
 
Join Date: Oct 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It be nice if someone could come up with some a form pack. Im not volunteering!
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:48 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05390 seconds
  • Memory Usage 2,385KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (4)bbcode_php
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (12)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete