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

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

Category: New Posting Features - Version: 4.0.x Rating:
Released: 01-27-2010 Last Update: 10-04-2011 Installs: 1410
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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)

Screenshots
There are two posts full of screenshots of this modificationInstallation
  1. Download and then extract .zip archive
  2. Upload the contents of upload folder to forum root
    (Allow Overwrite "YES" for overwrite)
    clientscript\easyforms.css -> \clientscript\
    clientscript\easyforms.js -> \clientscript\
  3. Import product file (product-easyforms v4.0.xml) in admincp
    AdminCP -> Plugins & Products -> Manage Products -> [Add/Import Product]
  4. Change usergroups permissions at:
    AdminCP -> vBulletin Options -> Easy Form Options
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
  • Human verification question
  • Custom Question (can query database or do whatever you want using php and html)
  • Date (month/ day/ year fields)
  • Address
  • Scale
Form can Submit to:
  • new thread in forum
  • new post in thread
  • new pm to user
  • email address
  • save to database
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
  • Quiz Mode
Support this Modification
  • Click 'Marked as Installed'
  • Rate it 'Excellent'
  • Consider a donation

Download Now

File Type: zip vb_easyforms_v4.3.0.zip (67.6 KB, 4491 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #472  
Old 05-13-2010, 09:58 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Some suggestions for coding:
  • Put code that is used throughout all actions (do=whatever) on top of each plugin. Example:
    Code:
    $fid = $vbulletin->input->clean_gpc('p', 'fid', TYPE_UINT);
    or, have each action its own plugin
  • I'd love to have the program creating a database table for each form. That would be very great. You then can make a review type out of it just with adding a database key so that there can only be one entry for one userid. Querying this data would be far more easy, though.
Reply With Quote
  #473  
Old 05-13-2010, 10:02 PM
ThorstenA's Avatar
ThorstenA ThorstenA is offline
 
Join Date: Nov 2004
Posts: 669
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Security issue. A user may delete other users results by entering their formresults id.

In plugin Easy Forms Part 2 replace
Code:
if ($_REQUEST['do'] == 'deleteformresult') 
{ 
    $caneditform = unserialize($vbulletin->options['caneditform']); 
    if ($caneditform && !is_member_of($vbulletin->userinfo, $caneditform)) 
    { 
        print_no_permission(); 
    } 
    $id = $vbulletin->input->clean_gpc('g', 'id', TYPE_UINT); 
    $fid = $vbulletin->input->clean_gpc('g', 'fid', TYPE_UINT); 
    $db->query_write("DELETE FROM " . TABLE_PREFIX . "formresults WHERE id=$id"); 
to
Code:
if ($_REQUEST['do'] == 'deleteformresult') 
{ 
    $caneditform = unserialize($vbulletin->options['caneditform']); 
    if ($caneditform && !is_member_of($vbulletin->userinfo, $caneditform)) 
    { 
        print_no_permission(); 
    } 
    $id = $vbulletin->input->clean_gpc('g', 'id', TYPE_UINT); 
    $db->query_write("DELETE FROM " . TABLE_PREFIX . "formresults WHERE id=$id and userid=" . $vbulletin->userinfo[userid] . ""); 
The $fid seems to be not needed and therefore does not need to be included in the url.
Reply With Quote
  #474  
Old 05-14-2010, 04:22 AM
riskofficer riskofficer is offline
 
Join Date: Dec 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA View Post
Bug: Poll displays free text entries
I think solution could be as I already wrote (it is more flexible than hardcoded question types restrictions):
Quote:
Originally Posted by riskofficer View Post
I don't use "Forum Result Poll" but may be this suggestion will be interesting: not pre-given text answers can't be "pollable", for example, when you ask users -- "what do you think about my mod" -- it can be one million different answers and in Poll Results they will show nothing interesting. But when you ask -- "how many times you have been to USA" for example, -- answers can repeat from one to another, and in Poll Results you can see interesting graphs. When you ask something and answers pre-given in check boxes, for example, Poll Results will be greate. That is why check box near question in Edit Form about Pollable or not question will be greate idea, as I think.

Sorry my English.
Like we already have checkbox about required this question or not.
Reply With Quote
  #475  
Old 05-14-2010, 07:38 PM
riskofficer riskofficer is offline
 
Join Date: Dec 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have prepared some suggestions about Form's "first page". May be they could be interesting (see attached picture).
Attached Images
File Type: gif suggestions.gif (36.5 KB, 0 views)
Reply With Quote
  #476  
Old 05-15-2010, 05:13 PM
riskofficer riskofficer is offline
 
Join Date: Dec 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Edit Bug (please see attached picture)
Attached Images
File Type: gif bug.gif (30.5 KB, 0 views)
Reply With Quote
  #477  
Old 05-16-2010, 01:17 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by riskofficer View Post
Edit Bug (please see attached picture)
Fixed in v4.1.1
Reply With Quote
  #478  
Old 05-16-2010, 01:19 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA View Post
Bug: Poll displays free text entries
In v4.1.1 added option to hide question types
Reply With Quote
  #479  
Old 05-16-2010, 01:20 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ThorstenA View Post
Bugs:
  1. I can not edit my own entry if the maximum number of entries is limited to one.
fixed in v4.1.1
Reply With Quote
  #480  
Old 05-16-2010, 01:21 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by XLCR GODFATHER View Post
I fully agree where leaving the delete option available makes it too easy for accidental click and should be a permission setting.
Fixed in v4.1.1
Added javascript popup to confirm the user wants to delete form result. Also added extras permissions for form results.
Reply With Quote
  #481  
Old 05-16-2010, 01:22 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just released v4.1.1 in first post

4.1.1 (16 May 2010)
- Fixed editing form result issue when 'Form Submit Limit' is reached
- Added additional permissions for editing form results and for deleting form results
- Added permission setting to allow all users the ability to view/edit/delete their result stored in database
- Added option of which question types NOT to display in Form Results Poll
- Enable bbcode parsing on Form Results Poll
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 05:23 PM.


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.09019 seconds
  • Memory Usage 2,375KB
  • 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
  • (3)bbcode_code
  • (6)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
  • (19)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
  • (3)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