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

Reply
 
Thread Tools
Easy Forms (Old Thread) Details »»
Easy Forms (Old Thread)
Version: 1.8, by bananalive bananalive is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.7.x Rating:
Released: 12-31-2008 Last Update: 01-07-2009 Installs: 357
DB Changes Uses Plugins
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)

Working with vb v3.8

Example Form: http://www.bananalive.co.cc/misc.php?do=form&fid=2

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
Form can Submit to:
  • new thread in forum
  • new post in thread
  • new pm to user
  • email address
Installation:More Features:
  • Form list categories (optional)
  • Preview form
  • Optional questions
  • Form Sections
  • 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
  • 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)
Coming soon:
  • Help file (with macroses)
  • Custom form template editor (optional, uses macroses)
  • Allow attachments

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #102  
Old 01-06-2009, 09:51 AM
Vinyljunky's Avatar
Vinyljunky Vinyljunky is offline
 
Join Date: Feb 2007
Posts: 383
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very nice

Thanks

VinylJunky
Reply With Quote
  #103  
Old 01-06-2009, 11:11 AM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
hi, bananalive, i hope, you've got my preliminary respects

Tested 1.7.

1. It would be nice to replace groups selection with multibox, at least in mod settings. Product code looks like this:

Code:
<options>
<settinggroup name="general" displayorder="30">
<setting varname="usergroupsexample" displayorder="10">
<datatype>free</datatype> <optioncode>usergroup:5</optioncode>
</setting>
</settinggroup>
</options>
Blank selection can meen "All groups" or "No Groups", depending on setting type. I don't know, if it's possible to use the same selection interface in form editor, but that would be very user-friendly - less time & less mistakes during setup.
That is very very useful - never seen it before. Two questions though: is it compatible with v3.6 and how can I use the array it outputs?

Its possible to do it on 'edit form' via custom query to do it quite easily - I'll add that soon.
Quote:
Originally Posted by Vitaly View Post
2. It would be nice to have template editor for each form. For example, if standard template doesn't saticfy custom needs.

I don't think, that complicated editor is necessary, just a simple text area, where one can enter any bbcode & marcoses with variable names and values. If none entered - then standard one is used.
I like this idea .
Quote:
Originally Posted by Vitaly View Post
(*) Please, list available macroses in product description.
Pardon my ignorance, but what are macroses?
Quote:
Originally Posted by Vitaly View Post
3. About custom error messages and additional contact fields for the guests. I think, in my case, that's essention feature for user-friendly forms. But i don't insist. Anyway, nobody prevent me to add necessary modifications, when your product will be stable, without frequent changes. Of cause, will send you all changes to consider.

I apologise, that can't help with coding right now, because all my efforts are spent to my own mods, which will be available soon. But if additional donations can help, that's not a problem. Your product is one of "everybody must have".
p.s. thanks for all your help
Reply With Quote
  #104  
Old 01-06-2009, 04:49 PM
Vitaly's Avatar
Vitaly Vitaly is offline
 
Join Date: Apr 2004
Location: Russia, St.Petersburg
Posts: 428
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive View Post
That is very very useful - never seen it before. Two questions though: is it compatible with v3.6 and how can I use the array it outputs?
No ideas about 3.6.

Output of that multiselection box (when you store settings in ACP) is a serialised array with selected groups IDs. Unserialise variable and enjoy

:5 (in example) = number of lines in box (if groups count is more, then scrolled)

Quote:
Pardon my ignorance, but what are macroses?
{username}, {q_1}, ...

That's my bad english .
Reply With Quote
  #105  
Old 01-06-2009, 06:06 PM
Mike-D Mike-D is offline
 
Join Date: Jan 2006
Location: Cologne / Germany
Posts: 270
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bananalive
It'd be very helpful to provide a link without registering in that Forum!!!
Reply With Quote
  #106  
Old 01-06-2009, 08:49 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Vitaly View Post
No ideas about 3.6.

Output of that multiselection box (when you store settings in ACP) is a serialised array with selected groups IDs. Unserialise variable and enjoy

:5 (in example) = number of lines in box (if groups count is more, then scrolled)

{username}, {q_1}, ...

That's my bad english .
Cheers , I'll add that in tomorrow.
Quote:
Originally Posted by Mike-D View Post
It'd be very helpful to provide a link without registering in that Forum!!!
There are very recent screenshots in first post if you don't want to register.
Reply With Quote
  #107  
Old 01-06-2009, 10:00 PM
EyeintheSky57 EyeintheSky57 is offline
 
Join Date: Dec 2008
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there any way to customize the Post Submit message?

Right now, after the form is submitted, a message comes up with a link to the thread where the data is posted.

That thread has restricted access so I would rather change the message to say something else.

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

Quote:
Originally Posted by EyeintheSky57 View Post
Is there any way to customize the Post Submit message?

Right now, after the form is submitted, a message comes up with a link to the thread where the data is posted.

That thread has restricted access so I would rather change the message to say something else.

Thanks.
This will be available with the next release.
Reply With Quote
  #109  
Old 01-07-2009, 03:04 PM
abdelghani68 abdelghani68 is offline
 
Join Date: Oct 2007
Location: France
Posts: 135
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Can you made for the widh is 100% of the page please and there is a font with a color for the question...? thanks
Reply With Quote
  #110  
Old 01-07-2009, 04:22 PM
bananalive bananalive is offline
 
Join Date: Oct 2007
Location: UK
Posts: 2,802
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by abdelghani68 View Post
Can you made for the widh is 100% of the page please and there is a font with a color for the question...? thanks
To change the width of form to 100%:
  1. Open template form_view
  2. Find:
    HTML Code:
    <div style="width:640px" align="left">
  3. Replace with:
    HTML Code:
    <div style="width:100%" align="left">
You can use bbcode in question to make them coloured:
  • Example Code:
    HTML Code:
    [color=red]Question[/color]
  • Example Output:
    Question
Reply With Quote
  #111  
Old 01-07-2009, 11:08 PM
ssslippy ssslippy is offline
 
Join Date: Jan 2006
Posts: 877
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The * and : are linked together. So if the question is not mandatory it removes the :. Also note that when you put a ? proper grammar says you should not have a : after it. I would totally remove the : and the person creating the form can add it.

Also I tried using the regular expression ^[a-zA-Z0-9\s]+$ which i use to restrict on user names of people who register on my forum. This only allows normal english and numbers.

I get this error

Code:
Warning: preg_match() [function.preg-match]: No ending delimiter '^' found in [path]/misc.php(97) : eval()'d code on line 596
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 12:26 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.09462 seconds
  • Memory Usage 2,329KB
  • Queries Executed 25 (?)
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_html
  • (11)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete