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 |
#422
|
|||
|
|||
I posted a message directly below the one with code in it stating that the problem had been fixed. I've also updated the code so yes, everything should work fine now. It wasn't very clear though, sorry.
|
#423
|
|||
|
|||
No, no rayw, don't be sorry, I may have read all this to fast.
Anyway, thank you very much for your work and help I'll give a try to it this evening |
#424
|
|||
|
|||
Well, rayw... I've a slight change to do.
In fact, I have a lot of forums and su-forums. All these may change time to time, so I would need this tweak to be easy to manage. My idea would be to use the forumjump template to improve that product. Something like this, where when clicked on, would post the thread in : PHP Code:
|
#425
|
|||
|
|||
How do you send an e-mail out to a group with the contents of the form?
|
#426
|
|||
|
|||
Quote:
I don't see why it wouldn't work and all the code looks ok (but I'm no programmer either - still learning as said above). All you can do is give it a go and see what happens. You seem to know more about this stuff then me anyway! |
#427
|
|||
|
|||
Hey rayw,
I don't think I know more than you: I just copied the forumjump code. But I don't think, this could work as these link are not designed to save posts but just to jump to... Maybe some coder around here may help us... |
#428
|
|||
|
|||
im totally clueless trying to customize my own form, can anyone help me via PM ?????
im trying to add several $normalquestion .....but do i just add $normalquestion2 it does not show up, etc HELP! |
#429
|
||||
|
||||
Quote:
Maybe the link has one letter wrong. Good Luck |
#430
|
||||
|
||||
Quote:
Check form names Check form answer area Check main form and verify that its got the correct html that will show all boxes or message areas. HTML Code:
// Part 1 $vbulletin->input->clean_array_gpc('p', array( 'answer1' => TYPE_STR, 'answer2' => TYPE_STR, 'answer3' => TYPE_STR, 'answer4' => TYPE_STR, 'answer5' => TYPE_STR, 'radioanswer1' => TYPE_STR, 'radioanswer1other' => TYPE_STR, '$normalanswer1' => TYPE_STR, '$normalanswer2' => TYPE_STR, )); // Part 2 $answer1 = $vbulletin->GPC['answer1']; $answer2 = $vbulletin->GPC['answer2']; $answer3 = $vbulletin->GPC['answer3']; $answer4 = $vbulletin->GPC['answer4']; $answer5 = $vbulletin->GPC['answer5']; $radioanswer1 = $vbulletin->GPC['radioanswer1']; $radioanswer1other = $vbulletin->GPC['radioanswer1other']; $normalanswer1 = $vbulletin->GPC['normalanswer1']; $normalanswer2 = $vbulletin->GPC['normalanswer2']; Good Luck! |
#431
|
||||
|
||||
HTML Code:
$formtitle $bbuserinfo[username] $question1 $answer1 $question2 $answer2 $question3 $answer3 $question4 $answer4 $question5 $answer5 $radioquestion1 $radioanswer1 $radioanswer1other $normalquestion1 $normalanswer1 $normalquestion2 $normalanswer2 ------------------------------------------------------ $vbtextquestion $vbtextanswer ------------------------------------------------------ HTML Code:
<tr> <td class="alt1" colspan="3"> <b>$normalquestion1</b> </td> </tr> <tr> <td class="alt2" colspan="3"> <input type="text" size="30" value="$normalanswer1" name="normalanswer1" /> </td> </tr> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|