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.
This happens with topics which are created by this hack.
When an user chooses option "Instant email notification" in "Default Thread Subscription Mode", then the moderators move those topics (that user subscribed) to moderator areas or somewhere that user can't access, but emails were still sent out to nofify that user about all the replied messages.
Sometimes the administrators and moderators discuss about that user in those topic are created by this hack, he/she also knows everything even he/she can't access to the area where the topics has been moved in.
Please advise.
Thanks.
Does anyone have a solution to this problem? I would appreciate the help. My users can see any messages that are left since they are subscribe to the thread. It sends them e-mail with the updated message. It's kinda defeats the purpose to having the applications confidential and only for moderators to comment on.
Check around line 100 for a missing semicolon( ; ), double quote( " ), single quote( ' ) or bracket( { ).
This didn't work.. everything in newthread.php is fine. I get this error no matter if I upload a brand new product from this thread without editing it or use one I edited...
I want to say that it was a general compatibility issue with 3.7, however, it works fine on one of my forums running 3.7 and I haven't edited anything else with this forum that should mess it up.
Is this for your final output after the form have been submitted? If yes, use standard BB code in your formanswer template.
No, I am creating the form for it to be filled in by members, at the bottom of the form I am trying to put a link to a URL for the rules for the members to read before they submit the form.
I have the need for 2 forms. I made the easier one of the 2 first and tested it and it works fine. When I do the 2nd one, it gives me the following error when I try to submit the form.
Code:
Fatal error:
* Please complete both the subject and message fields.
Unable to proceed with save while $errors array is not empty in class vB_DataManager_PM in /includes/class_dm.php on line 763
any advice on what to do??
I'm having the exact same problem, any idea on how to solve it? I am also using the "edit thread button" hack.
I figured I would post this because I didn't see it anywhere else in a quick search through here.
If you want to have a separate activity on the online page, then there is a simple addition to the product to allow this. For example, if you have a form to submit a PM to the admins, then when a user is using that form, you could have their location/activity be "Contacting the Admins". That is just an example, it is open to whatever you want.
Here is the code you must add to the product xml to get this easy addition:
I figured I would post this because I didn't see it anywhere else in a quick search through here.
If you want to have a separate activity on the online page, then there is a simple addition to the product to allow this. For example, if you have a form to submit a PM to the admins, then when a user is using that form, you could have their location/activity be "Contacting the Admins". That is just an example, it is open to whatever you want.
Here is the code you must add to the product xml to get this easy addition: