Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Easy Forms - Create a form or multiple forms without php or html knowledge Details »»
Easy Forms - Create a form or multiple forms without php or html knowledge
Version: 3.6, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 01-07-2009 Last Update: 07-11-2009 Installs: 976
DB Changes Uses Plugins Auto-Templates
Translations  
No support by the author.

EASY FORMS FOR vB 4.x here


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)

Backwards compatible with vb v3.7.x and 3.6.8

Example Form | Help File | Version History

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 (max one per form - limited by vB)
  • Human verification question
  • Custom Question (can query database or do whatever you want)
  • Date (month/ day/ year fields)
Form can Submit to:
  • new thread in forum
  • new post in thread
  • new pm to user
  • email address
  • save to database
Installation: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
Coming soon:
  • Allow attachments for posting in thread
Translations:

Download Now

File Type: xml product-easyforms v3.6.xml (163.0 KB, 2648 views)
File Type: zip vb_easyforms v3.7beta.zip (36.6 KB, 2404 views)

Screenshots

File Type: jpg 7.jpg (83.4 KB, 0 views)
File Type: jpg 8.jpg (88.6 KB, 0 views)
File Type: jpg 9.jpg (89.6 KB, 0 views)
File Type: jpg 11.jpg (69.0 KB, 0 views)
File Type: jpg edit1.jpg (90.1 KB, 0 views)
File Type: jpg edit2.jpg (75.8 KB, 0 views)
File Type: jpg edit3.jpg (103.6 KB, 0 views)
File Type: jpg form_results_table.jpg (87.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
2 благодарности(ей) от:
hpidriver, vbresults

Comments
  #592  
Old 03-07-2009, 02:23 AM
admin0's Avatar
admin0 admin0 is offline
 
Join Date: Mar 2003
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

If there is say form1 and user have already submitted to it, is it possible to pull off the old values or if the user submits again, just update the new values rather than insert new lines in the database ?
Reply With Quote
  #593  
Old 03-07-2009, 10:02 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
Well, I thank you very much for the guidance but I can't get this:
https://vborg.vbsupport.ru/showthrea...201097&page=39

to work. When I press submit, I just get a blank message where the "Click here to go to thread" would normally appear.

I'm sure I'm doing something wrong. I'm actually not sure to select, if anything, where you would normally select to submit to thread, email, forumID, etc. I tried selecting nothing and also selecting "Submit to Thread" but leaving the threadID blank. Neither worked.

I would like to say that this is a FANTASTIC mod and is as well supported as any mod I've ever seen here.

I'm sending a donation now because this is worth it regardless of whether or not this issue is figured out.
Make sure you are using the right question hash: see attachment

I've checked it works: http://www.bananalive.co.cc/misc.php?do=form&fid=13
Attached Images
File Type: jpg 14.jpg (35.5 KB, 0 views)
Reply With Quote
  #594  
Old 03-07-2009, 10:03 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by admin0 View Post
Hi,

If there is say form1 and user have already submitted to it, is it possible to pull off the old values or if the user submits again, just update the new values rather than insert new lines in the database ?
I don't think so.
Reply With Quote
  #595  
Old 03-07-2009, 10:04 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by xcesivvs View Post
sorry to be a pain mate... i asked this a bit back and still stuck... thanks
ok, i'll test this, and try to make it easier.
Reply With Quote
  #596  
Old 03-07-2009, 10:04 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by frogster View Post
Okay so that worked for the initial post .... don't kill me... but now anytime the same user posts anything else instead of adding a new note to the facebook wall, it replaces the old post with the new post. I would normally ask the FB developer/thread for help but the thing is that it just started happening when I installed the new xml file. Sorry for the trouble and I really do appreciate your help.
Is this for all posts, or just ones created with Easy Forms?
Reply With Quote
  #597  
Old 03-07-2009, 10:22 AM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK....I will try the restaurant form again. I thought I was using the correct question hash. I tried yours and it worked fine so what are you selecting where it asks how the forum is to be submitted. Submit to thread? If so, since the script is choosing the thread ID, what are you just leaving it blank?
Reply With Quote
  #598  
Old 03-07-2009, 11:29 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
OK....I will try the restaurant form again. I thought I was using the correct question hash. I tried yours and it worked fine so what are you selecting where it asks how the forum is to be submitted. Submit to thread? If so, since the script is choosing the thread ID, what are you just leaving it blank?
Here's a screenshot which shows all the settings:
http://img9.imageshack.us/img9/2391/editform.png
Reply With Quote
  #599  
Old 03-07-2009, 12:01 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK.....thanks. I understand my problem now. Here is the php for my custom "location" question. As you can see, there are no question hashes. So I need to add question hashes to all of these answers. Do I just assign them manually?

Quote:
$answer = '<select id="q_' . $formbit[id] . '" name="' . $formbit[id] . '"><option value="">Select One</option><optgroup label="Canadian Provinces"><option value="AB">Alberta</option><option value="BC">British Columbia</option><option value="MB">Manitoba</option><option value="NB">New Brunswick</option><option value="NF">Newfoundland</option><option value="NT">Northwest Territories</option><option value="NS">Nova Scotia</option><option value="NU">Nunavut</option><option value="ON">Ontario</option><option value="PE">Prince Edward Island</option><option value="QC">Quebec</option><option value="SK">Saskatchewan</option><option value="YT">Yukon Territory</option></optgroup> <optgroup label="U.S. States"><option value="AK">Alaska</option><option value="AL">Alabama</option><option value="AR">Arkansas</option><option value="AZ">Arizona</option><option value="CA">California</option><option value="CO">Colorado</option><option value="CT">Connecticut</option><option value="DC">District of Columbia</option><option value="DE">Delaware</option><option value="FL">Florida</option><option value="GA">Georgia</option><option value="HI">Hawaii</option><option value="IA">Iowa</option><option value="ID">Idaho</option><option value="IL">Illinois</option><option value="IN">Indiana</option><option value="KS">Kansas</option><option value="KY">Kentucky</option><option value="LA">Louisiana</option><option value="MA">Massachusetts</option><option value="MD">Maryland</option><option value="ME">Maine</option><option value="MI">Michigan</option><option value="MN">Minnesota</option><option value="MO">Missouri</option><option value="MS">Mississippi</option><option value="MT">Montana</option><option value="NC">North Carolina</option><option value="ND">North Dakota</option><option value="NE">Nebraska</option><option value="NH">New Hampshire</option><option value="NJ">New Jersey</option><option value="NM">New Mexico</option><option value="NV">Nevada</option><option value="NY">New York</option><option value="OH">Ohio</option><option value="OK">Oklahoma</option><option value="OR">Oregon</option><option value="PA">Pennsylvania</option><option value="PR">Puerto Rico</option><option value="RI">Rhode Island</option><option value="SC">South Carolina</option><option value="SD">South Dakota</option><option value="TN">Tennessee</option><option value="TX">Texas</option><option value="UT">Utah</option><option value="VA">Virginia</option><option value="VT">Vermont</option><option value="WA">Washington</option><option value="WI">Wisconsin</option><option value="WV">West Virginia</option><option value="WY">Wyoming</option></optgroup></select>';
$selected = "value=\"" . $q_{$formbit[id]} . "\"";
$answer = str_replace($selected, $selected. "selected=\"seleceted\"", $answer);
Reply With Quote
  #600  
Old 03-07-2009, 12:21 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dknelson View Post
OK.....thanks. I understand my problem now. Here is the php for my custom "location" question. As you can see, there are no question hashes. So I need to add question hashes to all of these answers. Do I just assign them manually?
No question hashs are to identify a question's output. Your custom question should be this:

For usa restaurant reviews form
PHP Code:
$answer '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer $q[$formbit[id]];
$threads $db->query_read("SELECT * FROM " TABLE_PREFIX "thread
WHERE forumid = '111' 
ORDER BY title ASC"
);
    while(
$row $db->fetch_array($threads)) {
$answer .= '<option value="'.$row[threadid].'"';
if (
$row[threadid] == $thisanswer) {
$answer .= ' selected="selected"';
}
$answer .= '>'.htmlspecialchars($row[title]).'</option>';
}
$answer .= '</select>'
Reply With Quote
  #601  
Old 03-07-2009, 01:12 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

WOW...I am so close now. Or I should say that YOU are so close to explaining it to a complete dummy. I replaced my drop down state selection question for the USA forum with that code. It works. The only thing now is that here is what I get posted.

Quote:
Name of Restaurant: test
Street Address: test
City: test
Location 32653
Website (Optional): -
Quality of Food: Bad
Quality of Service: Bad
Biker Friendly? Yes
Kind of Food? (Mexican, Chinese, etc.) tetst
Alcohol Served? Yes
Additional Comments: -
As you can see, it is posting the threadID for location instead of the actual state. I am not using custom output. Is the only way to correct this to use custom output with $qo
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 11:24 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.06539 seconds
  • Memory Usage 2,391KB
  • 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
  • (1)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
  • (2)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
  • (11)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