View Full Version : Displaying custom form in vBulletin ??

14 Jul 2009, 21:23

I want to display a custom non-vB dependent form on my header template.

I added all required images and css classes to my forum template.

Here is the form code.

<div class="quote">
<div style="padding:100px 10px 0px 10px;">
<form action="results.html" method="get">
<table cellpadding="0" cellspacing="0" border="0" width="100%" class="padded" align="left">
<td align="left" colspan="2"><b>Choose Sport</b></td>
<td colspan="2" align="left">
<select name="src">
<option value="123">Football</option>
<option value="124">Basketball</option>
<option value="125">Baseball</option>
<option value="126">Hockey</option>
<td align="left" width="35%" style="padding:0px 0px 0px 40px"><b>Enter Zip Code</b><br /><input type="text" name="zipcode" size="12" /></td>
<td align="left" width="65%" style="padding:10px 45px 0px 10px"><input type="image" src="images/button.png" /></td>

I pasted this code in my header template and it didn't work.

Then I created a new template with my form code and used this method to display custom templates via plugins.

None of those worked. I even tried to enable HTML (I know it's not safe) for a certain forum, which didn't work too.

Can someone please let me know what am I missing.


--------------- Added 1247610116 at 1247610116 ---------------


I solved this. The code above was correct. It was just few conditionals around the code that were breaking the display.

Maybe someone else find this thread useful :)