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 |
#82
|
|||
|
|||
ooohhh....why wont any text show up in the posts and pms..???
Peace |
#83
|
||||
|
||||
Post your form php file and I'll have a look
|
#84
|
|||
|
|||
here u go
Peace |
#85
|
||||
|
||||
well first of all
//ENABLE FORM TO BE POSTED - 1 = yes, 0 = no $formforum = "0"; check your $formpost template |
#86
|
|||
|
|||
i know i turned that off cuz the posts were coming back blank
$formtitle $bbuserinfo[username] $normalquestion1 $normalanswer1 $radioquestion1 $radioanswer1 $radioquestion2 $radioanswer2 $radioquestion3 $radioanswer3 $radioanswer3other $question1 $answer1 $question2 $answer2 $question3 $answer3 ----------------------------------------------------- $longquestion1 $longanswer1 thats what i ahve in there Peace |
#87
|
|||
|
|||
my email got sent, but that was also blank......hmmm
Peace |
#88
|
||||
|
||||
I'll work on it with you via pm. Everything looks okay, if it's blank then the function is working except it's not inserting the $formpost template correctly
Try changing eval("\$formsend = \"".gettemplate("$formpost")."\";"); to eval("\$formsend = \"".gettemplate("formpost1")."\";"); PM me if you have problems and it still isn't working. Make sure (just double and triple check ) formpost1 template is in the current style set you're using |
#89
|
||||
|
||||
You are missing the formpost1 template. Do as Koutaru says. And thanks Koutaru - good work.
|
#90
|
||||
|
||||
yup it was a template error -- it happens. Problem fixed, it would have totally stumped me if it wasn't something with the templates.
|
#91
|
|||
|
|||
Hmmm since we can't use " marks in like the purpose or questions boxes which restricts html coding. Is there a way to enable bbcode for those areas?
So we can put in smilies or glow or something like that to kinda spice things up and make it look more fun? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|