More in this section

Forums / Developing with Sitefinity / Linking Blog Comments to Users

Linking Blog Comments to Users

2 posts, 0 answered
  1. Steve .
    Steve . avatar
    14 posts
    14 Apr 2010
    19 Jan 2011
    Link to this post
    Hi there,

    Is it possible to link blog comments to user registration? I.e. To populate Comment Name, Comment Email etc. with data from currently logged in user.

    Equally is it possible to require registration to comment?


  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    12 Sep 2017
    19 Jan 2011
    Link to this post
    Hi Steve .,

    You can check this KB. To fill the users' data in Comment Name, Comment Email you have to create a custom control that inherits from BlogCommnetsList. You can override InitializeControls, get the current user by using UserManager class and its methods and set values you want to

    •  this.CommentText.Content;
    •  this.AuthorText.Text;
    •  this.EmailText.Text;

    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered