Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - Easy solution active users
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Easy solution active users

 Post Reply Post Reply
Author
dfrancis View Drop Down
Senior Member
Senior Member


Joined: 16 March 2005
Location: United States
Status: Offline
Points: 442
Post Options Post Options   Thanks (0) Thanks(0)   Quote dfrancis Quote  Post ReplyReply Direct Link To This Post Topic: Easy solution active users
    Posted: 29 May 2005 at 12:00pm
This was an easy solution to an issue that may or may not have been addressed already. Finding none, I post it for your benifit.
 
 

I wanted to be able to see who is active even if the user selected to be anonymous. I didn't want everyone to be able to see so all I did was open active_users.asp and save as active_users_somethingelse.asp.

Then I went to line 204 and 207 and commented them out.

From this

         ElseIf blnHideActiveUser Then
         	
         	'Display the user as an annoy
         	Response.Write(strTxtAnnoymous)

To this

         'ElseIf blnHideActiveUser Then
         	
         	'Display the user as an annoy
         	'Response.Write(strTxtAnnoymous)

No problem!!!

Now I want to find that admin version of active users that showed more info including the IP address... muhuhuhahahaaa

Back to Top
the boss View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 January 2003
Location: Saudi Arabia
Status: Offline
Points: 1727
Post Options Post Options   Thanks (0) Thanks(0)   Quote the boss Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2005 at 4:44am
LOL 
 
wwgf hackers wanna-be's may watch out now! i wish the functionality to show hidden active users to admin was built in the forum right out of the box!!


Edited by the boss - 01 June 2005 at 4:45am

Back to Top
Scotty32 View Drop Down
Moderator Group
Moderator Group


Joined: 30 November 2002
Location: Manchester, UK
Status: Offline
Points: 1682
Post Options Post Options   Thanks (0) Thanks(0)   Quote Scotty32 Quote  Post ReplyReply Direct Link To This Post Posted: 01 June 2005 at 1:58pm
i just did:

         'ElseIf blnHideActiveUser Then
if blnAdmin
Response.Write(saryActiveUsers(2, intArrayPass) & " (A)")
else
'Display the user as an annoy
Response.Write(strTxtAnnoymous)
end if
if you want to find out the IP then its:

		Response.Write(saryActiveUsers(0, intArrayPass))
the Active User include file (active_users_inc.asp) tells you all the info you can get, which is as follows:
'Array dimension lookup table
' 0 = IP
' 1 = Author ID
' 2 = Username
' 3 = Login Time
' 4 = Last Active Time
' 5 = OS
' 6 = Browser
' 7 = Hids user details
my advice would be to hide details like IP from normal members
S2H.co.uk - WebWiz Mods and Skins

For support on my mods + skins, please use my forum.
Back to Top
cheops@collecto View Drop Down
Groupie
Groupie


Joined: 14 January 2004
Location: Denmark
Status: Offline
Points: 53
Post Options Post Options   Thanks (0) Thanks(0)   Quote cheops@collecto Quote  Post ReplyReply Direct Link To This Post Posted: 13 June 2005 at 7:09pm

I have been looking at the active_users.asp file, but that file is to complicated for me, to MOD.....

I would like to link to, 2 new active_users.asp files

one by the name active__female_users.asp and one by the name active_Male_users.asp

Now - The thing I would like this files to do is:

active__female_users.asp     only shows female users
active__male_users.asp        only shows male users.


Is anyone up for helping me with this..?
Sorry for my bad 3nglish..!!
Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.08
Copyright ©2001-2026 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Notice

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT at 20% unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2026 Web Wiz Ltd. All rights reserved.