Version: 4.1, by Abe1
Developer Last Online: Jun 2010
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.
I've tried another form via the url http://www.mywebsite.com/forum/newth...?do=form&f=345, this time round with a forum ID but it seems like after i submitted the form, the form did not ended up in the correct forum.
Again it shows that it doesn't belongs to any forum and i can't delete it again because it says i don't have the permission. Really need help on this.
You are probably not doing it correctly. You need to put the forum ID number in the plugin not the link.
Quote:
//FORUM TO POST NEW THREAD IN
//You CAN make this number a variable. You can have a drop down menu or in the link like do=form&f=1. Make sure you add it the variables list.
$formforumid = "16";
I've managed to fix the forum id part but can you help me to resolve the deletion of the testing threads that i have no access to as it doesn't belongs to any forums?
I've managed to fix the forum id part but can you help me to resolve the deletion of the testing threads that i have no access to as it doesn't belongs to any forums?
Hi there,
I am having some real trouble getting this to work.
I have installed it, can edit what the questions are etc and got it posting how I want it to but:
• I can't work out how to remove questions?
• I can't work out how to add questions?
There are quite a few questions I don't want - such as the radio boxes etc.
I do however want some more text box questions.
I have tried deleting the appropriate variables in part 1 and part 2, but when I go to:
Hi there,
I am having some real trouble getting this to work.
I have installed it, can edit what the questions are etc and got it posting how I want it to but:
? I can't work out how to remove questions?
? I can't work out how to add questions?
There are quite a few questions I don't want - such as the radio boxes etc.
I do however want some more text box questions.
I have tried deleting the appropriate variables in part 1 and part 2, but when I go to:
HTML Code:
www.mywebsite.com/forums/newthread.php?do=form
then the form hasn't changed one bit?!
What am I doing wrong?
It is a simple as not including them in the template file ?form?. This file is what determines what questions the users see and have the option to answer to. If you only want to remove the radio questions then simply remove the code below in you ?form? template.
Also keep in mind that the template ?formanswers? is what gets posted to your message area or email. So you will have to edit that also.
You'll have to make changes to the two style templates (form and form_answers) to add or remove questions and actually have the questions asked in the hook.
1. Form - creates the question area
2. form_answers - used to create the email and thread
3. hook - asks the questions and creates the variables that interact with 1 and 2 above.
Any changes you make to a question in the hook (ie. question type - checkbox or question or longquestion) has to have the corresponding changes made in 1 and 2 above.
Yes, I saw your post on this. I would not know how to doing something like that. I am just a simple mod type person that knows basic html and very little php. I can work my way around most hacks and get things figured out and do some minor changes and additions but when it come to major changes I am not to good. I do think attachments might be a nice feature to add to it. I have no reason to do this though. I don't know what purpose it would serve. There are other hacks out that that you can do this with though.