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 |
#832
|
|||
|
|||
The top of that template should look like this:
Code:
$stylevar[htmldoctype]
<html dir="$stylevar[textdirection]" lang="$stylevar[languagecode]">
<head>
$headinclude
<title>$vboptions[bbtitle] - $formtitle</title>
</head>
<body>
$header
$navbar
<!-- main -->
<if condition="$preview">
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
<td class="tcat">
Preview
</td>
</tr>
<tr>
<td class="alt1">
$preview
</td>
</tr>
</table>
</if>
<br />
<form name="vbform" action="newthread.php" method="post"<if condition="!is_browser('webtv')"> onsubmit="return vB_Editor['$editorid'].prepare_submit(0, $vboptions[postminchars])"</if>>
<input type="hidden" value="$formname" name="do" />
<input type="hidden" value="submit" name="action" />
<input type="hidden" name="posthash" value="$posthash" />
<input type="hidden" name="poststarttime" value="$poststarttime" />
The <form> part is what tells those Submit/Reset buttons what to do. Without the <form> section, those buttons won't do anything. |
#833
|
|||
|
|||
I found it! Putting buttons in English, it works now... I don't understand why, but it works !
Someone has a solution to bring them into french? |
#834
|
||||
|
||||
Quote:
In template: PHP Code:
PHP Code:
PHP Code:
|
#835
|
|||
|
|||
Big thx Dubi, all works now...
|
#836
|
|||
|
|||
is there a way to add tags from the form???
|
#837
|
|||
|
|||
How do you mean, Zmmmzz? Can you give an example?
|
#838
|
|||
|
|||
Hi ive been using this hack for dome time and love it. Our gaming clan uses it for applications and its set to post to forum that our registered users can and cannot see. I want to try to get one application to post to more than one forum. I have searched this thread and cannot find any option for this. Could someone tell me what the variables should look like for this to happen or mabey point me to a thread that has already answered this question. Million thanks and great Mod.
|
#839
|
|||
|
|||
I haven't tried this yet - anyone know if this can post to a forum that the user doesn't have access to? i.e. Reporting bad behavior goes into a non-public forum that only admins can see?
|
#840
|
|||
|
|||
Is there a way to require attachments? Like force a user to upload one?
|
#841
|
|||
|
|||
I'm sure I'm just not seeing things properly, but I've imported the xml file and can't find where to configure this product, or where it shows up in my forum for people to use.
?? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|