Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineGetUsersOnline in DNN 4.3.4GetUsersOnline in DNN 4.3.4
Previous
 
Next
New Post
8/3/2006 6:34 PM
 
I fear, this is due to misused username, that is usually used as a key -  sorry, you will need to modify usersonline instead.

Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/4/2006 4:24 AM
 
I will ping Scott about this.
 
New Post
8/4/2006 5:28 AM
 
 
New Post
8/4/2006 3:47 PM
 
Ok Mariette

I closed the Gemini issue - its not really a bug (as you are attempting to hack an existing behaviour).

I think I do have a better soln though.

The current stored procedure (that uses the view) pulls back way more information than the old one did, and due to the wonders of asp.net you have access to any field in the ascx file.

So here is a suggestion:

In the UsersOnline.ascx file towards the bottom of the file is the code that  displays the users.

<itemtemplate>
    <asp:label id="lblUserNumber" runat="server" />:&nbsp;<%# DataBinder.Eval(Container.DataItem, "UserName") %>
    <br>
</itemtemplate>

The important part is the part between the <%...%>:

DataBinder.Eval(Container.DataItem, "UserName")

To display what you used to do before changes this to:

DataBinder.Eval(Container.DataItem, "DisplayName")

or

DataBinder.Eval(Container.DataItem, "FirstName") + " " + DataBinder.Eval(Container.DataItem, "LastName")


This should work for you.  The first is better as it uses the Display name the user entered (as opposed to the arbitrary First+Last)

You could also do this:

DataBinder.Eval(Container.DataItem, "UserId") + ": " +
DataBinder.Eval(Container.DataItem, "DisplayName").

To get it displaying the userid and the displayname.










Charles Nurse
Chief Architect
Evoq Content Team Lead,
DNN Corp.

Want to contribute to the Platform project? - See here
MVP (ASP.NET) and
ASPInsiders Member
View my profile on LinkedIn
 
New Post
8/4/2006 4:41 PM
 

Charles,

Thanks for your help on this. Sorry for posting a false bug to Gemini, I will think twice before I do that again.

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineGetUsersOnline in DNN 4.3.4GetUsersOnline in DNN 4.3.4


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, 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 DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out