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
  #532  
Old 03-01-2009, 05:21 AM
Michigan Morels Michigan Morels is offline
 
Join Date: Dec 2003
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First of all... Thank you bananalive, for your quick help and responses to everyone in thread. I also see you have actually updated your help file yesterday too!

Hats off to you my friend, for being so diligent and helpful.

Of course you knew there was gonna be a question or two along with this. HA!

1. I changed the code to make a single line field into a number only field
Code:
From this /(d+)/  to this:  /(\d+)/
and that did get rid of the error even when a number was correctly entered.
But... now, when a non-compulsory number only question, is left empty, it is showing the same error and not letting the form being submited.

2. I've noticed that when I use a dropdown box field, and it is Not Compulsory, that when posted, it will print the 1st option in the post. Even though not selected by user. (I haven't tried the radios or check boxes yet, but I suspect they may do the same.)

How can I make a blank/empty space at top of dropdown list, so that this doesn't happen?

3. What exactly is the Section option for and what does it do?
(I've read the help file, but still haven't a clue.)
Reply With Quote
  #533  
Old 03-01-2009, 11:21 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by DontWannaName View Post
I get this error:

Parse error: syntax error, unexpected T_LNUMBER, expecting T_NEW or T_STRING or T_VARIABLE or '$' in /home/topnotch/public_html/forums/misc.php(100) : eval()'d code on line 438
Sorry, my fault the 1 should be inside the ''


Edit plugin: Easy Forms Part 1

Find:
PHP Code:
/*$newpost['prefixid'] =& '';*/ 
Replace:
PHP Code:
$newpost['prefixid'] =& '1'
Replace 1 with the appropriate prefixid
Reply With Quote
  #534  
Old 03-01-2009, 12:00 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK...I've pretty much got this working the way I like it to. I still wish there was a way to use one form instead of the 60 something that I had to create to post basically the same output but to different threads. It's done though and I can change it later if a solution is found.

I do have a question about URL links though. I have one question where a user can enter a URL. It posts fine the the URL is posted just as text and not as an actual link. Can I change something so that it posts as an actual link?
Reply With Quote
  #535  
Old 03-01-2009, 12:13 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Michigan Morels View Post
First of all... Thank you bananalive, for your quick help and responses to everyone in thread. I also see you have actually updated your help file yesterday too!

Hats off to you my friend, for being so diligent and helpful.

Of course you knew there was gonna be a question or two along with this. HA!

1. I changed the code to make a single line field into a number only field
Code:
From this /(d+)/  to this:  /(\d+)/
and that did get rid of the error even when a number was correctly entered.
But... now, when a non-compulsory number only question, is left empty, it is showing the same error and not letting the form being submited.

2. I've noticed that when I use a dropdown box field, and it is Not Compulsory, that when posted, it will print the 1st option in the post. Even though not selected by user. (I haven't tried the radios or check boxes yet, but I suspect they may do the same.)

How can I make a blank/empty space at top of dropdown list, so that this doesn't happen?

3. What exactly is the Section option for and what does it do?
(I've read the help file, but still haven't a clue.)
Fixed issues in attached file

The Section is not a question but more like a heading.
Attached Files
File Type: xml product-easyforms v3.1.xml (148.3 KB, 9 views)
Reply With Quote
  #536  
Old 03-01-2009, 12:16 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...I've pretty much got this working the way I like it to. I still wish there was a way to use one form instead of the 60 something that I had to create to post basically the same output but to different threads. It's done though and I can change it later if a solution is found.

I do have a question about URL links though. I have one question where a user can enter a URL. It posts fine the the URL is posted just as text and not as an actual link. Can I change something so that it posts as an actual link?
I told you how to do it in this post

You could use conditional statement in custom output:

HTML Code:
<if condition"$q[8]">[url]$q[8][/url]</if>
Reply With Quote
  #537  
Old 03-01-2009, 12:29 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK...sorry I didn't see it. I did search the thread for an answer before posting the question but missed it somehow. My apologies.
Reply With Quote
  #538  
Old 03-01-2009, 12:43 PM
dknelson dknelson is offline
 
Join Date: Oct 2004
Posts: 412
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK...here is the issue. Maybe I'm trying to use this in a way that it was really not intended for and just need to find another solution.

My members wanted a place to post their favorite restaurants. I have members all across the USA and Canada plus some other countries.

I created a new forum area called Restaurant Reviews. Within that forum, I created threads for all the states, provinces and "other countries".

I created 60 something forms so that they click a form for their state/province and the review goes to the appropriate thread.

To make the URL clickable, I would have to create custom outputs for all of those 60 something forms. Any change I make I would have to do this also. That's why it would be great if one form could be used and then the drop down question that lists all the states and provinces would direct it to the proper thread.

If that can't be done though, is there another way to make URLs clickable without having to create custom outputs for all the forms?
Reply With Quote
  #539  
Old 03-01-2009, 06:49 PM
Michigan Morels Michigan Morels is offline
 
Join Date: Dec 2003
Posts: 47
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Fixed issues in attached file

The Section is not a question but more like a heading.
Thank you. That updated file worked.

Here's another question for you.
I'm sure there's an easy way to do this, but I don't understand php. I'm strictly a copy and paste guy.

Questions that depend on another question.
Question 4 [your item for sale] is not compulsory - but...

Question 5 [how many of item one?]
relates to question 4 and must be filled in, if 4 is used

Question 6 {your price for item?]
relates to question 4 and must be filled in, if 4 is used
________________

if question 4 if filled in then both questions 5 and 6 must be filled in as well. If question 4 is left blank, then 5 and 6 must be left blank as well.

I hope I've explained it well enough.

Thank you for your help. So far I really like this Mod and can see a lot of uses for it.
Reply With Quote
  #540  
Old 03-01-2009, 07:52 PM
Chet T16 Chet T16 is offline
 
Join Date: Oct 2005
Posts: 19
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having issues with all posts (from non admin/mods) from the forms being put in the moderation queue.

I searched this thread and checked
PHP Code:
$newpost['visible'] = '1'
The people posting always had permission to post in these forums but are now being redirected to the forms as directed in this post

Any ideas?
Reply With Quote
  #541  
Old 03-01-2009, 08:07 PM
DontWannaName DontWannaName is offline
 
Join Date: Feb 2009
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Sorry, my fault the 1 should be inside the ''


Edit plugin: Easy Forms Part 1

Find:
PHP Code:
/*$newpost['prefixid'] =& '';*/ 
Replace:
PHP Code:
$newpost['prefixid'] =& '1'
Replace 1 with the appropriate prefixid
I did exactly that and I get
Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting T_NEW or T_STRING or T_VARIABLE or '$' in /home/topnotch/public_html/forums/misc.php(100) : eval()'d code on line 438

It takes me to a page with all of my smilies.
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:23 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.05505 seconds
  • Memory Usage 2,388KB
  • 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
  • (2)bbcode_code
  • (1)bbcode_html
  • (5)bbcode_php
  • (5)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