The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
FORM TO FORUM/ THREAD/ PM/ EMAIL - CUSTOMIZABLE FORMS for Mod Apps, Orders, News Details »» | |||||||||||||||||||||||||||
FORM TO FORUM/ THREAD/ PM/ EMAIL - CUSTOMIZABLE FORMS for Mod Apps, Orders, News
Developer Last Online: May 2013
FORM TO FORUM/ THREAD/ PM/ EMAIL - Totally CUSTOMIZABLE FORMS
Version 1.3 - Dr. Erwin Loh ------------------------------------------------------- vB3 version is here: https://vborg.vbsupport.ru/showthread.php?t=66082 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. Posted as a REPLY to a current thread 3. PMed to you or someone else 4. Emailed to an email address you specify Or any combination or all of the above? Well, this is the hack for you! You can use this for: 1) Moderator Application 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 form1.php (you add questions, options etc. in the PHP file itself), uploading it, and then adding 3 templates. The beauty of this hack is that once you have added the 3 templates, to make a new form, all you need to do is copy the form1.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. However, if you do wish to modify the templates, you can copy and rename the templates. All the names of files and templates can be set in the PHP files. 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. INSTALLATION ------------ Easy - takes a few minutes: 1. Add the 3 templates - they are included as 3 TEXT files - form1.txt, formpost1.txt and formthanks1.txt = just use the names of the TEXT files as the name of the template, and cut and paste the contents. 2. Edit form1.php - the instructions are all inside the PHP file itself, in the top half. Follow the instructions carefully! 3. Upload form1.php Done! Just link to form1.php eg. http://www.yourforum.com/forums/form1.php LAST POST TITLE ON FORUMHOME HACK SUPPORT ----------------------------------------- If you have the "Last Post Title on Forum Home" hack by PPN, this hack supports it. Just find the line that says: $lastposttitlehack = "0"; And change it to: $lastposttitlehack = "1"; Done! Updates: ------------ Version 1.1 - fixed a username with quotation bug. Version 1.2 - fixed the email bug - oops... bad spelling... Version 1.3 - added ability for form to REPLY to a current thread To upgrade, just download the new form1.php - ensure it says "Version 1.3" at the top. Enjoy! Dr. Erwin Loh Show Your Support
|
Comments |
#42
|
|||
|
|||
Love this hack
Question, is it possible to "require" an answer? Seems you can submit without answering any of the questions. Great hack, I've got so many uses for this it's limitless. |
#43
|
||||
|
||||
wow - imagine the possiblities - lol
Quote:
|
#44
|
|||
|
|||
Erwin - I've now installed the hack - very nice work m8. I have a quick question.
As not every form would have all the types of questions and radio boxes etc. as you have for default - are these easy enough to remove? Also what if you wanted to add more? |
#45
|
||||
|
||||
Nice Erwin -- I had your contact us installed but I just might install this one instead
|
#46
|
||||
|
||||
damn it i'm getting errors.....
lets see being my luck it's a single semi colan out of place again edit--- ok i found the error for some reason it dont' like the fact that i have a ' in my username.... which is a little strange... |
#47
|
|||
|
|||
Hi Erwin
Great hack, thank you very much Can I have it posted as a reply to thread No. "XX" instead of making a new thread. I have a better use for it this way Thanks |
#48
|
||||
|
||||
Quote:
I purposely made it like that to open up the possibilites. To make answering a question compulsory, do this: In form1.php, find: PHP Code:
PHP Code:
Then, add a new template called "formanswer" with the contents: Code:
You did not answer a compulsory question. Please press backspace to redo the form. |
#49
|
||||
|
||||
Quote:
Yikes... I have fixed this bug - Version 1.1 is released. It's a small bug to fix. To upgrade, in form1.php, find: PHP Code:
PHP Code:
I have updated the ZIP file to version 1.1. When downloading, make sure the PHP file says 1.1 at the top of it. |
#50
|
||||
|
||||
Quote:
Yes, if you want to remove or add questions, just edit the form1.php file, and the "form1" template. Rename them both, and edit the variables in the PHP file. It's not hard to figure out. This hack is meant to be modified by the user. |
#51
|
|||
|
|||
For some reason, I have this form set to email me, but the email is not arriving.
PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|