You need to Register for free and Login to post a message in the forum.

Forum

Creat a custom Login & Registration Module.
Last Post 2010-02-26 12:48 PM by Joseph Craig. 36 Replies.
Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Page 2 of 2 << < 12
Author Messages
julienUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2007-09-07 03:07 AM  
I can create a data type LIST but when I add new item, i dont see where I can set the localization.  When I add a new entry, I only see "entry text", "entry value" and "enable sort order" AND save or cancel. I dont see where the localization for the SPECIFIED ITEM in the list is..
thanks
bobbyjosephgUser is Offline
Nuke Pro
Nuke Pro
Posts:82

--
2007-09-07 09:12 AM  
Hi,
I am trying to change the aspnetmembership.What I actually need is to use the email ID as the username.In the registration page also there is no need of a separate username.I have not got any idea of how to do this.Please help
Regards,
Bobby
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2007-09-07 11:59 PM  
I think that you are right that the actual text in the List is not localizable.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Paluri VimalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-12-04 11:58 AM  
Hi Friends, I am newbie to DNN. Can anybody help me in Customizing layout of my custom login module. My Login page has 2 login modules one for usertype1 and another for usertype2. Have created new modules for them by placing login.ascx code there. Now I need to customize default layout of login modules. And it should not affect to the default login. Since we donot have username and password in Login.ascx which copied from Admin/authentication/login.ascx. By googling I have done changes with login.ascx file reside in authenticationservices/dnn under desktop modules. So now I am getting changes to both of the modules. I have requirement that both logins has unique styling and they shouldnot be same. Please suggest me on how uniquly customize eachof my custom login modules in dotnetnuke. Thank you.
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2009-12-04 01:26 PM  
You might want to wrap each separate Login module in its own named div tag.  You can do this by placing the opening tag in the Header section of the module's settings, and the closing tag in the Footer section.

Then, in your CSS file, you can use subclasses to separately style the two modules.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Paluri VimalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-12-05 06:46 AM  
Thank you Joseph. Its nice idea. Will work on it. Thank you.
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2009-12-05 11:54 PM  
Please let us know how that works for you.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Paluri VimalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-12-19 03:22 AM  
Hi Joseph, Sorry for the late reply. It works fine for me. By taking id of each div module container and by overriding default classes able to get unique styling for each login module. Thank you.
Paluri VimalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-12-29 05:40 AM  
Hi friends, Can anybody please suggest me on the following issue: I have setted custom login page as my home page. While I am navigating to my nuke site root url as a general user with out logout click, it should redirect to welcome page instead of login page. Please suggest
Paluri VimalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2009-12-29 06:08 AM  
Can anybody help me on how to write page events for a custom pages created in nuke site. I need to write page load event for my custom login page. Please suggest.
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2009-12-29 12:09 PM  
That's a bit of an open ended question.

I would recommend that you look at the book "Professional DotNetNuke Module Programming" by Mitchel Sellers.  There is other good information available at Michael Washington's website, adefwebserver.com.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
Paluri VimalaUser is Offline
Nuke Newbie
Nuke Newbie
Posts:9

--
2010-01-04 08:23 AM  
Hi friend, I missed out small logic to think. Now I cleared the redirect issue. Its really a nice book for newbies. Thank you.
HPiUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2010-01-11 12:58 PM  
Posted By Joseph Craig on 23 Aug 2007 7:46 PM
It would be better to replace the "stock" Membership Provider with a custom version. You may also want to look at the Role and Profile providers, too.

The existing providers will show you how they were set up, and also the functionality that you have to provide.

If you do this, you can guarantee that the higher-level DotNetNuke functionality is not damaged ...

Hi,

I have been developing modules, providers etc. for the last few year for DNN 4 and 5. But when I had to create custom role and membership
providers while using external databases and web services, I ran across a few very annoying "features" that seem to be very hard to bypass.

  • DNN is getting some information from database views, like vw_UserRoles and vw_TabPermissions, which means that if either DNN Users or
    Roles tables are empty, those view query based features and functions don't work.
  • DNN supports only integers as role and user ids, so using guids or other values in an external database is useless, unless you create
    mapping tables and link those ids together in the providers
  • DNN is sometimes querying for roles by (seemingly) hardcoded value(s), like "Administrator" even though the role provider doesn't
    offer a role with that name

Do you have any suggestions as to how to bypass these things, without creating e.g. users and roles to DNN's tables with similar values as
the ones in the external database? It's not a hard job, but it doesn't sound like it should be... checking every time when a user logs in or
someone is adding a new user based tab permission, if that user or that role already exists in DNN's table, and if not, creating them. I
would appreciate if there is some kind of useful solution, instead of these solutions I have found.
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2010-01-11 01:16 PM  
No, I don't have any suggestions.  I suspect that you know a LOT more about than I know!  This would possibly be a good item for discussion on the forums intended for developers at DotNetNuke.com, though.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
HPiUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2010-01-11 09:28 PM  
Thank you for your quick answer. I'm not sure about that, how much I know about DNN. Where ever I go, I'm just finding more restrictions I'll ask this same thing from dotnetnuke.com, even I'm not sure how to make myself enough clear or even visible in that mass.
samualUser is Offline
Nuke Newbie
Nuke Newbie
Posts:2

