Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Form Hack Details »
Form Hack
Mod Version: 4.1, by Abe1 (Coder) Abe1 is offline
Developer Last Online: Jun 2010 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.6.x Rating: (76 votes - 4.51 average) Installs: 1213
Released: 15 Sep 2006 Last Update: 24 Apr 2008 Downloads: 6042
Not Supported Uses Plugins Template Edits  

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

Download Now

Only licensed members can download files, Click Here for more information.

Addons

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	form.JPG
Views:	21056
Size:	147.2 KB
ID:	53487  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Add-On Releases Ajax add-on Form Hack Deepdog009 vBulletin 3.6 Template Modifications 23 22 Sep 2008 21:17

  #331  
Old 10 Mar 2007, 09:17
Kiint Kiint is offline
 
Join Date: Nov 2006
Originally Posted by gamma912 View Post
Will this work for say a job website - people can submit their jobs or classifieds using this form and then it will go to a thread?

What about uploading of resumes?
You create a form....the plugin posts the content of the form to a new post in your specified forum whenever someone uses it.

so yes, you can make a job form, people use it, the results end up in a forum. Same with resumes, you create the form, they use it, the results end up in a forum....

but you have to design the form first
Reply With Quote
  #332  
Old 10 Mar 2007, 15:52
ravencr ravencr is offline
 
Join Date: Mar 2007
I need a form hack to figure out the form hack. Anybody?

Chris
__________________
www.utvrally.com
Reply With Quote
  #333  
Old 10 Mar 2007, 17:30
blind-eddie's Avatar
blind-eddie blind-eddie is offline
 
Join Date: Apr 2006
Real name: Tim
uuuuuuuuuuu

If I shouldnt have posted this here, I am sorry, I saw no html faq area & figured ppl with form knowledge could help me out. This is my first "crude html form", but it works. I am using this on a vb site of a friend that wants this to email the form to him & re-direct applicants to another page. I have tried so many times to get the re-direct to work...I cant, as you see looking at my creation that I am not that good at html and I am in the kindergarden stage of it. Also, when submit is clicked, pop-up appears asking if its ok to send...no problem, but then another pop up appears showing somewhat the same with a blank send to box, clicking send works, and email is sent. In your mail box is shows:"Form posted from Windows Internet Explorer." not from site itself...how do I fix this? If anyone could help me set up my re-direct I would be forever in your debt.....






Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.



EDIT: Never mind, I figured it out.
__________________
LONG LIVE 3.8 SERIES
National Arcade Competition Club- NACC All arcade edits will work on vb4.
Check out my heavily modified ibproarcade with over 50,000 games for you, free of charge!
Exclusive arcade addons, edits and skins were made by stangger5 owner of Next Level Arcade

Last edited by blind-eddie; 10 Mar 2007 at 18:52.
Reply With Quote
  #334  
Old 11 Mar 2007, 15:57
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
I figured out a cool method of redirecting to the post (option "1" in the Form Hack) if you're a registered user, admin, etc. but redirecting Unregistered Users to the "Thank you" message telling them that their form will be put in queue for moderation. This prevents the "Invalid Thread specified" errors if you moderate Unregistered Users form submissions and have the redirect set to "1".

1. First you need to change the Forum Permissions so that Unregistered can Post New Threads in the forum your Form Hack uses. You'll have to disable Image Verification for guests, though.. but I don't find it a problem since I don't allow Guests to post in any of my forums. Does anyone know if there is a forum-specific Image Verification hack??

2. Open up the Form Hack plugin. Set the "$redirectoption" to "1". You can also do this to 2-4, but I haven't tried it. If you do it for 2-4, make sure to change the correct "redirectoption" in the next step.

3. Find
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and replace with
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

You can change 2,5,6,7 to whatever Usergroup IDs you WANT to redirect to the post, thread, etc. Just make sure you exclude Unregistered users..you will get the redirect error, since the post doesn't exist because it's still in Moderation.

4. Configure the "$errormessage" to tell the Unregistered users that their submitted form has been put in queue for moderation.
Thank you for submitting this form!
<br /><br />
If you are unregistered or not logged in this will be added to the queue for moderation. You will not see this thread until we approve it.
<br /><br />
Thank you! You may return to the forum <a href=\"http://www.YOURDOMAIN.com/forums/forumdisplay.php?f=X\">Here.</a>
If you are going to use any kind of HTML (with quotations) in your message, you must put a backward slash \ in front of each quotation mark ". Otherwise you will get parse errors. Make sure to change YOURDOMAIN, and X to the proper Forum ID.


Well I'm off to figure out how to do the "Thank You" message AND automatically redirect back to the forum now that I've gotten part way there. You can also use my method above for different reasons. It's essentially allowing you 2 redirect options instead of one.

Last edited by TheMilkCarton; 11 Mar 2007 at 16:04.
Reply With Quote
  #335  
Old 12 Mar 2007, 17:59
shadowdancer36 shadowdancer36 is offline
 
Join Date: Nov 2005
I'm having a problem with my forms sending me an email. It only seems to do this once I log on. I set up a form to do registrations for a program training and they all got caught in a que of some sort and wasn't released until I logged in as a admin. Then all the emails were sent out at once. Have any idea why this would be?
Reply With Quote
  #336  
Old 13 Mar 2007, 22:18
gamma912 gamma912 is offline
 
