InstantASP Community Forums
Home       Members    Calendar    Who's On
Welcome Guest ( Login | Register )
        



Prevent Users Updating Usernames? Expand / Collapse
Author
Message
Posted 06/09/2005 15:02:45
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 22/11/2005 04:04:22
Posts: 16, Visits: 77
Or is it a admin setting i just missed?
Post #8351
Posted 07/09/2005 06:09:20


IF.NET 4.2 Coming Soon

IF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming SoonIF.NET 4.2 Coming Soon

Group: Administrators
Last Login: 24/11/2008 12:47:40
Posts: 1,956, Visits: 3,019
van (9/6/2005)
Or is it a admin setting i just missed?

Hi Van,

This is not an admin setting. Nice suggestion.

You could disable access to the UserCP using a permission set but that would disable access to all area. The easiest way would be to edit \Skins\[SKINNAME]\EditRegistrationDetails.ascx and add a visible="False" tag to the table row containing the username textbox, this will then ensure they cannot update this within the User control panel. This is shown below...

<tr Visible="False">
  <td Width="24%" class="ForumsBody1"><InstantASP:Label
  Text="EditRegistrationDetails_Username" id="lblUsername1"
  CssClass="SmallTxtBold" Runat="server"/>
  <InstantASP:Spacer Runat="Server"/><InstantASP:Label
  Text="EditRegistrationDetails_UsernameDescription"
  id="lblUsername2" Runat="Server"/></td>
  <td class="ForumsBody1"><InstantASP:TextBox CssClass="FormInputText"
  Focus="True" TabIndex="1" id="txtUsername" runat="Server"/><InstantASP:ToolTip
  Text="EditRegistrationDetails_UsernameToolTip" id="ToolTip1"
  Runat="Server"/><InstantASP:Validation ControlToValidate="txtUsername"
  CssClass="ValidationTxt" id="txtUsernameValidator" Runat="Server"/></td>
</tr>

Remember to make a note of this change if you would like to reapply after any updates. Does this help?


Kindest Regards,

Ryan Healey
Director / Developer

Explore our products...
http://demos.instantasp.co.uk/

Post #8364
Posted 08/09/2005 04:23:17
Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie

Group: Customers
Last Login: 22/11/2005 04:04:22
Posts: 16, Visits: 77
great just what i was looking for!

Our forum is not even a day old and nearly 100 members already

http://forum.f-1.com

Post #8374
Posted 01/02/2007 12:15:41
Junior Member

Junior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior MemberJunior Member

Group: Customers
Last Login: 01/04/2007 20:24:02
Posts: 27, Visits: 197
I think I see what you are saying now. I have therefore edited my previous post.
Post #12329
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: Ryan Healey, Mark Christianson, Bare, James Trott

Permissions Expand / Collapse

All times are GMT, Time now is 2:24am

Powered by InstantForum.NET v4.1.4 © 2008
Execution: 0.078. 10 queries. Compression Disabled.
Home | Products | Purchase | Support | Company | Contact Us
Privacy Statement | © 1999-2007 InstantASP Limited. All Rights Reserved.