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
  #1612  
Old 07-13-2012, 06:18 PM
nlwin nlwin is offline
 
Join Date: May 2010
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hey buddy, this is definitely a great add-on, and I have installed it on my vb3, one of the large boards. All Admins and Mods love this add-on. Would you be considering to add reCaptcha option to your plugin in the future release for vb3 series?

Thanks again for your great contribution.
Reply With Quote
  #1613  
Old 07-25-2012, 07:26 AM
viper357's Avatar
viper357 viper357 is offline
 
Join Date: Dec 2006
Location: Worthing, UK
Posts: 563
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi bananalive, Does this work seamlessly with your Articles mod?
Reply With Quote
  #1614  
Old 08-28-2012, 07:05 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
Wow! Helpfile . Product seems to become solid .

May be, question _content_ macro ? That's not absilutely necessary, but convenient: no needs to duplicate text in template, and no needs to syncronise template when you clarify question text.

Example:

----------
Question1text: {q_1}
Question2text: {q_1}
----------

Will be:
----------
{qn_1}: {q1}
{qn_2}: {q2}
----------

No ideas about macro name. Just an example.
None of this works....
If you put {q_1} in the email body, it gets changed to $[q_1] and does not show the answer to question 1. Ditto for {q1} - shows nothing when the email gets sent.

{qn_1} in the email body does nothing, displays nothing when the email gets sent.
Reply With Quote
  #1615  
Old 08-28-2012, 07:46 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
$q[1] is the new format for v3.x

Use $qo[1] for drop down menu

$qn[8] to show question 1 eg. Age
$q[8] $qo[8] to show question 1 answer eg. 45

And make sure you are using the # of the question eg. 8 not 2(see screenshot)
I can't for the life of me figure out how to output the question and the answer in the custom email output for a radio button.
I have tried:
{qn_1}
{q1}
{qo_1}
$qo[1]
$qo[1]
{qo1}
$q[1] {a_1}

None of this works.
Reply With Quote
  #1616  
Old 08-28-2012, 08:05 PM
pattycake pattycake is offline
 
Join Date: Jan 2009
Posts: 97
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by pattycake View Post
I can't for the life of me figure out how to output the question and the answer in the custom email output for a radio button.
I have tried:
{qn_1}
{q1}
{qo_1}
$qo[1]
$qo[1]
{qo1}
$q[1] {a_1}

None of this works.
Never mind. I figured it out. I was using {q_1} becuase it was the first question in that particular form.
It was question #16 though of ALL questions of ALL forms.
Once I changed the "{q_1}" to "{q_16}", everything worked.
Reply With Quote
  #1617  
Old 09-12-2012, 01:17 PM
singabaloo's Avatar
singabaloo singabaloo is offline
 
Join Date: May 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm using Easy Forms 3.7 on a 3.8.5 VB install. I've had Easy Forms running for a while ands it's been great, but my forms were/are very basic.

The form(s) create a new thread in a forum when they are submitted. At the moment I ask people to fill in their Username, path to their public profile and even do some simple maths (like field 3 = Field 1 - Field2)

Is there a way I can get Easy Forms to populate some of those fields/questions for me instead of asking the User to fill it in ? I imagine {userrname} and something like
Code:
 [URL="$vboptions[bburl]/member.php?u=$user_userid"]
for the username and public transport, but I can't work out how I can make the form return these values and add it to the post created by the form submission.

Is there a simple way to do it that I can't see, or is it going to require some PHP coding ?
Reply With Quote
  #1618  
Old 09-12-2012, 01:32 PM
Simon Lloyd's Avatar
Simon Lloyd Simon Lloyd is offline
 
Join Date: Aug 2008
Location: Manchester
Posts: 3,481
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For the username to be entered put this in the php code box for the answer
PHP Code:
$answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $vbulletin->userinfo[username] . '" />'
Reply With Quote
  #1619  
Old 09-12-2012, 01:37 PM
singabaloo's Avatar
singabaloo singabaloo is offline
 
Join Date: May 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, that worked nicely.

I managed to pull gender out too following your example.

Time to try the profile URL.

Thanks again.
Reply With Quote
  #1620  
Old 09-13-2012, 02:54 AM
singabaloo's Avatar
singabaloo singabaloo is offline
 
Join Date: May 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I keep being impressed by Easy Forms. Thanks bananalive and Simon for the pointer on pulling DB fields out. I even took a leap of faith and found I could get more complicated results. here's my current effort for grabbing the Gender but displaying just for the first letter.

PHP Code:
$tgen $vbulletin->userinfo[field6];
if (
$tgen=='Male') {$gen 'M';
    }
elseif (
$tgen=='Female') {$gen 'F';
    }
else {
$gen '';}
$answer '<input type="text" readonly="readonly" id="q_' $formbit[id] . '" name="' $formbit[id] . '" value="' $gen '" />'
I'm sure someone could cut that down to 1 line but I'm not fussed.

One question I have is the custom layout. What this particular form does is grab information from a user that an admin will use to add to a table we have on the site. It's a bit manual at the moment but if I could some how format the output like this:
Code:
[ url={q_2}]{q_1}[ /url]|{q_3}|{q_4}|{q_5}|{q_6}|{q_7}|[ URL={q_8}]Diary [/URL]
then everyone's life would become a lot easier.

Actually, what would be perfect is to use the default layout and then tack the above example at the bottom so the admin just needs to copy and then paste and it's all done.

I can't find any examples of custom templates that I can start to hack away with so if anyone knows how to do the above, or could point me to some examples, that would be great.
Reply With Quote
  #1621  
Old 09-17-2012, 12:57 AM
singabaloo's Avatar
singabaloo singabaloo is offline
 
Join Date: May 2008
Posts: 54
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way I can get the "Form Output Top" to include some of the form answers ?

I can get {formtitle} which is a fixed value for each form. Ideally I want to be able to have the form output to parse the values of {q_1}:{q_2}
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 02:15 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.05548 seconds
  • Memory Usage 2,373KB
  • 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
  • (2)bbcode_code
  • (2)bbcode_php
  • (3)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
  • (3)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