vb.org Archive

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

bananalive 01-27-2010 10:00 PM

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

bananalive 01-28-2010 11:57 AM

Version History
4.0.0 (28 January 2010)
- Port of v3.x version

4.0.1 (28 January 2010)
- Fixed some css styling issues
- Fixed custom output issue


4.0.3 (19 February 2010)
- Added question & description to vb editor fields and human verification field
- Fixed import form
- Added tabindex to all fields
- Added {bbuserinfo.X} for use in custom output and thread title
- Changed unanswered questions into bullet points
- Added option to change date field between day/month/year and month/day/year



4.0.4 (28 March 2010)
- Redone styling
- Fixed issue with date feld


4.0.6 (29 March 2010)
- Question reference added for use instead of question hashes
- Field minimum length added for single/multi text fields and vb editor
- Added all options avaliable for questions in 'Edit Question' in 'Add Question'


4.0.7 (2 April 2010)
- Fixed issue with checkboxes resulting in error at top of page relating to [path]/includes/functions_editor.php line 555
- Enabled use of list bbcode in Form Description
- Added check for options per rows is not zero
- Prevented maxlength being zero



4.0.8 (4 April 2010)
- Added bold, italic, underline, question, answer and other variables dropdowns for easier editing of the custom output
- Date Format in form output can now be fully customized using rules of date()


4.0.9 (29 April 2010)
- Can't remember :p

4.1.0 (11 May 2010)
- Can edit Form Results stored in database
- Can use bbcode for radio buttons/ check buttons
- Fixed form results poll for multi-language yes/no questions
- Some other minor tweaks


4.1.1 (16 May 2010)
- Fixed editing form result issue when 'Form Submit Limit' is reached
- Added additional permissions for editing form results and for deleting form results
- Added permission setting to allow all users the ability to view/edit/delete their result stored in database
- Added option of which question types NOT to display in Form Results Poll
- Enable bbcode parsing on Form Results Poll


4.1.6 (18 July 2010)
- Fixed editing form result issue when 'Form Submit Limit' is reached again
- Form Results as Poll bars are now sorted by %
- Added address field
- Allowed switching of questions between Dropdown and Radio buttons
- Other minor fixes


4.1.7 (29 August 2010)
- Change width of dropdown <select>
- Added hide label
- Other minor fixes


4.1.9
- 'vBulletin Options -> Easy Form Options' usergroup permissions have been made easier.
- New option of only allowing users to edit/delete their own forms.
- Collapsible Form Categories
- New buttons at top of Form for easy editing/ result viewing
- Other minor fixes


4.2.0 (19 January 2011)
- New question type - scale

4.2.1 (24 January 2011)
- New question type - grid (upto 4 columns; unlimited rows)

4.2.2 (25 January 2011)
- Fixed Form Results Table/Poll issue with Grid Questions
- Fixed Form Results displaying properly
- Added easy navigation buttons at top of pages


4.2.6 (15 March 2011)
- Styling for vB v4.1.2
- Quiz Mode
- JS Re-arrange options

bananalive 01-28-2010 11:57 AM

1 Attachment(s)
Form Results as Table
Attachment 111295

Creating a New Form
Attachment 111296

Easy Forms Options
Attachment 111297

Easy Forms link in Quick Links
Attachment 111298

More screenshots in post below

bananalive 01-28-2010 11:58 AM

1 Attachment(s)
Screenshots

Editing a Form

Attachment 111284
Attachment 111285
Attachment 111286
Attachment 111287

Editing a Question
Attachment 111288

Forms List
Attachment 111289
Attachment 111290

Viewing a Form
Attachment 111291

Forms Tab in navbar
Attachment 111292

Form Results displayed like a Poll
Attachment 111293

messengermatt 01-28-2010 12:05 PM

Quote:

Originally Posted by bananalive (Post 1968865)
reserved post for attachments

Screenshots would be an added bonus too

DjEddie 01-28-2010 12:16 PM

is this able to import the xml of the forms from the vb 3 versions?

beduino 01-28-2010 12:20 PM

hello,
Quote:

Originally Posted by messengermatt (Post 1968867)
Screenshots would be an added bonus too

maybe see in this topic helps
https://vborg.vbsupport.ru/showthread.php?t=201097

all the best

Sarcoth 01-28-2010 12:20 PM

Welcome back Banalalive.

bananalive 01-28-2010 12:21 PM

Quote:

Originally Posted by DjEddie (Post 1968872)
is this able to import the xml of the forms from the vb 3 versions?

You can upgrade this version over the old one, not losing any of your form data or results.

It does still have the import/export form facility

bananalive 01-28-2010 12:21 PM

Quote:

Originally Posted by messengermatt (Post 1968867)
Screenshots would be an added bonus too

Adding them at the moment :)

messengermatt 01-28-2010 12:21 PM

Quote:

Originally Posted by beduino (Post 1968877)
hello,

maybe see in this topic helps
https://vborg.vbsupport.ru/showthread.php?t=201097

