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
  #732  
Old 08-15-2010, 10:25 PM
redraider redraider is offline
 
Join Date: Sep 2006
Posts: 161
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need help, I havent been able to figure out how to allow user to choose which forum they want to post the question to.

In short : There is just one form that the user uses, and in that form, he chooses from a drop down which forum he should post the question to.

How would I be able to achieve this.

Any help will be great!
Reply With Quote
  #733  
Old 08-16-2010, 03:46 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by redraider View Post
Need help, I havent been able to figure out how to allow user to choose which forum they want to post the question to.

In short : There is just one form that the user uses, and in that form, he chooses from a drop down which forum he should post the question to.

How would I be able to achieve this.

Any help will be great!
  1. Create Custom Question with:
    Reference Name: forumid
    PHP Code:
    PHP Code:
    $answer "<select name=\"$formbit[id]\" id=\"q_" $formbit[id]  ."\">";

    foreach (
    $vbulletin->forumcache AS $forumid  => $forum)
    {
    if (
    $qo['forumid']==$forumid)
    {
    $forum['selected'] = ' selected="selected"';
    }
    $answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
    }
    $answer .= "</select>"
  2. Edit Form -> Form Hook: Before Submit:
    PHP Code:
    $forumid $form['forumid'] = $qo['forumid']; 
Reply With Quote
  #734  
Old 08-16-2010, 03:47 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigrover View Post
I am getting the following error from the Form Hook: Before Submit:

Unable to add cookies, header already sent.
File: /home/thebonvi/domains/thebonvivant.org/public_html/forums/misc.php(89) : eval()'d code(491) : eval()'d code
Line: 1

The code I entered is:

$form[forumid] = forumid

I am trying to get the form to go to the current forum where the user clicked on the link to go to the form. What am I doing wrong?

***

On a separate thought, does the misc.php accept an argument containing the forumid, like the newthread.php? I could pass the forumid at the time the form is called if it does.
You are using invalid php in one of the hooks.

The following is an example of correct php:

PHP Code:
$form['forumid'] = '3'
Reply With Quote
  #735  
Old 08-16-2010, 11:41 PM
Bigj85 Bigj85 is offline
 
Join Date: Jan 2009
Location: Guelph,Ontario,Canada
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey banana,been using easyforms a while and love it

just lately though I tried using the question variables for the form output

the form output should be {q_1} Review for {q_2} by {username}

{q_1} being a game name and {q_2} being the platform,so the output should read something like

"mass effect 2 review for PC by bigj85"

but only the username variable is working so I get

"Review for by bigj85"

am I doing something wrong here?

I'm having the forms output sent to a forum as their own thread btw
Reply With Quote
  #736  
Old 08-17-2010, 11:29 AM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is this great mod been confirmed as working on an upgrade from 4.0.5 and 4.0.6, Please?
Reply With Quote
  #737  
Old 08-17-2010, 01:17 PM
Sarcoth Sarcoth is offline
 
Join Date: Mar 2006
Location: Huntsville
Posts: 521
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Bigj85 View Post
hey banana,been using easyforms a while and love it
just lately though I tried using the question variables for the form output
the form output should be {q_1} Review for {q_2} by {username}
{q_1} being a game name and {q_2} being the platform,so the output should read something like
"mass effect 2 review for PC by bigj85"
but only the username variable is working so I get
"Review for by bigj85"
am I doing something wrong here?
I'm having the forms output sent to a forum as their own thread btw
{q_#} does not mean the first question. It represents the questions number. Go to the edit form page for the form you are looking at. Go to the bottom. You'll see your questions listed like so:

Quote:
1. What is the name of the game? (Single Line Text Field) #38
The number at the end there (#38) is the question's number. So, that would be {q_38}.

Personally, I recommend using reference name within the question (like gamename) and then doing {q_gamename} instead, but that's up to you.
Reply With Quote
  #738  
Old 08-17-2010, 05:51 PM
temporaryins temporaryins is offline
 
Join Date: May 2008
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
Is this great mod been confirmed as working on an upgrade from 4.0.5 and 4.0.6, Please?
I've had it running on 4.0.5, upgrade to 4.0.6, still working fine.
Reply With Quote
  #739  
Old 08-17-2010, 09:00 PM
Bigj85 Bigj85 is offline
 
Join Date: Jan 2009
Location: Guelph,Ontario,Canada
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Sarcoth View Post
{q_#} does not mean the first question. It represents the questions number. Go to the edit form page for the form you are looking at. Go to the bottom. You'll see your questions listed like so:



The number at the end there (#38) is the question's number. So, that would be {q_38}.

Personally, I recommend using reference name within the question (like gamename) and then doing {q_gamename} instead, but that's up to you.

ahhhh thanks Sarcoth that did the trick
Reply With Quote
  #740  
Old 08-18-2010, 05:06 AM
bigrover bigrover is offline
 
Join Date: Jun 2010
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am unable to affect the destination of the form results with the code you corrected below in the form hook before submit location. The form always goes to the destination specified in the "Forumid where Thread is posted:" location. In my case I have a main category (forum 1), a main forum (forum 2) and a review forum (forum 3). I even tried setting "Forumid where Thread is posted:" to the main category. I didn't get an error, but the form results did not appear in either forum. Not sure where it went. I'm not getting an error message anymore, but neither am I able to redirect the form output.

Per your comments in post #651 I also tried the forum assignment without the single quotes surrounding the target forum with no change in behavior.

PHP Code:
$form['forumid'] = 3
Quote:
Originally Posted by bananalive View Post
You are using invalid php in one of the hooks.

The following is an example of correct php:

PHP Code:
$form['forumid'] = '3'
Reply With Quote
  #741  
Old 08-18-2010, 09:38 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bigrover View Post
I am unable to affect the destination of the form results with the code you corrected below in the form hook before submit location. The form always goes to the destination specified in the "Forumid where Thread is posted:" location. In my case I have a main category (forum 1), a main forum (forum 2) and a review forum (forum 3). I even tried setting "Forumid where Thread is posted:" to the main category. I didn't get an error, but the form results did not appear in either forum. Not sure where it went. I'm not getting an error message anymore, but neither am I able to redirect the form output.

Per your comments in post #651 I also tried the forum assignment without the single quotes surrounding the target forum with no change in behavior.

PHP Code:
$form['forumid'] = 3
To affect the destination forum you need both variables changing, as below:

PHP Code:
$forumid $form['forumid'] = 3
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 07:01 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.06858 seconds
  • Memory Usage 2,368KB
  • 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
  • (7)bbcode_php
  • (8)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
  • (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