Quick Nav:  Online Store   |   Login | Register

signin problem with AquaBlue..

Rate this topic:

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
AuthorMessages
drew curry
<50 Posts
Posts:20


12/07/2004 1:05 PM  

I am sure i posted on this here a while ago, but the post seems to have run away..

After finally breaking into the skin code to see why my logins are always failing with AquaBlue, i noted the following in Signin.ascx.vb in the Login sub. I have bolded the real issue: the user record is not being updated, and thus never verified, and thus any user that registers with this CSSSkin (and possible others?) will never validate. Perhap i have a bad set of bits?


 If txtVerification.Text = (_portalSettings.PortalId.ToString & "-" & objUser.UserID) Then

blnLogin = True

Else

lblMessage.Text = "Invalid Verification Code"

End If

but the standard signin goes like this:

If txtVerification.Text = (_portalSettings.PortalId.ToString & "-" & objUser.UserID) Then

' set the authorization bit and login time in the userportals table

DataProvider.Instance().UpdatePortalUser(_portalSettings.PortalId, objUser.UserID, True, Now)

blnLogin = True

Else

Skin.AddModuleMessage(Me, "Invalid Verification Code", Skins.ModuleMessage.ModuleMessageType.RedError)

End If


Can anyone comment on this? thanks kindly, drew..

John Mitchell
<500Posts
Posts:355


12/07/2004 10:01 PM  

Sorry about that.  I had a hard drive failure and had to restore from an old backup.

At first I couldn't figure out why this could be a problem since it was always working on my installs and I hadn't had anyone else complain.  With this post and some digging I think I may know what the problem is.  That line of code that is bolded is not in any of the signin.ascx.vb files that come with dotnetnuke, but I did a full search of my hard drive and did find it in the ADSI module from TTTCompany that allows Windows Auth.

So, I guess that may be what happened.  Both modules are using a copy of the login code so the CSS Skins version probably needs to be updated to support the ADSI module.

drew curry
<50 Posts
Posts:20


12/08/2004 1:33 PM  

Hi John, i simply found it in the standard dnn212 install, in \DotNetNuke\admin\Security\Signin.ascx.vb. Does your install of 2.1.2 not have this file? This may not be revealed to you if you are using XP and doing a text search as per an article i have on my tip page in the “Let XP's Search Tool *really* work for Text searches!” section.

and btw, this simply addition did the trick! one item off the list, another 1000 to go Ü drew..

John Mitchell
<500Posts
Posts:355


12/08/2004 4:33 PM  

I stand corrected.  I was using a 2.0.4 version and thought it was 2.1.2

I can't believe no one else has let me know about this.  It would have to happen on any DNN version above 2.0.4.

Thanks for keeping me honest, I need to get that fixed.

drew curry
<50 Posts
Posts:20


12/09/2004 3:17 PM  

ahhh, perhaps some folks are shy, or not as persistent, or perhaps they just stopped using the tool, which is the real shame, since it is nice package.. Do i get a t-shirt as a CSSSkins-Bug-buster? Ü

Just glad i could help, drew..

John Mitchell
<500Posts
Posts:355


02/02/2005 4:00 PM  

Hey Drew.

Send me an e-mail and I will reply with a free copy of CSS Skins 3.0 if you want it.

Please Register to post a reply. Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.
Forums >Snapsis Product Support >Bugs and other Issues > signin problem with AquaBlue..



ActiveForums 3.7
Powered by: Snapsis Software