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 |
#1282
|
||||
|
||||
Quote:
PHP Code:
|
#1283
|
|||
|
|||
Have you set which forum to put the form post in?
PHP Code:
It is a very frustrating hack to start with though!! |
#1284
|
||||
|
||||
Quote:
|
#1285
|
|||
|
|||
I just backed up the code and then deleted things i didn't need. i dont think // will work there.
i didn't need these dropdowns or checkbox so i deleted all this code PHP Code:
PHP Code:
PHP Code:
PHP Code:
You will then have to edit the templates so remove dropdownanswer1 from there aswell Hope that makes some sense |
#1286
|
||||
|
||||
Hey thanks for the detailed explanations...does that mean i have to create new templates too for future forms?
|
#1287
|
|||
|
|||
yes ....I haven't had to do this yet
|
#1288
|
|||
|
|||
Hi all,
I have installed this onto my test forum which is using Version 3.7.3 and as i am new to all this i am not sure what it means when it says. Edit the main hook (plug-in) - the instructions are all inside the hook itself, in the top half. Follow the instructions carefully! ALso will this mod be ok to use on 3.7.3 Chris |
#1289
|
|||
|
|||
Chris
Edit the main hook (plug-in) means Go to admin - Plugins & Products - Plugin Manager Then "edit" form hack Yes works fine 3.7.3 If you "search this hack" (at the top of this page) there is a lot of great info in these 86 pages |
#1290
|
||||
|
||||
I've been looking into getting the extended forms javascripts that are out there to work with this. So far I've not had much luck getting them to work. What I'm talking about is this: http://www.quirksmode.org/dom/domform.html
Has anyone given this a shot yet or have a better idea of what should be edited? So far, I haven't even tried to see if they submit, as I can't get the extra fields to generate just yet. |
#1291
|
|||
|
|||
I'm trying to ad more then the 3 Radio Buttons, this is the code I've added:
Part 1: HTML Code:
$vbulletin->input->clean_array_gpc('p', array( 'normalanswer1' => TYPE_STR, 'radioanswer1' => TYPE_STR, 'radioanswer2' => TYPE_STR, 'radioanswer3' => TYPE_STR, 'radioanswer4' => TYPE_STR, 'radioanswer5' => TYPE_STR, 'radioanswer6' => TYPE_STR, 'radioanswer7' => TYPE_STR, 'radioanswer8' => TYPE_STR, 'radioanswer9' => TYPE_STR, 'radioanswer10' => TYPE_STR, 'radioanswer10other' => TYPE_STR, HTML Code:
$normalanswer1 = $vbulletin->GPC['normalanswer1']; $radioanswer1 = $vbulletin->GPC['radioanswer1']; $radioanswer2 = $vbulletin->GPC['radioanswer2']; $radioanswer3 = $vbulletin->GPC['radioanswer3']; $radioanswer4 = $vbulletin->GPC['radioanswer4']; $radioanswer5 = $vbulletin->GPC['radioanswer5']; $radioanswer6 = $vbulletin->GPC['radioanswer6']; $radioanswer7 = $vbulletin->GPC['radioanswer7']; $radioanswer8 = $vbulletin->GPC['radioanswer8']; $radioanswer9 = $vbulletin->GPC['radioanswer9']; $radioanswer10 = $vbulletin->GPC['radioanswer10']; $radioanswer10other = $vbulletin->GPC['radioanswer10other']; Also: how can I have the drop down box, direct where the form/post goes? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|