Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationLogout OptionLogout Option
Previous
 
Next
New Post
10/5/2007 5:45 PM
 

Is there a way to hide the "Logout" option so that it isn't so obvious to the end user?  I don't want the end users logging out and then not being able to log back in without calling the my helpdesk on how to enter their login information again.

Thanks,

Eric


Eric
 
New Post
10/6/2007 5:32 AM
 

this can only be provided by a custom "login" skin object


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/7/2007 2:26 AM
 

Sebastian is sort of right. Do you need to have general users manually logging in or does everybody go through automatic login? If everyone is automatic then you can do what I've done in the past. I moved the login button to an obscure spot on the site and set it's color to the same as the background. That way I knew where it was when I had to log in as host or admin but general users didn't know where it was.

 
New Post
12/17/2007 1:59 PM
 

Paste this in your skin where the old link is:

<% If DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) %>
<dnn:LOGIN runat="server" id="dnnLOGIN" />
<% End If %>

Then only admins will see the skin object.

CAUTION: you need to make a login link ( /Login.aspx ) somewhere to replace the link.  You will loose some of the functionality of the skin object this way.

 
New Post
12/17/2007 3:08 PM
 

Actually, this might work better:

<% If DotNetNuke.Security.PortalSecurity.IsInRole("Registered Users") %>
  <li><dnn:USER runat="server" id="dnnUSER" /></li>
<% Else %>
  <li><dnn:LOGIN runat="server" id="dnnLOGIN" /></li>
<% End If %>

<% If DotNetNuke.Security.PortalSecurity.IsInRoles(PortalSettings.AdministratorRoleName) %>
  <li><dnn:LOGIN runat="server" id="dnnLOGINAdmin" /></li>
<% End If %>

Perhaps one of the code smiths in the DNN community could clean that up more.

If you don't need the control over the layout then you can use this method from DNNcreative.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Provider and Extension ForumsProvider and Extension ForumsAuthenticationAuthenticationLogout OptionLogout Option


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out