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: 6039
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:	21052
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

  #511  
Old 01 Jul 2007, 03:22
lokki lokki is offline
 
Join Date: Mar 2004
On the v4 release, under 3.6.7 PL1, I can't get anything but the installed generic form to work properly. The error is "Invalid forum specified". Here's what I've tried so far:

Created a new plugin called "My Form", with $formname = "formtest"
Modified the variables and created two new templates, form_test and form_test_response

During development of my templates on v3.6 of the Form Hack, everything was working just fine, then it suddenly died.

If I have only the Form Hack default enabled, then do=form works as expected. However, if I enable a 2nd form, with a new $formname, the default even fails. Disabling the default does not get the 2nd form to work.

Any thoughts?
Reply With Quote
  #512  
Old 01 Jul 2007, 16:42
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Originally Posted by lokki View Post
On the v4 release, under 3.6.7 PL1, I can't get anything but the installed generic form to work properly. The error is "Invalid forum specified". Here's what I've tried so far:

Created a new plugin called "My Form", with $formname = "formtest"
Modified the variables and created two new templates, form_test and form_test_response

During development of my templates on v3.6 of the Form Hack, everything was working just fine, then it suddenly died.

If I have only the Form Hack default enabled, then do=form works as expected. However, if I enable a 2nd form, with a new $formname, the default even fails. Disabling the default does not get the 2nd form to work.

Any thoughts?
Lokki double check yo new form 4 something added by mistake...

If U get a parse error and page wont show then its usually a typo somewhere in your new form...

Use process of elimination, redo yo form from scratch and take it one step at a time until its ALIVE and kicking...

I suggest delete and start over, look close at templates and plugin and verify that its as ABE1 instructions say do...

If U still have issues upload yo file in txt format and I will take a look C...

Good Luck
__________________
Long vacation folks, back 2 dabble and doodle... *** Enjoy the Forums
Reply With Quote
  #513  
Old 05 Jul 2007, 20:40
criscokid criscokid is offline
 
Join Date: Nov 2003
My forum is still at vb3.5.x running version Form Hack v3. I'm looking to upgrade to the latest version of vB and Form Hack v4... will my existsing forms work after the upgrade or will I need to redo them for Form Hack v4?
Reply With Quote
  #514  
Old 05 Jul 2007, 22:30
patrickstar patrickstar is offline
 
Join Date: May 2006
hello its been awhile since ive messed with vb. but i recently purchased 3.6.7

if i install this and use it in a 'classifieds' forum for submitting items, will the member use the 'new thread' button to get this form. or is the form displayed somewhere in my specified forum? can someone show me a working example?

thanks very much.
Reply With Quote
  #515  
Old 05 Jul 2007, 22:57
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Post

Originally Posted by criscokid View Post
My forum is still at vb3.5.x running version Form Hack v3. I'm looking to upgrade to the latest version of vB and Form Hack v4... will my existsing forms work after the upgrade or will I need to redo them for Form Hack v4?
Criscokid, this 3.6 Form Hack by ABE1 has some changes in the PLUGIN code...

So I would have 2 say yes U will have 2 make a few code mods 2 your old 3.5 files...{plugin code} 4 sure...

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

Patrickstar, U can make a custom button in the forumshome 2 click on. It will then redirect 2 forms or Just make forms and then send guests or member straight there by linking...

ABE1 has it so that U goto this default link... http://vbulletin.org/forums/newthread.php?do=form ...

Read ABE1 install intro and then goto plugin hook area as listed on last 2 pages and go from there...

Good Luck
__________________
Long vacation folks, back 2 dabble and doodle... *** Enjoy the Forums
Reply With Quote
  #516  
Old 06 Jul 2007, 00:33
patrickstar patrickstar is offline
 
Join Date: May 2006
Originally Posted by Deepdog009 View Post

Patrickstar, U can make a custom button in the forumshome 2 click on. It will then redirect 2 forms or Just make forms and then send guests or member straight there by linking...

ABE1 has it so that U goto this default link... http://vbulletin.org/forums/newthread.php?do=form ...

Read ABE1 install intro and then goto plugin hook area as listed on last 2 pages and go from there...

Good Luck
thank you. i created a classifieds forum where new threads will not be allowed. so by adding this hack it will be the only way to add a item for sale and i dont feel the need to allow posting. i want the classifieds very simple and straight forward. contact info will be in the form.

one other question.....will the members profile that created the form show up in the thread? something else i dont want.

thanks for the replies.
Reply With Quote
  #517  
Old 07 Jul 2007, 20:40
patrickstar patrickstar is offline
 
