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
  #2012  
Old 10-06-2016, 11:39 AM
Trevor Hannant's Avatar
Trevor Hannant Trevor Hannant is offline
Senior Member
 
Join Date: May 2003
Location: Edinburgh, Scotland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Trevor Hannant View Post
At some point, a site I now do some work on has had their forms stop working although no-one seems to know when! Site is running vB4.2.2 and have tried the latest forms.php and 4.4.0 update but still get following error when trying to open a form:

PHP Fatal error: Cannot use object of type mysqli_result as array in /var/www/vhosts/DOMAIN/httpdocs/forum/forms.php on line 1242, referer: http://DOMAIN/forum/forms.php?do=editform&fid=1&pg=7

Server running:

PHP 5.3.10-1ubuntu3.24
MySQL Version 5.5.50-0ubuntu0.12.04.1


Runs on another server I have OK - probably been looking at it too long and missing something obvious...
To add, doesn't matter whether 'mysql' or 'mysqli' is used in the config file...
Reply With Quote
  #2013  
Old 12-23-2016, 02:25 PM
Budget101 Budget101 is offline
 
Join Date: Jul 2008
Posts: 331
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I would like to add a Referer hook to the form output- basically I want to know what page they were on when they accessed the form and sent it to me.

$_SERVER['HTTP_REFERER']

Example: form is hosted on this page:

anysite.com/content.php/1950-friendly-url

when the form is submitted I want to have a field that shows:

Referer: anysite.com/content.php/1950-friendly-url

Instead all I can see is:

Referer: anysite.com/forms.php?do=form&fid=47

Any ideas on the correct syntax to add it to the Form Hook before submission?

I've tried:
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['HTTP_REFERER']; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_GET['auth'] . $form[psta]; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['REQUEST_URI']; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['HTTP_REFERER']; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['PHP_SELF']; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['QUERY_STRING']; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['PATH_INFO']; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SESSION['loc']=$_SERVER['PHP_SELF'] . $form[psta]; 
PHP Code:
$formoutput .= $form[preq] . "Referer:" $_SERVER['REQUEST_URI'] .
$form[psta]; 
I basically want to know if people are accessing the form directly by sharing the link or whether they are accessing the form from the specific page I am embedding it within.
Reply With Quote
  #2014  
Old 02-15-2017, 07:57 PM
audzilla audzilla is offline
 
Join Date: Oct 2013
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Any php folks who could help me with some custom stuff? I don't even know if this is possible:

I've got a question with a five item dropdown, and I'm hoping I can use a custom question to populate the form output with a bunch of other information depending on which of the five items a user picks.
e.g. They pick their city of residence from a dropdown, and the output of the submitted form lists a few things relevant only to that city. Picking a different city gives different output. The bits of info themselves are not super long and won't be changing.
Reply With Quote
  #2015  
Old 03-07-2017, 06:39 PM
EGNDRAGON EGNDRAGON is offline
 
Join Date: Feb 2017
Posts: 40
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Need help i cant seem to figure out where to creat the forum or what not
Reply With Quote
  #2016  
Old 03-10-2017, 08:06 AM
MdSWolfy MdSWolfy is offline
 
Join Date: May 2015
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am unable to create new form questions. The submit button after creating a new question doesn't seem to do anything at all.

Here is the button that is not doing anything when clicked:

Code:
<input class="button" name="cancel" type="button" id="cancel" value="Cancel" onclick="window.location.href='forms.php?do=editform&amp;fid=1'">
Reply With Quote
  #2017  
Old 05-25-2017, 08:59 AM
kobrualet kobrualet is offline
 
Join Date: May 2017
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello!

How can I install it to Vb5? Is it possible? Or can someone help me with it?

Thank you.
Reply With Quote
  #2018  
Old 05-25-2017, 09:11 AM
Trevor Hannant's Avatar
Trevor Hannant Trevor Hannant is offline
Senior Member
 
Join Date: May 2003
Location: Edinburgh, Scotland
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by kobrualet View Post
Hello!

How can I install it to Vb5? Is it possible? Or can someone help me with it?

Thank you.
If you rewrite it you can install it to vB5....
Reply With Quote
Благодарность от:
In Omnibus
  #2019  
Old 05-28-2017, 01:20 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Really love this mod, so first off -- big thanks.

Following this line of questions with ascroft, I wanted to add a subscription to the newly posted thread for the user.

Hook Location: newthread_post_complete

Code:
if ($fid == 32) 
{ 
	$addthreadinfo = fetch_threadinfo($newpost['threadid']);
	$adduserinfo = $vbulletin->userinfo['userid'];
	
	$db->query_write("INSERT INTO subscribethread  
            (userid,threadid,emailupdate,folderid,canview) 
        VALUES 
            ('$adduserinfo','addthreadinfo','1','0','1'); 
    ");
}
I even replaced the variables with static info which also did nothing so it looks like the IF $fid isn't working. Did I miss something or is there a better way to go about adding a user thread subscription for the newly created thread?
Reply With Quote
  #2020  
Old 05-28-2017, 09:12 PM
grey_goose grey_goose is offline
 
Join Date: Jun 2009
Posts: 284
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nvm, I just added into the 'Easy Forms Part 1' plugin:

~ line 807 just before 'mark_thread_read'

PHP Code:
        // Add Subscription        
        
$fid $vbulletin->input->clean_gpc('p''fid'TYPE_UINT);
        if (
in_array($fid, array('10''25''27''14'))) 
            {
                
$subscribethisuser $vbulletin->userinfo['userid'];            
                
$db->query_write("INSERT INTO subscribethread  
                        (userid,threadid,emailupdate,folderid,canview) 
                    VALUES 
                        ('
$subscribethisuser','$threadinfo[threadid]','1','0','1'); 
                "
);            
            } 
It doesn't check for user specific settings for subscriptions, but I want them subscribed regardless of their personal prefs. Seems to be working.
Reply With Quote
  #2021  
Old 06-02-2017, 11:42 AM
wolfey wolfey is offline
 
Join Date: Nov 2009
Posts: 65
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

Recently my emails are delayed for 12 hours only when sent from forms?

Further...just updated to 4.25, and form gets stuck now when trying to submit

Thank 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 04:24 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.06594 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
  • (2)bbcode_code
  • (10)bbcode_php
  • (2)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
  • (20)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)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