DanielH
Customers
Post Count:98
 |
|
Will Morgenweck
Forum Admin
DotNetNuke Staff
Post Count:7666
 |
| 10 May 2010 09:36 AM |
|
You must use the Active Social signup and login controls in order for these features to work properly. |
|
Will Morgenweck
Director of Product Management
DotNetNuke Corp.
|
|
|
Tareq
Customers
Post Count:439
 |
| 10 May 2010 09:36 AM |
|
I beleive you will have to use the AS registration for this to happen. |
|
|
|
|
DanielH
Customers
Post Count:98
 |
|
R1ckJon3z
Customers
Post Count:116
 |
| 11 May 2010 08:48 AM |
|
I am using Dynamic registration and adding users to a pre-defined group and auto-friending using the SQL completion event. It's working well for me. |
|
 Ricky Jones | PokerSharkz.net | Social Networking For Poker Players |
|
|
Ben Thompson
Customers
Post Count:230
 |
| 11 May 2010 06:46 PM |
|
Hi Ricky, would it be possible to share your completion event SQL? Cheers Ben |
|
| www.itproject.com.au |
|
|
R1ckJon3z
Customers
Post Count:116
 |
| 11 May 2010 08:05 PM |
|
Hey Ben,
This is how I am accomplishing my auto-friend & auto-groups using Dynamic Registration:
To add a user to a group on registration I created an SQL completion event with the following SQL Statement:
INSERT into activesocial_Groups_Members (GroupId,UserId,MemberStatus,DateCreated,DateApproved)VALUES('Your Group ID','$(UserID)','1',GetDate(),GetDate())
You can look in activesocial_Groups to find out what the GroupId is...
For Auto-Friend there is an additional step. To automatically add a friend on registration, I created 2 SQL completion events with the following SQL statements:
1st Event
INSERT INTO activesocial_Friends (FriendId, UserId,PortalId,IsApproved,IsRejected)VALUES ('Friend ID','$(UserID)','$(PortalID)','True','False')
2nd Event
INSERT INTO activesocial_Friends (FriendId, UserId,PortalId,IsApproved,IsRejected)VALUES ('$(UserID)','Friend ID','$(PortalID)','True','False')
If you only use 1 event for auto-friend, then it's like you've added someone but haven't been confirmed by the other person, so use the 2 events as I have described. You could additionally use an email completion event to inform the new user that they have a new friend. I didn't create the email event, but it would be easy to do. Hope this helps. |
|
 Ricky Jones | PokerSharkz.net | Social Networking For Poker Players |
|
|
Ben Thompson
Customers
Post Count:230
 |
| 18 May 2010 06:43 PM |
|
Thanks Ricky, this helps me out until I can move back to the Active Social Registration process. Cheers
|
|
| www.itproject.com.au |
|
|
Frozen DNN
Customers
Post Count:1310
 |
| 18 May 2010 06:47 PM |
|
Thanks! |
|
I am using the latest AS/AF/DNN available.
Thanks. |
|
|
Frozen DNN
Customers
Post Count:1310
 |
| 22 May 2010 03:08 AM |
|
> INSERT into activesocial_Groups_Members (GroupId,UserId,MemberStatus,DateCreated,DateApproved)VALUES('Your Group ID','$(UserID)','1',GetDate(),GetDate())
INSERT into activesocial_Groups_Members (GroupId,UserId,MemberStatus,DateCreated,DateApproved)VALUES('5','$(UserID)','1',GetDate(),GetDate())
Something like this? |
|
I am using the latest AS/AF/DNN available.
Thanks. |
|
|
Frozen DNN
Customers
Post Count:1310
 |
| 29 May 2010 01:38 PM |
|
Does this look correct? Anyone please
1st Event
INSERT INTO activesocial_Friends (FriendId, UserId,PortalId,IsApproved,IsRejected)VALUES ('1656','$(UserID)','$(PortalID)','True','False')
2nd Event
INSERT INTO activesocial_Friends (FriendId, UserId,PortalId,IsApproved,IsRejected)VALUES ('$(UserID)','1656','$(PortalID)','True','False') |
|
I am using the latest AS/AF/DNN available.
Thanks. |
|
|
Frozen DNN
Customers
Post Count:1310
 |
| 29 May 2010 01:41 PM |
|
I was also wondering whether there is a way to add a predefined friend to all old members via sql script?
Also, has anyone worked out any solution to integrate Dynamic Registration with AS when it comes to the profile picture?
Is there is/are such thing/s, can anyone please share it?
Thanks a lot. |
|
I am using the latest AS/AF/DNN available.
Thanks. |
|
|
R1ckJon3z
Customers
Post Count:116
 |
| 30 May 2010 07:48 PM |
|
That looks correct Frozen.. |
|
 Ricky Jones | PokerSharkz.net | Social Networking For Poker Players |
|
|
Frozen DNN
Customers
Post Count:1310
 |
| 31 May 2010 12:36 AM |
|
Posted By R1ckJon3z on 30 May 2010 07:48 PM
That looks correct Frozen..
Thank you! |
|
I am using the latest AS/AF/DNN available.
Thanks. |
|
|