Join Date: Feb 2007
the most difficult thing is editing the template to include more fields?!

Can the developer show us snippets of code to add more of a certain type of question?

I mean where does the code for a certain question start and end? And what makes up the parts of the code? The variable what else?
Reply With Quote
  #337  
Old 14 Mar 2007, 02:00
tekstylez tekstylez is offline
 
Join Date: Aug 2006
you have to be kidding me.... this is the most complicated hack I have ever tried to use... How could this even be considered for MOTM???
Reply With Quote
  #338  
Old 14 Mar 2007, 02:13
totalc totalc is offline
 
Join Date: Jan 2007
I found this fairly simple to use and it works very well for a lot of stuff.
Reply With Quote
  #339  
Old 14 Mar 2007, 03:34
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Post Yeap

It B kinda difficult at first, but once you understand it, it be really COOL.
I signed up for some of those Form makers on the net and never could get those suckers to do what I needed. But now that I've figured out this hack, its all gravy.

Thanks ABE

Last edited by Deepdog009; 14 Mar 2007 at 03:35. Reason: kool
Reply With Quote
  #340  
Old 15 Mar 2007, 12:05
vien vien is offline
 
Join Date: Nov 2005
Dont know why I get this error, even I did uninstall the hack.

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/vtn/public_html/forum/newthread.php(71) : eval()'d code on line 641

Now everything I click on "New thread" this error appears on the top banner. Please advise.. Thanks so much.
Reply With Quote
  #341  
Old 15 Mar 2007, 14:26
Abe1's Avatar
Abe1 Abe1 is offline
 
Join Date: Feb 2004
Real name: Abe
Originally Posted by vien View Post
Dont know why I get this error, even I did uninstall the hack.

Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/vtn/public_html/forum/newthread.php(71) : eval()'d code on line 641

Now everything I click on "New thread" this error appears on the top banner. Please advise.. Thanks so much.
No clue. Maybe you have one some other hack interfering with it.
__________________
MY HACKS -

Active Link Security 3.0.X | Add Title to Rank Images 3.5.X | Admin Log In As User 3.5.X 3.6.X | Advanced BBCode Permissions 3.5.X 3.6.X | Can't See Attachments Before Thanking a Post 3.5.X | Can't Thank and Groan the Same Post 3.5.X | Delete Post when Giving Infraction 3.6.X | Edit New Thread Button 3.5.X | External Data Provider Usergroup Permissions Setting 3.5.X | Forms Hack 3.5.X, 3.6.X | Log Logins Hack 3.5.X 3.6.X | Moderator Statistics 3.5.X | Post Award Hack 3.0.X 3.5.X | [AJAX] Post Thank You Hack 3.0.X 3.5.X 3.6.X | [AJAX] Post Groan Hack 3.5.X 3.6.X | Post Thank You Hack Stats for vBadvanced CMPS 2.x 3.5.X | Search Title only in search drop-down 3.5.X, 3.6.X | 'vBMenu' DHTML User Option 3.5.X 3.6.X | vBShout on all pages! 3.5.X
Reply With Quote
  #342  
Old 15 Mar 2007, 15:40
vien vien is offline
 
Join Date: Nov 2005
I used the old version 3.5 and it worked very well, dont know when I upgrade to this version, it's still work well but after I edit something and import again, the error appears, I uninstall this hack but that error still remains. When I turn off the hook on vbb setting, that error disappear, it seems to be like the error due to the product... dont know how to solve that (

Edit: I worked out. Thanks

Last edited by vien; 15 Mar 2007 at 15:55.
Reply With Quote
  #343  
Old 15 Mar 2007, 20:22
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Question question???

Im sure I could figure out how to do it if I had hours of free time but not.

How do I change the REDIRECTION to other url to external site???

How do I add IMAGE VERIFICATION???

Thanks 4 your time...<>
Reply With Quote
  #344  
Old 16 Mar 2007, 13:43
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Go to Plugin Manager --> Form Hack (or if you've created duplicate form hacks, whatever you named yours)

In the PHP Plugin Code, scroll close to the bottom and find:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

After it, add:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Change domain to whatever site you want.

Now, just so you remember what option 5 does, find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

and after it, add:
Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Then right after that change "$redirectoption" to "5".

I wouldn't use this unless you clearly state in the form that you're redirecting them to an external site... it just seems kind of... sneaky. They'll also have no indication that their form was submitted successfully.

I hope you'll use this legitimately though.

-----------------------
Edit: And about the image verification thing.. I'd really like that too.

I have found a cool workaround though.. you can add a question to the bottom of the form that there is only one definite answer to, use an expression to limit the input, and make the form require it to be answered, or it won't submit.

It's a little harder than the site redirect... so if you really want to know, maybe I can muster up the energy to explain it.

Last edited by TheMilkCarton; 16 Mar 2007 at 13:47.
Reply With Quote
  #345  
Old 16 Mar 2007, 15:39
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
OK, sorry to double post..

I am very close to getting image verification to work in the form hack.

My ONLY problem is that I don't receive an error message when entering the wrong verification code. However, it DOES know that it's the wrong code because the post doesn't enter my moderation queue. If I do enter the right code, it shows up in moderation.

So can any more experienced coders than I tell me what code handles the Image Verifcation error message?? It's supposed to pop up in the same place the Preview would if I hit "Preview Post"

Pretty please? Help?
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 09:03.

Layout Options | Width: Wide Color: