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

Reply
 
Thread Tools
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
  #612  
Old 08-08-2007, 03:40 PM
SuthernKumfort SuthernKumfort is offline
 
Join Date: Mar 2007
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post
SuthernKumfort I think its best that U go back 2 your post that has your form code, copy and paste it back 2 your main form template, next if U look closely at my post about editing your form 2 change background colors in only Radioquestions 1,2 and 3, it only shows edit the CLASS of those three RADIO buttons listed...

The only area of that template that U will edit is here...>>>
**********************************************
Edit only Radioquestions 1,2 and 3

<td class="alt1" colspan="3"> before changes

<td class="radio button class" colspan="3"> after changes


That should fix all yo troubles...
Its not the question that is blacked out on my form. Its the answers!
Reply With Quote
  #613  
Old 08-08-2007, 06:30 PM
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 SuthernKumfort View Post
Its not the question that is blacked out on my form. Its the answers!


SuthernKumfort I can fix yo issue, but I will need both templates code and the plugin code in order 2 complete your request???

Upload in .txt format or post them like U did with the main template and I will help U resolve this issue...
Reply With Quote
  #614  
Old 08-10-2007, 09:36 AM
CremeEgg CremeEgg is offline
 
Join Date: Mar 2006
Location: Bradford, UK
Posts: 30
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just a quick question for those of you in the know, can you post the form into multiple forums at the same time?
Reply With Quote
  #615  
Old 08-11-2007, 06:39 PM
JHC JHC is offline
 
Join Date: Jul 2007
Posts: 33
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

When I try to add 6 checkbox questions, why will it only show 5? I've changed everything like I was supposed to, including the variables in the beginning. Is there a work around for this?
Reply With Quote
  #616  
Old 08-11-2007, 09:04 PM
dsotmoon dsotmoon is offline
 
Join Date: Jun 2003
Location: VA - USA
Posts: 194
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is anyone else getting hammered with SPAM using it as a contact form? i even added in the Image Match "Forms Hack add-on" which works but it has not slowed down the SPAM, i mean about 5 per minute

any ideas
Reply With Quote
  #617  
Old 08-12-2007, 08:15 AM
Centrix Centrix is offline
 
Join Date: Sep 2005
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Could you explain more about how to customize this? cause you say do this with hook, this hook that, blabla, hook so.... but im kinda new to this all and I dont really know... what a hook is... and how to edit it...
Reply With Quote
  #618  
Old 08-12-2007, 01:57 PM
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 Tralala View Post
The Form Hack seems to be working okay on my forum. I set up a job request sheet (for volunteer hours) and everyone seems to be liking it. The form results are posted into a thread.

One issue I note is that the "last post" for this thread, on FORUMHOME doesn't seem to accurately update and reflect what the last post actually is. I've had 25 responses so far and the "last post" is displaying the 22nd one.

Tralala Im not sure about why thats happening, sounds like a conflict with code or another hack my be affecting it. Ask ABE1...

************************************************** ****


Quote:
Originally Posted by CremeEgg View Post
Just a quick question for those of you in the know, can you post the form into multiple forums at the same time?
CremeEgg Im not sure about that, ask ABE1...


************************************************** ****


Quote:
Originally Posted by JHC View Post
When I try to add 6 checkbox questions, why will it only show 5? I've changed everything like I was supposed to, including the variables in the beginning. Is there a work around for this?
JHC go over your form again and look 4 anything out of place or covert over 2 .txt format and upload your form, I will take a look C where the issue is and fix 4 ya...


************************************************** ****


Quote:
Originally Posted by dsotmoon View Post
is anyone else getting hammered with SPAM using it as a contact form? i even added in the Image Match "Forms Hack add-on" which works but it has not slowed down the SPAM, i mean about 5 per minute

any ideas
Yes,

{1} Turn on answer all questions in form hack...

{2} I will look into adding that hack by Antialiasis {no spam } or some other no spam add-on...

{3} Change form link name and alert members of changes.

{4} check your logs in control panel and verify IP address's that are the culprits doing the damage. Block um by htaccess...

If I have more time away from my job, I will try 2 create more Add-ons 2 help with this...


************************************************** ****


Quote:
Originally Posted by Centrix View Post
Could you explain more about how to customize this? cause you say do this with hook, this hook that, blabla, hook so.... but im kinda new to this all and I dont really know... what a hook is... and how to edit it...
Centrix the hook area is in the plugin, goto admincp and look at bottom of screen 4 plugins...
Open plugin manager and look 4 FORMS HACK, open and click large edit box...
There U will find how 2 edit your form...

Remember there are 3 parts 2 this, two templates and one plugin most be modified in order for your new forms 2 activate...


Give it a go
Reply With Quote
  #619  
Old 08-13-2007, 09:37 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by dsotmoon View Post
is anyone else getting hammered with SPAM using it as a contact form? i even added in the Image Match "Forms Hack add-on" which works but it has not slowed down the SPAM, i mean about 5 per minute

any ideas
Yes, spam bots will hammer the form when used as a contact us. I used the NoSpam! mod with directions on integrating with this. However, there is a small bug that has not yet been resolved in integrating this with the NoSpam mod.

-vissa
Reply With Quote
  #620  
Old 08-13-2007, 11:43 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 vissa View Post
Yes, spam bots will hammer the form when used as a contact us. I used the NoSpam! mod with directions on integrating with this. However, there is a small bug that has not yet been resolved in integrating this with the NoSpam mod.

-vissa

Yeap, spammers come and come and keep on coming
...

BUT, if there's a will then there's a way...

Verification 4 each input box with image & no spam may be the answer... What do ya think???
Reply With Quote
  #621  
Old 08-14-2007, 05:22 AM
lazytown lazytown is offline
 
Join Date: Feb 2004
Posts: 503
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Deepdog009 View Post

Yeap, spammers come and come and keep on coming
...

BUT, if there's a will then there's a way...

Verification 4 each input box with image & no spam may be the answer... What do ya think???
The "NoSpam!" mod stopped them completely.. However, I'm not happy with what happens when they don't answer correctly -- it goes to a blank page right now as I mention in this post: https://vborg.vbsupport.ru/showthrea...66#post1313566

-vissa
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 10:14 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.05511 seconds
  • Memory Usage 2,338KB
  • 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
  • (10)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