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 |
#782
|
|||
|
|||
Well I've gotten real good at making forms but I'm having a lot of troubles with my SUBMIT options (redirect)
When I choose 0 it just sends me to a Thankyou mesage and just sits there. which is great cause I want to thank my users for taking the time to fill out the form But I need my forms to call another form upon submitting as well. My forms get posted in a Forum that users dont have permissions to View (can Post and thats working fine) What i'd like to see happen is that the Thank you comes up for say 10 seconds then they get re-directed to another form. Here's my work flow... 1) First form "Age verification" ------> upon submitting (pm me, Post to forum, and redirect to next form)-------> "Application Form". -------->upon submitting (pm me, Post to forum, and redirect to next form)----------> Pricing and details--------------->upon submitting (Pm Me Post to forum and return to forum Home Page) the Pms and Post are already working fine its just the re-direct that doesnt seem to work for me and as soon as I try messing with that code it give me the Ole "Invalid Forum Link or summin" Man I've been up till 5am 3 days in a row working with this Can someone PLEASE help me out ... I love the hack just wish it was a bit more flexable in the submit area... Thanks to everyone for again for any and ALL help Peace out... Tom |
#783
|
|||
|
|||
Ok I got it found a URL redirect post here...
https://vborg.vbsupport.ru/showthrea...ct#post1204796 that helped ... Thanks a million MilkCarton ^5 |
#784
|
||||
|
||||
Quote:
|
#785
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=150424" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=150424</a> >
|
#786
|
|||
|
|||
not sure whats wrong but i keep messing wtih it, and it either just starts saying normalquestion1 or it doesnt say anything. It also has the instruction part underneath it.
Preview BAP Form pokermainstream BAP Title asdf What site is this being played on? Please enter the poker site What is your poker account May only use 1 account Total Amount of Money Please enter the amount here. Number of shares # Cost for each share How much is each worth ------------------------------------------------------ All information you are wanting put down. asf coding: $formtitle $bbuserinfo[username] $normalquestion1 $normalanswer1 $normalquestion2 $normalanswer2 $normalquestion3 $normalanswer3 $normalquestion4 $normalanswer4 $normalquestion5 $normalanswer5 $normalquestion6 $normalanswer6 $question1 $explain1 $question2 $explain2 $question3 $explain3 $question4 $explain4 $question5 $explain5 ------------------------------------------------------ $vbtextquestion $vbtextanswer ------------------------------------------------------ |
#787
|
||||
|
||||
Quote:
Quote:
|
#788
|
|||
|
|||
well it got rid of teh description, im g uessing something needs to be changed in one of these 2 sections?
// Part 1 $vbulletin->input->clean_array_gpc('p', array( 'normalanswer1' => TYPE_STR, 'normalanswer2' => TYPE_STR, 'normalanswer3' => TYPE_STR, 'normalanswer4' => TYPE_STR, 'normalanswer5' => TYPE_STR, 'longanswer1' => TYPE_STR )); // Part 2 $normalanswer1 = $vbulletin->GPC['normalanswer1']; $normalanswer2 = $vbulletin->GPC['normalanswer2']; $normalanswer3 = $vbulletin->GPC['normalanswer3']; $normalanswer4 = $vbulletin->GPC['normalanswer4']; $normalanswer5 = $vbulletin->GPC['normalanswer5']; $longanswer1 = $vbulletin->GPC['longanswer1']; //QUESTION 1 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text) $question1 = "What site is this being played on?"; $explain1 = "Please enter the poker site"; //QUESTION 2 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text) $question2 = "What is your poker account"; $explain2 = "May only use 1 account"; //QUESTION 3 (do not use quotation marks or you will get a parse error, besides the quotes around the whole text) $question3 = "Total Amount of Money"; $explain3 = "Please enter the amount here."; //Question 4 $question4 = "Number of shares"; $explain4 = "#"; $question5 = "Cost for each share"; $explain5 = "How much is each worth"; |
#789
|
||||
|
||||
Folks, I have a problem with quotes in this hack.
If someone uses a double quote in the thread title, the text is truncated at the point of the quote. If I put the php function addslashes in there, the slash appears in the resulting thread. Anyone had a problem like this and found a solution? |
#790
|
||||
|
||||
Quote:
|
#791
|
|||
|
|||
Hey folks,
Anyone know how to extract the users listed e-mail addy like we do the "username" automatically onto a form? Thanks Tom |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|