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
  #92  
Old 02-01-2010, 03:28 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by chsmith700 View Post
bananalive,

I am trying to get this to email to a form question. We have a drop down with email address, I need the form to be emailed to the selection on that drop down. Can you please help?
Add to bottom of Form Hook: Before Submit:
(changing 5 to the question hash of the email address question)

PHP Code:
    $form[email] = $qo[5]; 
Reply With Quote
  #93  
Old 02-01-2010, 03:33 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
Alright, now that is impressive! Can you tell me the code I would need to do a query on the profilefields (i.e. field8)? I'd like to pull that field and then just have it added to the form without the user having to enter it again.
No need for a query for that, it is already cached in vBulletin userinfo

1. Create 'Custom' question
2. Use following php Code:

PHP Code:
$answer '<input class="textbox" type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[field8] . '" />'
Reply With Quote
  #94  
Old 02-01-2010, 03:38 PM
chsmith700 chsmith700 is offline
 
Join Date: Jun 2007
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks a bunch!!!
Reply With Quote
  #95  
Old 02-01-2010, 04:24 PM
adamdavidconn adamdavidconn is offline
 
Join Date: Aug 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hi.
I am wondering, how can you make a user be changed to a different usergroup, or added to a secondry one after completion and submission of the form.

many thanks
adam
Reply With Quote
  #96  
Old 02-01-2010, 04:41 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
hi.
I am wondering, how can you make a user be changed to a different usergroup, or added to a secondry one after completion and submission of the form.

many thanks
adam
This code worked with vB v3.x it should work with vB v4.x but I haven't tested it with vb v4.x.

Form Hook: Before Submit

PHP Code:
PHP Code:
if ($complete)  

$userinfo $vbulletin->userinfo
$user['usergroupid'] = 4
if (empty(
$user['usergroupid'])) 

$user['usergroupid'] = 2


$getusergroupid iif($userinfo['displaygroupid'] != $userinfo['usergroupid'], $userinfo['displaygroupid'], $user['usergroupid']); 

$user_usergroup =& $vbulletin->usergroupcache["$user[usergroupid]"]; 
$display_usergroup =& $vbulletin->usergroupcache["$getusergroupid"]; 


$userdata =& datamanager_init('User'$vbulletinERRTYPE_STANDARD); 
$userdata->set_existing($userinfo); 
$userdata->set('usergroupid'$user['usergroupid']); 
$userdata->set_usertitle
$user['customtitle'] ? $user['usertitle'] : ''
false
$display_usergroup
(
$user_usergroup['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['canusecustomtitle']) ? true false
(
$user_usergroup['genericpermissions'] & $vbulletin->bf_ugp_genericpermissions['cancontrolpanel']) ? true false 
); 

require_once(
DIR '/includes/functions_ranks.php'); 
if (
$user['userid'] == $vbulletin->userinfo['userid']) 

$vbulletin->userinfo['usergroupid'] = $user['usergroupid']; 
$vbulletin->userinfo['displaygroupid'] = $user['usergroupid']; 


$userdata->save(); 


Reply With Quote
  #97  
Old 02-01-2010, 05:29 PM
adamdavidconn adamdavidconn is offline
 
Join Date: Aug 2009
Posts: 34
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok, thanks. So I guess the code I need to edit is
PHP Code:
if ($complete)  

$userinfo $vbulletin->userinfo
$user['usergroupid'] = 4
if (empty(
$user['usergroupid'])) 

$user['usergroupid'] = 2

Could you explain how I would configure this. The numbers at the end reference the usergroup id, but what do the 2 variables corrolate to?

EDIT: I worked out that
PHP Code:
$user['usergroupid'] = 4
moves a user to a new usergroup. However, I am unsure how to add a additional usergroup, and not make them change their primary
Reply With Quote
  #98  
Old 02-01-2010, 05:39 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wow, that is some really cool stuff Banana. Each time I think this mod can do everything, it does something else. Very cool.

I did find another minor issue, which I wouldn't even consider an issue. I wanted to add a link to one of the questions so a user could read a "Code of Conduct" for the forums. They have to answer yes after it is read. If I do the question in html, it looks fine on the editform page, but not on the actual form. If I do the question in bbcode, it looks fine on the actual form, but not on the editform page.

The previous question about the usergroupid is also a very cool feature. Does that change their primary usergroup or does it add them to this as an additional group? Also does this change their current title to that secondary group at the same time?

Here's an idea. Can I set up a question that when someone clicks on the link in the question, it gives a pop-up box with the information they have to read? That would be nice. No worries though, you have enough on your plate right now.
Reply With Quote
  #99  
Old 02-01-2010, 07:49 PM
valendono valendono is offline
 
Join Date: Feb 2008
Posts: 113
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi Banana,

Yea I knew, its only work with bold and size bbcode only.. I attach the screenshoot.. I cant use[list] or [img] on the description..
Attached Images
File Type: jpg err.jpg (14.6 KB, 0 views)
Reply With Quote
  #100  
Old 02-01-2010, 09:07 PM
Cleveregg Cleveregg is offline
 
Join Date: Jan 2008
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Give registered users permission to 'View Forms List'
..sorry - still doesn't work for me - I still get the edit|delete|copy|export...line & the create form underneath as per my 2nd pic

thanks anyway

*** Just downloaded and installed 4.02 - seems to be working ok now - just styling to suit - great job bananalive !! ***
Reply With Quote
  #101  
Old 02-02-2010, 01:26 AM
Martyh Martyh is offline
 
Join Date: Jan 2007
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi BL, and thanks for continuing your work on this mod, it's a great one.

I am wondering if I can have the multi-line box that appears for the user to write in, default to a larger size automatically , please let me know if that is possible. I am figuring I need to click "increase" about three times to get to the size I would want. So I would like it to just default to that for the user.

Thanks

Mark
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 01:57 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.06341 seconds
  • Memory Usage 2,390KB
  • 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
  • (5)bbcode_php
  • (4)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
  • (3)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
  • (2)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