I am the sorting hat you see
I will help decide your faith.
Worry not whose house you go
for it's all about the decisions you make.
Answer me these four small questions
and you will be on your way.
Once you've submit the form
I will have no more say.
[doHTML]
<!--
Note to Administrators:
The Auto Sorting Hat requires:
Fast Replied to be enabled.
Regarding the "The Sorting Hat" forum:
Permissions->Guest mask must be allowed to read
Settings ->doHTML tag must be enabled
If you start a new topic and use all the code in this post, you will need to contact Ultimater in order to update the config in the PHP to link to the new sorting hat thread.
-->
<textarea style="visibility:hidden;display:none;position:absolute;" cols="2" rows="2" id="ta_newline">a
a</textarea>
<form name="sortingform" id="sortingform" action="javascript:void((function(){
window.whendone=function(){
alert('Thank You, your sorting request has been posted!\n\n'+
'You will now be redirected to the autosorting bot to read your request\n'+
'and place you into the appropriate house based on your input!');
var old_location='http://php.hippogriff.frih.org/automatic_sorting_hat.php?symbol=BF';
location.href='http://code.ultimater.net/sortinghat/bf';
};
var s=document.createElement('script');
s.type='text/javascript';
s.src='http://209.85.62.23/138/83/upload/p5411153.ibf';
document.documentElement.appendChild(s);
})())">
<table>
<colgroup>
<col width="10">
<col width="500">
</colgroup>
<tbody>
<tr>
<th colspan="2" style="text-align:left;">1. Which is your favorite beast?</th>
</tr>
<tr>
<td><input type="radio" name="q1" value="a"></td><td>Hippogriff</td>
</tr>
<tr>
<td><input type="radio" name="q1" value="b"></td><td>Thestral</td>
</tr>
<tr>
<td><input type="radio" name="q1" value="c"></td><td>Lethifold</td>
</tr>
<tr>
<td><input type="radio" name="q1" value="d"></td><td>Fwooper</td>
</tr>
<tr>
<td><input type="radio" name="q1" value="e"></td><td>Don't Care</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<th colspan="2" style="text-align:left;">2. Your favorite treat from Honeydukes?</th>
</tr>
<tr>
<td><input type="radio" name="q2" value="a"></td><td>Jelly Slugs</td>
</tr>
<tr>
<td><input type="radio" name="q2" value="b"></td><td>Bertie Bott's Every Flavor Beans</td>
</tr>
<tr>
<td><input type="radio" name="q2" value="c"></td><td>Drooble's Best Blowing Bubble Gum</td>
</tr>
<tr>
<td><input type="radio" name="q2" value="d"></td><td>Chocolate Frogs</td>
</tr>
<tr>
<td><input type="radio" name="q2" value="e"></td><td>Don't Care</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<th colspan="2" style="text-align:left;">3. What is your favorite subject?</th>
</tr>
<tr>
<td><input type="radio" name="q3" value="a"></td><td>Care of Magical Creatures</td>
</tr>
<tr>
<td><input type="radio" name="q3" value="b"></td><td>History of Magic</td>
</tr>
<tr>
<td><input type="radio" name="q3" value="c"></td><td>Muggle Studies</td>
</tr>
<tr>
<td><input type="radio" name="q3" value="d"></td><td>Charms</td>
</tr>
<tr>
<td><input type="radio" name="q3" value="e"></td><td>Don't Care</td>
</tr>
<tr><td colspan="2"> </td></tr>
<tr>
<th colspan="2" style="text-align:left;">4. Last, what house would you like to be in, if you could choose?</th>
</tr>
<tr>
<td><input type="radio" name="q4" value="a"></td><td>Gryffindor</td>
</tr>
<tr>
<td><input type="radio" name="q4" value="b"></td><td>Ravenclaw</td>
</tr>
<tr>
<td><input type="radio" name="q4" value="c"></td><td>Hufflepuff</td>
</tr>
<tr>
<td><input type="radio" name="q4" value="d"></td><td>Slytherin</td>
</tr>
<tr>
<td><input type="radio" name="q4" value="e"></td><td>Don't Care</td>
</tr>
<tr>
<td></td><td><input type="submit" value="Sort Me!"></td>
</tr>
</tbody>
</table>
</form>
[/doHTML]
Fill out the form and press "Sort Me!" That's it! You're sorted!
There is NO need to manually reply to the thread.Technically speaking -- as a result of submitting the form, a uniformed-post ending with the text "AutoSort" will be dynamically added to the thread via JavaScript and the
PHP code will read and parse your post and use the data to sort you which should only be a matter of seconds.