Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

telerik -- supercharge your DNN websites
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
MadCap Software, Inc.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  Disable unRegister
Previous Previous
 
Next Next
New Post 2/5/2008 2:26 AM
User is offline yiris
72 posts
10th Ranked


Disable unRegister 
Modified By yiris  on 2/5/2008 6:27:31 AM)

Good Morning,

Is it possible to disable the option 'unRegister' in the 'manage profile' to a normal user?

Thanks in advance

 
New Post 2/5/2008 3:14 AM
User is offline Bilal Al-Ghazi
112 posts
9th Ranked


Re: Disable unRegister 

Unfortunatly, there is no way to do it without modifying the core, I did it by hiding it from the html in the user control.

 


Bilal Al-Ghazi Visit My Collection of Photos
 
New Post 2/5/2008 7:19 AM
User is offline yiris
72 posts
10th Ranked


Re: Disable unRegister 

hum..

thanks for the quick replay

i will try to do the same.

 
New Post 3/30/2008 8:21 AM
User is offline Dirk Decher
11 posts
10th Ranked


Re: Disable unRegister 

It would be great if we will have this in one of the next releases. As others post this allready, we do have sometimes stupid users and they press links without knowledge was happen behind. As this could be dangerous in an intranet environment (we use this as internal adress book) it would be perfect if we can hide this button to the regular user.

@Bilal Al-Ghazi: Could you let us know which of the user controls is affected?

best regards Dirk

 
New Post 3/30/2008 9:00 AM
User is offline Dirk Decher
11 posts
10th Ranked


Re: Disable unRegister 

As on 4.8.2 we do still not have the possibility to hide this button I share my thinking:

In general it would be great if we can disable the unregister by a setting. On my point of view it would be more usefull if we do it in an approach that comes from the Portal.UserRegistration type. If we do not allow any registration (that means that the users will be managed by the administrator by hand or by any synchronizing tool) we should not show the button at.

\admin\Users\users.ascx.vb line 267 we can just add 
...AndAlso Not (GetPortalSettings().UserRegistration = PortalRegistrationType.NoRegistration)

full line:
cmdDelete.Visible = Not (User.UserID = PortalSettings.AdministratorId) AndAlso Not (IsUser And User.IsSuperUser) AndAlso Not (GetPortalSettings().UserRegistration = PortalRegistrationType.NoRegistration)

If anybody like to disable it at all just set the visible state to false at all
                cmdDelete.Visible = False 'Not (User.UserID = PortalSettins.AdministratorId) AndAlso Not (IsUser And User.IsSuperUser)

Hope this will help someone

 

 
Previous Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  Disable unRegister
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


"SalarO" Skinning Graphic Design Branding Services
SalarO develops packaged & custom skins for your DNN at prices you can afford. SalarO is also developing Module development, Hosting, Branding/Logo design as well as Content Transfer Services to complement the core skinning solutions.
www.salaro.com
Data Springs Inc. - Module Development
Data Springs is a leader in the DNN community offering high quality modules, custom module development, enhancements to the DNN core product and overall DNN support.
www.datasprings.com
XCESS expertise center b.v.
Custom made modules and complete solutions for the DNN framework. Maatwerk modules en complete webtoepassingen gebaseerd op het DNN framework.
www.xcess.nl

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP