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
  #902  
Old 04-22-2009, 09:08 AM
Gotmian's Avatar
Gotmian Gotmian is offline
 
Join Date: Jun 2005
Location: Athens
Posts: 28
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey, great mod!

Is there a way for me when the email is sent out to include there the username of the member who used the form?
Reply With Quote
  #903  
Old 04-22-2009, 09:19 AM
amjadz4's Avatar
amjadz4 amjadz4 is offline
 
Join Date: Aug 2007
Posts: 245
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gotmian View Post
Hey, great mod!

Is there a way for me when the email is sent out to include there the username of the member who used the form?
just add a field for named "username" so the user who is typing will enter his username.
Reply With Quote
  #904  
Old 04-22-2009, 02:05 PM
Elenna Elenna is offline
 
Join Date: Jan 2006
Location: St. Charles, MO
Posts: 422
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Gotmian View Post
Hey, great mod!

Is there a way for me when the email is sent out to include there the username of the member who used the form?
You can include {username} in the form if you'd like (perhaps in the title?).

If you'd rather their username appear as the answer to a question, do this:

Create a new question, selecting "Custom" for the type. Name it "Username".

In the code field, enter in:
Code:
$answer = '<input type="text" readonly="readonly" id="q_' . $formbit[id] . '" name="' . $formbit[id] . '" value="' . $vbulletin->userinfo[username] . '" style="background:silver;"  />';
Then their username is sent in like it is the answer to a question in the form, and they cannot change it.
Reply With Quote
  #905  
Old 04-23-2009, 12:33 AM
Martyh Martyh is offline
 
Join Date: Jan 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi BananaLive,

( Or anyone that can help.)

When I submit the form below ( your example ) to a HTML page , it directs me to a page of smileys located here

http://localhost/forum/misc.php?user=bob

It seems to cut off the "do=form&fid=1" part but does add the "user=bob" part"
I'm kinda stuck on that one.

.
<form name="form" action="http://localhost/forum/misc.php?do=form&fid=1" method="get">
Username:
<input type="text" name="user" />
<input type="submit" value="Submit" />
</form>




Another question on this one.

Quote:
Originally Posted by bananalive View Post
How do I get parameter from url of form posted in custom output? (must have parameter)

1. 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') . '");');
          } 
2. Form Hook: Before Submit
PHP Code:
     $hiddenfield1 $vbulletin->input->clean_gpc('p''hiddenfield1'TYPE_UINT);
      
$formoutput str_replace('{param}'"$hiddenfield1"$formoutput); 
3. Use {param} in custom output.
Do I need to change anything in these codes to be able to use the form on the top of the page ?

When you say "use {param} in custom output" I really don't know what that means could someone explain that in a little more detail please ? . Sorry for my inexperience I am willing to pay/donate (to you or to your favorite charity), to anyone who can help me out with this.

Thanks,
Reply With Quote
  #906  
Old 04-23-2009, 08:39 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martyh View Post
Hi BananaLive,

( Or anyone that can help.)

When I submit the form below ( your example ) to a HTML page , it directs me to a page of smileys located here

http://localhost/forum/misc.php?user=bob

It seems to cut off the "do=form&fid=1" part but does add the "user=bob" part"
I'm kinda stuck on that one.

.
<form name="form" action="http://localhost/forum/misc.php?do=form&fid=1" method="get">
Username:
<input type="text" name="user" />
<input type="submit" value="Submit" />
</form>



Another question on this one.


Do I need to change anything in these codes to be able to use the form on the top of the page ?

When you say "use {param} in custom output" I really don't know what that means could someone explain that in a little more detail please ? . Sorry for my inexperience I am willing to pay/donate (to you or to your favorite charity), to anyone who can help me out with this.

Thanks,
HTML Code:
<form name="form" action="misc.php" method="get">
<input type="hidden" name="do" value="form" />
<input type="hidden" name="fid" value="1" />
Username:
<input type="text" name="user" />
<input type="submit" value="Submit" />
</form>
PHP Code:
$hiddenfield1 $vbulletin->input->clean_gpc('g''user'TYPE_NOHTML);
if (empty(
$hiddenfield1))
{
  
$errormessage "Error, this form needs a username.";
  eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');

Custom output enables you to design your own layout using the parts of the form.
PHP Code:
$hiddenfield1 $vbulletin->input->clean_gpc('p''hiddenfield1'TYPE_NOHTML);
$formoutput str_replace('{param}'"$hiddenfield1"$formoutput); 
The alternative would be to use this code: (it justs adds the field like another question at the end of the form output)
PHP Code:
$formoutput .= $form[preq] . "Username" $form[pstq];
$formoutput .= $form['prea'] . $hiddenfield1 $form[psta]; 
Reply With Quote
  #907  
Old 04-23-2009, 08:58 AM
Martyh Martyh is offline
 
Join Date: Jan 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks again BananaLive,

Let me make sure I'm not wasting your time here, I should do this ?

1.) Use the HTML code on my HTML template

2.) Use the first php code in my hook form start

3.) Use the second php code in my custom output window.

4.) OR use the last php code in place of the third one if I just want to add the field to the end of a form

Please correct where I may be wrong in this sequence.

Thanks
Reply With Quote
  #908  
Old 04-23-2009, 09:28 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martyh View Post
Thanks again BananaLive,


Let me make sure I'm not wasting your time here, I should do this ?

1.) Use the HTML code on my HTML template

2.) Use the first php code in my hook form start

3.) Use the second php code in my custom output window.

4.) OR use the last php code in place of the third one if I just want to add the field to the end of a form

Please correct where I may be wrong in this sequence.

Thanks
Yes apart from 3. The custom output is the bbcode/text which is how you want the form's post/email/etc. to look like.

3.) Use the second php code in Form Hook: Before Submit and then do a custom output
Reply With Quote
  #909  
Old 04-23-2009, 09:43 AM
Martyh Martyh is offline
 
Join Date: Jan 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

OK , a lot of progress. The field name shows up in the new thread at the end ( prefer that one ) but the value doesn't ( actual name entered in form )

Sorry to be a pain.

Thanks
Reply With Quote
  #910  
Old 04-23-2009, 02:12 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martyh View Post
Hi,

OK , a lot of progress. The field name shows up in the new thread at the end ( prefer that one ) but the value doesn't ( actual name entered in form )

Sorry to be a pain.

Thanks
view page source of form, and see if you get

<input type="hidden" name="hiddenfield1" ... />

Is there anything in the value="" part of it?
Reply With Quote
  #911  
Old 04-23-2009, 06:37 PM
zushiba zushiba is offline
 
Join Date: Jan 2009
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm looking through the help file for information on the save to database function but don't see anything. Anyone have any tips on what this does and how it works?
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:27 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.06109 seconds
  • Memory Usage 2,386KB
  • 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
  • (1)bbcode_html
  • (5)bbcode_php
  • (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
  • (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