vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Easy Forms - Create a form or multiple forms without php or html knowledge (https://vborg.vbsupport.ru/showthread.php?t=201097)

bananalive 01-07-2009 10:00 PM

Easy Forms - Create a form or multiple forms without php or html knowledge
 
1 Attachment(s)
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:

bananalive 01-08-2009 06:49 PM

Version History

v3.7
- Added template hook for form hidden fields
- Added compulsory question * as phrase
- Form Results Table and Form Results Poll moved to templates
- Form Navbar link moved to tempalte
- JavaScript sort results table
- added permissions for Usergroups to view form results (those who can edit forms can also view form results)


v3.6
- Form Results in table format

v3.5
- multiple vbeditors in one form

v3.4
- fixed reported bugs with import/export forms
- added copy forms (multiple times)
- reduced queries on edit form by using vbulletin cache
- Forum drop-down select instead of box for forumid
- fixed post moderation for users posting in forum they couldn't view


v3.3
- disable form preview
- link to forms in navbar when viewing a form only shows if user has permission to view form list
- hidden form fields


v3.2
- prefix support
- $closed= true; in form hook: before submit means thread is closed


v3.1
- Fixed $phrasegroups
- Added poll timeout option


v3.0
- Edit Form Redesigned
- Multiple Form Actions


v2.9
- Redirect to url after form is submitted (accepts $newpost[postid] for newthread being created and $postid for new post in thread being created)
- Custom Form Output Conditionals: <if condition="$q[4]">$qn[4]: $q[4]<else />Field left blank</if>


v2.8
- Added security to prevent possible use of macroses in form inputs by members using form
- Guest only questions
- Modify post top with macroses & bbcode
- Search Form Results saved to database
- Option to not show form on form list (only applicable for those who cannot edit forms)
- Added rel="nofollow" to links on formlist
- Increased performance by consolidating preg_replace functions


v2.7
- Added form start hook
- Fixed form description [center] bbcode not working
- Date question


v2.6
- Save form output to database
- Fixed custom output of checkbox & multi-line
- Fixed guests posting new thread error


v2.5
- Form hook which executes before form is submitted (can be used for more specific field validation)
- Removed human verification question from form output
- Fix bug which prevented double quotes in bbcode


v2.4
- Custom form question

v2.3
- Specify bbcode for questions/ answers/ sections for the form's output

v2.2
- Fixed attachment issue for creating new thread
- Update display order of the questions in edit form screenshot


v2.1
- Fixed issue with resizing poll options on edit form
- Form list only shows in navbar/ quick links if user has permission to view form list
- Form list only contains forms user has permission to view (unless user can edit form)
- Create Form link only shows for users with permissions to create forms
- Fixed missing <tr> tabs around Create new form
- Usergroup permissions changed to allow permissions through secondary usergroups
- Change bbcode for questions and answers easily in plugin
- Change null value easily, needed to stop bbcode messing up (default '-' )


v2.0
- JavaScript re-sizable text-areas
- New macrose {qn_*}
- Import/ Export your forms as XML files - great for transferring forms across forums or creating backups


v1.9
- Attachments for new thread
- Custom output form layout


v1.8
- Forumid/threadid/username can be specified by input via {value=X} in dropdown, single line input or radio buttons
- Human verification question
- 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)
- Form can be emailed


v1.7
- More question variables
- Regular expression match for single line text input field
- Usergroup permissions per form


v1.6
- Poll Options: Multiple choice, public vote, poll question, poll options

v1.4
- Form categories for form list
- vbeditor field
- Thread/pm title with variables


v1.3
- Add sections to forms

v1.2
- Enabled bbcode for form title & description and for form questions and questions' descriptions

v1.1
- Fixed 'Error' displaying in navbar on form submition
- Fixed validation for boolean


v1.0
- Initial Release

bananalive 01-08-2009 06:50 PM

reserved post

Trek 01-08-2009 08:01 PM

This looks really nice and easy to use. I've already spent way too much time getting the other product FormHack to finally work, but I'll be keeping an eye on this one.

Nice work!

ssslippy 01-08-2009 08:26 PM

The vbulletin admin panel needs to be done with check boxes not a scroll list. We have around 30 usergroups and this is a huge pain to scroll through this little box.

Getting this error when creating a form

Quote:

Database error in vBulletin 3.7.4:

Invalid SQL:
UPDATE forms SET title = 'test', description = 'test', displayorder = '1', action = '2', forms.where = '', threadtitle = '', category = '', polloptions = '', pollquestion = '', poll = '0', publicpoll = '0', multiplepoll = '0', usergroups = '', submitmessage = 'test' WHERE fid = '3';

MySQL Error : Unknown column 'submitmessage' in 'field list'
Error Number : 1054
Request Date : Thursday, January 8th 2009 @ 03:01:40 PM
Error Date : Thursday, January 8th 2009 @ 03:01:40 PM
Script : http://www.website.com/forums/misc.p...editform&fid=3
Referrer : http://www.website.com/forums/misc.p...editform&fid=3
IP Address : ***
Username : SSSlippy
Classname : vB_Database_MySQLi
MySQL Version : 5.0.45
Had to manually do "ALTER TABLE forms ADD submitmessage text NOT NULL"

Not sure why it did not update with the upgrade.

vithorius 01-08-2009 11:49 PM

Sweet...!

hope this one is easyer to edit than theother one "FormHack"...



Thank You!!! :up: :up:

bananalive 01-09-2009 02:14 PM

1 Attachment(s)
Quote:

Originally Posted by ssslippy (Post 1705524)
The vbulletin admin panel needs to be done with check boxes not a scroll list. We have around 30 usergroups and this is a huge pain to scroll through this little box.

Getting this error when creating a form



Had to manually do "ALTER TABLE forms ADD submitmessage text NOT NULL"

Not sure why it did not update with the upgrade.

Import attached file and that should fix the problem

bananalive 01-09-2009 02:15 PM

Quote:

Originally Posted by vithorius (Post 1705772)
Sweet...!

hope this one is easyer to edit than theother one "FormHack"...



Thank You!!! :up: :up:

I've tried to make it as simple and easy to use as possible

buurman 01-10-2009 10:38 AM

is it possible to make an option to upload attachments in a form?

anuanu 01-10-2009 04:03 PM

Found possible error.

When i set the permissions in the "Easy Form Options" It still wont let the user groups view the form. The permission for the Form list seems to work correctly but to view the actual form doesnt.

So far only Administrators can view the form.


All times are GMT. The time now is 08:27 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.02173 seconds
  • Memory Usage 1,780KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (3)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete