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 |
#1222
|
|||
|
|||
What do you mean by this?
|
#1223
|
|||
|
|||
I am sure that this question has been asked. With over 80 pages, it is probably in there somewhere, but I have not found an exact match to my problem. So maybe someone can help me.
I want to call my copy of the hack in this way: PHP Code:
I can generate this link without problem. My form begins executing. I can echo to the screen for verification, the "p" variable, by accessing $_REQUEST['p']. I want to set the variable $formreplythreadid to this "p" variable. I have tried various variations: PHP Code:
PHP Code:
something like this: PHP Code:
PHP Code:
In all cases, I could echo the value to the screen with success; however, in all cases when I tried to assign my variables value to $formreplythreadid, the value seems to be empty. How can I set the value $formreplythreadid to a value that is generated at runtime? |
#1224
|
||||
|
||||
Normally, I'd see the thank you screen then get redirected back to forumhome I believe. Now, I see the thank you screen and that's it, it doesn't redirect to anywhere.
|
#1225
|
|||
|
|||
Hi Daggerzz i have the same problem but with threads... I guess that is the solution... :
//ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no $formreply = "1"; if ($dropdownanswer1 == 'Mage'){ $formreplythreadid = "43";} if ($dropdownanswer1 == 'Warlock'){ $formreplythreadid = "34";} if ($dropdownanswer1 == 'Warrior'){ $formreplythreadid = "41";} if ($dropdownanswer1 == 'Rogue'){ $formreplythreadid = "42";} if ($dropdownanswer1 == 'Priest'){ $formreplythreadid = "40";} if ($dropdownanswer1 == 'Hunter'){ $formreplythreadid = "46";} if ($dropdownanswer1 == 'Paladin'){ $formreplythreadid = "45";} if ($dropdownanswer1 == 'Shaman'){ $formreplythreadid = "44";} //EXISTING THREAD ID FOR FORM TO REPLY IN Can you explain me where you have added this code please? $x = $_REQUEST['p']; |
#1226
|
|||
|
|||
Quote:
|
#1227
|
|||
|
|||
Quote:
Also, I'd like to beg/plead one more last time if someone can help me set up a birthday question so the three drop down menus are side by side on the same line. |
#1228
|
|||
|
|||
Also I will plead again someone please help me!
|
#1229
|
|||
|
|||
I make my question in a quote because after posted this, I saw Daggerzz's post. The problem is similar. However, I typed my question so I don't want to delete it :">
Quote:
|
#1230
|
|||
|
|||
Thanks to Abe I was able to get the triple drop down question working.
|
#1231
|
|||
|
|||
Parse error: syntax error, unexpected T_VARIABLE in /home/shawnyue/public_html/forum/newthread.php(74) : eval()'d code on line 191
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|