The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News. Details »» | |||||||||||||||||||||||||||
FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - CUSTOMIZABLE FORMS - Mod Apps, Orders, News.
Developer Last Online: May 2013
FORM to THREAD/ FORUM/ POLL/ PM/ EMAIL - Totally CUSTOMIZABLE FORMS
Version 1.6 for vBulletin 3.x.x by Dr Erwin Loh Features: Ever wanted an online form that a user can fill out, which when submitted gets: 1. Posted into a new thread in a forum of your choice 2. Create a new poll in the new thread with options of your choice 3. Posted as a reply in an existing thread of your choice 4. PMed to you or someone else 5. Emailed to an email address you specify 6. Choose to redirect to the post, thread or forum, or a custom thank you message 7. Choose to redirect to editpost to upload attachments Or any combination or all of the above? Well, this is the hack for you! You can use this for: 1) Moderator Applications 2) Quiz Submit Form which gets PMed to a moderator 3) Contact Form that goes to PM, email or thread 4) Guests to apply to be members 5) Report a Moderator form that goes as a PM to you 6) Guests can PM you for whatever reason 7) Order form to buy things 8) Donation form 9) News or Articles submissions that can go straight to a thread Or anything you like - this hack is totally customizable via the PHP file. Basically, this hack involves modifying 1 PHP file form.php (you add questions, options etc. in the PHP file itself), uploading it, and then adding 2 templates. The beauty of this hack is that once you have added the 2 templates, to make a new form, all you need to do is copy the form.php and rename it to form2.php, edit the variables in the PHP file, and you have a totally new form!!! You do not need to touch the templates again. Format of the form: 1. One main input question 2. 2 Radio buttons Choice questions 3. 3 Normal text input questions 4. 1 Long answer question This is customizable via the PHP file. 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: 1. Add the 2 templates. 2. Edit form.php - the instructions are all inside the PHP file itself, in the top half. Follow the instructions carefully! 3. Upload form.php Just link to form1.php eg. http://www.yourforum.com/forums/form.php Done! Use this hack to make as many forms as you like! Enjoy! Updates: Version 1.1 - Option to force user to answer all questions. Version 1.2 - Thread count and lastposter information now updated if form is sent to existing thread. Version 1.3 - ADDED CREATE POLL OPTION! Version 1.4 - Fixed bug with Form-to-thread code Version 1.5 - Major update: - fixed bug where thread count not updated when form to forum - fixed default posting to allow smilies and sigs when reply to thread - added templates to cache (saves 2 queries) - added option to change thank you message - added options to redirect to post, thread or forum when submit Version 1.6 - Choose to redirect to editpost to upload attachments Screenshot is an example of a form - the form title and questions are customizable: Show Your Support
|
Comments |
#222
|
|||
|
|||
Anyone know if it would be possible to add something like a drop down menu that could list of admin defined forums in which the form would be submitted as a new thread?
I am helping a friend with writing style forum so he has many categories/forums to submit writing. Rather than creating 20 forms that are identical other than the forum they would be submitting to, it would be great to have one form with the user defining which forum to send it to as a new thread. |
#223
|
|||
|
|||
Quote:
I am not sure if anyone else would do it this way but I have a lot of different forms and instead of typing the name of each form file name such as: Code:
<if condition="$foruminfo['forumid'] == 123">form123.php<else /> Code:
<if condition="$foruminfo['forumid'] == 123">form$foruminfo[forumid].php<else /> This brings me to another question, would it be possible to just have one if statement and use an array of some sort like: Code:
<if condition="$foruminfo['forumid'] == 123,124,125,126">form$foruminfo[forumid].php<else /> |
#224
|
||||
|
||||
Erwin I would also like to add my vote for allowing attachments in the form should it be used to create a new thread. You mentioned earlier that this might be hard while simply uploading an image to the db wouldn't be as hard. Could you give us some example code on how to allow someone to uplaod to db and then show the template mod that would be needed to display that image in the thread?
I like a previous poster am trying to use this for a classifieds section. |
#225
|
|||
|
|||
Nice modification. I have it working well on my site
I use my forms to just send an email to my address. Is it possible for it to send to multiple addresses? If so how? Thanks! |
#226
|
||||
|
||||
Quote:
Look for this: PHP Code:
PHP Code:
Anyone figured out yet how to make a thread made by these forms search able? |
#227
|
|||
|
|||
Quote:
|
#228
|
||||
|
||||
Quote:
|
#229
|
||||
|
||||
This is a long thread so I'm sorry if these questions have been asked, I skimmed through it but didn't see the answers...
What would I need to do to get the thread title to be the answer from the first question? I'm using it for recipes, the first question is the recipe name, I want that to be the thread title. Is there any way to use BB code? When I try putting it in the formanswers template I get an error when trying to save it. I want the questions to be in bold so that they stand out from the answers. This is an awesome hack, thanks! |
#230
|
|||
|
|||
Quote:
http://"/;www.yahoo.com" Please let me know what I Can do to fix this... |
#231
|
|||
|
|||
Does anyone have any idea how I can add a flood check to this?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|