Print Page | Close Window

Author Info

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums
Forum Description: Support forum for Web Wiz Forums application.
URL: https://forums.webwiz.net/forum_posts.asp?TID=7917
Printed Date: 06 April 2026 at 3:35pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: Author Info
Posted By: wfusco
Subject: Author Info
Date Posted: 07 December 2003 at 5:54am

How do you go about getting this information displayed, is this a mod?

Joined: 07 August 2003
Location: United Kingdom
Online Status: Offline
Posts: 201

Its the data that is shown right below the avatar

Wayne




Replies:
Posted By: Badaboem
Date Posted: 07 December 2003 at 6:23am

The forum here is running version 7.7 alpha.
7.6 doesn't have the online/offline status information.




Posted By: india
Date Posted: 07 December 2003 at 6:27am
Badaboem, it does support in v7.6

There is a Mod which you need to install. plz check mod forum


Posted By: wfusco
Date Posted: 07 December 2003 at 6:30am

Thank you for getting back to me both of you!
I will look for it.

Happy Holidays,



Posted By: Badaboem
Date Posted: 07 December 2003 at 6:43am

Originally posted by india india wrote:

Badaboem, it does support in v7.6

There is a Mod which you need to install. plz check mod forum

I said the default install doesn't have the online offline status. But he got what he wanted.



Posted By: india
Date Posted: 07 December 2003 at 6:46am
Originally posted by wfusco wfusco wrote:

Thank you for getting back to me both of you!
I will look for it.

Happy Holidays,

heres my code

   response.write ("<br/>Status : ")

Dim rsUserOnline

Set rsUserOnline = Server.CreateObject("ADODB.Recordset")

'Initalise the strSQL variable with an SQL statement to query the database
strSQL = "SELECT tblActiveUser.* FROM tblActiveUser WHERE tblActiveUser.Author_ID=" & lngUserID

rsUserOnline.Open strSQL, strCon
 

If rsUserOnline.EOF Then
 Response.Write "Offline"

ElseIf CBool(rsUserOnline("Hide")) = True  Then Response.Write "Offline"
Else
 Response.Write "Online"
End If

i have added it on line 727 of forum posts

just cut and paste ...



Posted By: Badaboem
Date Posted: 07 December 2003 at 6:50am
Originally posted by india india wrote:

[QUOTE=wfusco]

heres my code

You mean DJ Air's code. Give credit where credit is due



Posted By: india
Date Posted: 07 December 2003 at 6:57am
Originally posted by Badaboem Badaboem wrote:

Originally posted by india india wrote:

[QUOTE=wfusco]

heres my code

You mean DJ Air's code. Give credit where credit is due


SOrry i did copy and paste from there so it came like that.


Posted By: psycotik
Date Posted: 07 December 2003 at 10:12pm

Your code would probably work alot better by doing a left-join to the main query which is used for viewing posts.

The method described above will do 1 database hit per post, which means if you have for example 3 people on the forum each reading threads with 20+ replies, that would be 60+ hits on the database which would degrade performance alot.




Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.08 - https://www.webwizforums.com
Copyright ©2001-2026 Web Wiz Ltd. - https://www.webwiz.net