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
  #562  
Old 06-09-2010, 02:12 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
The search facilty, still doesn't work and does not return post results that I know are listed.

Any Ideas Please BA?

The following is what I have in my vB4.0.3


PHP Code:
<tr>
<
vb:if condition="$threadinfo['threadid'] == 'XXXX'">
<
td align="$stylevar[left]valign="top" width="50%">
<
fieldset class="fieldset" style="margin:0px">
<
legend><b><font size="3">Search</font> <font size="2"></b></legend>
<
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
<
tr>
<
td colspan="2">
<
tr>
<
form action="search.php?do=process&searchthreadid=XXXX" method="post">
<
table cellpadding="4" cellspacing="1" border="0">
<
tr>
<
td class=""><b><font size="2">Please enter a search word:</font></b><a name="goto_threadsearch"></a></td>
</
tr>
<
tr>
<
td align="left">
<
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<
input type="hidden" name="do" value="process" />
<
input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'" />
<
font size="3"><b>Find:</b></font> <input type="text" class="bginput" name="query" size="25" />&nbsp<input type="image" src="http://www.myforumaddress.com/images/sample.gif" alt="Search ."><br/>
</
td>
</
tr>
</
table>
</
form>
</
select></label>
</
tr>
</
fieldset></vb:if>
<
br /> 
I have also tried the following too:

PHP Code:
<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'XXXX" /> 
PHP Code:
<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'XXXX'" /> 
PHP Code:
<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']} == 'XXXX" /> 

Where XXXX is the threadID.

Please BA?
Reply With Quote
  #563  
Old 06-09-2010, 04:45 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
The search facilty, still doesn't work and does not return post results that I know are listed.

Any Ideas Please BA?

The following is what I have in my vB4.0.3


PHP Code:
<tr>
<
vb:if condition="$threadinfo['threadid'] == 'XXXX'">
<
td align="$stylevar[left]valign="top" width="50%">
<
fieldset class="fieldset" style="margin:0px">
<
legend><b><font size="3">Search</font> <font size="2"></b></legend>
<
table cellpadding="0" cellspacing="$stylevar[formspacer]border="0">
<
tr>
<
td colspan="2">
<
tr>
<
form action="search.php?do=process&searchthreadid=XXXX" method="post">
<
table cellpadding="4" cellspacing="1" border="0">
<
tr>
<
td class=""><b><font size="2">Please enter a search word:</font></b><a name="goto_threadsearch"></a></td>
</
tr>
<
tr>
<
td align="left">
<
input type="hidden" name="s" value="{vb:raw session.sessionhash}" />
<
input type="hidden" name="securitytoken" value="{vb:raw bbuserinfo.securitytoken}" />
<
input type="hidden" name="do" value="process" />
<
input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'" />
<
font size="3"><b>Find:</b></font> <input type="text" class="bginput" name="query" size="25" />&nbsp<input type="image" src="http://www.myforumaddress.com/images/sample.gif" alt="Search ."><br/>
</
td>
</
tr>
</
table>
</
form>
</
select></label>
</
tr>
</
fieldset></vb:if>
<
br /> 
I have also tried the following too:

PHP Code:
<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'XXXX" /> 
PHP Code:
<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']}'XXXX'" /> 
PHP Code:
<input type="hidden" name="searchthreadid" value="$threadinfo['threadid']} == 'XXXX" /> 

Where XXXX is the threadID.
You should be using {vb:raw threadinfo.threadid}
HTML Code:
<input type="hidden" name="searchthreadid" value="{vb:raw threadinfo.threadid}" />
Reply With Quote
  #564  
Old 06-09-2010, 05:55 PM
khet khet is offline
 
Join Date: Jan 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello
Good mod.
I use Eazy Forms for registration application of festival.
I use form actions "save to database" and "Email".
Form results list shows a big quantity of applications.
How to make a pagination of form results list?
Reply With Quote
  #565  
Old 06-09-2010, 06:27 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
You should be using {vb:raw threadinfo.threadid}
HTML Code:
<input type="hidden" name="searchthreadid" value="{vb:raw threadinfo.threadid}" />
Thanks for your reply BA. I appreciate that.

Unfortunately, It still does not work. Would it be possible for you to check my codes, If I PM you an ID with admin permisions, Please?


Many Thanks,
Welshy2008.
Reply With Quote
  #566  
Old 06-09-2010, 09:03 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by khet View Post
Hello
Good mod.
I use Eazy Forms for registration application of festival.
I use form actions "save to database" and "Email".
Form results list shows a big quantity of applications.
How to make a pagination of form results list?
I'll add it in next version for you.
Reply With Quote
  #567  
Old 06-09-2010, 09:04 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Welshy2008 View Post
Thanks for your reply BA. I appreciate that.

Unfortunately, It still does not work. Would it be possible for you to check my codes, If I PM you an ID with admin permisions, Please?


Many Thanks,
Welshy2008.
Yea go for it.
Reply With Quote
  #568  
Old 06-09-2010, 09:25 PM
Welshy2008's Avatar
Welshy2008 Welshy2008 is offline
 
Join Date: Jul 2008
Location: UK
Posts: 904
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
Yea go for it.

Thank You - You have a PM.
Reply With Quote
  #569  
Old 06-09-2010, 10:10 PM
riskofficer riskofficer is offline
 
