The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Form Hack Details »» | |||||||||||||||||||||||||
Form Hack 4.1 Features: Ever wanted an online form that a user can fill out, which when submitted gets:
Or any combination or all of the above? Well, this is the hack for you! You can use this for:
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:
This is customizable via the hook. Also:
INSTALLATION Easy - takes only a few minutes:
Done! Use this hack to make as many forms as you like! Enjoy! Updates: Version 4.0: (09/15/2006)
Version 4.1: (04/24/2008)
MAKE SURE YOU CLICK INSTALL! You will get an email when a new version is released. Abe1 with rights from Dr Erwin Loh Supporters / CoAuthors Show Your Support
|
Comments |
#332
|
|||
|
|||
Quote:
so yes, you can make a job form, people use it, the results end up in a forum. Same with resumes, you create the form, they use it, the results end up in a forum.... but you have to design the form first |
#333
|
|||
|
|||
I need a form hack to figure out the form hack. Anybody?
Chris |
#334
|
||||
|
||||
If I shouldnt have posted this here, I am sorry, I saw no html faq area & figured ppl with form knowledge could help me out. This is my first "crude html form", but it works. I am using this on a vb site of a friend that wants this to email the form to him & re-direct applicants to another page. I have tried so many times to get the re-direct to work...I cant, as you see looking at my creation that I am not that good at html and I am in the kindergarden stage of it. Also, when submit is clicked, pop-up appears asking if its ok to send...no problem, but then another pop up appears showing somewhat the same with a blank send to box, clicking send works, and email is sent. In your mail box is shows:"Form posted from Windows Internet Explorer." not from site itself...how do I fix this? If anyone could help me set up my re-direct I would be forever in your debt.....
Code:
<html> <div style="border: 25px ridge;"> <body> <FONT COLOR="FFD700"> <h1 align="center">YOUR TITLE</h1> <form action="MAILTO:YOUR EMAIL ADDRESS"method="POST"enctype="text/plain"> <p style="text-align: center;"> 1. Real Name:<br><br> <input type="text" name="1. Real Name"> <br><br> 2. AA Name:<br><br> <input type="textbox" name="2. AA Name"> <br><br> 3. Have you read the Code of Conduct and willing to abide by it at all times?<br><br> Yes: <input type="radio" checked="checked"name="3. Have you read the Code of Conduct and willing to abide by it at all times?" value="yes"> <br><br> No: <input type="radio"name="3. Have you read the Code of Conduct and willing to abide by it at all times?" value="No"><br><br> 4. Are you 18 years of age or older? <br><br> Yes: <input type="radio" checked="checked"name="4. Are you 18 years of age or older?" value="Yes"> <br><br> No: <input type="radio"name="4. Are you 18 years of age or older?" value="No"> <br><br> 5. What is your AAGUID Number?<br><br> <input type="text" name="5. What is your AAGUID Number?"> <br><br> 6. Do you have a AAO Tracker account? <br><br> Yes: <input type="radio" checked="checked"name="6. Do you have a AAO Tracker account?" value="Yes"> <br><br> No: <input type="radio"name="6. Do you have a AAO Tracker account?" value="No"> <br><br> 7. Link to YOUR AAO Tracker account?<br><br> <input type="text" name="7. Link to YOUR AAO Tracker account?"> <br><br> 8. Are you able to donate $10.00/month?<br><br> Yes: <input type="radio" checked="checked"name="8. Are you able to donate $10.00/month?" value="Yes"> <br><br> No: <input type="radio"checked="checked"name="8. Are you able to donate $10.00/month?" value="No"> <br><br> 9. Please list previous clans that you have been with in the past.<br><br> <textarea cols="50" rows="14" name="9. Please list previous clans that you have been with in the past."></textarea><br><br> 10. Please list previous account names that you have used in the past.<br><br> <textarea cols="50" rows="14" name="10. Please list previous account names that you have used in the past."></textarea><br><br> 11. Please tell us a little bit about yourself and why you want to join BlackwaterOps.<br><br> <textarea cols="50" rows="14" name="11. Please tell us a little bit about yourself and why you want to join BlackwaterOps."></textarea><br><br> 12. Have you ever been banned for cheating/hacking/exploiting or linked to any accounts that have been banned for cheating/hacking/exploiting?<br><br> Yes: <input type="radio" checked="banned"name="12. Have you ever been banned for cheating/hacking/exploiting or linked to any accounts that have been banned for cheating/hacking/exploiting?" value="Yes"> <br><br> No: <input type="radio"name="12. Have you ever been banned for cheating/hacking/exploiting or linked to any accounts that have been banned for cheating/hacking/exploiting?" value="No"> <br><br> <input type="hidden" name="sendtoemail" value="YOUR EMAIL ADDRESS"><br> <input type="submit" value="Submit"><br></p> <input type="hidden" name="redirect" value="YOUR URL"> </FONT> </form> </body> </div> </html> </form> </body> </html> EDIT: Never mind, I figured it out. |
#335
|
|||
|
|||
I figured out a cool method of redirecting to the post (option "1" in the Form Hack) if you're a registered user, admin, etc. but redirecting Unregistered Users to the "Thank you" message telling them that their form will be put in queue for moderation. This prevents the "Invalid Thread specified" errors if you moderate Unregistered Users form submissions and have the redirect set to "1".
1. First you need to change the Forum Permissions so that Unregistered can Post New Threads in the forum your Form Hack uses. You'll have to disable Image Verification for guests, though.. but I don't find it a problem since I don't allow Guests to post in any of my forums. Does anyone know if there is a forum-specific Image Verification hack?? 2. Open up the Form Hack plugin. Set the "$redirectoption" to "1". You can also do this to 2-4, but I haven't tried it. If you do it for 2-4, make sure to change the correct "redirectoption" in the next step. 3. Find Code:
if ($redirectoption == "1") { $vbulletin->url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]"; eval(print_standard_redirect('redirect_postthanks')); exit(); } Code:
if ($redirectoption == "1" AND in_array($vbulletin->userinfo['usergroupid'], array(2,5,6,7))) { $vbulletin->url = 'showthread.php?' . $vbulletin->session->vars['sessionurl'] . "p=$newpost[postid]"; eval(print_standard_redirect('redirect_postthanks')); exit(); } 4. Configure the "$errormessage" to tell the Unregistered users that their submitted form has been put in queue for moderation. Quote:
Well I'm off to figure out how to do the "Thank You" message AND automatically redirect back to the forum now that I've gotten part way there. You can also use my method above for different reasons. It's essentially allowing you 2 redirect options instead of one. |
#336
|
|||
|
|||
I'm having a problem with my forms sending me an email. It only seems to do this once I log on. I set up a form to do registrations for a program training and they all got caught in a que of some sort and wasn't released until I logged in as a admin. Then all the emails were sent out at once. Have any idea why this would be?
|
#337
|
|||
|
|||
the most difficult thing is editing the template to include more fields?!
Can the developer show us snippets of code to add more of a certain type of question? I mean where does the code for a certain question start and end? And what makes up the parts of the code? The variable what else? |
#338
|
|||
|
|||
you have to be kidding me.... this is the most complicated hack I have ever tried to use... How could this even be considered for MOTM???
|
#339
|
|||
|
|||
I found this fairly simple to use and it works very well for a lot of stuff.
|
#340
|
||||
|
||||
It B kinda difficult at first, but once you understand it, it be really COOL.
I signed up for some of those Form makers on the net and never could get those suckers to do what I needed. But now that I've figured out this hack, its all gravy. Thanks ABE |
#341
|
|||
|
|||
Dont know why I get this error, even I did uninstall the hack.
Parse error: parse error, unexpected T_ENCAPSED_AND_WHITESPACE, expecting T_STRING or T_VARIABLE or T_NUM_STRING in /home/vtn/public_html/forum/newthread.php(71) : eval()'d code on line 641 Now everything I click on "New thread" this error appears on the top banner. Please advise.. Thanks so much. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|