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
  #232  
Old 01-31-2009, 03:32 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Budget101 View Post
hmmm... it didn't work, the url didn't become clickable.



Would this need to be changed as well??
PHP Code:
Line 540   $formoutput $bbcode_parser->do_parse($formoutput,false,true,true,true,true,false); 
This is line 540 from the Easy Form 1
It wouldn't show link in preview but it should in the thread created.

The bbcode parser is separate, this is no option to parse urls with it.
Quote:
Originally Posted by TheFocusElf View Post
Is this defined in the product or a template, the width of the QUESTION column and the width of the ANSWER column?

My questions seem to take up 90% of my board's fixed width, and this parses the answer fields in many cases.

Is it possible to format it like this:

Question
Description
Answer #1
Answer #2
Maybe even putting the answers in their own definable table with a separate "style" or background color.

Most important for me, though is the width issue, right now this excellent mod looks like crap on my boards. And my forum's width is 950 pixels, so as for why it is so crunched up, I am unsure.
You can modify the width by editing one of the formbit templates.

For instance:

open template form_formbit_textfield

Find
HTML Code:
<td class="smallfont" style="vertical-align: top; font-weight: bold;">$formbit[question]
Replace
HTML Code:
<td class="smallfont" style="vertical-align: top; font-weight: bold; width: 250px;">$formbit[question]
Quote:
Originally Posted by ssslippy View Post
Would it be hard to implement the ability to allow certain usergroups to edit a single form?
Yes I cannot think of a way to do this.
Quote:
Originally Posted by setishock View Post
Bananalive that is perfect and thank you. Yes please let me have the xml file for that.
I will mark as installed now.

Edit: I'm not having any problems with the product itself, I just don't know how to make it work like I want it to.
I haven't figured out how to make the output clean of the questions.
You will need to change the {q_48}, etc. with the corresponding number on the imported form. See attached screenshot
Attached Images
File Type: jpg hhh.jpg (105.0 KB, 0 views)
Attached Files
File Type: xml form-id-10.xml (2.5 KB, 15 views)
Reply With Quote
  #233  
Old 01-31-2009, 03:40 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by anuanu View Post
First off i want to say I love this mod. I use it as a recruitment/moderator application. I was wondering if you could add a part that would "Accept/Deny" an application and add "Accepted' or "Denied" to the thread title. And when it was "Denied" it would close the thread.

Currently what I do is make a reply saying if they were denied or accepted and close the thread.
I think what you trying to achieve is beyond what the modification does. Lazyseller's idea is worth considering.
Quote:
Originally Posted by lazyseller View Post
Currently you have the ability to submit a reply form to a set thread id.

It would be really great if we could somehow make the thread id dynamic so the whole forum can use the same form. The form would be submitted depending where the user generates the form link from.