Join Date: May 2006
installed and working great. although it does take some time to learn and the instructions in the plugin mentions something about "do not have qoutation marks or else you get error blah blah"

well i kept taking the qoutation marks out, and i kept getting the error. so that was confusing.

i think this will make my classifieds forum just what i need. but i need a few tweaks.

i would like to find a way to have the form posted but NOT show the userinfo in that forum.

can i modify the plugin or will i have to modify a vb template? i was thinking i might have to write some conditional, either to exclude member info for that specific forum, or write it to include member info in all other forums. the latter be a little more harder.
Reply With Quote
  #518  
Old 08 Jul 2007, 16:05
MoJo Smirnoff MoJo Smirnoff is offline
 
Join Date: Sep 2005
ok, decided to make another form...and eventually want to make more. But...i want to make these forms with a lot fewer questions than the default form.

I edit the form in the PHP, but the buttons and such sill show up in the form. Have read and read on here about how to fix this, but still dont get it. If I have 2 forms, how do i edit the 2nd one to have fewer questions/answers than my main form. I don't want to remove stuff from other forms!

Any help would be appreciated.....thanks!
Reply With Quote
  #519  
Old 08 Jul 2007, 17:42
MoJo Smirnoff MoJo Smirnoff is offline
 
Join Date: Sep 2005
ok, common sense kicked in and I got it set. create new templates and then change template info in the code....works like a charm!



how do i get the output info to have the questions in bold font. tried in answers template, but gave me error

thanks

Last edited by MoJo Smirnoff; 08 Jul 2007 at 17:59.
Reply With Quote
  #520  
Old 09 Jul 2007, 05:17
Deepdog009's Avatar
Deepdog009 Deepdog009 is offline
 
Join Date: Dec 2004
Originally Posted by MoJo Smirnoff View Post
ok, common sense kicked in and I got it set. create new templates and then change template info in the code....works like a charm!



how do i get the output info to have the questions in bold font. tried in answers template, but gave me error

thanks
MoJo Smirnoff...
Use html editor and edit text in master template or U may have 2 use bbcodes in answer template...

************************************************
patrickstar Im not sure about yo question, ABE1 can help U better...

I hope all goes well
__________________
Long vacation folks, back 2 dabble and doodle... *** Enjoy the Forums
Reply With Quote
  #521  
Old 13 Jul 2007, 22:53
jiffy jiffy is offline
 
Join Date: May 2006
I don't claim to be a PHP wizard but why does it not work for me to change this code:

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

To this code:

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

I'm trying to get the new thread to have the title of the text filled in to normalquestion1. Seems like this is a simple thing but when I try the second code a new thread is never created. It processes the form fine, at least it seems like it does but no thread shows up in the forum. When I change the code back to "$forumtitle" it works fine again. Weird.
__________________
Are you an InterWeberNetter?
Reply With Quote
  #522  
Old 14 Jul 2007, 00:40
TheMilkCarton TheMilkCarton is offline
 
Join Date: Jan 2007
Here's what I use:


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

And it works just fine. I also made $pagetitle into something custom (and changed the breadcrumb in the form template to show $pagetitle) otherwise the name of the form, the breadcrumb, and the title of page will be blank, since the answers have yet to be filled out yet.

OHH... duh. Look at your code again, you're using $normalquestion1 instead of $normalanswer1.
Reply With Quote
  #523  
Old 14 Jul 2007, 16:24
jiffy jiffy is offline
 
Join Date: May 2006
Originally Posted by TheMilkCarton View Post
OHH... duh. Look at your code again, you're using $normalquestion1 instead of $normalanswer1.
You my friend are my hero. Can't believe I didn't notice that. All is good now.
__________________
Are you an InterWeberNetter?
Reply With Quote
  #524  
Old 16 Jul 2007, 00:24
StudMuffin21 StudMuffin21 is offline
 
Join Date: Jun 2007
So I'm still having problems getting the forum answers to show up. I have it set up to where after submitting the form, a new thread is created. For the most part it works fine, but not all the questions show their answers.

Any suggestions? I've been unable to get this working, and have worked on it for at least a month now
Reply With Quote
  #525  
Old 17 Jul 2007, 06:59
lazytown lazytown is offline
 
Join Date: Feb 2004
I'm using this as a glorified contact-us. I noticed with 3.6.5 (patched) that guest forms are NOT being posted to the forum. If a member uses the forum, it works fine. If a guest uses it, it looks like it goes through ok but nothing shows up. Any ideas?

-vissa
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:46.

Layout Options | Width: Wide Color: