Web Wiz - Green Windows Web Hosting

  New Posts New Posts RSS Feed - MOD: Web Wiz Forum v8 ChatRoom Add-on
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

MOD: Web Wiz Forum v8 ChatRoom Add-on

 Post Reply Post Reply Page  12>
Author
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Topic: MOD: Web Wiz Forum v8 ChatRoom Add-on
    Posted: 15 July 2006 at 10:59pm
This is a modified version of 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:



Download Here

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

Thanks to engla001 for the chatroom icon.

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


Edited by MadDog - 11 November 2006 at 12:04am
Back to Top
Demon View Drop Down
Mod Builder Group
Mod Builder Group
Avatar
Mod-n-Skin Moderator

Joined: 26 July 2003
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote Demon Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
MadDog View Drop Down
Mod Builder Group
Mod Builder Group
Avatar

Joined: 01 January 2002
Status: Offline
Points: 3008
Post Options Post Options   Thanks (0) Thanks(0)   Quote MadDog Quote  Post ReplyReply Direct Link To This Post Posted: 16 July 2006 at 12:00am
Sure as long as it for v1 and not v1.1 (totally different code).
Back to Top
Demon View Drop Down
Mod Builder Group
Mod Builder Group
Avatar
Mod-n-Skin Moderator

Joined: 26 July 2003
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote Demon Quote  Post ReplyReply Direct Link To This Post 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.

Edited by Demon - 16 July 2006 at 2:21am
So Sayith the Demon.
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 16 July 2006 at 2:13am
You could also follow the steps I have here for v1.1 if you have it.
Back to Top
Demon View Drop Down
Mod Builder Group
Mod Builder Group
Avatar
Mod-n-Skin Moderator

Joined: 26 July 2003
Status: Offline
Points: 299
Post Options Post Options   Thanks (0) Thanks(0)   Quote Demon Quote  Post ReplyReply Direct Link To This Post 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.
Back to Top
jckruger View Drop Down
Groupie
Groupie
Avatar

Joined: 18 April 2006
Location: Australia
Status: Offline
Points: 135
Post Options Post Options   Thanks (0) Thanks(0)   Quote jckruger Quote  Post ReplyReply Direct Link To This Post Posted: 16 July 2006 at 4:11am
Comments and images removed


Edited by jckruger - 20 September 2006 at 3:33am
Back to Top
superlative View Drop Down
Groupie
Groupie

Not Comparative, I m Superlative :)

Joined: 26 November 2004
Location: Turkey
Status: Offline
Points: 125
Post Options Post Options   Thanks (0) Thanks(0)   Quote superlative Quote  Post ReplyReply Direct Link To This Post Posted: 19 September 2006 at 10:21pm
Correct your images links !!
Back to Top
 Post Reply Post Reply Page  12>

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.