--
2010-02-26 03:38 AM  
Hi,

I am new to dotnetnuke(version-5.2).

I want to create a custom registration module I have created one and I am using the default dotnetnuke tables to store the data but there are two fields in database(p word and p wordsalt )to store data regarding p word in some encrypted form how to change my own custom module p word field to store values in these fields.

The next problem I am facing is that after submitting the data what to do so that user get loginned to site.

I got an error message("Violation of UNIQUE KEY constraint 'IX_DNN_Users'. Cannot insert duplicate key in object 'dbo.dnn_users'. The statement has been terminated.") when I submit the data in custom registration to store in database How to resolve that.

Another error message("Invalid length for a Base-64 char array.") comes when I try to login via the account that I have created using custom registration

Please Help me.....



Thanx in advance
Joseph CraigUser is Offline
DNN Creative Support
Nuke Master VI
Nuke Master VI
Posts:9299
Avatar

--
2010-02-26 12:48 PM  
Since you are new to DotNetNuke, I think that you should first learn a bit about the inner workings before diving in and coding.

DotNetNuke contains methods to create and modify users, and to login the in and log them out.  You should use those, and you should not be directly interacting with the database.

Look at the existing registration and authentication code and understand it.  Hopefully, you'll be able to take that as a base and modify it for your needs.  Whenever possible, create additional modules, etc. rather than replacing code.  If you work that way, you'll be able to upgrade and keep your custom functionality. 

The book "Professional DotNetNuke 4" has a large section that discusses member management.  Mitchel Sellers' book on creating DotNetNuke modules has lots of very useful information.  Michael Washington's ADEFWebServer.com site has lots of information.

All that said ... my recommend would be that you get a copy of Data Springs' Dynamic Registration and Dynamic Login and use those to create your customized registration and login procedures.  You won't be able to duplicate what they have done for the cost of the modules.

Joe Craig, DNN Creative Support

Subscribe to DNNCreative
I recommend PowerDNN for DotNetNuke Hosting.
You are not authorized to post a reply.
Page 2 of 2 << < 12


Active Forums 4.3

Latest Forum Posts

Rename or move site from domain name to subdomain name by Bill Quinn
Hi, I have an old DNN site on a a TLD like this: websitename.com I have created a portal on
RE: Deploying dnn by Sameer
Thanks joeseph glad with your answer it means i can use CE for my site if the traffic are not
Unable to Create Skin Package by schilders
Hi, I'm trying to create the skin package and manifest for my new skin. I created the new skin e
RE: user adding images by Joseph Craig
I think that you will need to go to the File Manager and give the user and/or security group file up
RE: lightroom effect for skin by Joseph Craig
There are modules available that do this. On the commercial side, I've used Mandeeps' Live Conten
RE: Creating structured page content by Joseph Craig
Take a look at Ventrian's News Articles module. While commercial, it has a very modest price! Th
Creating structured page content by Stephen Bugden
Hi, Can anyone recommend a module for creating and managing page content? The kind of thing I'
lightroom effect for skin by everett31
I’m looking for a way to add the lightbox effect to a skin file. I would like the end user to have
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
According to my web searching, @font-face references cause crashing in IE7 and IE8 with css3-mediaqu
user adding images by rod lloyd
I have set up permissions for certain users to edit a module, but when they log-on and enter Edit Co
RE: Deploying dnn by Joseph Craig
The free Community Edition of DotNetNuke is perfectly fine for creating "world class" websites. Whi
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
any idea what approach I should take - IE completely locks up. The only cause is the combo of the
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by Joseph Craig
If you're up to doing some debugging, you might be able to figure out where the problem lies. That'
RE: Deploying dnn by Sameer
Hi Joe Thanks for your reply i am planning to create my own DNN site so for that i have chec
RE: css3-mediaqueries.js and Dynamic Forms Crash Page in IE by WinXnet
Thanks for the response, but I was hoping it was something I could fix with some skin tweaks - one i
RE: Changing Search text by Joseph Craig
You will want to look here for references about the DotNetNuke skin objects. The document written b
Changing Search text by Abraham Tameru
Hi, Instead of having "Search" text near the search text box, I wanted to replace it by an image
RE: Strange issue with file manager on sub domain (sperate portal) by Web Services
Just sent it.
RE: Not able to load my dotnetnuke website on Internet Explorer though it is working fine with other browsers by Joseph Craig
Did you get this fixed? (Apologies for not getting to this sooner...)
RE: Web Design Company London by Johnny Gregory
Hello I am a Manager here at PowerDNN and I would like to see if you are still looking to get the wo
You are not logged in.
You must log in to access all 
650+ videos, tutorials, podcasts, and more.
RSS Feeds