http://www.bananalive.co.cc/misc.php?do=form&fid=10&threadid=(dynamic)
You could use 'Form Hook: Form Start':
PHP Code:
$form['where'] = $vbulletin->input->clean_gpc('g''threadid'TYPE_UNIT);
if(!
$form['where'])
{
$errormessage "Error, no threadid specified.";
eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');

Quote:
Originally Posted by Stryker412 View Post
Thank you for all this, is there a way to make the username not editable?

Also which part of the Easy Forms plugin can I edit to make the answers font bigger?
username shouldn't be editable, check it has the code readonly="readonly" in the question

Use 'Answer BBcode' [size=+1] or something similar
Reply With Quote
  #234  
Old 01-31-2009, 04:22 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is probably a difficult one to answer, but i have put a button in my post bit that eventually will link to a form (will sort out how to do this later!), what i would like to do is post the form results to a custom bbcode tag in the original (the post that the button was clicked in) post, is that possible, or if thats not possible, is it possible to post to a forum as a new (not editable by ordinary members) thread?

Big ask i know.
Reply With Quote
  #235  
Old 01-31-2009, 04:31 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

with this:
Quote:
Thread/ PM/ Email Title:
If left blank then the Thread/ PM title will be the same as the form title. You can use the following variables in the title: {username}, {userid} and {q_*}. For {q_*} replace the question id with the *, for example to show question 1's output you would use {q_1}.
can i use {q_1} - {q_2}
So that the title may look like "My Tip - Todays Tip" ?
Reply With Quote
  #236  
Old 01-31-2009, 04:33 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
This is probably a difficult one to answer, but i have put a button in my post bit that eventually will link to a form (will sort out how to do this later!), what i would like to do is post the form results to a custom bbcode tag in the original (the post that the button was clicked in) post, is that possible, or if thats not possible, is it possible to post to a forum as a new (not editable by ordinary members) thread?

Big ask i know.
The button link could be something like this:
HTML Code:
<input type="button" value="Form" onclick="window.location.href='http://www.your-forum.com/misc.php?do=form&fid=4'">
If you're wanting the button to edit the thread then this modification couldn't do it. It could with a bit of tweaking reply to thread which post is in.

The alternative is possible, just make sure forum permissions are set to cannot edit posts (for ordinary members).

Quote:
Originally Posted by Simon Lloyd View Post
with this:can i use {q_1} - {q_2}
So that the title may look like "My Tip - Todays Tip" ?
Yes
Reply With Quote
  #237  
Old 01-31-2009, 05:19 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
The button link could be something like this:
HTML Code:
<input type="button" value="Form" onclick="window.location.href='http://www.your-forum.com/misc.php?do=form&fid=4'">
If you're wanting the button to edit the thread then this modification couldn't do it. It could with a bit of tweaking reply to thread which post is in.

The alternative is possible, just make sure forum permissions are set to cannot edit posts (for ordinary members).



Yes
Thanks for posting back so quick!, for the last part {Q...etc great as thats what i have done, and thanks for the code for button link (i'll try to work that one out), i have set up a forum to accept the form as i thought the other would be too difficult, all i need to do now is work out how to show an icon in the post that the button was clicked in perhaps with a link behind it to the form, again not your problem as your forms work great, could you explain what the new items are for? the Form Hooks? and what can i use to put in the Custom form output?, is it possible for the vbulletin editor response to appear in a custom bbcode that i have? (it's a bit like the quote bbcode only has a custom colour and pic)
Reply With Quote
  #238  
Old 01-31-2009, 05:38 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Thanks for posting back so quick!, for the last part {Q...etc great as thats what i have done, and thanks for the code for button link (i'll try to work that one out), i have set up a forum to accept the form as i thought the other would be too difficult, all i need to do now is work out how to show an icon in the post that the button was clicked in perhaps with a link behind it to the form, again not your problem as your forms work great, could you explain what the new items are for? the Form Hooks? and what can i use to put in the Custom form output?, is it possible for the vbulletin editor response to appear in a custom bbcode that i have? (it's a bit like the quote bbcode only has a custom colour and pic)
The form hooks allow you to execute php code at the beginning of the form, just after it is queried (eg. for additional permissions) and just before it is submitted (eg. to submit to multiple locations or to validate some fields).

The custom form output accepts any forum bbcode you have and also macroses, for the questions and answers.
Reply With Quote
  #239  
Old 01-31-2009, 05:50 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
The form hooks allow you to execute php code at the beginning of the form, just after it is queried (eg. for additional permissions) and just before it is submitted (eg. to submit to multiple locations or to validate some fields).

The custom form output accepts any forum bbcode you have and also macroses, for the questions and answers.
Well not being a coder ( i can do what i'm told but not that great at writing it!) that was a bit like dutch to me "macroses"?, i understand the acceptance of bbcode but i was looking to have just the vbulletin editor output to appear inside these tags in the thread it is sent to.

BTW, thanks for this great support!
Reply With Quote
  #240  
Old 01-31-2009, 06:03 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Bananlive, sorry to keep calling on your time but i created a form but it didn't create a thread title and the sections are shown right against the titles here http://www.thecodecage.com/forumz/top-tips/57075-a.html i have upgraded your account at my forum to admin so you can check the edit of the form and what i may have done wrong.
Reply With Quote
  #241  
Old 01-31-2009, 06:17 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Simon Lloyd View Post
Bananlive, sorry to keep calling on your time but i created a form but it didn't create a thread title and the sections are shown right against the titles here http://www.thecodecage.com/forumz/top-tips/57075-a.html i have upgraded your account at my forum to admin so you can check the edit of the form and what i may have done wrong.
Macroses is just a number for {q_45} and {qn_6}

Uses the # numbers

For Example:

Quote:
1. What application is this for?
(Dropdown Select) #8
{q_8}

For the sections use \r\n for line breaks

New output: http://www.thecodecage.com/forumz/to...cess-test.html

If you create a post of format you want I'll try and write the custom form output for you.
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 09:25 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.12440 seconds
  • Memory Usage 2,405KB
  • 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
  • (4)bbcode_html
  • (2)bbcode_php
  • (15)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
  • (4)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
  • (12)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