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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ..."Members Only" area, but nicer than "Access Denied""Members Only" area, but nicer than "Access Denied"
Previous
 
Next
New Post
7/17/2014 4:42 PM
 

Hello,

I'm working on a protected area of our site that will only be available to paying subscribers. The basics to that are obvious, but I was interested in making a nicer way to say you can't get there than the traditional "Access Denied". Ideally, it'd be great to have a page on the site to which users are directed if they're not a "Member" and they're trying to access "Member Only" content. That way, on the page they're directed to, I could basically put a bunch of ads for why they should become a member. Importantly, I don't want to change the "Access Denied" member universally - just for pages in that area.

AFAIK, there's no way to make a tab-specific "Access Denied" page, right? If not, could I do something similar?

Any ideas?

Thanks,

Mike

 
New Post
7/18/2014 12:57 AM
 
Hi
Can it be possible by giving permission on module level..like unauthenticated users will see different set of modules placed on the same page and authenticated users will see different set? Just an idea.

Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
7/18/2014 1:41 AM
 

Though I personally haven't used https://stylehelper.codeplex.com/ but your description suggests that you're looking for a conditional redirect for a user role and that's what this module offers among many others.

See the documentation.


English-Polish translations, one-to-one English/Polish tutoring, Windows server management, website development - HTML/JS/CSS/Razor
 
New Post
7/18/2014 1:58 AM
 
Hi
You can also look into the AccessDenied.ascx.cs page and try to redirect to the custom page on checking the query string parameter.

Thanks,
Sunil Kumar [ DNN Developer, Mindfire Solutions,India ]
 
New Post
7/18/2014 5:08 AM
 
Mike,

what about changing the text in the resx file (admin\Security\App_LocalResources\AccessDenied.ascx.resx - Keys ControlTitle_access denied.Text and AccessDenied.Text) for that portal only?

Best wishes
Michael

Michael Tobisch
DNN★MVP
dnn-Connect.org - The most vibrant community around the DNN-platform
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ..."Members Only" area, but nicer than "Access Denied""Members Only" area, but nicer than "Access Denied"


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.

Content Layout

Subscribe to DNN Digest

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out