view profile page - add user email

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

Please do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.

This forum is for discussing mojoPortal development

This forum is only for questions or discussions about working with the mojoPortal source code in Visual Studio, obtaining the source code from the repository, developing custom features, etc. If your question is not along these lines this is not the right forum. Please try to post your question in the appropriate forum.

You can monitor commits to the repository from this page. We also recommend developers to subscribe to email notifications in the developer forum as occasionally important things are announced.

Before posting questions here you might want to review the developer documentation.

Do not post questions about design, CSS, or skinning here. Use the Help With Skins Forum for those questions.
This thread is closed to new posts. You must sign in to post in the forums.
8/24/2011 9:48:51 AM
Gravatar
Total Posts 7

view profile page - add user email

I am trying to add the users email to the "view profile" page. I have added the field on the profileview.aspx page, but it only adds the label, not the email address itself. If you have any suggestions it would be greatly appreciated.

<div class="settingrow">
              <mp:SiteLabel id="lblUserEmail" runat="server" CssClass="settinglabel" ConfigKey="ManageUsersEmailLabel" ></mp:SiteLabel>
              &nbsp;<asp:Label id="txtEmail" runat="server" ></asp:Label>
          </div>

 

Thank you,
Joshua

8/24/2011 10:13:41 AM
Gravatar
Total Posts 18439

Re: view profile page - add user email

Hi,

As I mentioned before it is best to avoid modifying the files included with mojoPortal. If you are making a custom page in your own project you would set that from the code behind.

We do currently have a way to show the email address on the member list but not on the profile view. To show it on the member list you could add this to your user.config file

<add key="ShowEmailInMemberList" value="true" />

this setting is primarily for intranet/private network environments, it would not be a good idea to expose email addresses of users who register on a public web site.

Hope that helps,

Joe

You must sign in to post in the forums. This thread is closed to new posts.