ok a couple of questions ???

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 !

ok a couple of questions ???

Postby noonoo on Sat 26. Nov, 2005 05:00

Am i right in thinking that this mod just redirects you to the profile_register_body.tpl on signup which is a replica of the profile_add_body.tpl just shorter (missing some fields). then when user goes to edit profile they then goto profile_add_body.tpl to fill out the rest.
if that is the case here are my questions:

1: To add the Visual Confirmation all i would have to do is copy and past the code from one to the other which would be:
Code: Select all
<!-- Visual Confirmation -->
   <!-- BEGIN switch_confirm -->
   <tr>
      <td class="row1" colspan="2" align="center"><span class="gensmall">{L_CONFIRM_CODE_IMPAIRED}</span><br /><br />{CONFIRM_IMG}<br /><br /></td>
   </tr>
   <tr>
     <td class="row1"><span class="gen">{L_CONFIRM_CODE}: * </span><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td>
     <td class="row2"><input type="text" class="post" style="width: 200px" name="confirm_code" size="6" maxlength="6" value="" /></td>
   </tr>
   <!-- END switch_confirm -->


2: I noticed that profile_register_body.tpl doesnt have the (BEGIN switch_namechange_disallowed) do i need to include this, what does it do i presume it checks to make sure that no two usernames are the same, am i right in thinking this ??? and if that it the case should i add it again copying and past as it is on profile_add_body.tpl.

3: Any other fields that i want do add i can just copy and past accross without modifying any other files.

4: If i add a mod that adds a field on the registration page, i just add it to the template i want it to be seen on, or both templates if i want it visable on both.

That is all i was wondering, thanks for any help in advance.
Sorry to ask so many questions but i like to try to understand what i am doing and learn as much as i can about this stuff. also i think it would help others (newbies like me :) ) understand the mod better as well.

Anyway thanks again for another fantastic mod from this site.

noonoo :) :) :)
noonoo
Poster
Poster
 
Posts: 4
Joined: Mon 31. Oct, 2005 01:03

Postby Beeveer on Sat 26. Nov, 2005 20:47

Okay, here the answers

1. Yes
2. No, isn't needed, because while submitting the values are checked, not by the user. The switches are when editting your profile after registration, and want an other nickname.
3. Yes
4. Yes
Nee, ik geef geen antwoorden in het Nederlands, die horen thuis op www.phpbb.nl ;)
User avatar
Beeveer
brilliant supporter
 
Posts: 264
Joined: Tue 30. Nov, 2004 19:13
Location: Boskoop, South-Holland, the Netherlands

Postby noonoo on Sat 26. Nov, 2005 22:32

many thanks for your reply found the info usefull, i am gonna install this tonight.

hope this helps someone else out.

thanks again :D :D :D
noonoo
Poster
Poster
 
Posts: 4
Joined: Mon 31. Oct, 2005 01:03


Return to Custom registration form [2.0.6/EM]

Who is online

Users browsing this forum: No registered users and 1 guest

cron