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
  #1152  
Old 03-07-2011, 03:16 PM
zushiba zushiba is offline
 
Join Date: Jan 2009
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The BBCode format of forms with section headers is a little mucked up.

Sample:
Quote:
Annual Report Form.
Year
2011
Annual Report Title
69
Unit
22
Program Mission Statement.
23
Section 1: Program SummaryProgram Summary
25
Section II: Annual UpdateAnnual Update
27
Section III: Implications of Course-Program Alignment MatrixImplications of Course-Program Alignment Matrix
29
Section IV: Responses to student Achievement Outcome and Other1: Course Enrollment Trends
31
2: Course Success Rates
32
3: English, ESL, and Math Improvement Rates.
33
4: Declared Majors
34
5: Degrees and Certificates Earned
35
6: Other Data (Accuplacer, Student Evaluation of Course, etc.)
36
Section V: Summary of Major Findings.Summary of Major Findings.
38
Section VI: RecommendationsRecommendations
40
Section VII: Evaluation of Program Review and Unit Planning ProcessEvaluation of Program Review and Unit Planning Process
42
Evaluation of Program Review and Unit Planning Process
43
Screenshot of formatted BBCode

There is no break between section and the question immediately following the section. I've bolded the questions above in the example.
Reply With Quote
  #1153  
Old 03-08-2011, 06:18 AM
Faskis's Avatar
Faskis Faskis is offline
 
Join Date: Jul 2008
Location: Illinois
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Curious, is there any possibility we could see the mod functional with the new official vB Mobile style?
Reply With Quote
  #1154  
Old 03-09-2011, 02:14 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by GrandTheftGamer View Post
Curious, is there any possibility we could see the mod functional with the new official vB Mobile style?
Maybe, in the future, I haven't looked at the mobile style yet. Have you tried using it with the mobile style? I assume the form results wouldn't display very well in mobile style because they are very wide tables, but perhaps viewing & submitting the form would be fine.
Reply With Quote
  #1155  
Old 03-09-2011, 02:21 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by zushiba View Post
The BBCode format of forms with section headers is a little mucked up.

Sample:

Screenshot of formatted BBCode

There is no break between section and the question immediately following the section. I've bolded the questions above in the example.
Edit Form: Add \r\n to end of the section bb code

Attached Images
File Type: jpg rn.jpg (40.4 KB, 0 views)
Reply With Quote
  #1156  
Old 03-09-2011, 02:26 PM
zushiba zushiba is offline
 
Join Date: Jan 2009
Posts: 53
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sweet, that did the trick. Thanks bananalive you are 10 times over The Man™
Reply With Quote
  #1157  
Old 03-09-2011, 02:27 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ascroft View Post
OK - thanks - progress here.

1. I have changed the plugin to launch the form from forums 53 & 65. Thanks.

2. The PHP code now shows the full forum list in the form if I don't filter - but doesn't show anything in the drop down if I restrict this. For example only including 53,65 in the array?

3. The thread prefix which is also working off a drop down doesn't show anything in the list either until I submit, then it says its missing, and then the drop down is populated. I can then select and submit - as long as the filter isn't on as per 2.

The form hook before submit presently shows:

$form['prefixid'] = $qo['prefix'];
$forumid = $form['forumid'] = $qo['forumid'];

The first row I already had for the prefix, and then added the second row now. Maybe they should be reversed?

btw the PHP in the custom question for the prefix is:

require_once(DIR . '/includes/functions_prefix.php');
$thisanswer = $q[$formbit[id]];
$prefix_options = fetch_prefix_html($form['forumid'], $thisanswer, true);
$answer = '<select name="' . $formbit[id] . '" id="q_' . $formbit[id] . '" class="bginput">';
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>';
$answer .= $prefix_options;
$answer .= '</select>';


Finally, my initial test posted the thread in to the forum I launched the form (and is the default forum in the form body) from even though I selected another forum from the drop down list. I may have to do more testing re this point once a couple more of the other things are clarified.

Many thanks for your help.
Put the forum question first, then the plugin question second.

And then change the php of the plugin to:

PHP Code:
require_once(DIR '/includes/functions_prefix.php'); 
$thisanswer $q[$formbit[id]]; 
$prefix_options fetch_prefix_html($q['forumid'], $thisanswertrue); 
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>'
$answer .= $prefix_options
$answer .= '</select>'
But the person will have to click submit or preview after selecting/changing their forum, unless you have a default forumid to fetch prefixes from, so then the code above should be

PHP Code:
require_once(DIR '/includes/functions_prefix.php'); 
$thisanswer $q[$formbit[id]]; 
if (!
$form['forumid'])
{
$form['forumid'] = 53;
}
$prefix_options fetch_prefix_html($form['forumid'], $thisanswertrue); 
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>'
$answer .= $prefix_options
$answer .= '</select>'
Reply With Quote
  #1158  
Old 03-11-2011, 06:23 AM
ascroft ascroft is offline
 
Join Date: Jun 2010
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you - this is all good. Nearly there.

My one remaining issue is to do with the drop down list of the forums in the custom question (now #1 with prefix #2 question and yes I do have a default forum to get the prefixes from) and filtering using an array. I am using:

$answer = "<select name=\"$formbit[id]\" id=\"q_" . $formbit[id] . "\">";
foreach ($vbulletin->forumcache AS $forumid => $forum)
{
if (!in_array($qo['forumid'], array(53,9999,34,55,65)))
{
continue;
}
if ($qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>";

However I still don't get any values displayed - the drop down list is empty - would you mind please checking the syntax for this? (I am launching the form from forum 53 by the way)

Finally - one unrelated question - is it possible to display the prefix in the custom form output - I don't see a variable name for it and wondered.

Many thanks for your help.



Quote:
Originally Posted by bananalive View Post
Put the forum question first, then the plugin question second.

And then change the php of the plugin to:

PHP Code:
require_once(DIR '/includes/functions_prefix.php'); 
$thisanswer $q[$formbit[id]]; 
$prefix_options fetch_prefix_html($q['forumid'], $thisanswertrue); 
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>'
$answer .= $prefix_options
$answer .= '</select>'
But the person will have to click submit or preview after selecting/changing their forum, unless you have a default forumid to fetch prefixes from, so then the code above should be

PHP Code:
require_once(DIR '/includes/functions_prefix.php'); 
$thisanswer $q[$formbit[id]]; 
if (!
$form['forumid'])
{
$form['forumid'] = 53;
}
$prefix_options fetch_prefix_html($form['forumid'], $thisanswertrue); 
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>'
$answer .= $prefix_options
$answer .= '</select>'
Reply With Quote
  #1159  
Old 03-12-2011, 02:02 PM
Internetcafe Internetcafe is offline
 
Join Date: May 2008
Location: London
Posts: 130
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great addition to the forum .. thanks.

Question which I hope someone can with :-
Creating a form as a Vendors agreement.
1/ Your Company Name .. Single line text field
2/ Vendors Agreement .. Custom
3/ Comments .. Multi-line text field
4/ Agree to agreement .. yes/no question

When form is submitted, everything but the agreement is submitted but the only place I could place the agreement is in the 'custom' description box. I need that agreement submitted with the form !?

Thanks
Reply With Quote
  #1160  
Old 03-12-2011, 03:23 PM
markb5900 markb5900 is offline
 
Join Date: Feb 2011
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have several categories with several forms in each category.

I would like to have them display across the screen in columns instead of full screen width for each one.
Can someone point me in the right direction?

See attached for what I have right now.

Thank you
Attached Images
File Type: jpg forms.jpg (52.6 KB, 0 views)
Reply With Quote
  #1161  
Old 03-12-2011, 06:58 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by markb5900 View Post
I have several categories with several forms in each category.

I would like to have them display across the screen in columns instead of full screen width for each one.
Can someone point me in the right direction?

See attached for what I have right now.

Thank you
You'll need to edit template form_list_top and/or form_list_cat.
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 03:51 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.11081 seconds
  • Memory Usage 2,408KB
  • 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
  • (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
  • (5)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