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
  #102  
Old 02-02-2010, 06:06 AM
TheSupportForum TheSupportForum is offline
 
Join Date: Jan 2007
Posts: 1,158
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

BUG: when using Field using vBulletin editor

there is no title above the box so users dont know what the question is

would like to see:

Field that already holds there username
fields that holds the users IP Address - useful to stop spammers
Reply With Quote
  #103  
Old 02-02-2010, 06:35 AM
s810car s810car is offline
 
Join Date: Mar 2008
Posts: 50
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you SOO much for porting this, I was dreading having to port my forms over manually As soon as I am able to get my PayPal account set (economy has definitely hurt the funds I do get from my forum), donation heading your way!

You should seriously consider adding a lot more features to assist programming the forms for people with less php/mySQL knowledge and make it a commercial mod, it definitely has the potential. I have used this mod for all sorts of functional code for my site and it has really became a major part of the backbone to my site's system. Thanks again! Installing and nominating MOTM
Reply With Quote
  #104  
Old 02-02-2010, 02:35 PM
imagirlgeek imagirlgeek is offline
 
Join Date: Jan 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
BUG: when using Field using vBulletin editor

there is no title above the box so users dont know what the question is
What I did for this was added a 'Section' field right above it. And then used Bold tags on the Section text. It worked really well.
Reply With Quote
  #105  
Old 02-02-2010, 02:39 PM
imagirlgeek imagirlgeek is offline
 
Join Date: Jan 2009
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Martyh View Post
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
You can do this now. Just click edit on your Multi-line box. You'll see options to increase the 'Text area rows' and 'Text area columns'.
Reply With Quote
  #106  
Old 02-02-2010, 09:13 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by simonhind View Post
BUG: when using Field using vBulletin editor

there is no title above the box so users dont know what the question is

would like to see:

Field that already holds there username
fields that holds the users IP Address - useful to stop spammers
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]; 
Attached Files
File Type: xml product-easyforms v4.0.2.xml (188.5 KB, 22 views)
Reply With Quote
  #107  
Old 02-02-2010, 09:15 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by valendono View Post
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..
You can enable [img]:
AdminCP -> Settings-> vBulletin Options -> BB Code Settings -> Allow [IMG] Code in Non Forum Specific Areas -> Yes

Otherwise for the list you will need another modification to enable list bbcode in non-forum areas.
Reply With Quote
  #108  
Old 02-02-2010, 09:18 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
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.
Corrected in attached product file. BB Code in the question parses on both pages properly now
Attached Files
File Type: xml product-easyforms v4.0.2.xml (188.5 KB, 14 views)
Reply With Quote
  #109  
Old 02-02-2010, 09:38 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
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
Yes that would only change the primary usergroup, use the following code to add a secondary usergroup.

You will need to change $a_userid to the desired userid of the user you want to change the usergroup of.

Also you will need to change the two occurances of 4 to the desired additional usergroup's usergroupid.

Form Hook: Before Submit
PHP Code:
if ($complete)  
{
/*alter this userid*/
$a_userid 2;
$userinfo fetch_userinfo($a_userid);
if (empty(
$user['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']);
$userdata->save();

Reply With Quote
  #110  
Old 02-03-2010, 07:32 AM
Scooterpig Scooterpig is offline
 
Join Date: Feb 2005
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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..
Reply With Quote
  #111  
Old 02-03-2010, 09:29 AM
noknowledgenoho noknowledgenoho is offline
 
Join Date: Feb 2010
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
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 06:49 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.09220 seconds
  • Memory Usage 2,392KB
  • 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
  • (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
  • (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