Great Ideas. Always Flowing.

We are not happy until you are happy. Client satisfaction guaranteed. Whatever your needs and requirements, we have the skills and resources for the job!

Quick login...


Or... now make it easy with Facebook Integration
Connect via Facebook



Top Sellers

Frustrated over the lack of customization for your user's registration fields? Dynamically setup your DNN Portal with custom registration fields, layout, questions, and other core integration options......

Ultra Video Gallery is a brother product of Ultra Media Gallery, UVG allows you to upload videos in various format and automatically encode them to flv or H264 format, you also can add videos from internet or record live videos from your webcam.

Build high performance, completely customizable data-entry forms and views driven by your DNN and external databases. New built-in tools make it a snap to quickly create data entry forms, data views, and even database tables. Plus, add your own HTML, CSS, Javascript, SQL commands, stored procedures,

The most advanced DotNetNuke shopping cart on the planet. Easy to use e-Commerce, Secure Shopping Cart Software and SEO friendly. B2C / B2B Ecommerce Sites.

One stop solution for events calendar and events registration! FREE DOWNLOAD is available now!

Twitter and Facebook OAuth on Registration Page With Free Trial Role
Last Post 05-25-2012 10:11 AM by Chad Nash. 4 Replies.
AddThis - Bookmarking and Sharing Button Printer Friendly
  •  
  •  
  •  
  •  
  •  
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
ChrisUser is Offline
going with the flow
going with the flow
Posts:29
Avatar

--
05-11-2012 05:59 AM
    On my custom registration page I have the Dynamic Registration module configured to add the user to a free trial role upon completion of registration which is working great.

    I'd like to give users the option to register using OAuth with Twitter or Facebook. I've found that they get registered ok, but they don't get added to the free trial role. I tried using the "Execute SQL Query" option to run the following:

    INSERT dbo.UserRoles (UserId,RoleId,ExpiryDate) SELECT $(UserID),6,CONVERT(VARCHAR(10),DATEADD(d,15,GETDATE()),121)

    The above SQL didn't end up adding the role as expected (no error in Event Viewer). Also, I would think that even if the SQL did execute, DNN caching wouldn't pick it up so the user still wouldn't be given the free trial role access until the cache was cleared.

    Chris
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-18-2012 01:46 PM
    Hi Chris - You are right on this for both accounts... I don't believe that the POST SQL is for Facebook and Twitter Login, only using the standard login... I will have to check but this is my initial thoughts, we will need to get this added for the next release.

    If this was working though The trouble here is that I think you are correct about the cache issues. So... Hmmm... Not sure what could be done here, I know for initial registration you can use the "Silent Post" to Dynamic Registration which should be able to handle an "Add Security Role" completion event?

    Check out this thread and let me know if this helps:
    http://www.datasprings.com/dnn-modules/dynamic-login/silent-post-to-dynamic-registration-for-facebook-integration


    Thanks,

    Chad
    ChrisUser is Offline
    going with the flow
    going with the flow
    Posts:29
    Avatar

    --
    05-21-2012 07:07 AM
    Chad - Thanks for the response. I don't totally follow how I would implement the silent post, but if you could add the functionality to one of the two modules then I could just wait until then.

    Are you thinking you'd modify the Dynamic Login module to have post registration events, or modify Dynamic Registration to allow oAuth?

    Best,
    Chris
    ChrisUser is Offline
    going with the flow
    going with the flow
    Posts:29
    Avatar

    --
    05-25-2012 04:09 AM
    I was thinking about it more and it seems like the OAuth options should really be added to the registration module so that all of the good stuff that can be configured post configuration can still occur. It somewhat defeats the purpose of having that type of authentication if they can't first register using it. I know the email address can be used to tie the two together, but it would be more simple and consistent for the user to have OAuth at registration.
    Chad NashUser is Offline
    Posts:5260
    Avatar

    --
    05-25-2012 10:11 AM
    Hi Chris,

    So... Would you want the user to be able / forced to fill out additional items? Usually these integrations are setup to be really easy and as few of steps as possible. If you needed other completion events such as roles, emails and so forth, then using silent HTTP Post to a Dynamic Registration instance would probably be the best option.

    Thanks,

    Chad
    You are not authorized to post a reply.


     
     

    Join our mailing list...

    Get current news and events the easy way
    Subscribe Me

    Recent Blogs...

     
    Copyright 2005 - 2011 by Data Springs, Inc.
     
  • film izle
  • 720 izle
  • film
  • sinema izle
  • film makinesi
  • T�rk�e dublaj film
  • film izle
  • film izle
  • baglan film izle
  • sinema izle
  • 1080 film izle
  • film mercegi