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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I want a module to DISAPPEAR when logged inI want a module to DISAPPEAR when logged in
Previous
 
Next
New Post
1/22/2008 7:23 PM
 

Essentially I want advertising to appear on my site but only for casual visitors. 

Those who choose to go as far as registering and logging in when they visit should not see advertising after they login.  I can't see how I can do this using the standard permissions and roles.

Am I missing somthing?  I'd be quite happy to set up a special 'AdvertisingFree' role if it would help.

Thanks


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
New Post
1/22/2008 7:44 PM
 

I hope I am not over-simplifying what you are trying to do.   But I have done similar things to what you describe with the following approach :

At the module level (either a banner module or a text/html or whatever you are using to display your ads), you uncheck "Inherit View permissions from Page" and you then only assign the view permission to the existing "Unauthenticated Users " role and "Administrators"

Does that help ?

 
New Post
1/22/2008 8:24 PM
Accepted Answer 

Go into that module's settings page and look down the view permissions column. I've changed the labels in my isntallation, but you're looking for Unathenticated Users or something like that. Make the module only visible to that role and away you go.

Rob

 
New Post
1/22/2008 11:21 PM
 

Like he said - the module shouldn't inherit view permissions from the page, rather, the view settings for the module should be set to "unauthenticated users". In this way, only someone who hasn't logged in will see the message.

Keep in mind that anyone who visits the site anonymously will see the module, including those who might have already registered, but haven't logged in yet.

If it's important to also have the "already registered, but not logged in users" not see the message, then a custom module would be needed to set and/or look for a cookie that would indicate the deal.

HTH,
Eric


Eric Swanzey
www.swanzey.com
 
New Post
1/23/2008 7:11 AM
 

Thanks to all who replied.  Now I know the answer it seems so obvious I can't see why I couldn't work it out for myself.

Thanks again.


Best wishes,
- Richard
Agile Development Consultant, Practitioner, and Trainer
www.dynamisys.co.uk
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...I want a module to DISAPPEAR when logged inI want a module to DISAPPEAR when logged in


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