Join Date: Dec 2004
Posts: 64
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
ok, try this version
Now it works! Thank you 1's more!
Reply With Quote
  #570  
Old 06-10-2010, 06:08 AM
khet khet is offline
 
Join Date: Jan 2010
Posts: 4
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you.
I hope you will make update soon
Reply With Quote
  #571  
Old 06-10-2010, 06:42 AM
Cedric_FP Cedric_FP is offline
 
Join Date: May 2005
Posts: 169
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I want to use the following code below which creates a new thread to also create 2 or 3 replies in the same thread with the same form output.

What code would I need to add? I've tried adding the code which adds a new post when choosing that option in the edit forms page, but that doesn't work (yet returns no errors).

Thanks

Quote:
Originally Posted by Cedric_FP View Post
Using the following code:

Code:
$forumid2 = 31;
if ($complete)
    {
        if (!$vbulletin->userinfo['userid'])
        {
            $vbulletin->input->clean_array_gpc('p', array(
                'humanverify' => TYPE_ARRAY,
            ));
            $newpost['humanverify'] = $vbulletin->GPC['humanverify'];
        }
        require_once(DIR . '/includes/functions_editor.php');
        require_once(DIR . '/includes/functions_bigthree.php');
        require_once('./includes/class_dm.php');
        require_once('./includes/class_dm_threadpost.php'); 
        require_once('./includes/functions_databuild.php');
        if (!$closed)
        {
            $open = 1;
        }
        else
        {
            $open = 0;
        }
        $threaddm = new vB_DataManager_Thread_FirstPost($vbulletin, ERRTYPE_STANDARD);
        /*$foruminfo = fetch_foruminfo($forumid);*/
        $threaddm->set_info('forum',$foruminfo);
        $threaddm->set_info('user', $vbulletin->userinfo);
        $threaddm->set('forumid', $forumid2);
        $threaddm->set('userid', $vbulletin->userinfo['userid']);
        $threaddm->set('title', $threadtitle);
        $threaddm->set('pagetext', $formoutput); 
        $allow_smilie = '1';
        $visible = '1';
        $threaddm->set('open', $open);
        if ($form[prefixid])
        {
            $threaddm->set('prefixid', $form[prefixid]); 
        }
        if ($form[iconid])
        {
            $threaddm->set('iconid', $iconid); 
        }
        $threaddm->set('allowsmilie', $allow_smilie);
        $threaddm->set('visible', $visible);
        $threaddm->pre_save();
        $threadid = $threaddm->save();
        unset($threaddm);
        build_thread_counters($threadid);
        build_forum_counters($forumid);  
        if (!empty($threaddm->errors))
        {
            $errorss .= $threaddm->errors;
            $errormessage = "Form failed to submit. The following error(s) occured: <br /> ".$errorss;
            eval(standard_error($errormessage));
        }
        $threadinfo = fetch_threadinfo($threadid);
        $newpost['postid'] = $threadinfo['firstpostid'];
        mark_thread_read($threadinfo, $foruminfo, $vbulletin->userinfo['userid'], TIMENOW);
        /*($hook = vBulletinHook::fetch_hook('newthread_post_complete')) ? eval($hook) : false;*/
        if ($form[poll] == 1)
        {
            $question = $form[pollquestion];
            $threadinfo = verify_id('thread', $threadid, 0, 1);
            $polloptions = count($polloption);
            $vbulletin->GPC['options'] = $polloption;
            $counter = 0;
            $optioncount = 0;
            $badoption = '';
            while ($counter++ < $polloptions)
            {
                if ($vbulletin->options['maxpolllength'] AND vbstrlen($vbulletin->GPC['options']["$counter"]) > $vbulletin->options['maxpolllength'])
                {
                    $badoption .= iif($badoption, ', ') . $counter;
                }
                if (!empty($vbulletin->GPC['options']["$counter"]))
                {
                    $optioncount++;
                }
            }
            $poll = datamanager_init('Poll', $vbulletin, ERRTYPE_STANDARD);
            $counter = 0;
            while ($counter++ < $polloptions)
            {
                if ($vbulletin->GPC['options']["$counter"] != '')
                {
                    $poll->set_option($vbulletin->GPC['options']["$counter"]);
                }
            }
            $poll->set('question', $question);
            $poll->set('dateline', TIMENOW);
            $poll->set('active', '1');
            $poll->set('public', $form['publicpoll']);
            $poll->set('multiple', $form['multiplepoll']);
            $pollid = $poll->save();
            $threadman = datamanager_init('Thread', $vbulletin, ERRTYPE_STANDARD, 'threadpost');
            $threadman->set_existing($threadinfo);
            $threadman->set('pollid', $pollid);
            $threadman->save();
        }
        if ($form[submitmessage])
        {
            $errormessage = $form[submitmessage];
        }
        else
        {
            $errormessage = "Form was submitted successfully. Click <a href=\"showthread.php?" . $vbulletin->session->vars['sessionurl'] . "p=" . $newpost[postid] . "#post" . $newpost[postid] . "\">here</a> to view the thread.";
        }
    }
How would I also create replies to the thread created? The replies don't have to contain form data, they are just standard replies such as "Reserved".

Thanks.
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:38 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.11058 seconds
  • Memory Usage 2,446KB
  • 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
  • (1)bbcode_code
  • (2)bbcode_html
  • (8)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