User - Login And Create Widget modifications

User - Login And Create Widget modifications

This question is not answered

Hi,

I want to modify the "User - Login And Create" Widget so that when a user manually joins, their Email Noticfications are turned off. The settings Im trying to set are "EnableCommentNotifications" & "EnableConversationNotifications".

I have copied the "User - Login And Create" widget and edited the line that sets the user options:

#set ($options = "%{ TimeZone = $timeZoneOffset, AllowSiteToContact = $allowSiteToContact, AllowSitePartnersToContact = $allowSitePartnersToContact, EnableCommentNotifications=false,EnableConversationNotifications=false}")

However this is not saving the user's settings as they join.

Does anyone know how to set these via the widget?

All Replies
  • Hi Gerard,

    I was able to get this to work by modifying the "#set ($options ...." code but in a little different way than you did.  Here is what I'm using that defaults joining users to have their "EnableCommentNotifications" and "EnableConversationNotifications" set to 'false' :

    #set ($options = "%{ TimeZone = $timeZoneOffset, AllowSiteToContact = $allowSiteToContact, AllowSitePartnersToContact = $allowSitePartnersToContact, _ExtendedAttributes_EnableCommentNotifications = 'false', _ExtendedAttributes_EnableConversationNotifications = 'false' }")

    Thanks!