How to set up to work with ActiveSocial 2 stage verification
Last Post 10-29-2011 10:47 PM by Rodney Joyce. 0 Replies.
AddThis - Bookmarking and Sharing Button
Author Messages Informative
Rodney JoyceUser is Offline
skipping stones
skipping stones
Posts:6
Avatar

--
10-29-2011 10:47 PM
    I use ActiveSocial 2-stage verification, hence all users are added to a "Verified" role once they click on their email link. However, with Facebook, I assume the email they provide has been validated already, so I want to skip this step.

    The way I did it on PokerDIY was to add this to the settings:

    NOTE: You need to replace 301 with YOUR Verified RoleID!!!

    IF NOT EXISTS(SELECT * FROM UserRoles WHERE RoleID = 301 AND UserID = $(UserID))
    INSERT INTO [dbo].[UserRoles] ([UserID],[RoleID],[ExpiryDate],[IsTrialUsed],[EffectiveDate],[CreatedByUserID],[CreatedOnDate],[LastModifiedByUserID],[LastModifiedOnDate])
         VALUES (
               $(UserID)
               ,301  --Verified Role
               ,NULL
               ,NULL
               ,GETDATE()
               ,$(UserID)
               ,GETDATE()
               ,$(UserID)
               ,GETDATE()
               )


    ---
  • 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