+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Public users profile

Public users profile

8 posts, 0 answered
  1. Tarun
    Tarun avatar
    81 posts
    Registered:
    14 Jan 2009
    20 Aug 2010
    Link to this post
    Hi,
    I want to show every user's public info on the site (like public profile on social site) with the below URL .On site there will be an users list, clicking on the user will navigate to a page where that user's public info will be shown. Is sitefinity has something inbuilt  for this.

    http://domain.com/user/(user).aspx

    Thanks!

  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Aug 2010
    Link to this post
    Hello Tarun,

    There is no built-in control that will do this. You have to create a custom one. For instance get all users - you can call UserManager.GetAllUsers() and bind them to an ASP.NET  Repeater control. Inside the ItemTemplate of the Repeater control you should have HyperLink. Then inside ItemDataBound of the Repeater set NavigateUrl of the user.

    You have to create a page for each user ( or create a custom form that uses pages API -Working with Pages Programmatically)

    All the best,
    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
  3. Tarun
    Tarun avatar
    81 posts
    Registered:
    14 Jan 2009
    20 Aug 2010
    Link to this post
    Thank you Ivan for very quick reply!

    But how It will help to create that URL. It seems that if I have one thousands user then there should be one thousand cms page in the site.Can you describe this bit more.

    Thanks again.
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Aug 2010
    Link to this post
    Hello Tarun,

    If you want to have a page for each user you should create it, otherwise you can have an valid url like -
    http://domain.com/user/(user).aspx. There would not be problem to have 1000 or 20000 pages. You can use one of the built-in modules - say News and create content items instead of pages.

    Sincerely yours,
    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
  5. Tarun
    Tarun avatar
    81 posts
    Registered:
    14 Jan 2009
    20 Aug 2010
    Link to this post
    Thank Ivan for prompt response

    Using built in module can be a good idea. I will try it.

    I read somewhere that in v4 we are having this feature in sitefinity. Is that added to v4?
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    20 Aug 2010
    Link to this post
    Hi Tarun,

    Social networking is not ready yet. There will be RC of Sitefinity 4.0 where you will be able to see all features that we are going to have in the official release. Most probably Social Networking and similar features will be done for one of the SP of Sitefinity 4.0.

    Best wishes,
    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
  7. Tarun
    Tarun avatar
    81 posts
    Registered:
    14 Jan 2009
    27 Aug 2010
    Link to this post
    Hi Ivan,

    Let me describe you my complete requirement.

    On site there will be an user list. when a username is clicked on, it will go to a that user profile page
    In the front-end, we should have a URL like http://domain.com/User/(username) that pulls up a user's profile page. I want to avoid URLs that require querystring parameters or even showing ".aspx". I have read that Sitefinity can go extentionless (no file extensions shown in URL), and I'd like to take advantage of that whenever possible.

    In the back end, we need to be able to edit user membership and profile data either through the existing admin screen or a new screen.

    If I will use built-in module then this should have a separate provider in that case how will we collaborate it with membership i.e users in administration tab in sitefinity. 

    I have never used the url rewrite module. Can't we use url rewrite in this scenario.

    like below:

    <urlrewrites>
                 <rule>
                    <url>user/user.aspx?user=$1</url>
                    <rewrite>user/$1.aspx</rewrite>
                </rule>
            </urlrewrites>

    Thanks!

  8. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    25 Nov 2016
    27 Aug 2010
    Link to this post
    Hello Tarun,

    You can use the existing backend section - Administration >> Users to manage your users. You can use the built-in Advanced Url Rewriter. The built-in URL rewriter works with regular expression rules and it is very similar to the standard ASP.NET url rewriting. You can gather more information at our User Manual, page 195

    Best wishes,
    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
Register for webinar
8 posts, 0 answered