Print Page | Close Window

MOD: Web Wiz Forum v8 ChatRoom Add-on

Printed From: Web Wiz Forums
Category: Web Wiz Web App Support Forums
Forum Name: Web Wiz Forums Modifications
Forum Description: Mod's and Add-on's for Web Wiz Forums.
URL: https://forums.webwiz.net/forum_posts.asp?TID=20696
Printed Date: 30 March 2026 at 12:09pm
Software Version: Web Wiz Forums 12.08 - https://www.webwizforums.com


Topic: MOD: Web Wiz Forum v8 ChatRoom Add-on
Posted By: MadDog
Subject: MOD: Web Wiz Forum v8 ChatRoom Add-on
Date Posted: 15 July 2006 at 10:59pm
This is a modified version of http://www.aspchatnow.com - ASP ChatNow v1 added to Web Wiz Forum v8 with a chat icon added to the header navigation buttons.

This is a extremly basic chat. If you want something full of features, you wont find it here until v2 is finished.

Screen Shots:



http://downloads.iportalx.net/mods/wwf/8/WWFv8_chat_mod.zip - Download Here

------------------------------------

Thanks to engla001 for the chatroom icon.

Make sure to read the ReadMe.txt file for installing and setting up!!


-------------
http://www.iportalx.net" rel="nofollow">



Replies:
Posted By: Demon
Date Posted: 15 July 2006 at 11:57pm
Very nice, MadDog. Cant wait till version 2 of ASPChatNow comes out. If you want, I created a small active users mod that can be added to the default.asp and show the correct list of active users in the chatroom. I'd post it here, with your permission that is.

-------------
So Sayith the Demon.


Posted By: MadDog
Date Posted: 16 July 2006 at 12:00am
Sure as long as it for v1 and not v1.1 (totally different code).

-------------
http://www.iportalx.net" rel="nofollow">


Posted By: Demon
Date Posted: 16 July 2006 at 12:25am
Yep, its for v1.

Setup Instructions
1. Find the following line in default.asp
If strMembersOnline <> "" Then Response.Write(vbCrLf & "   <br />" & strTxtMembers & " " & strTxtOnLine & ": " & strMembersOnline)

2. Below that insert the following code:
'List Chatroom ActiveUsers

     Response.Write "<br /><a href=""http://www.iportalx.com/aspchatnow.asp"" title=""ASPChatNow is a freeware script released to the public by MadDog at iPortalX.com"">ChatNow™</a> Active User(s): "
     Dim saryChatActiveUsers
     Dim intArrayPassZ
     Dim dtmLastActive
     Dim strActiveUsername

          saryChatActiveUsers = Application("ChatUsers")

          If NOT IsArray(saryChatActiveUsers) Then
               Response.Write "None"
          Else
               If UBound(saryChatActiveUsers, 2) <> 0 Then
                    For intArrayPassZ = 1 To UBound(saryChatActiveUsers, 2)
                         strActiveUsername = saryChatActiveUsers(1, intArrayPassZ)
                         dtmLastActive = CDate(saryChatActiveUsers(5, intArrayPassZ))
                         
                         If UBound(saryChatActiveUsers, 2) = 1 Then
                             If Year(dtmLastActive) = Year(Now()) _
                                   And Month(dtmLastActive) = Month(Now()) _
                                   And ((Day(Now())-Day(dtmLastActive))*24*60) + ((Hour(Now())-Hour(dtmLastActive))*60) <= 1 Then
                                        Response.Write(strActiveUsername)
                             Else
                                   Response.Write "None"
                             End If
                         Else
                             Response.Write(strActiveUsername)
                             If intArrayPassZ < UBound(saryChatActiveUsers, 2) Then Response.Write(", ")
                         End If
                    Next
               Else
                    Response.Write "None"
               End If
          End If

Because of the way the chatscript adds and removes users from the active user list, this mod is accurate within 1 minute of the last person being online. So say there was 1 person left in the chatroom, when he/she leaves, the chatroom does not remove that last user, so I compensated in the above code.

-------------
So Sayith the Demon.


Posted By: jckruger
Date Posted: 16 July 2006 at 2:13am
You could also follow the steps I have http://forums.webwiz.net/forum_posts.asp?TID=20433 - here  for v1.1 if you have it.


Posted By: Demon
Date Posted: 16 July 2006 at 2:22am
Well, seeing how this is a topic for v1.0, the best option, and easiest, would be the one I listed above. XD

-------------
So Sayith the Demon.


Posted By: jckruger
Date Posted: 16 July 2006 at 4:11am
Comments and images removed


Posted By: superlative
Date Posted: 19 September 2006 at 10:21pm
Correct your images links !!

-------------
http://www.knowhow.gen.tr" rel="nofollow">


Posted By: justme
Date Posted: 10 November 2006 at 5:41pm
download link does not work


Posted By: slayer051
Date Posted: 15 November 2006 at 4:01pm

Is possible to make available the chat for registered user only, and if no registered redirect to register page?



Posted By: javi712
Date Posted: 15 November 2006 at 4:57pm
I believe the whole B2 iportalx site is down.


Posted By: madamzuzu
Date Posted: 16 November 2006 at 8:14pm
Hi :)
awesome MOD, thanks!
 


Posted By: lalleytech
Date Posted: 07 March 2007 at 4:49pm
Is ASP Chatnow gone?

Their home page is now asking for a login... and the link on mad dog's site is broked... Shocked



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