Dave Burke : Freelance .NET Web Developer specializing in Online Communities

CSBlogs : Replacing trackback Anonymous with originating blog title

Another item under the "make CSBlogs more like dotText" category is getting rid of the Anonymous author listing in post trackback comments.  So if, say, my pal Julie Lerman were to link to my blog, the comment trackback entry will list "Julia Lerman Blog - Don't Be Iffy..." as the author instead of "Anonymous."

The time this mod requires can be measured in seconds.  In CommunityServer.Blogs.Controls.EntryComments, comment out (or delete) the original line and add the line in bold.

else if(entry.BlogPostType == BlogPostType.Trackback)
{
    //namelink.Text =  entry.Username != null ? entry.Username : "TrackBack";
    namelink.Text = entry.TrackBackName;
    namelink.Attributes.Add("title","TrackBack");
}

Another Anonymous free radical destroyed.

 

Comments (4) | Post RSS RSS comment feed

Posted on 3/28/2005 10:10:00 AM by Dave Burke
Categories: Community Server
Tags: no tags for this post

Related posts

Comments (4) -

4/8/2005 1:52:29 PM Permalink

I have 2 anonymous free radicals I'm attempting to track down myself:

All comments show up as anonymous in RSS feed readers, and all comments/trackbacks show up as anonymous in the Feedback page of the Admin section.  I'm just now learning my way around the CS source, so if you have any pointers please feel free to let me know.

I *hate* the way CS abuses the anonymous account.

jayson knight |

4/8/2005 1:59:42 PM Permalink

Jason, those two anonymous free radical still infiltrate my sacred CS environment as well, and will be rooted out when time permits and passion inspires.

Have you seen this Miguel Jimenez post on what he did?  It might be helpful.  

blogs.clearscreen.com/.../1278.aspx

daveburke |

4/8/2005 2:21:26 PM Permalink

That looks promising, will give it a whirl; unfortunately it looks like it would only be applied to new comments (which isn't a bad thing, something is better than nothing).

What I'd really like to find in the source is where it flushes out the name of the commenter to be displayed in the comment itself; I know where this value is in the CS db (cs_Posts.PropertyValues I think), I just don't know what objects it's attached to in the CS source.  If I could find those objects, should be a snap.

Thanks for the link.

jayson knight |

4/8/2005 2:27:59 PM Permalink

JK,  It's not that straightforward from my early observations.  Search globally for "submittedusername."  That would be a good place to start.

daveburke |


Powered by BlogEngine.NET 2.0.0.36
Theme by Dave Burke