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 |
#182
|
||||
|
||||
Just replicate the code that inserts the form to the forum twice and change the forumid.
|
#183
|
||||
|
||||
Code:
//FORUM TO POST NEW THREAD IN $formforumid = "64"; EDIT- tried that...didnt work.. what to do, what to do ! |
#184
|
||||
|
||||
In form1.php -
Underneath: PHP Code:
PHP Code:
Then, find: PHP Code:
PHP Code:
|
#185
|
||||
|
||||
bwhahaahaha SCORE!!!!!!!!
thanks Erwin this is going to be teh useful |
#186
|
|||
|
|||
Hi Erwin,
first of all thanks for this great hack! I did as instruction and now when I look at the List of Threads in that forum it shows the new thread. How would I edit this so that only ANSWER ONE is displayed as the Post Titel? [QUOTE=Erwin]The try this: PHP Code:
|
#187
|
|||
|
|||
One more questions, is there a chance to use bbcodes directly in the form? I mean like hardcode bbcodes in there?
So the output is formated like I want it? I also have a custom bbcode installed which uses a special tag <spoiler> </spoiler> any chance I can hardcode that into the form as well? Best regards. |
#188
|
|||
|
|||
The answer I found for using bbcode is I added a "parse" line at the very end.
So let's say I used some smilies and bbcode in the $formpurpose then I'd find Quote:
Quote:
|
#189
|
|||
|
|||
I've found one bug so far. I use this form for a TON of things right now and really love this hack man, kick ass job
Anyway, I recently made one to post to a thread. It posts correctly, bumps the thread like it has a new reply and everything. But for some reason the reply count for that thread stays at 0 heheh. Nothing major just a slight quirk |
#190
|
||||
|
||||
Quote:
|
#191
|
|||
|
|||
I'm posting two more forms today that post to threads. I'll see if it the problem replicates. Grabbed a fresh form from the zip and will let ya know.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|