Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.6 > vBulletin 3.6 Add-ons
Form Hack Details »»
Form Hack
Version: 4.1, by Abe1 Abe1 is offline
Developer Last Online: Jun 2010 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.6.x Rating:
Released: 09-14-2006 Last Update: 04-23-2008 Installs: 1216
Uses Plugins Template Edits
 
No support by the author.

Form Hack 4.1


Features:

Ever wanted an online form that a user can fill out, which when submitted gets:
  • Posted into a new thread in a forum of your choice
  • Create a new poll in the new thread with options of your choice
  • Posted as a reply in an existing thread of your choice
  • PMed to you or someone else
  • Emailed to an email address you specify
  • Choose to redirect to the post, thread or forum, or a custom thank you message
  • Choose to redirect to edit post
  • See a preview before they submit

Or any combination or all of the above?

Well, this is the hack for you!

You can use this for:
  • Moderator Applications
  • Quiz Submit Form which gets PMed to a moderator
  • Contact Form that goes to PM, email or thread
  • Guests to apply to be members
  • Report a Moderator form that goes as a PM to you
  • Guests can PM you for whatever reason
  • Order form to buy things
  • Donation form
  • News or Articles submissions that can go straight to a thread

Or anything you like - this hack is totally customizable via the AdminCP.

The beauty of this hack is that once you install this hack, to make a new form all you need to do is copy the main hook, rename it to whatever you want, edit the variables in the hook, and you have a totally new form!!! You do not need to touch the templates again, but can always create new ones and use different templates for different forms.

Format of the form:
  • One main input question
  • 3 Radio buttons Choice questions
  • 3 Normal text input questions
  • 1 Drop down menu
  • 3 Check boxes
  • 1 Long answer question
  • 1 VB message editor text box question
  • Upload attachments

This is customizable via the hook.

Also:
  • You can set the usergroups you want access to this form.
  • Depending on your forum permissions, if the new thread is in a public forum, members can reply to it. This hack allows a form to submit the new thread or post wherever you want it to go.
  • Force the user to answer all questions.

INSTALLATION
Easy - takes only a few minutes:
  • Import the XML into products. (admin cp -> Plug-in System -> Manage Products -> Add/Import Product)
  • Edit the main plug-in - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully!
  • To get to the form, go to: /newthread.php?do=form (change "form" to the name of your form if you have few)

Done!

Use this hack to make as many forms as you like!

Enjoy!

Updates:

Version 4.0: (09/15/2006)
  • Ported over for vb3.6
  • Send to multiple emails.
  • Send multiple PMs.
  • Parse emails for BBCode
  • And finally, ATTACHMENTS!

Version 4.1: (04/24/2008)
  • Fixed for vb 3.6.10
  • Small bug fixed.
  • List of the 2 quick edits are in the zip file so you don't have to start making a form from scratch.

MAKE SURE YOU CLICK INSTALL!
You will get an email when a new version is released.

Abe1 with rights from Dr Erwin Loh

Supporters / CoAuthors

Show Your Support

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

Comments
  #372  
Old 03-26-2007, 01:17 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

FRANKTHETANK 2 dont worry dude I shall put forth the effort and maketh your form.

Hope this one helps...
Reply With Quote
  #373  
Old 03-26-2007, 01:27 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I say Milk Carton

I've been waiting for your update sir, and yes I will wait until you complete add-on hack before uploading more forms.

I've been getting many spammers and spiders submitting to forms. Your image verification would help greatly.


Looking foward to using it soon.

Heres one for the road... CSS HOLY GRAIL!
Reply With Quote
  #374  
Old 03-26-2007, 03:58 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well I apologize.. I haven't exactly had time or patience to test it out on other form types like PM, email, etc. Since it would require a lot of time setting up each form, since they're not exactly user friendly.

I could release it as is, but then I might be getting a million PMs asking why it doesn't work.
Reply With Quote
  #375  
Old 03-26-2007, 04:07 AM
fotografik fotografik is offline
 
Join Date: Jun 2006
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blind-eddie View Post
It already does that, you pick which thread it goes to. Then from there it can be replied on.
Thats where I am a bit confused - *I* do not want to direct it to any particular thread, rather the *member* clicks REPLY and used a form to compose his reply into the thread which he is currently in.

Here is the scenario.

a) Thread is created using forms template and posted in public - call it Thread X.
b) Members can clics REPLY in the thread and uses another form to post their replies into Thread X.

Thus, there are two forms used - one to CREATE the thread and one to REPLY within the thread.

The way that the feature is touted is that upon creation of the forms, hitting REPLY will add the reply to a thread (call it Thread A) which *I* specified during the forms creations eg all forms-based replies go into Thread A.
Reply With Quote
  #376  
Old 03-26-2007, 04:22 AM
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Posts: 294
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use an if conditional to change the Reply button into newreply.php?do=FORM in that specific thread. Or at least you should be able to.

I did it in a specific forum to turn the New Thread button into newthread.php?do=FORM.

If your users are really smart though, they could edit the URL to submit a regular reply, bypassing the form.

And to answer your more general question, yes you can set the form up to do a New Reply instead of a New Thread.
Reply With Quote
  #377  
Old 03-27-2007, 09:19 AM
j_86 j_86 is offline
 
Join Date: May 2003
Posts: 275
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone, what is the status of this mod with the latest vBulletin 3.6? Is it fully functional?
Reply With Quote
  #378  
Old 03-27-2007, 08:10 PM
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Location: Michigan
Posts: 2,310
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have one of mine set up to a Thread in our private forum. This way my members can vote if a poll was added or post a reply. As the applicant doesnt have access to our private forums, I dont want them to see what was posted by my members if they get accepted. So, I set up that particular thread that when the thread is closed, it gets set to my admins forums. That way it is closed.



Quote:
Originally Posted by fotografik View Post
Thats where I am a bit confused - *I* do not want to direct it to any particular thread, rather the *member* clicks REPLY and used a form to compose his reply into the thread which he is currently in.

Here is the scenario.

a) Thread is created using forms template and posted in public - call it Thread X.
b) Members can clics REPLY in the thread and uses another form to post their replies into Thread X.

Thus, there are two forms used - one to CREATE the thread and one to REPLY within the thread.

The way that the feature is touted is that upon creation of the forms, hitting REPLY will add the reply to a thread (call it Thread A) which *I* specified during the forms creations eg all forms-based replies go into Thread A.
Reply With Quote
  #379  
Old 03-27-2007, 10:40 PM
CrashfAB CrashfAB is offline
 
Join Date: Mar 2006
Posts: 111
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very interesting. So I have an introduction area where I like new users to post in. So can I use this hack for just that area then?
Reply With Quote
  #380  
Old 03-28-2007, 06:50 PM
AK47 Nemesis AK47 Nemesis is offline
 
Join Date: Dec 2006
Location: The Netherlands
Posts: 76
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, nice hack! But i have 1 question, is it possible to use more text areas like the top question? Because i want to use it for a tournament sign up form, but i need more text fields for that. Can someone help me?
Reply With Quote
  #381  
Old 03-29-2007, 11:10 AM
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Location: Almost out of PHP TZone
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by AK47 Nemesis View Post
Hi, nice hack! But i have 1 question, is it possible to use more text areas like the top question? Because i want to use it for a tournament sign up form, but i need more text fields for that. Can someone help me?
AK47 Nemesis take a look at pages 25, 26...
Form pics listed showing different types of forms that can be created using this hack.
ABE1 has a pic on the main instructions also.

I posted some downloads to help some with creating forms and understanding how to make advanced forms.

Good Luck
Reply With Quote
Reply

Thread Tools

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:13 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.05567 seconds
  • Memory Usage 2,313KB
  • 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
  • (3)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
  • (4)pagenav_pagelinkrel
  • (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