Search

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

Matching Posts

  • Re: DNN or not DNN???

    I have build a DNN based site with 10+ modules that are working together and have over 30 tables. I used code generation techniques to speed up the development. I find DNN development very predictable so code generation can save you a lots of time. You can contact me at radoslav(remove)@everestkc.(remove)net to talk off-line I also plan to make even bigger DNN based site as well Rad
    Posted to DotNetNuke (Forum) by raca on 4/20/2006
  • Re: Roles & aspnet_Roles mismatch

    I am adding a role programmatically this way: RoleController objRoles = new RoleController(); objRoles.AddUserRole(PortalId, userID, roleID, Null.NullDate); //Refresh roles for non admin user: Registered or Student RolePrincipal principal = (RolePrincipal) this .Page.User; principal.GetRoles(); >>>>>>>> The secret is here. I found I have to call this method to refresh principal object //Causes new cookie to be issued ///ExpireRolesCookie(); //expire cookie // get roles from
    Posted to DotNetNuke (Forum) by raca on 5/19/2005
  • A bug in DotNetNuke.HttpModules.DNNMembershipModule

    In OnAuthenticateRequest method of Namespace DotNetNuke.HttpModules.DNNMembershipModule module (Implements IHttpModule) PortalAliasID is clearly added to portalaliasid cookie (*) in a URL GET request and then later (**) in a repeated GET request (Press refresh or switch between different tabs) we are comparing PortalId with decrypted portalaliasid stored in UserData portion of our cookie. This combination of code actually expires this cookie every second time since we are comparing wrong attributes
    Posted to DotNetNuke (Forum) by raca on 4/19/2005
  • Unable to call AddUserRole without error.

    In my PA I am allowing a user who is in "Registered Users" to join yet another role I defined "Preregistered Students". The user is added to both UserRoles and aspnet_UsersInRoles. I am doing it with this C# code: static public void AddUserRole( int userID, int roleID){ RoleController objRoles = new RoleController(); objRoles.AddUserRole(NukeHelper.PortalSettings.PortalId, userID, roleID, Null.NullDate); //****causes error: An entry with the same key already exists } Error is in public bool IsInRole
    Posted to DotNetNuke (Forum) by raca on 4/19/2005
  • Re: Roles & aspnet_Roles mismatch

    I was wondering if you solved the problem assigning a new role to a user. I have the same problem and I know where is the problem but I don't know how to resolve it. What follows in pretty elaborate, but I guess you can understand. Error is in public bool IsInRole(string role) method of Microsoft.ScalableHosting.Security.RolePrincipal which has a private member _Roles = new HybridDictionary(true) that has roles of a user added based on a cookie value and when you add a new role to a user and attempt
    Posted to DotNetNuke (Forum) by raca on 4/19/2005
  • Bug or intended feature of DotNetNuke.Services.Wizards.Wizard Class

    I think I found a bug in Wizard class. I am reusing Wizard framework to implement my own wizard pages. I am using this code to disable cmdNext button when certain conditions are met in AfterPageChanged event handler: this.EnableCommand(WizardCommand.NextPage, false); I would like to see this button disabled. I know that I can prevent a user from moving to the next page by setting wce.Cancel=true. The problem is that my code is executed after calling OnAfterPageChanged(we) method from a private method
    Posted to DotNetNuke (Forum) by raca on 3/25/2005
  • Re: WYSIWYG Online Stylesheet Editor - beta testers required !

    I would like to test your CSS editor too. raca@rogers.com Thanks Rad
    Posted to DotNetNuke (Forum) by raca on 3/17/2005
  • Re: A useful tip during debugging to Dnn Developers.

    This doesn't work for me. This is working for me: Change required for DesktopModuleTitle.ascx.vb Dim objPortalModule As Entities.Modules.PortalModuleBase = Container.GetPortalModuleBase(Me) lblTitle.Text = objPortalModule.ModuleConfiguration.ModuleTitle '<Change> With objPortalModule.ModuleConfiguration lblTitle.ToolTip = "Skin: " & objPortalModule.PortalSettings.ActiveTab.SkinSrc & vbCrLf & "Container: " & .ContainerSrc & vbCrLf & "ControlSrc
    Posted to DotNetNuke (Forum) by raca on 3/3/2005
  • Re: KodHedZ Store for dnn3

    Mark Does KodHedZ Store deal with Vendors in situation where we actually want to sell their products without actually buying first from them. Can you explain purchase order generation per vendor? Can't you accept orders for products belonging to a particular Vendor and not actually get and stock the inventory for that Vendor but assume the Vendor has its products stored on its location. The goal would be to somehow allow each Vendor to handle its own inventory on KodHedZ Store. How big change would
    Posted to DotNetNuke (Forum) by raca on 2/21/2005
  • Re: Remove/Replace Membership Provider from DNN3

    Paul, 1. Can you shed light on the code for UserController and the UserProfile necessary to handle extended properties. I did it hard way. I added additional properties (for additional user fields) wherever regular one appeared. This also required me to drop DNN database and restart DNN installation to take into account new user fields. Will you approach allow me to add, drop some user fields at will and without code changes. I would appreciate if you would send me the code to prevent braking changes
    Posted to DotNetNuke (Forum) by raca on 2/4/2005
Page 1 of 3 (27 items) 1 2 3 Next >