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  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
OnyakTech
 


  Sponsors  

Meet Our Sponsors

ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
Salaro -- Skins and more
OnyakTech
 


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.

 


ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl
FREE Skins, Modules & Control Panel!
Choose how much you want to pay on our Skins, Modules, Containers and Control Panel - Starting from FREE!
www.dnngroup.com

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