prospero21 Posted December 28, 2005 Share Posted December 28, 2005 I am setting up a OsC webshop for a friend of mine. It will become a kind of "wholesale" shop, and my friend would like to remove the "create account" option, because the website must only be accessible by a select group of buyers. In short, he would like to be able to add the user accounts himself, but provide no "create account" option on the website, so people who are not his targeted audience, will not be able to sign up for an account. Thank you in advance, sincerely, Wilbert Link to comment Share on other sites More sharing options...
MoisesZaragoza Posted December 28, 2005 Share Posted December 28, 2005 Well this is what you have to do. 1) copy the login.php and name it personal_login.php or somethimg like that. 2) Look for <table border="3" width="100%" height="100%" cellspacing="0" cellpadding="2"> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td class="main" valign="top"><?php echo TEXT_NEW_CUSTOMER . '<br><br>' . TEXT_NEW_CUSTOMER_INTRODUCTION; ?></td> </tr> <tr> <td><?php echo tep_draw_separator('pixel_trans.gif', '100%', '10'); ?></td> </tr> <tr> <td><table border="0" width="100%" cellspacing="0" cellpadding="2"> <tr> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> <td align="right"><?php echo '<a href="' . tep_href_link(FILENAME_CREATE_ACCOUNT, '', 'SSL') . '">' . tep_image_button('button_continue.gif', IMAGE_BUTTON_CONTINUE) . '</a>'; ?></td> <td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td> </tr> </table></td> </tr> </table> This is the button that takes you to the form 3) and now you have to take out the title. that is <tr> <td class="main" width="50%" valign="top"><b><?php echo HEADING_NEW_CUSTOMER; ?></b></td> <td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td> </tr> you are going to chage tht so it looks like <tr> <td class="main" width="50%" valign="top"><b><?php # echo HEADING_NEW_CUSTOMER; ?></b></td> <td class="main" width="50%" valign="top"><b><?php echo HEADING_RETURNING_CUSTOMER; ?></b></td> </tr> That should do the trick at the end of the day the code will be good Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.