all the best

But 3 isnt the same as 4 i was thinking more so images related to this version so you can see that it works.

Welshy2008 01-28-2010 12:31 PM

Banana - You are TOP, Top Man. Thank You.

steven72555 01-28-2010 12:41 PM

I can't even get to an edit form page..
ANY suggestions?

we_are_borg 01-28-2010 12:42 PM

Thank you Bananalive for this addon.

I think i found a bug the Description: is not passing vb code.

DaPro 01-28-2010 12:51 PM

You have answered my prayers!

Thank you so much man for this, vB4 upgrade ahoy!

dmknights 01-28-2010 12:51 PM

this looks good, but i think i'll wait til it leaves beta

bananalive 01-28-2010 01:09 PM

1 Attachment(s)
Quote:

Originally Posted by we_are_borg (Post 1968899)
Thank you Bananalive for this addon.

I think i found a bug the Description: is not passing vb code.

Cheers, will change that for next version.

Also attached if you want it now.

bananalive 01-28-2010 01:10 PM

Quote:

Originally Posted by steven72555 (Post 1968898)
I can't even get to an edit form page..
ANY suggestions?

Have you check your usergroup permissions? (set in vboptions -> Easy Form Options)

Are you seeing the link on forms list page?

Veer 01-28-2010 01:16 PM

Welcome back bananalive, and thanks so much for the vb4 version.

Excellent, Installed and Nominated.

Sarcoth 01-28-2010 02:04 PM

1 Attachment(s)
There is a problem with editing some of the questions. It is strange because when I tried to edit the 2nd question on the form, it went to a new page and no problem. When I tried to edit the 3rd question (textfield), it presented a popup that was unworkable. I decided to try the 4th question (dropdown) as well, and it gave me the same problem.

Attaching a screenshot.

Trek 01-28-2010 02:33 PM

Glad to see you back Bananalive! You just made my life much easier, if only it was 2 weeks or so ago. ;)

Thanks again!

mmhmm 01-28-2010 02:42 PM

thank you SOOOOOOOOOO much. i was addicted to this mod on 3.84

akvaryumforum 01-28-2010 03:06 PM

Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: formoutput in [path]/includes/functions.php on line 3893

I use an old form and it send the message but it shows this error. And message had this codes in it.

Code:

<!-- BEGIN TEMPLATE: formoutput -->
Code:

<!-- END TEMPLATE: formoutput -->

Scan Cape Cod 01-28-2010 03:26 PM

First off, thanks for porting this to 4.0.

I created a new form and went with all of the default settings. It worked fine, posted to where I wanted it to go, sent me the thanks for posting note, and sent me to the forum I indicated in the setup.

However, when creating custom form output, the form still posts to the proper forum but I see the following errors when submitting:

At the top of the page: Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: formoutput in [path]/includes/functions.php on line 3893

In the "vBulletin Message" section: Unable to add cookies, header already sent.
File: /home/scott2/public_html/forums/includes/class_core.php
Line: 4501

I do not get the thank you for posting message I created nor am I forwarded to the forum selected, but the form does post fine to the forum and looks as I want it to.

Thanks again.

Veer 01-28-2010 03:55 PM

Quote:

Originally Posted by Sarcoth (Post 1968965)
There is a problem with editing some of the questions. It is strange because when I tried to edit the 2nd question on the form, it went to a new page and no problem. When I tried to edit the 3rd question (textfield), it presented a popup that was unworkable. I decided to try the 4th question (dropdown) as well, and it gave me the same problem.

Attaching a screenshot.

Same problem here.

tafreeh 01-28-2010 03:57 PM

since, the description is not enough to fully understand its functionality.
Can you tell me if I can use this hack as "Apply To be Moderator Application"

where i can setup some questions and people answer them and then my and my staff review it.. ?

Can it does that?

Thanks

bananalive 01-28-2010 04:11 PM

1 Attachment(s)
Try attached product file, should fix issues with custom output.

Quote:

Originally Posted by akvaryumforum (Post 1969031)
Code:

Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: formoutput in [path]/includes/functions.php on line 3893

I use an old form and it send the message but it shows this error. And message had this codes in it.

Code:

<!-- BEGIN TEMPLATE: formoutput -->
Code:

<!-- END TEMPLATE: formoutput -->

Quote:

Originally Posted by Scan Cape Cod (Post 1969050)
First off, thanks for porting this to 4.0.

I created a new form and went with all of the default settings. It worked fine, posted to where I wanted it to go, sent me the thanks for posting note, and sent me to the forum I indicated in the setup.

However, when creating custom form output, the form still posts to the proper forum but I see the following errors when submitting:

At the top of the page: Warning: fetch_template() calls should be replaced by the vB_Template class. Template name: formoutput in [path]/includes/functions.php on line 3893

In the "vBulletin Message" section: Unable to add cookies, header already sent.
File: /home/scott2/public_html/forums/includes/class_core.php
Line: 4501

I do not get the thank you for posting message I created nor am I forwarded to the forum selected, but the form does post fine to the forum and looks as I want it to.

Thanks again.


bananalive 01-28-2010 04:13 PM

Quote:

Originally Posted by tafreeh (Post 1969078)
since, the description is not enough to fully understand its functionality.
Can you tell me if I can use this hack as "Apply To be Moderator Application"

where i can setup some questions and people answer them and then my and my staff review it.. ?

Can it does that?

Thanks

Yes

The full description is at: https://vborg.vbsupport.ru/showthread.php?t=201097

I'll add the description to this thread when I've got a bit of time.

bananalive 01-28-2010 04:15 PM

Quote:

Originally Posted by Veer (Post 1969073)
Quote:

Originally Posted by Sarcoth (Post 1968965)
There is a problem with editing some of the questions. It is strange because when I tried to edit the 2nd question on the form, it went to a new page and no problem. When I tried to edit the 3rd question (textfield), it presented a popup that was unworkable. I decided to try the 4th question (dropdown) as well, and it gave me the same problem.

Attaching a screenshot.

Same problem here.

What browser are you using?

Have you uploaded (allowing overwrite) upload/clientscript/easyforms.js into the /clientscript/ folder?

Scan Cape Cod 01-28-2010 04:22 PM

Thank you sir, working fine now. Much appreciated, marked as installed, and nominated! I used the other forms hack prior to this version, yours is far better.

Sarcoth 01-28-2010 04:32 PM

Quote:

Originally Posted by bananalive (Post 1969088)
What browser are you using?

Have you uploaded (allowing overwrite) upload/clientscript/easyforms.js into the /clientscript/ folder?

IE7 is my browser. I have uploaded both the files to the clientscript folder.

Veer 01-28-2010 04:36 PM

Quote:

Originally Posted by bananalive (Post 1969088)
What browser are you using?

Have you uploaded (allowing overwrite) upload/clientscript/easyforms.js into the /clientscript/ folder?

Using latest Firefox, also tested with IE 7.

Anyway, updated to Mod Version: 4.0.1 and it solves the problem, the edit question popup editable now in Firefox.

DaPro 01-28-2010 04:50 PM

Question: Anyway we can replace the new thread link with a link to the form for specific forums? Would be nice to have so that we make sure users submit the form instead of making a post on mistake.

Sarcoth 01-28-2010 04:53 PM

No luck here in IE7 after the upgrade, but I did test it with Firefox and there isn't a problem there.

Sarcoth 01-28-2010 05:07 PM

Small suggestion. When editing and adding questions, can you put in a #tag to put us back down to the Edit or Add questions part of the editform page when saving? Very small suggestion but it can get tedious if you have a long application form. :)

bananalive 01-28-2010 05:16 PM

Quote:

Originally Posted by DaPro (Post 1969128)
Question: Anyway we can replace the new thread link with a link to the form for specific forums? Would be nice to have so that we make sure users submit the form instead of making a post on mistake.

How can I Re-direct/ force users to submit form when they click new thread?
  1. Create plugin newthread_start
    PHP Code:

    if (in_array($forumid, array(1,2,3)))

          
    header'Location: http://www.your-site.com/forum/misc.php?do=form&fid=1' ) ; 
     } 

    Change 1,2,3 for appropriate forumids.

bananalive 01-28-2010 05:17 PM

Quote:

Originally Posted by Sarcoth (Post 1969130)
No luck here in IE7 after the upgrade, but I did test it with Firefox and there isn't a problem there.

Try clearing your ie7 cache, it might be that your browser has cached the old javascript code and so it isn't loading the updated javascript file.

bananalive 01-28-2010 05:21 PM

Quote:

Originally Posted by Sarcoth (Post 1969144)
Small suggestion. When editing and adding questions, can you put in a #tag to put us back down to the Edit or Add questions part of the editform page when saving? Very small suggestion but it can get tedious if you have a long application form. :)

It should already do that. I've added #qs which the page should go to after: adding, question, editing question, deleting question, changing display order of questions.

Sarcoth 01-28-2010 05:27 PM

Quote:

Originally Posted by bananalive (Post 1969152)
Try clearing your ie7 cache, it might be that your browser has cached the old javascript code and so it isn't loading the updated javascript file.

Still no luck on ie7. This is only my work pc so no biggie. I'll just use firefox for this.

Quote:

Originally Posted by bananalive (Post 1969156)
It should already do that. I've added #qs which the page should go to after: adding, question, editing question, deleting question, changing display order of questions.

It doesn't appear to be working for me on ie7 or firefox. It always goes to the top of the page here.

akvaryumforum 01-28-2010 05:28 PM

Now the error gone but it doesn't send the answer, sends just the questions.

In custom form output we use $q[questionid], is it change with the new version?


All times are GMT. The time now is 07:31 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.03171 seconds
  • Memory Usage 1,864KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_php_printable
  • (20)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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