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
  #262  
Old 02-02-2009, 02:14 PM
nascartr nascartr is offline
 
Join Date: Jun 2008
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Create yesno option

Form Hook: Before Submit:
PHP Code:
if ($qo_{54} == $vbphrase[yes] && $complete && $vbulletin->userinfo['email'])
{
$formoutput preg_replace('/(\[(.*?)\])/is'''$formoutput);
vbmail($vbulletin->userinfo['email'], $threadtitle$formoutput);

Ok, I entered the code as you posted but it didn't work so I changed the "54" to the actual # of the question. That works, it will email the votes to the users email however the layout is badly messed up. There is no formatting after it submits...everything is on one line.

Quote:
RaceWeek THUNDER EZ Form

Pole Sitter -----Pole Sitter----- Wreckers -----Wreckers----- Checkers -----Checkers----- Dominator -----Dominator----- Underachiever -----Underachiever----- Wildcard -----Wildcard----- Email Confirmation? Yes
This is before...

Quote:
RaceWeek THUNDER EZ Form

Pole Sitter
24-Jeff Gordon
Wreckers
77-Sam Hornish
Checkers
14-Tony Stewart
Dominator
88-Dale Earnhardt Jr
Underachiever
55-Michael Waltrip
Wildcard
20-Joey Logano
Reply With Quote
  #263  
Old 02-02-2009, 02:17 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by nascartr View Post
That works, it will email the votes to the users email however the layout is badly messed up. There is no formatting after it submits...everything is on one line.
add \r\n at end of the question bbcode, answer bbcode and section bbcode
Reply With Quote
  #264  
Old 02-02-2009, 02:22 PM
nascartr nascartr is offline
 
Join Date: Jun 2008
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
add \r\n at end of the question bbcode, answer bbcode and section bbcode
That works a little better. Still not like before but at least everything's not on one line.

Quote:
RaceWeek THUNDER EZ Form

Email Confirmation?
Yes
Pole Sitter
-----Pole Sitter-----
Wreckers
-----Wreckers-----
Checkers
-----Checkers-----
Dominator
-----Dominator-----
Underachiever
-----Underachiever-----
Wildcard
-----Wildcard-----
Reply With Quote
  #265  
Old 02-02-2009, 02:25 PM
lazyseller lazyseller is offline
 
Join Date: Oct 2003
Posts: 178
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Made a donation for you help bananna. Thanks so much.

I was able to get it to work!
Reply With Quote
  #266  
Old 02-02-2009, 02:45 PM
nascartr nascartr is offline
 
Join Date: Jun 2008
Posts: 317
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, what if I had the option to PM confirmation to user instead of emailing it. How would I get it to do that and still submit to the threadid?

vBulletin's mail system must not allow formatting, but maybe the PM system would?
Reply With Quote
  #267  
Old 02-02-2009, 03: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

Quote:
Originally Posted by nascartr View Post
Ok, what if I had the option to PM confirmation to user instead of emailing it. How would I get it to do that and still submit to the threadid?

vBulletin's mail system must not allow formatting, but maybe the PM system would?
It can be custom formatted in the custom output, here's mine:
Quote:
[CENTre][SIez=5][COLOR=black]Top Tip[/COLro][/SIze][/CENTre]
[FOtn=Arial Black][SIez=3][Uu]Submitted By:[/Uu] [/SIez][/FOtn][Ii]{q_14} [/Ii]
[Bb][Uu][FOtn=Arial Black][SIez=3]Date: [/SIez][/FOtn][/Uu] [/Bb][Ii]{q_16} [/Ii]
[Uu][FOtn=Arial Black][SIez=3]Tip Description[/SIez][/FOtn][/Uu]

[Ii]{q_10} [/Ii]
[Uu][FOtn=Arial Black][SIez=3]Posted Top Tip[/SIez][/FOtn][/Uu]
[bbcode][Ii]{q_12}[/Ii][/bbcode]
all bbcode changed so they dont parse here!
Reply With Quote
  #268  
Old 02-02-2009, 03:09 PM
alduren alduren is offline
 
Join Date: Aug 2007
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post

Form Hook: Before Submit:
PHP Code:
$formoutput str_replace(""""$formoutput); 
Thanks for your support!!!, it works perfect.
Reply With Quote
  #269  
Old 02-02-2009, 05:37 PM
Sc00by22 Sc00by22 is offline
 
Join Date: Mar 2008
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you add custom user groups into the selection?
Reply With Quote
  #270  
Old 02-02-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 nascartr View Post
Ok, what if I had the option to PM confirmation to user instead of emailing it. How would I get it to do that and still submit to the threadid?

vBulletin's mail system must not allow formatting, but maybe the PM system would?
The PM system allows BBcode

PHP Code:
if ($vbulletin->userinfo['userid'] AND $complete
    {
        global 
$vbulletin$botpermissions;
        
$fromuserid $vbulletin->userinfo['userid'];
        
$fromusername $vbulletin->userinfo['username'];
        
$title $threadtitle
        
$recipients $vbulletin->userinfo['username'];
        
$message $formoutput;
        
$pmdm =& datamanager_init('PM'$vbulletinERRTYPE_ARRAY);
        
$pmdm->set('fromuserid'$fromuserid);
        
$pmdm->set('fromusername'$fromusername);
        
$pmdm->set('title'$title);
        
$pmdm->set('message'$message);
        
$pmdm->set_recipients($recipients$botpermissions);
        
$pmdm->set('dateline'TIMENOW); 
        
$pmdm->overridequota true;
        
$errors $pmdm->errors;
        if (
$errors) {
            foreach (
$errors as $error)
            {
                
$errorss .= $error"<br />";
            }
            
$errormessage "Form failed to submit. The following error(s) occured: <br /> ".$errorss;
            eval(
'print_output("' fetch_template('STANDARD_ERROR') . '");');
        }
        
$pmdm->save();
        unset(
$pmdm);
    } 
Quote:
Originally Posted by alduren View Post
Thanks for your support!!!, it works perfect.
I'm not sure if you worked it out but there were meant to be [img] tags in the str_replace but they got removed
Quote:
Originally Posted by Sc00by22 View Post
Could you add custom user groups into the selection?
Whereabouts? For the questions?
Reply With Quote
  #271  
Old 02-02-2009, 06:42 PM
brainfood brainfood is offline
 
Join Date: May 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks bananalive for the quick response on my other questions. I have that working now.

I have another question. When customizing the Custom Form Output:, I noticed that the customized output only applies to newly created thread posts. Is it possible to get the previous posts updated so they incorporated the customized Custom Form Output?

Thanks again!
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 04:50 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.09716 seconds
  • Memory Usage 2,393KB
  • 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
  • (3)bbcode_php
  • (12)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
  • (10)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