Search

You searched for the word(s): userid:397909

Matching Posts

  • Fire a public event when DataCache.ClearPortalCache is called.

    For a future version of DNN, could you fire an event whenever ClearPortalCache is called? I'm writing my own menu control to replace Solpart, and for speed I want to cache the menu information. But I'd like to know when an Admin changes the Tabs so I can clear my cache. If DataCache had a public event called CacheCleared, then I could listen for it. Thank you guys!
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 5/5/2005
  • Re: User Roles - Deny Tab/Module Access?

    Yes I've tried to model my web-site security like the Windows File-System group permissions. Windows Groups can deny permission to a file/folder, though I have to admit very few people even know about this option let alone use it. Probably because it just makes things more complicated. So yes I'll just add a copy role button to my settings page so the admins can start from one role and subtract permissions. BTW about nested groups, I'm not sure they're a good idea. That REALLY gets complicated, and
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 4/3/2005
  • User Roles - Deny Tab/Module Access?

    I can't seem to find a way to deny access to a tab. On the Admin Pages menu, you can grant a role view/edit access to the tab, but there's no option to deny the role access. I have situations where one role would grant view access to all the Tabs, and another role would need to deny access to one of those Tabs. A user that has both roles would see all tabs except the one that's denied by the 2nd role. Anything in DNN 3.0.12 that can do this? I did notice the AllowAccess flag on the TabPermission
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 4/3/2005
  • Re: Why does skin no longer process ascx and css files?

    Thank you Scott. That's what I needed to know.
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 3/17/2005
  • Re: Why does skin no longer process ascx and css files?

    Here's the hack... ' choose processing based on type of file Select Case objSkinFile.FileExtension Case ".htm", ".html" ' replace paths, process control tokens and convert html to ascx format Me.Message += Me.PathFactory.Parse(objSkinFile.Contents, Me.PathFactory.HTMLList, objSkinFile.SkinRootPath, ParseOption) Me.Message += Me.ControlFactory.Parse(objSkinFile.Contents, objSkinFile.Attributes) Me.Message += objSkinFile.PrependASCXDirectives(Me.ControlFactory.Registrations) Case
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 3/17/2005
  • Re: Parsing ascx skin package error

    Oh yeah, it sure looks like a problem/bug to me. Well I shouldn't say that, as the change does appear to be delibrate. I just can't understand the rational though. How are you supposed to use css files in a skin now? I've posted a question about it.
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 3/17/2005
  • Why does skin no longer process ascx and css files?

    The ProcessList method has changed and now it only substitutes the href/url paths in htm and html files, not ascx and css files. Take a look at line 221 of components\Skins\SkinFileProcessor.vb. I compared it to DNN version 2, and sure enough it used to include files with ascx and css extensions. Does anyone now why it changed? I can probably convert my ascx files to html, but my css files contain a lot of image references. I don't see how I can fix them now. Certainly I don't want to move those
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 3/17/2005
  • Re: Windows Authentication for DNN3.0

    Hey that was easy... /// <summary> /// This replaces DNNMembershipModule. /// </summary> public class ADAMMembershipModule : System.Web.IHttpModule { public void Init(System.Web.HttpApplication context) { context.AuthenticateRequest+=new EventHandler(context_AuthenticateRequest); } public void Dispose() { } /// <summary> /// Set... /// Context.Items["UserInfo"] = new DotNetNuke.Entities.Users.UserInfo /// Context.Items["UserRoles"] = ";role1;role2;"
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 3/14/2005
  • Re: Windows Authentication for DNN3.0

    Hey anyone else taking a crack at this today with the new version? Now that I'm really looking at it, I think I need to write my on httpmodule to replace DNNMembership. And I know Paul said he got it working by hacking RoleController, which is called by DNNMembership. But it looks to me like replacing DNNMembership would be a cleaner approach. I don't know. I've been looking at it for an hour now. The give away is how DNNMembership calls FormsAuthentication.Decrypt. Clearly it's designed for FormsAuth
    Posted to DotNetNuke (Forum) by Gabe Halsmer on 3/14/2005
Page 1 of 18 (176 items) 1 2 3 4 5 Next > ... Last »