2 Questions about registration form

Now you can make it easyer for new users, with a shorter registration form

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

Postby Pagico on Sun 10. Oct, 2004 14:54

just removed the MOD and installed again, now it works ;)
Pagico
Poster
Poster
 
Posts: 9
Joined: Sat 09. Oct, 2004 01:09

Postby Niels on Sun 10. Oct, 2004 15:26

:D
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Pagico on Sun 10. Oct, 2004 15:41

Niels wrote::D

last questions Nils, I promise :D

I ended up making the registration form containing, in the preferences, just the Language, Birthday and Location (all optionals, not required).
I managed to put the Birthday field by adding
Code: Select all
<tr>
     <td class="row1"><span class="gen">{L_BIRTHDAY}</span></td>
     <td class="row2"><span class="gen">{S_BIRTHDAY}</span></td>
   </tr>

to the body_register.tpl

But how do I add the location field?
I used the "search function" and found this thread http://mods.db9.dk/viewtopic.php?t=4222 , but no answer :(

Sorry for the many questions Nils, if you do not have time I do understand.
Pagico
Poster
Poster
 
Posts: 9
Joined: Sat 09. Oct, 2004 01:09

Postby Niels on Sun 10. Oct, 2004 16:12

you should copy the template code from the profile_add_body.tpl

e.g.
Code: Select all
   <tr>
     <td class="row1"><span class="gen">{L_LOCATION}:</span></td>
     <td class="row2">
      <input type="text" class="post"style="width: 200px"  name="location" size="25" maxlength="100" value="{LOCATION}" />
     </td>
   </tr>


the birthday should look almost as you did
Code: Select all
   <tr>
     <td class="row1"><span class="gen">{L_BIRTHDAY}:{BIRTHDAY_REQUIRED}</span></td>
     <td class="row2"><span class="gen">{S_BIRTHDAY}</span></td>
   </tr>


this will enable to MOD to automatically add the asterix if you later makes it a mandotory field from with-in ACP
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Postby Pagico on Sun 10. Oct, 2004 18:28

fixed :D thanks again
Pagico
Poster
Poster
 
Posts: 9
Joined: Sat 09. Oct, 2004 01:09

Postby jeffb68cam on Sat 11. Dec, 2004 08:43

Thanks for all these mods. I just joined today, and already my forum is 10 times better :lol:
jeffb68cam
Poster
Poster
 
Posts: 1
Joined: Sat 11. Dec, 2004 07:11

Previous

Return to Custom registration form [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron