Disable Profile.aspx link

rated by 0 users
This post has 6 Replies | 2 Followers

Not Ranked
Posts 29
Points 295
baigimran Posted: Tue, Nov 7 2006 2:37 PM

I am using integrated form authenication, but I can see user names are available against each post with a hyperlink.
When a user click this link which points to "Profile.aspx" within CS which displays user's CS stats/info

Can I disable this link on all pages by just making change at one place. As it will be confusing for users to see their different
data at two different places.

Thanks
Imran

Top 25 Contributor
Posts 948
Points 14,515
CS Developers

You can certainly remove the link so that a user cannot click on their name and navigate to the profile page.

Open up Skin-RegisteredUserControl.ascx, which is found in the Themes\default\skins\ folder.

 Remove the following line:

<asp:Literal id="Message" runat="Server" />

 
Also, you may want to remove the first space by removing:

 
<CS:ResourceControl runat="Server" ResourceName = "Utility_ForumAnchorType_MenuSpacer" />

 

Now you can simply save the page and the information about who is currently logged in will not display at the tops of the pages.
 

Wyatt Preul
Wyatt - The Geek Cowboy

  • | Post Points: 35
Not Ranked
Posts 29
Points 295
baigimran replied on Thu, Nov 16 2006 2:30 PM

Thanks a lot.

  • | Post Points: 20
Not Ranked
Posts 29
Points 295
baigimran replied on Thu, Nov 16 2006 2:43 PM

Thanks for the response. But what will happen to the user links created for each post e.g. Posted by "username"?

Thanks
Imran

  • | Post Points: 20
Top 25 Contributor
Posts 948
Points 14,515
CS Developers

This is a good point.  With the above code those links will still remain.  One idea is to change the Require Authentication for Profile Viewing setting to No in the Global Account Profile Settings page in the Membership section of the Administration tab in the Control Panel.  This will at least require that you are registered to see a persons profile.

The other idea I have is to redirect the profile editing to the page that you would like.  You said that there is a different page that users can edit their profile on?  If this is true then you could simply redirect them away from the edit profile page in Community Server.

Please let me know more specifics of what you are trying to accomplish and I will try to help further.

 

Thank you,

 

Wyatt 

Wyatt Preul
Wyatt - The Geek Cowboy

  • | Post Points: 20
Not Ranked
Posts 29
Points 295
baigimran replied on Wed, Nov 22 2006 2:32 PM

Hi Wyatt,

Thanks for the detailed response. I am planning to redirect used back to other integrated application. I have to modify
other application as that application at this time accepts its userID which is different from CS userID. I will add userName
which is shared by both application. But again I need to figure out some way to add selected "userName", and build URL
dynamically, as this won't be logged in user name but the selected userName.

 

Thanks
Imran

 

  • | Post Points: 5
Not Ranked
Posts 1
Points 5
imex replied on Tue, Jul 15 2008 2:46 PM

Hi,

what version of the community server are you referring to? is is community server 2008? I have the same issue but at the moment, I am using Community Server Express edition. Can I still disable the user Profile?? If yes, I would really appreciate if you can explain further.

Thanks in advance.

  • | Post Points: 5
Page 1 of 1 (7 items) | RSS
Powered by Community Server (Commercial Edition), by Telligent Systems

Copyright© 2008 Telligent Systems Inc. All rights reserved
CommunityServer.com  •  Telligent.com