Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

$4.95 Windows Hosting at Webhost4life.com
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
r2i.ntegrated
 


  Sponsors  

Meet Our Sponsors

DataSprings - Great Ideas. Always Flowing.
R2integrated - formerly bi4ce
Jango Studios - Skins, Modules and Hosting for DotNetNuke
eUKhost.com is commited to offer exceptional UK Windows Web Hosting solutions with quality 24x7 technical support.Our plans support ASP.Net, ASP, ASP.NET Ajax extensions, XML, MSSQL, MySQL, PHP,DNN, multiple domains and Shared SSL as standard.
SmarterTools
The Official Microsoft ASP.NET Website
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Blog Module [Le...  Comment "posted By"
Previous Previous
 
Next Next
New Post 6/4/2008 8:40 AM
User is offline Brandon
7 posts
10th Ranked


Comment "posted By" 

I noticed that if a user posts a comment to a blog entry while logged in to my site, it displays their account logon ID as the "By <name>" for the comment.  Any easy way to change this so that it just displays their registered first name instead??

I would rather see "By John" instead of "By johndoe"

Thanks

 
New Post 6/4/2008 12:21 PM
User is offline Dario Rossa
249 posts
dotnetnuke.dariorossa.it
9th Ranked




Re: Comment "posted By" 

Hi Brandon,

while they are logged in, users cannot customize their name when leaving comments. Their DNN username will be used instead. To enter a custom name, you need to log out.

Best regards,
Dario Rossa


Dario RossaDario Rossa
Personal WebSite: http://www.dariorossa.it
DotNetNuke: http://dotnetnuke.dariorossa.it
 
New Post 6/4/2008 5:38 PM
User is offline Brandon
7 posts
10th Ranked


Re: Comment "posted By" 

I see that is how it works currently.  I'd like to change it to just default to their registered first name (or even first and last) instead.  Was wondering how difficult it would be?

 
New Post 6/5/2008 6:16 AM
User is offline Dario Rossa
249 posts
dotnetnuke.dariorossa.it
9th Ranked




Re: Comment "posted By" 

Hi Brandon,

I didn't test it personally, but try changing ViewEntry.ascx.vb at line 329:

oComment.Author = Me.UserInfo.Username 

in

oComment.Author = Me.UserInfo.FirstName

Recompile and test. Let me know if you encounter any problems.

Best regards,
Dario Rossa


Dario RossaDario Rossa
Personal WebSite: http://www.dariorossa.it
DotNetNuke: http://dotnetnuke.dariorossa.it
 
New Post 6/5/2008 8:22 AM
Online now... Brandon Haynes
644 posts
everysport.net
7th Ranked


Re: Comment "posted By" 

I'd personally use "Me.UserInfo.DisplayName,", but I understand that the original question asked about the first name only.

This is an enhancement that should be logged in Gemini -- authenticated comments should include DisplayName (or if there is no userId linkage, something like "DisplayName (UserName)").

Brandon -- since you are the original poster here, would you please consider logging it as an enhancement in Gemini, located at http://support.dotnetnuke.com?  Let me know if you are able to do so so I can monitor the work item.  Thanks!

(The other) Brandon


Brandon Haynes
BrandonHaynes.org
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Blog Module [Le...  Comment "posted By"
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Venexus, Inc.
Need custom a custom DotNetNuke module? From module planning to deployment, including training and support, Venexus developers deliver end-to-end web solutions on time and on budget.
www.venexus.com
Bring2mind
Document Centric DNN Module Solutions
www.bring2mind.net
WEBPC™ DotNetNuke® sites for Small Business
WEBPC™ are internet consultants and web hosters catering to the small business market.
www.webpc.biz

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP