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

Quote:
Originally Posted by Scooterpig View Post
I have this installed and an excellent product and exactly what I need, but for the life of me I can't get it to do what I want it to.

I want it so that the form is available to be viewed and completed by members, but those members not having permission to edit, add, update, install .xml etc, like admins can do. I've tried all different settings in options and I either get it that I can see all options as a member or none at all including not being able to see the form.

Can anyone please help if this is possible and if so what is the right settings?

Thank you..
Can View Form List: Everyone

Can Edit Forms: Administrators

Can View Forms: Everyone

When selecting usergroups, it is the highlighted ones which you will be enabling the feature for. use ctrl to select more than one usergroup.
Reply With Quote
  #113  
Old 02-03-2010, 03:18 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by noknowledgenoho View Post
Ok, so I am not at all technical.

My problem is that once I've gone through the process of creating a form I get an error message tat the top of the screen which says:

Parse error: syntax error, unexpected T_STRING in /var/websites/sunnylab/www/community/misc.php(89) : eval()'d code(830) : eval()'d code on line 1

There are styling issues with my form but it actually does work. So ca anyone tell me what this message means and what I can do about it?

Many thanks for any help received.
This will be occuring due to either incorrect code in form hooks or a custom question

Do you have anthing in the form hook boxes? (They are mid way down the edit form page)

Second do you have any custom questions?

All of them should contain php code, invalid php code in any of the above would code error message you have listed.
Reply With Quote
  #114  
Old 02-03-2010, 07:39 PM
adamdavidconn adamdavidconn is offline
 
Join Date: Aug 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks for your support bl.

Ok, thanks for the code to add secondry usergroup, it works well. However, how do you make ti that the submitter of the form is added, rather than a numbered user. For example, you wrote
PHP Code:
/*alter this userid*/
$a_userid 2;
$userinfo fetch_userinfo($a_userid);
if (empty(
$user['membergroupids']))

I tried adding {userid} but that didnt work. That was a bad guess, its not php :P

What would you put to fetch the id of the person who filled in the form?
Reply With Quote
  #115  
Old 02-03-2010, 08:27 PM
valendono valendono is offline
 
Join Date: Feb 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

dear banana,

thanks, [img] its worked now, but[list] not yet..
Reply With Quote
  #116  
Old 02-03-2010, 09:08 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by adamdavidconn View Post
thanks for your support bl.

Ok, thanks for the code to add secondry usergroup, it works well. However, how do you make ti that the submitter of the form is added, rather than a numbered user. For example, you wrote
[PHP.../PHP]
I tried adding {userid} but that didnt work. That was a bad guess, its not php :P

What would you put to fetch the id of the person who filled in the form?
Use this:

Form Hook: Before Submit
PHP Code:
if ($complete)  
{
$userinfo $vbulletin->userinfo;
if (empty(
$userinfo['membergroupids']))
{
/*alter this number below*/
$user['membergroupids'] = '4';
} else {
/*alter this number below, but leave the comma*/
$user['membergroupids'] .=  ',4';
}
$userdata =& datamanager_init('User'$vbulletinERRTYPE_STANDARD);
$userdata->set_existing($userinfo);
$userdata->set('membergroupids'$user['membergroupids']);
$vbulletin->userinfo['membergroupids'] = $user['membergroupids'];
$userdata->save();

Reply With Quote
  #117  
Old 02-04-2010, 12:32 AM
Martyh Martyh is offline
 
Join Date: Jan 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, Is there any possibility that this ( the form ) will / is or can become a widget that we can put into the CMS of 4.0 suite ?
Reply With Quote
  #118  
Old 02-04-2010, 02:12 AM
Scooterpig Scooterpig is offline
 
Join Date: Feb 2005
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Can View Form List: Everyone

Can Edit Forms: Administrators

Can View Forms: Everyone

When selecting usergroups, it is the highlighted ones which you will be enabling the feature for. use ctrl to select more than one usergroup.
Thanks for that and as I have it but still can't see the form as a member but can as admin...
Reply With Quote
  #119  
Old 02-04-2010, 02:23 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Fixed vBulletin editor issue with attached file.

Username is already held in hidden field.

IP address could be added as hidden field (there are 3 hiddenfields added into template and a template hook) or add it to the end of the form output

Add to bottom of form hook: before submit
PHP Code:
$ip $vbulletin->input->clean($_SERVER['REMOTE_ADDR'], TYPE_STR);
$formoutput .= $form[preq] . "IP:" $form[pstq];
$formoutput .= $form['prea'] . $ip $form[psta]; 

thank you, but still not sure where to put this, also i think that this should be implented if possible

for now please help me with this
Reply With Quote
  #120  
Old 02-04-2010, 07:32 AM
PeteBlume PeteBlume is offline
 
Join Date: May 2007
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

first I have to say: a great mod.

Now to my question: Is the any possibiliity to export the form resulst for example as xls?
Reply With Quote
  #121  
Old 02-04-2010, 11:35 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by PeteBlume View Post
Hi,

first I have to say: a great mod.

Now to my question: Is the any possibiliity to export the form resulst for example as xls?
No

But you can highlight the table and then paste it into excel.
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 03:22 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.05524 seconds
  • Memory Usage 2,371KB
  • 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_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
  • (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
  • (1)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