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 |
#272
|
|||
|
|||
That is the only thing that is missing for us.
|
#273
|
|||
|
|||
man people this mod isn't that hard to grasp. you add your variables to parts 1 and 2 and define ur question variables on the plugin. your questions form is friggin html - not that tricky. if u want something to show up, you type it. if its a variable from the plugin, you call it with a dollar sign ($). on the answer form, its just bbcode - you wanna answer to show up you call it with the $ and if you want to bold it you friggin' bbcode bold the thing.
as far as the 5-star ratings, why would you rate a form that isn't filled out? you would only need to rate the data on the form, which lucky for everyone who is using this hack, the data is posted as either a thread or a post and if you've got the rating system turned on, well presto chango you can rate the threads/posts that submitting your form creates. hal05 - $posttitle = "$title". make sure you put title in part 1 and 2 and change the code below part 2 where it says by default $posttitle = $formtitle. |
#274
|
|||
|
|||
Uhhh.. it's not as simple as that, GBSteve... at least not in my experience.
If you want to [.B][/B.] your questions, for example, you'll have to put a space inbetween the [.B] tag and your variable (and also at the end before the closing [/B.] tag. Otherwise, you'll get a parse error when you try to save it. So, your bolded question would look like this: [.B]<space>$variable<space>[/B.] Furthermore, not all BBCode gives a parse error if you don't do this. i.e. [.SIZE=4][/SIZE.] works fine without the <space>. Note: The periods or dots are put in the above code so I could get them to appear here. |
#275
|
||||
|
||||
I would love to have this work on my site, I can see lot's of uses. Excellent MOD!!!!
I have to be honest, the instructions are beyond me.... I've tried to install this and followed the instructions.... Simple for the not so newbies, but, again, beyond me. I'll keep checking for explicate, understandable instructions (at least for me) |
#276
|
|||
|
|||
So can anyone help me? I still can't get this to work and get the "internal server error" message....
|
#277
|
|||
|
|||
I have a problem here.... Here's my form http://www.shuhalo.com/home/newthread.php?do=form
It looks just how I want it, BUT it won't post the info right... It posts the radio buttons first and only 3 of the questions. I want it to post the same order as the form is laid out. |
#278
|
|||
|
|||
I've been getting the following displayed on any form that has been submitted:
<!-- BEGIN TEMPLATE: applyanswers --> and at the bottom: <!-- END TEMPLATE: applyanswers --> Where can I remove these so they do not show up on any post made by the form? I've been looking through the templates and plugin code but can't find them. Please help. |
#279
|
|||
|
|||
Hey NightPhoenix,
It sounds like you need to go to your StyleManager in the admincp, and modify the "formanswers" template that's created by default. I had the same problem, and all that's needed is to place the desired variables on that template in the order you want them in, and voila. I use my page for recruiting too - lol. http://www.adversaryguild.com/forums...ad.php?do=form One thing i'd personally like to see is posting the answers in a tabular format similar to the manner in which the questions are given. I've been able to semi get what I want by putting html code on the formanswers template. The only real trick to using html code on that page is that you have to butt it all up against each other on a single line - or as close as you can get it. If you don't have it on a single line, for every line of code you have on that page, you will get a blank space on the output page. Perhaps there's a setting he has to allow html code for the output somewhere - not sure. Also, if anyone has figured out a way to get one of the dropdown answers to be a variable for the replythread or forum post id, i'd greatly appreciate some insight. I see where he suggests using "do=form&f=1" in the comments field, but i'm not certain how to define that in the html side to post there. Thanks! |
#280
|
|||
|
|||
I love this hack but I have an issue LOL
I installed it, created a nice looking form and decided I wanted a second form. Did was said in the instructions but then I went back to check up on both forms and neither worked. So I disabled the new form and voila my old form worked again. Whatever I try it doesn't seem to work with two forms. What am I doing wrong? Am I missing something? Thanks in advance eta It's solved... |
#281
|
|||
|
|||
Hey All,
It seems like this is a common question... What I have is a dropdown menu that based on the user's selection, I would like it to be able to reply to an already existent thread. Here's my code thus far: Code:
//ENABLE FORM TO REPLY TO EXISTING THREAD - 1 = yes, 0 = no $formreply = "1"; $formreplythreadid = "41"; //EXISTING THREAD ID FOR FORM TO REPLY IN Code:
////////////////////////////////////////////////////// $dropdownquestion1 = "CLASS"; // The following choices must NOT have quotation marks $dropdownchoice1a = "Please Select One"; $dropdownchoice1b = "Warrior"; $dropdownchoice1c = "Rogue"; $dropdownchoice1d = "Paladin"; $dropdownchoice1e = "Druid"; $dropdownchoice1f = "Priest"; $dropdownchoice1g = "Mage"; $dropdownchoice1h = "Warlock"; $dropdownchoice1i = "Shaman"; ////////////////////////////////////////////////////// Here's what I have from my template: Code:
<tr> <td class="alt1" valign="middle"> <b>$dropdownquestion1</b>: </td> <td class="alt1" valign="middle" colspan="2"> <select name="dropdownanswer1"> <option value="$dropdownchoice1a" <if condition="$dropdownchoice1a == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1a</option> <option value="$dropdownchoice1b" <if condition="$dropdownchoice1b == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1b</option> <option value="$dropdownchoice1c" <if condition="$dropdownchoice1c == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1c</option> <option value="$dropdownchoice1d" <if condition="$dropdownchoice1d == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1d</option> <option value="$dropdownchoice1e" <if condition="$dropdownchoice1e == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1e</option> <option value="$dropdownchoice1f" <if condition="$dropdownchoice1f == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1f</option> <option value="$dropdownchoice1g" <if condition="$dropdownchoice1g == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1g</option> <option value="$dropdownchoice1h" <if condition="$dropdownchoice1h == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1h</option> <option value="$dropdownchoice1i" <if condition="$dropdownchoice1i == $dropdownanswer1">selected="selected"</if>>$dropdownchoice1i</option> </select></td> </tr> Example: If they select dropdownchoice 1b from here, the corresponding thread that $formreplythreadid would be to 34, 1c would go to 31, so on and so forth. Any thoughts? Sample code would be great if anyone can provide any |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|