Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
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
  #522  
Old 02-28-2009, 10:07 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by frogster View Post
Hello,

I installed and can submit a form with and without a picture attachment. However, when I attach a picture and click preview I get this:

Fatal error: Call to undefined function construct_attachment_add_js() in /home/content/g/a/l/galvanm/html/app/webroot/forum/misc.php(100) : eval()'d code on line 807
What vbulletin version are you using? Are you using any modifications which alter the attachment system?
Reply With Quote
  #523  
Old 02-28-2009, 10:16 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michigan Morels View Post
Questions on number and dollar formating.

Problem 1. In a single line text field I put this
PHP Code:
/(d+)/ 
in the Regular Expression:

However when I try to submit a form I get the invalid format error.
See attach. Attachment 95542

I'm using vB 3.7.4 and Easy Forms 3.1


Question 2. Is it possible to force number in text field so that both (5) and (5.00) would show as 5.00 (with decimal) and not 5 (without decimal), on submitted post? or make them both a dollar number ($5.00)
I can live without the dollar format if too difficult, but would like the other options.
Use
Code:
/(\d+)/
Use php code at Form hook: Form Start:
PHP Code:
$q[8] = $vbulletin->input->clean_gpc('p'8TYPE_NUM);
$q[8] = vb_number_format($q[8], 2);
$_POST['8'] = $q[8]; 
replace 8 with appropriate question hash
Reply With Quote
  #524  
Old 02-28-2009, 10:17 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by alkank View Post
hey there. great application. but i have a same problem that is like in the past posts. i use 3.1 and when i disallow registered users to edit forms they can not see the forms. i want them to see. use thr forms but not to edit or delete. thenk you so much..

vbulletin ver. : 3.81
www.amatorbalikcilar.net
Change their permissions to view forms in vbulletin options
Reply With Quote
  #525  
Old 02-28-2009, 01:18 PM
Gizmo999 Gizmo999 is offline
 
Join Date: Dec 2005
Location: In my own virtual world
Posts: 126
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to edit a completed form if its saved to database? currently admins can view the results, delete the results but not edit the results
Reply With Quote
  #526  
Old 02-28-2009, 02:32 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
I'll have to have think about this. There is probably a way to use the hooks so that you only have to have one form.
WOW...I sure hope so. I thought I would go ahead and just create 60 something forms but they have custom output so I just realized that I can't just cut and past the custom output because the question numbers are different for each one, even though they are the same questions.
Reply With Quote
  #527  
Old 02-28-2009, 03:26 PM
frogster frogster is offline
 
Join Date: Feb 2009
Posts: 73
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
What vbulletin version are you using? Are you using any modifications which alter the attachment system?

I am using vB 3.8. I have the VB blog installed, and the FB Connect mod installed besides yours. I installed the update and now I get this when trying to preview...pretty much the same.

Fatal error: Call to undefined function construct_attachment_add_js() in /home/content/g/a/l/galvanm/html/app/webroot/forum/misc.php(100) : eval()'d code on line 1704

Also, when a user submits a form to a new thread, it goes into moderation. I already made sure the newpost visable is set to 1 and checked all my forum options and everything seems to be set right. Not sure what the problem is. Hopefully I can get this fixed as this is a great mod that I would love to use.
Reply With Quote
  #528  
Old 02-28-2009, 03:35 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gizmo999 View Post
Is it possible to edit a completed form if its saved to database? currently admins can view the results, delete the results but not edit the results
Nope
Reply With Quote
  #529  
Old 02-28-2009, 03:43 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
WOW...I sure hope so. I thought I would go ahead and just create 60 something forms but they have custom output so I just realized that I can't just cut and past the custom output because the question numbers are different for each one, even though they are the same questions.
  1. Create custom question
  2. php code:
    PHP Code:
    $answer '<select name="'.$formbit[id].'">';
    $answer .= '<option></option>';
    $thisanswer $q[$formbit[id]];
    $threads $db->query_read("SELECT * FROM " TABLE_PREFIX "thread
    WHERE forumid = '10' 
    ORDER BY title ASC"
    );
        while(
    $row $db->fetch_array($threads)) {
    $answer .= '<option value="'.$row[threadid].'"';
    if (
    $row[threadid] == $thisanswer) {
    $answer .= 'selected="selected"';
    }
    $answer .= '>'.htmlspecialchars($row[title]).'</option>';
    }
    $answer .= '</select>'
  3. Replace 10 with appropriate forumid
  4. Edit Form Hook: Before Submit
    PHP Code:
    $form['threadid'] = $q[1]; 
  5. Replace 1 with appropriate question hash
Reply With Quote
  #530  
Old 02-28-2009, 04:26 PM
Andyrew Andyrew is offline
 
Join Date: Aug 2005
Location: UK
Posts: 250
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to make a form that will add the output into an existing bbcode table in a thread,
even if the form can be only used by me, it would make it a lot easier than keep editing a bbcode table.
Reply With Quote
  #531  
Old 02-28-2009, 10:13 PM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Edit plugin: Easy Forms Part 1

Find:
PHP Code:
/*$newpost['prefixid'] =& '';*/ 
Replace:
PHP Code:
$newpost['prefixid'] =& 1''
Replace 1 with the appropriate prefixid
I get this error:

Parse error: syntax error, unexpected T_LNUMBER, expecting T_NEW or T_STRING or T_VARIABLE or '$' in /home/topnotch/public_html/forums/misc.php(100) : eval()'d code on line 438
Reply With Quote
Reply

Thread Tools

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 06:35 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.11478 seconds
  • Memory Usage 2,383KB
  • 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
  • (1)bbcode_code
  • (6)bbcode_php
  • (8)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
  • (10)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