MHuijbregts
going with the flow Posts:26
|
06-02-2011 11:14 AM |
|
I n the blog post about Dynamic Forms receiving silent posts from Dynamic Registration I noticed that the fields in the URL are fields from DF and the parameters are the shortnames of the fields in DR.
However, sending silent posts to DR from DL (using the Facebook) leaves me clueless about what fields to use for the parameters because I can't find any short names in the Dynamic Login module. What I have tried is the following (assuming the field names in DL are similar to the ones in DR) in the field “Silent Post Details”: ?SPost=True&UserN=$(UserN)&Pass=$(Pass)&ConfirmPass=$(ConfirmPass)& Display=$(Display)&FirstN=$(FirstN)&LastN=$( LastN)&Email=$(Email) This is not working for me so I hope that there is someone who can tell me what the names of the parameters will be when sending a silent post from Dynamic Login, using the Facebook integration, to Dynamic Registration. The reason why I would like to accomplish this is because this enables me to run completion events in Dynamic Registration. PS: This post is related to a post in the DR forum but it seems more appropriated to post it over here because DL is where my challenge is. http://www.datasprings.com/dnn-modu...cebook-dl/ Thanks in advance. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
Don Gee
river guide Posts:273
|
06-03-2011 09:44 AM |
|
Hi Marc, These are the tokens you are looking for that are referenced and used in Dynamic Login and these are the tokens available in the silent post. $(UserID) $(UserName) $(FirstName) $(LastName) $(DisplayName) $(Email) $(Password) $(PortalID) $(ModuleID) $(CurrentUserID) $(IPAddress) $(TabID) $(CurrentURL) (URLReferrer) $(CurrentLanguage) Also, each profile property for new or updated users can be passed along based on the property name within dotnetnuke. For example, if you had a profile property called WebSite it would be $(WebSite) Hope this helps Don
|
|
|
|
|
Chad Nash Posts:5260
|
06-03-2011 11:09 AM |
|
Thanks for posting Don - Yes, I checked the user guide and these should have been added to that. So we might add some notes pointing back to this forum thread for other users from the blog posts that we have made. Thank you for bringing this to our attention. For other using searching this forum I am adding a few keywords below.. Tags: Dynamic Login Silent HTTP Post Dynamic Login Facebook Silent Post Dynamic Login Post for Dynamic Registration Thanks! -Chad
|
|
|
|
|
MHuijbregts
going with the flow Posts:26
|
06-03-2011 11:15 AM |
|
Hi Don, Thanks for the info. I will test this asap and let you know how I proceded. Thanks again!
|
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
MHuijbregts
going with the flow Posts:26
|
06-03-2011 01:03 PM |
|
I am heading into the right direction. I noticed that my test user is actually created in DNN but unfortunately the token for the email $(Email) is not converted into the value of the facebook address but is entered as if it is the email address. UserID: 371 FirstName: Marc LastName: Huijbregts UserName: MHuijbregts Email: $(Email) These are my silent post details: SPost=True&UserN=$(UserName)&Pass=$(Password)&ConfirmPass= $(Password)&Display=$(DisplayName)&FirstN=$(FirstName)&LastN= $(LastName)&Email=$(Email)
|
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
jbarna
skipping stones Posts:5
|
06-06-2011 03:36 PM |
|
Chad,
Do you have any example URL's for the Single Post Details? Also, the Single Post URL is the location of the registration page, right? Does it need to be the full http://www.mywebsite.com address?
I noticed in your blog that you can hide the Captcha. I created the hidden field SPost and the question event. I tried testing it by adding ?SPost=true at the end of the URL. It didn't hide the Captcha question. Is there another way to check this?
Thank you for the help!
Joe |
|
BW Printworks
www.bwprintworks.com
Firefighter Shift Calendar and Day Planner Products |
|
|
MHuijbregts
going with the flow Posts:26
|
06-07-2011 05:30 AM |
|
Hi Joe, I have placed the ?SPost=True not at the end of the url but in the beginning of the field "Silent Post Details". This is working for me, but not for all the tokens. @DataSprings team, could you please confirm whether the provided tokens should work or that I should construct the silent post details in a different way? Thanks in advance. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
jbarna
skipping stones Posts:5
|
06-08-2011 06:55 AM |
|
Thank you for the reply Marc! Do you have the ? in the details field or is that automatically added? |
|
BW Printworks
www.bwprintworks.com
Firefighter Shift Calendar and Day Planner Products |
|
|
MHuijbregts
going with the flow Posts:26
|
06-08-2011 07:13 AM |
|
I have placed it in the silent post details. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
jbarna
skipping stones Posts:5
|
06-08-2011 07:16 AM |
|
Marc (or Chad),
A couple more questions on settings because I might be missing the bigger picture.
User creation type: none/silent post or facebook Email
Submit HTTP Post: Creating User Only
Silent Post URL: full www.mywebsite.com/registration.aspx or /registration.aspx |
|
BW Printworks
www.bwprintworks.com
Firefighter Shift Calendar and Day Planner Products |
|
|
MHuijbregts
going with the flow Posts:26
|
06-08-2011 09:07 AM |
|
Hi Joe, I have tested this on my localhost machine and internet and in both cases I have entered the full URL (even with http:// at the front). Hope this helps. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
MHuijbregts
going with the flow Posts:26
|
06-14-2011 07:39 PM |
|
Could anyone of the DataSprings team please help me out on this one. Are the tokens working yes or no? If they are supposed to work could you please point me into the right direction to get the integration working so that I can use the completion events in DR? Thanks in advance. |
|
Regards, Marc www.biservices.eu for free nl-NL resourcepacks. |
|
|
Chad Nash Posts:5260
|
08-01-2011 10:38 AM |
|
Hi, I just happen to come across this... A few things. 1. Yes you will need to pass SPost=True within the post, this is how Dynamic Registration know to try and process the post. After that, make sure you also pass along each and every field that would be marked as required on Dynamic Registration etc... 2. Yes, Facebook integration comes with some very specific tokens to use. These should be in the user guide but if they are not here are the basics: $(UserID) $(UserName) $(FirstName) $(LastNAme) $(DisplayName) $(Email) $(Password) $(PortalID) $(ModuleID) $(IPAddress) $(TabID) $(CurrentURL) $(URLReferrer) $(CurrentLanguage) Also - Any profile field that the user has can be referenced within the silent post with the profile property name. For example you can have $(ZipCode) send a silent post with the users current zip code. Keep in mind though that you don't have access to the majority of these fields unless the user already exists so this doesn't help much on the Facebook side of things. Currently with Facebook there is not a way to map other profile properties in Facebook with the Dynamic Registration/DNN profile properties besides the ones mentioned above. In the future we might add some features to map some others from Facebook but will have to review this further. Thanks! -Chad
|
|
|
|
|
Steve
wading in the water Posts:25
|
08-06-2011 02:29 AM |
|
I am experiencing the same problem as the user in this forum post. Its related to creating a Facebook Connect user using Dynamic Registration by the silent post method. I'm using DNN 5.6.3, 4.00.11 of DL and 4.10.43 of DR. The exception is that I'm using DR to create the user based on Email address, so the user name is also taking on the token name $(Email) and not the token value. Regardless of how the silent sting is constructed, all the data from the tokens in the silent post is being extracted by Dynamic Reg and processed - EXCEPT for $(Email). The account is created by DR, so the silent post is working and firing account creation in DR.... UserID: 10 UserName: $(Email) FirstName: Test LastName: User DisplayName: Test User Email: $(Email)
|
|
|
|
|
Chad Nash Posts:5260
|
08-06-2011 08:35 AM |
|
Hmm... Can you tell me what other settings you have? Such as if you have auto create username enabled, or auto create password or anything? I checked the code and it should be pulling in the email with the same value as what it uses for the standard Facebook Connect integration with the module. So not sure why it wouldn't get replaced. Furthermore this code is BEFORE the $(Password) token, so if the email token is getting skipped or throwing an error I am not really sure how the password token is working. -Chad
|
|
|
|
|