Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
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
  #1332  
Old 05-25-2011, 01:58 PM
clubvr4's Avatar
clubvr4 clubvr4 is offline
 
Join Date: Jul 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by clubvr4 View Post
I've also tried using the following code, to no avail.

PHP Code:
require_once(DIR '/includes/functions_prefix.php');  
$thisanswer $q[$formbit[id]];  
$forumid $form['forumid'] = XX
$prefix_options fetch_prefix_html($form['forumid'], $thisanswertrue);  
$answer '<select name="' $formbit[id] . '" id="q_' $formbit[id] . '" class="bginput">'
$answer .= '<option value="">'.$vbphrase[no_prefix_meta].'</option>';  
$answer .= $prefix_options;  
$answer .= '</select>'
However,

using the above code, and the no attachments code you kindly provided me before - I find that when i click on attachments i do not have permissions to access to FUM..

PHP Code:
$currentattaches $db->query_first("SELECT COUNT(*) AS countrows FROM " TABLE_PREFIX "attachment WHERE posthash = '" $db->escape_string($posthash) . "' AND userid = " $vbulletin->userinfo['userid'] );
$attachcount $currentattaches['countrows'];
if (!
$attachcount)
{
$complete false;
$customerror .= '<div class="blockrow"><div>Error, No attachments!</div></div>';

Removing either the no attachment code or the prefix select code allows me to once again open FUM.
/facepalm..

found #879

All sorted now...
Reply With Quote
  #1333  
Old 05-25-2011, 06:48 PM
clubvr4's Avatar
clubvr4 clubvr4 is offline
 
Join Date: Jul 2010
Posts: 116
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Me again...

Its all working now, so im very happy - But, I am wondering....

I have 5 prefixes configured on the for sale forum, there are 3 forms being used to input threads into this forum. What i would like is that one of these forms, only presents 2 of the 5 prefixes, ensuring that people dont click one of the other 3 by mistake.

Is this possible somehow?

Cheers
Reply With Quote
  #1334  
Old 05-31-2011, 01:43 AM
helwoe helwoe is offline
 
Join Date: May 2011
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anyone?

Quote:
Originally Posted by helwoe View Post
Is there a way to tweak this code to make multi-select drop down list?

Code:
$answer .= '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer = $q_{$formbit[id]};
$members = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC");
    while($row = $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if ($row[username] == $thisanswer) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>';
Reply With Quote
  #1335  
Old 06-04-2011, 11:50 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have this on a clients site. They have reviews setup in certain forums using this mod.

There is one forum though that the "post new review" button does not work. There is just a '1' after the forum URL. It is set up just like every other form forum.

Is there something I am over looking?

Any help would be great!

Thanks
Reply With Quote
  #1336  
Old 06-04-2011, 06:57 PM
scubasteve3 scubasteve3 is offline
 
Join Date: May 2011
Posts: 20
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry, I have not been able to read through all 89 pages of this thread. Great mod! I was wondering, is there a way to change the nav link. I want to change the name from the default "Forms". Also, is it possible to make this a button somewhere on the page instead of in the navbar. Thanks!
Reply With Quote
  #1337  
Old 06-05-2011, 03:27 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by scubasteve3 View Post
Sorry, I have not been able to read through all 89 pages of this thread. Great mod! I was wondering, is there a way to change the nav link. I want to change the name from the default "Forms". Also, is it possible to make this a button somewhere on the page instead of in the navbar. Thanks!
AdminCP -> Edit Phrase -> forms

There is also a link in navbar under 'Quick Links'

Or post the html link in one of your templates where you want it.
Reply With Quote
  #1338  
Old 06-05-2011, 03:29 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by KevinL View Post
I have this on a clients site. They have reviews setup in certain forums using this mod.

There is one forum though that the "post new review" button does not work. There is just a '1' after the forum URL. It is set up just like every other form forum.

Is there something I am over looking?

Any help would be great!

Thanks
I'm not sure how you've setup it, but check the html or plugin which edits the url.
Reply With Quote
  #1339  
Old 06-05-2011, 03:39 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by helwoe View Post
Is there a way to tweak this code to make multi-select list?

Code:
$answer .= '<select name="'.$formbit[id].'">';
$answer .= '<option></option>';
$thisanswer = $q_{$formbit[id]};
$members = $db->query_read("SELECT * FROM " . TABLE_PREFIX . "user
WHERE membergroupids LIKE \"%17%\"
ORDER BY username ASC");
    while($row = $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if ($row[username] == $thisanswer) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>';

Quote:
Originally Posted by helwoe View Post
Anyone?
PHP Code:
$answer .= '<select name="'.$formbit[id].'[]" multiple="multiple" size="4">';
$answer .= '<option></option>';
$thisanswer explode(',',$qo[$formbit[id]]);
$members $db->query_read("SELECT * FROM " TABLE_PREFIX "user
WHERE membergroupids LIKE "%17%"
ORDER BY username ASC"
);
    while(
$row $db->fetch_array($members)) {
$answer .= '<option value="'.$row[username].'"';
if (
in_array($row[username], $thisanswer)) {
$answer .= 'selected="selected"';
}
$answer .= '>'.$row[username].'</option>';
}
$answer .= '</select>'
Reply With Quote
  #1340  
Old 06-05-2011, 03:41 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by clubvr4 View Post
Me again...

Its all working now, so im very happy - But, I am wondering....

I have 5 prefixes configured on the for sale forum, there are 3 forms being used to input threads into this forum. What i would like is that one of these forms, only presents 2 of the 5 prefixes, ensuring that people dont click one of the other 3 by mistake.

Is this possible somehow?

Cheers
Yes, but you'll have to use the form hooks.
Reply With Quote
  #1341  
Old 06-05-2011, 03:42 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Evertonized View Post
When I submit the form it says thanks for submitting and looks like it's worked. However the results show no one has submitted a form.

What could be the problem?
Have you selected 'Save to Database' as Form Action?
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 03:03 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.05949 seconds
  • Memory Usage 2,389KB
  • 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
  • (3)bbcode_php
  • (8)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
  • (1)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