Products

Solutions

Resources

Partners

Community

About

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 OnlineUsers should not report the latest member until they are authorizedUsers should not report the latest member until they are authorized
Previous
 
Next
New Post
12/4/2008 8:07 AM
 

Currently the Users Online module reports the latest user that registered. This should really report the latest authorized user. Our site has a policy whereby the users must be approved individually to verify they are actually paying members. Then they are authorized.

Someone could right now register as username F***YOU and it would show up on the Users as the latest member of the site. Is this a bug that is in the system right now?

 
New Post
12/4/2008 11:02 AM
 

you need to modify stored procedure "GetOnlineUserStatistics" in your database:

-- Last User Registered:
SELECT UserName,
        UserID
FROM Users
WHERE UserID = (SELECT TOP 1 UserId FROM UserPortals WHERE PortalID = @PortalID AND Authorised = 1 ORDER BY UserPortalID DESC)


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/4/2008 9:53 PM
 

Is this just a bug on my specific site or is this a bug in the module that is being checked in?

Thanks for the fix!

 

Sebastian Leupold wrote
 

you need to modify stored procedure "GetOnlineUserStatistics" in your database:

-- Last User Registered:
SELECT UserName,
        UserID
FROM Users
WHERE UserID = (SELECT TOP 1 UserId FROM UserPortals WHERE PortalID = @PortalID AND Authorised = 1 ORDER BY UserPortalID DESC)

 
New Post
12/5/2008 3:29 AM
 

this is current behaviour of the module, which has been unchanged for at least 2 years.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
12/5/2008 6:49 AM
 

This=? The fixed behaviour or the broken one? If you are saying the broken behaviour, I would ask whether that is going to be checked in as a fix.  If you are saying the fixed behaviour then I am seeing the same SPROC distributed with DNN 5.0RC2

-- Last User Registered

SELECT

UserID

UserName,

FROM

Users

WHERE

UserID = (select top 1 UserId from UserPortals where PortalID = @PortalID order by UserPortalId desc)
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsUsers OnlineUsers OnlineUsers should not report the latest member until they are authorizedUsers should not report the latest member until they are authorized


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