Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
Easy Forms v4.x - Create a form or multiple forms without php or html knowledge Details »»
Easy Forms v4.x - Create a form or multiple forms without php or html knowledge
Version: 4.3.0, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.0.x Rating:
Released: 01-27-2010 Last Update: 10-04-2011 Installs: 1410
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

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

Download Now

File Type: zip vb_easyforms_v4.3.0.zip (67.6 KB, 4491 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #1102  
Old 02-17-2011, 12:49 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Leo777 View Post
Installed, working perfect, Thanks for a great and complex mod.

I have one question :

Is it possible to display a form within a post/thread? Or can forms only be displayed only on their own misc.php URL? It would be great if I could add a form at the bottom of a post but I can't find any option or documentation if this is possible...

Thanks.
  1. Import attached product file
  2. Create Custom BB Code in AdminCP
    • Title:
      Code:
      Form BB Code
    • BB Code Tag Name:
      Code:
      form
    • Replacement:
      HTML Code:
      <div style="clear: both;">
      <iframe src="misc.php?do=form&amp;fid={param}&amp;embed=1" style="width: 100%; height: 500px;">
      <p>Your browser does not support iframes.</p>
      </iframe>
      </div>
    • Example:
      Code:
      [form]1[/form]
    • Use Option:
      Code:
      No
    • Remove Tag If Empty
      Code:
      Yes
    • Disable BB Code Within This BB Code
      Code:
      Yes
    • Disable Smilies Within This BB Code
      Code:
      Yes
    • Disable Word Wrapping Within This BB Code
      Code:
      Yes
    • Disable Automatic Link Parsing Within This BB Code
      Code:
      YES
  3. Use [form]1[/form] in posts

The other suggestion I can offer, I'm not sure if it will be helpful, but you can re-direct reply button to the desired form

How can I Re-direct/ force users to submit form when they click reply?
  1. Create plugin newreply_form_complete

    PHP Code:
     if (in_array($threadinfo[threadid], array(1,2,3)))

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

  2. Change 1,2,3 for appropriate threadids.
Attached Files
File Type: xml product-easyforms v4.2.5.xml (285.4 KB, 6 views)
Reply With Quote
  #1103  
Old 02-17-2011, 01:37 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by LoudBox View Post
Great plugin, works very well, good job. I'm impressed.

Quick question. I've set the form to output to a thread. What I'd like is that when this thread is created by easyform, his signature is a link to that thread.

So user john submits form => thread is created yourforum.com/forum/john-thread/
Now user john has as signature a link to that thread

What's the best way to go about this?

Thanks!
  • Title
    Code:
    Change Signature to Thread Link
  • Hook
    Code:
    easy_forms_post_after_actions
  • PHP Code - change 43 to appropriate form id
    PHP Code:
    if ($fid == 43)
    {
      if (
    $complete)
      {
        
    $userinfo $vbulletin->userinfo;
        
    $threadinfo fetch_threadinfo($threadid);
        
    $usersig "[url]".$vbulletin->options['bburl']."/".fetch_seo_url('thread'$threadinfo)."[/url]";

        
    $userdata =& datamanager_init('User'$vbulletinERRTYPE_STANDARD);
        
    $userdata->set_existing($userinfo);
        
    $userdata->set('signature'$usersig);

        
    $userdata->save();
      }  

  • Active
    Code:
    Yes
Reply With Quote
  #1104  
Old 02-17-2011, 02:12 PM
moswell moswell is offline
 
Join Date: Jan 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, maybe this won't do what I want it to do, but could someone provide some advice?

I'd like the form to actually be the poll: that is, what I'm really looking for is the opportunity for a user to make a multiple-question poll within a thread. I've installed the mod and played a bit with it myself, but from what I can tell, I make the form, people need to go to the url for that form, and then the results are getting posted to the thread (or wherever).

What I'd like is for someone to be able to make a form, have the form posted to a thread, and people answer the form questions. Then the form(poll) results are displayed at the top of the thread, but not posted to the thread itself.

Does this make sense, and is it possible? Thanks!

Edit: found the option for not posting to thread.
Reply With Quote
  #1105  
Old 02-17-2011, 04:01 PM
moswell moswell is offline
 
Join Date: Jan 2011
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, I've read through pretty much the whole thread and it looks like this isn't an option. I'm relatively new to vbulletin - but I can already see that the multiple-question poll is an issue.

So, two different questions:

1. Can I edit the form creation page to make it easier for users? That is, can I set the default options (like don't post to thread, etc.) for a form template? Do I need to go to the misc.php directly and edit that page?
2. Can the form results poll view be altered? I'd very much like the column that says "x users answered this question" to give a list of the users who voted as the form results table does (and like a regular poll would).

Thanks - it's a fascinating mod.
Reply With Quote
  #1106  
Old 02-17-2011, 04:05 PM
Leo777 Leo777 is offline
 
Join Date: Jan 2011
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Use [form]1[/form] in posts
First I received an email notification from this forum, informing me of your reply to my post - in the email it has your original reply where you said unfortunately it's not possible to add a form within a thread. So I came to the forum to say 'Thanks Anyway', but now I see that you edited your reply and have now given full instructions for actually doing exactly what I asked... That's amazing, you are very generous. Now I must send a donation

Thanks so much,
Leo
Reply With Quote
  #1107  
Old 02-17-2011, 05:37 PM
LoudBox LoudBox is offline
 
Join Date: Nov 2010
Posts: 15
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
  • Title
    Code:
    Change Signature to Thread Link
  • Hook
    Code:
    easy_forms_post_after_actions
  • PHP Code - change 43 to appropriate form id
    PHP Code:
    if ($fid == 43)
    {
      if (
    $complete)
      {
        
    $userinfo $vbulletin->userinfo;
        
    $threadinfo fetch_threadinfo($threadid);
        
    $usersig "[url]".$vbulletin->options['bburl']."/".fetch_seo_url('thread'$threadinfo)."[/url]";

        
    $userdata =& datamanager_init('User'$vbulletinERRTYPE_STANDARD);
        
    $userdata->set_existing($userinfo);
        
    $userdata->set('signature'$usersig);

        
    $userdata->save();
      }  

  • Active
    Code:
    Yes
This is awesome, works great, thanks a lot.

I have 2 other questions:

1) How can I pull data from the form and put it inside the signature? For example, let's say I ask what his favorite icecream is and he answers vanilla => how do I put "vanilla" in his signature right under the link to the thread that was just created?

2) How do I force users from a certain usergroup to fill in the form before they can proceed? I'm using Force Threads but it doesn't work with a form because forced threads uses thread ids. Tried htaccess redirect but that's an endless loop. How would you got about forcing a usergroup to fill in the form before proceeding?

Thanks!
Reply With Quote
  #1108  
Old 02-18-2011, 08:16 PM
customcolor customcolor is offline
 
Join Date: Mar 2010
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Change Form Hook: Before Submit:
PHP Code:
{
$form['forumid'] = ($qo['31']);

to
PHP Code:
$form['threadid'] = $qo['31']; 
thanks ....works great!!!
Reply With Quote
  #1109  
Old 02-19-2011, 03:33 AM
customcolor customcolor is offline
 
Join Date: Mar 2010
Posts: 101
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by customcolor View Post
thanks ....works great!!!
well except for one little thing....when it posts it shows the post to the question as numbers of what thread it is in the post. is there a way to not make it post the answer to that question in the post?
Reply With Quote
  #1110  
Old 02-19-2011, 02:13 PM
DevinM DevinM is offline
 
Join Date: Mar 2006
Location: The Bayou
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Am I simply missing it somewhere......how can I simply set a form to allow a user to attach file and when it hits submit email it to me.

Key:
1. Single Line Text Field
2. Yes/No Question
3. Radio Buttons
4. Checkboxes
5. Dropdown Select
6. Multi-Line Text Field
8. Field using vBulletin Editor
10. Custom
11. Date
12. Address
13. Scale
14. Grid

Probably a silly question but I truly dont see anything that says attach file.
Reply With Quote
  #1111  
Old 02-19-2011, 11:21 PM
Volcom13 Volcom13 is offline
 
Join Date: Feb 2011
Location: Seoul, South Kore
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I uploaded the product. But right as I try to import the XML it says Invalid File Selected.
Reply With Quote
Reply

Thread Tools

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 07:10 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.10838 seconds
  • Memory Usage 2,383KB
  • 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
  • (15)bbcode_code
  • (1)bbcode_html
  • (5)bbcode_php
  • (6)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
  • (19)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
  • (2)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