[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date
][Interchange by thread
]
[ic] Changing Default Username
I am making a site with subscriptions in Interchange, I want the user to be
able to specify the username and password that they use to login. However
the user must go through the checkout process before they have a username or
password since they must "buy" the subscription first. I tried simply
putting the "new_account" page together with the checkout page, and all I
see to get is some kind of Default Username, (like U00003) or something like
that for the username, and thus it will not login. I was just wondering if
anyone had any insight as to why this would do this?
Here is a blurb from my new receipt page:
</table>
<P>
<font face="Verdana, Arial, Helvetica, sans-serif" size="1">
<I>(Please print this receipt for your records. Thank you for your
order!)</I>
</font>
<P>[tmp subscriponly]__SUBSCRIPTION__[/tmp][set verify]1[/set]
[if scratch subscriponly]
[if !scratch new]
[if session failure]
<P>
<b>[data session failure]</b>
[data base=session field=failure value=""]
<P>
[/if]
[else]
[set new][/set]
[/else]
[/if]
<table border="0" cellspacing="0" cellpadding="0">
[seti NewAccount]
[if type=explicit compare="[userdb new_account]"]
mv_nextpage=[value memberarea]
[else]
mv_nextpage=new_account
[/else]
[/if]
[/seti]
<FORM ACTION="[process-target]" METHOD=POST>
<input type=hidden name=mv_session_id value="[data session id]">
<INPUT TYPE=hidden NAME=mv_click VALUE=NewAccount>
<INPUT TYPE=hidden NAME=mv_doit VALUE=return>
<INPUT TYPE=hidden NAME=function VALUE=new_account>
<INPUT TYPE=hidden NAME=mv_nextpage VALUE=ord/basket>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="2">
<tr>
<td align="right" class="contentbar2">
<b>Username:</b>
</td>
<td class="contentbar2" align="left">
<input type="text" NAME=mv_username VALUE="">
</td>
</tr>
<tr>
<td align="right" class="contentbar2">
<b>Password:</b>
</td>
<td align="left" class="contentbar2">
<INPUT TYPE=password NAME=mv_password VALUE="">
</td>
</tr>
<tr>
<td align="right" class="contentbar2">
<b>Verify Password:</b>
</td>
<td align="left" class="contentbar2">
<INPUT TYPE=password NAME=mv_verify VALUE="">
</td>
</tr>
<tr class="contentbar1">
<td> </td>
<td>
<INPUT TYPE=submit VALUE="Create Account">
</td>
</tr>
[if config CookieLogin]
<tr class="contentbar1">
<td align="right">
<INPUT TYPE=checkbox NAME=mv_cookie_password VALUE=1>
</td>
<td>Log me in automatically (sets cookie)</td>
</tr>
[/if]
<tr class="contentbar1">
<td align="right" colspan="2"> </td>
</tr>
</table>
</td>
</tr>
</form>
</table>
[/if]
P.S. The customer accounts that are created in Interchange have all the
correct information except for the username which always seems to be a
default username of some kind.
-----------------------------------------
Brendan Crosser-McGay
brendan@paymentonline.com
-----------------------------------------