MyBB Community Forums

Full Version: How to make custom registration function
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi there!

So i've made my own page of registration (outside of mybb atm) with html and css. Now i want it to function with mybb.
I tried to look into the member_registration code but i can't make any sence of it.

This is my version:

[Image: unknown.png]

Naam = Username
Email = Email (obivously)
Wachtwoord = Password

If some could help me make these function i think i can figure the rest out myself.

Here is the my html:

<form action="member.php" method="post" id="registration_form">
    <span>Naam: </span><input type="text" name="voornaam" class="textbox">
    <span>Achternaam: </span><input type="text" name="achternaam" class="textbox"><br><br>
    <span>Geslacht: </span><span class="secondary">Man</span><input type="radio" name="geslacht" value="man">
    <span class="secondary">Vrouw</span><input type="radio" name="geslacht" value="vrouw"><br><br>
    <span>Email: </span><input type="email" name="email" class="textbox breed"><br><br>
    <span>Verifieer email: </span><input type="email" name="email" class="textbox breed"><br><br>
    <span>Wachtwoord: </span><input type="password" name="password" class="textbox"><br><br>
    <span>BIG-nummer: </span><input type="text" name="big" class="textbox medium" placeholder="10987654321"><br><br>
    <span>Beroep: </span>
    <select class="textbox selection">
        <option value="invalid">-- Maak een keuze --</option>
        <option value="apotheker">Apotheker</option>
        <option value="arts">Arts</option>
        <option value="bmh">Bachelor Medisch Hulpverlener (tijdelijke BIG-registratie)</option>
        <option value="fysio">Fysiotherapeut</option>
        <option value="gezondheid">Gezondheidszorgpsycholoog</option>
        <option value="assistant">Physician assistant</option>
        <option value="therapeut">Psychotherapeut</option>
        <option value="tandarts">Tandarts</option>
        <option value="verloskudinge">Verloskundige</option>
        <option value="verpleegkundige">Verpleegkundige</option>
     </select><br><br>
     <div class="g-recaptcha" data-sitekey="6Le4QI4UAAAAABxSlQTsmWkLmRE_hv85Za4o5q6n"></div><br>
     <input type="checkbox" name="accept"><div class="confirmation"><span>Bij deze accepteer ik de regels & de </span><a href="">algemene voorwaarden</a><span>.</span></div>
</form>