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
  #1182  
Old 07-06-2009, 02:37 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by hqlman View Post
I found a small bug, when writing a description i used inverted commas like: "Introduce Yourself" , on my form the output is as such: "Introduce Yourself"

Im not sure how this bug can be corrected, anyone?
I can remember fixing this.

TRy attached file
Attached Files
File Type: xml product-easyforms v3.7.xml (179.1 KB, 9 views)
Reply With Quote
  #1183  
Old 07-06-2009, 03:06 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quantnet.org View Post
I have added a question with date type and it's not compulsory i.e I don't have to choose any date. However, the default format for that date field is already have Jan chosen and if I don't pick any date, it will display the error and prevent me from go to other questions.
Try attached file
Attached Files
File Type: xml product-easyforms v3.7.xml (179.2 KB, 11 views)
Reply With Quote
  #1184  
Old 07-06-2009, 03:07 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quantnet.org View Post
1) The date output is right now as 3\30\2006, how do I change it to 3/30/2006
2) Which template I need to edit to show the * in red.
1. Edit question and change the date spacer.

2. Findin plugin Easy Forms Part 1:
PHP Code:
$formbit['question'] = $formbit['question'] . "*"
Replace:
PHP Code:
$formbit['question'] = $formbit['question'] . "[color=red]*[/color]"
Reply With Quote
  #1185  
Old 07-06-2009, 03:11 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by steve71 View Post
Is it possible to have the "insert image" icon added to the "field using vb editor"?
vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes
Reply With Quote
  #1186  
Old 07-06-2009, 03:15 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quantnet.org View Post
Is there any plan in the future to store the form data as fields in the database. It will allow the sort by column in the result table.
I've seen a couple of people asking this so it would be awesome if you can add this feature.

Second, can you add a features for members to come back later to edit/update/finish their answers in the form?
This will have to do with a tracking of how many forms each member submit.
Yes that is included in v3.7

The number of times a user submits each form is recorded with v3.7 but not ability to update answers already submitted
Reply With Quote
  #1187  
Old 07-06-2009, 03:18 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ConfusedCartman View Post
First of all, thanks for the great mod!

I'm having a bit of an issue, though, and since I'm not too well versed in PHP, I may need your help. I'm trying to work around the fact that there's no easy way to offer the user a choice of a prefix (though if there is, let me know - I tried the code you offered earlier on, but it didn't work). Anyway, I'm adding a radio selection in which the top option will include a preset prefix, and the bottom option will not include any prefix. I'm trying to use an if-else combined with a str_replace in order to add the right "prefix" (actually, it's just extra text) when the option is selected.

In Form Hook: Before Submit:
PHP Code:
if ($q[6] == 1)
{
    
$formoutput str_replace("{f4f}""[f4f]F4F:[/f4f]"$formoutput);
} else {
    
$formoutput str_replace("{f4f}"""$formoutput);

{f4f} is the placeholder that I'm using in order to place the text in the right place. I have the {f4f} placeholder in the Thread/ PM/ Email Title field, but it doesn't get replaced when I submit the form - it just remains in the title. I'm not saying it's your fault - if anything, it's probably a product of poor coding on my part. I'm not very familiar with PHP, so I just know enough to get by. Any chance you can help? It would be greatly appreciated.
The prefix is a seperate field in thread database table not part of the post. $formoutput is what gets stored as the post and does not contain prefix data.
Reply With Quote
  #1188  
Old 07-06-2009, 04:31 PM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
1. Edit question and change the date spacer.

2. Findin plugin Easy Forms Part 1:
PHP Code:
$formbit['question'] = $formbit['question'] . "*"
Replace:
PHP Code:
$formbit['question'] = $formbit['question'] . "[color=red]*[/color]"
1) One thing I notice is that for the question of date type which is not required, if you don't choose any date, the result will display as //. Can you make it blank if we don't pick any date?
2) I did as told and the question now show like this
PHP Code:
Program:[color=red]*[/color
Example http://www.quantnet.org/forum/misc.php?do=form&fid=1
Reply With Quote
  #1189  
Old 07-06-2009, 05:14 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Quantnet.org View Post
1) One thing I notice is that for the question of date type which is not required, if you don't choose any date, the result will display as //. Can you make it blank if we don't pick any date?
2) I did as told and the question now show like this
PHP Code:
Program:[color=red]*[/color
Example http://www.quantnet.org/forum/misc.php?do=form&fid=1
1. Import attached file.

2. Woops, should have been html code

Find in plugin Easy Forms Part 1:

PHP Code:
$formbit['question'] = $formbit['question'] . "*"
Replace:

PHP Code:
$formbit['question'] = $formbit['question'] . "<font color=red>*</font>"
Attached Files
File Type: xml product-easyforms v3.7.xml (179.3 KB, 10 views)
Reply With Quote
  #1190  
Old 07-06-2009, 05:26 PM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

bananalive,
Thanks, it works.
1) It would be nice to edit this phrase as well to show the red color.
Quote:
Please Note: Questions proceeded by an asterisk (*) are compulsory.
2) Which template do I edit to rearrange the form result table? I like to remove/add another column, for example
3) The sort by column header still does not work. You mentioned about using javascript in 3.7. Is it implemented yet?

Thanks for all your hard work. This is a heck of a mod.
Reply With Quote
  #1191  
Old 07-06-2009, 05:35 PM
Quantnet Quantnet is offline
 
Join Date: Nov 2006
Location: NYC
Posts: 649
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
2. No.
3. You can limit how many times a user can submit the form by editing a form.
You answered to No to the question of whether a member can go back and edit/update their partially filled form.

How about give the user the option to delete their forms and enter a new one with updated info. Would it be able to have a Delete/Add button next to the form result table so the user can click to remove one of their form, and replace it with another.

Can AJAX feature be implemented in the future?

You know i'm trying to mold this into the trackitt.com feature so hope you can understand
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 01:32 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.05555 seconds
  • Memory Usage 2,403KB
  • 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
  • (9)bbcode_php
  • (10)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
  • (4)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
  • (13)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