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  |  

AppTheory specializes in solutions based on the DotNetNuke platform and has 2 employees on the DotNetNuke Core Team.
  Ads  
OnyakTech
 


  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.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
SteadyRain
DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
 


DotNetNuke Forums
 
  Forum  General DotNetN...  Configure It! (...  I want a module to DISAPPEAR when logged in
Previous Previous
 
Next Next
New Post 1/22/2008 4:23 PM
Resolved
User is offline Richard Howells
80 posts
www.dynamisys.co.uk
10th Ranked


I want a module to DISAPPEAR when logged in 

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 4:44 PM
User is offline Wim Petersen
9 posts
10th Ranked


Re: I want a module to DISAPPEAR when logged in 

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 5:24 PM
Accepted Answer 
User is offline ROBAX
1885 posts
5th Ranked


Re: I want a module to DISAPPEAR when logged in 

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 8:21 PM
User is offline Eric Swanzey
259 posts
www.swanzey.com
9th Ranked




Re: I want a module to DISAPPEAR when logged in 

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 4:11 AM
User is offline Richard Howells
80 posts
www.dynamisys.co.uk
10th Ranked


Re: I want a module to DISAPPEAR when logged in 

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 Previous
 
Next Next
  Forum  General DotNetN...  Configure It! (...  I want a module to DISAPPEAR when logged in
 


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.

 


Subzero Solutions
Dutch / English DotNetNuke consultancy services. Custom module development in any version. Complete application integration. Small business portal hosting. Your ideas our innovation - Your success our motivation. K.v.k Amsterdam: 34236342
www.subzero-solutions.net
Hosting for DotNetNuke
SiteGround.com is the best place to host your DotNetNuke website! Expert DotNetNuke support, reliable servers, low price!
www.SiteGround.com
Code Endeavors, LLC
Do you Endeavor to Enhance your DotNetNuke designs by utilizing AJAX technologies to more efficient interactive web experiences
www.codeendeavors.com

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