dotnetnuke

Retrieving password when the password stored as a hash value

最后都变了- 提交于 2019-11-30 22:25:43
Can users request that their password be emailed to themselves if the password is stored as a hash value? Is there any way to convert a hash value to the clear text value with the proper information (& what information would you need)? If a user has the same password hash value stored on two sites, would their password be the same for both sites? If you're only storing a hash of the password, then no. ...and you should only be storing a properly-salted hash of their password, anyway. Password reset mechanisms are the proper alternative. Hashed passwords cannot be retrieved in general (this

Why does ASP.NET auto-generated .designer code have the incorrect type?

两盒软妹~` 提交于 2019-11-30 22:14:30
I'm working on a hack to the DotNetNuke Events module. I've got the source set up and it built A-OK without modifications. However, when I change the EventMonth.ascx file, Visual Studio updates the .designer.vb file associated with it... and declares two objects with the wrong type! It looks like this: Protected WithEvents EventIcons As Global.System.Web.UI.UserControl And should look like this: Protected WithEvents EventIcons As Global.DotNetNuke.Modules.Events.EventIcons Obviously, this is not going to work... the compiler (rightly) throws an error where EventIcons is used in the code. What

CSS @import Best Practices

不想你离开。 提交于 2019-11-30 19:32:45
I'm soliciting opinions about what is the best way to handle @import's or to avoid them all together. Working with DNN I'm finding that, while skinning, the CSS for all the various overriding elements for modules and such can be very messy. Dumping all of the CSS into a single file can be arduous to work with and I am wonder if it is better to separate these and import them at the top of the skin.css. There is the question of efficiency as well and if this is or isn't a good trade off. I'm not a CSS pro but I think I may know the answer to this but will ask anyway. Is there anyway to reference

Prevent jQuery multiple reference

狂风中的少年 提交于 2019-11-30 18:37:55
问题 I am developing DNN modules and I am using jQuery in some modules, I add the jQuery reference to the top of each ascx file, by the way when user add multiple modules to the page it references every time when modules are added, this situation gives some errors, when I remove the reference from the module which is bottom of the other module which both use jQuery, they work well, is there a way to prevent multiple reference the jQuery ? I mean if it is referenced on the page before it won't

Should we build our next generation web application on the DotNetNuke platform?

本小妞迷上赌 提交于 2019-11-30 17:53:51
We are currently considering using DotNetNuke as a base for our future portal-based and client-customizable web application that is going to be hosted centrally. The idea is to make the dynamic parts as DNN modules that in turn talk to backend WCF-services which takes care of the business processing and data storage. What are your good/bad experiences with such a model? Anything you would warn against or recommend? Any advice would be appreciated, thanks... DotNetNuke can be a powerful platform. Most people who bash it haven't actually used it for anything, but just know that it was created a

Looking for a HTTPHandler to modify pages on the fly to point to a CDN

…衆ロ難τιáo~ 提交于 2019-11-30 13:57:43
What I'm trying to do is create (or perhaps one already exists) a HTTPHandler that will filter the HTML generated ASP.NET to use the content delivery network (CDN). For example, I want to rewrite references such as this: /Portals/_default/default.css to http://cdn.example.com/Portals/_default/default.css I'm perfectly happy using RegEx to match the initial strings. Such a regex patterns might be: href=['"](/Portals/.+\.css) or src=['"](/Portals/.+\.(css|gif|jpg|jpeg)) This is a dotnetnuke site and I don't really have control over all the HTML generated so that's why I want to do it with an

CSS @import Best Practices

爷,独闯天下 提交于 2019-11-30 03:26:37
问题 I'm soliciting opinions about what is the best way to handle @import's or to avoid them all together. Working with DNN I'm finding that, while skinning, the CSS for all the various overriding elements for modules and such can be very messy. Dumping all of the CSS into a single file can be arduous to work with and I am wonder if it is better to separate these and import them at the top of the skin.css. There is the question of efficiency as well and if this is or isn't a good trade off. I'm

Connection to CRM

旧街凉风 提交于 2019-11-29 07:29:46
I need my website to connect to CRM this is my code var organizationUri = new Uri(ConfigurationManager.AppSettings["CRMServerUrl"]); //Client credentials var credentials = new ClientCredentials(); credentials.UserName.UserName = @"<user>"; credentials.UserName.Password = "<password>"; // Use the Microsoft Dynamics CRM Online connection string from the web.config file named "CrmConnectionStr". using (OrganizationServiceProxy _service = new OrganizationServiceProxy(organizationUri, null, credentials, null)) { Response.Write("Connected"); } and this is in my web.config <add key="CRMServerUrl"

Authenticating DotNetNuke Users in ColdFusion

无人久伴 提交于 2019-11-28 05:22:31
问题 Is there any way to authenticate users from other web apps using the DNN logins? We have a main site that is using DNN and user logins are stored in the asp net membership table. From what I have been reading, the passwords are encrypted using the machine key and then salted. I see where this info is, but can't seem to encrypt passwords correctly using this method. I'm trying with a Coldfusion web application on the same server where our DNN site is, but it doesn't want to work. You'd think

Connection to CRM

爱⌒轻易说出口 提交于 2019-11-28 01:03:14
问题 I need my website to connect to CRM this is my code var organizationUri = new Uri(ConfigurationManager.AppSettings["CRMServerUrl"]); //Client credentials var credentials = new ClientCredentials(); credentials.UserName.UserName = @"<user>"; credentials.UserName.Password = "<password>"; // Use the Microsoft Dynamics CRM Online connection string from the web.config file named "CrmConnectionStr". using (OrganizationServiceProxy _service = new OrganizationServiceProxy(organizationUri, null,