Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: MOD Implementation
 Chat on forum
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 6

leatherlips
Senior Member

USA
1838 Posts

Posted - 17 October 2006 :  16:51:35  Show Profile  Visit leatherlips's Homepage
The error I am getting when it comes to ban points to line 35 in the function_ban.asp file. Here is a .txt version of that file.

Line 35 is:

Set stream = fso.OpenTextFile(strBanFile, 2)

Any ideas?

Edit:

I figured out that the chat folder needs to have read/write permissions for the ban to work. Now I just have to figure out how to do that!

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 17 October 2006 17:13:17
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 17 October 2006 :  19:01:28  Show Profile  Visit leatherlips's Homepage
In the chat, there is a command that will allow users to change their name while in chat. I disabled mine because it would be easy for someone to say they were you. It is also possible to change your name to someone that is currently in chat. Then two people are using the same name.

I would recommend disabling it. Here is how to do it if you want to.

In postmessage.asp look for the below code and add the parts in red:

'ElseIf Mid(strMessage, 1, 6) = "/name " Then
'strCommand = Trim(Mid(strMessage, 6, Len(strMessage)))

'Session("Username") = strCommand

'strMessage = strUsername & " changed username to " & strCommand

'saryUserMsgTo = 0
'intType = 1

You will also want to remove the line in the /commands menu that says how to change the username.

Look for this in postmessage.asp and delete it:

"<tr><td><b>Change Name:</b></td><td>/name [Username]</td></tr>" & _

If someone then tries to change their name, it will say:

You have typed an unknown command. Type /commands for help.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 17 October 2006 19:02:05
Go to Top of Page

TastyNutz
Junior Member

USA
251 Posts

Posted - 17 October 2006 :  22:44:07  Show Profile  Visit TastyNutz's Homepage
Thanks for the updates leatherlips!

I also did not want users changing their names. But I'd like to retain the ability as administrator to change my own name (just because). So, what I did, was simply edit the chatroom.asp file and remove the part in red:


<td bgcolor="#D1E0F8" width="70%" class="chatBorderText">ASP ChatNow Beta (type <i>/commands</i> in message box for commands)</td>


That way, the change name command still works. Users just don't know about it. And it's not really necessary for users to be able to use the /command function is the other two user functions (private message and text formatting) can be accessed elsewhere.

But of course the key is to remove the /commands reference before anyone sees it.


PowerQuad Disability Support Forum
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 19 October 2006 :  08:08:23  Show Profile
Do these changes sort out the problem of the chat "crashing" when a member joins/leaves??

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 19 October 2006 :  11:43:02  Show Profile  Visit leatherlips's Homepage
I have not had my chat crash as a result of any of the above changes.

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 20 October 2006 :  01:49:40  Show Profile
Thanks leatherlips :)

Dave

No good at coding, but I can plough a field !!
Go to Top of Page

leatherlips
Senior Member

USA
1838 Posts

Posted - 28 October 2006 :  18:52:04  Show Profile  Visit leatherlips's Homepage
One of my members is having trouble using the chat. When he logs in he says this is happening:
quote:
"User has joined the room" Thats what it says on the post board when I came in. Then it repeated that over and over down the left side. In fact it never stopped.
He also says that if he tries to type in chat, it never appears in the chat window. I believe he is using Mozilla on OSX. Any ideas?

Mangione Magic Forum - The Music of Chuck Mangione

My Mods: Googiespell MOD | Link To Reply MOD | Petition MOD | Contact Page MOD | Share This Topic MOD | MP3 MOD | PageEar MOD | Google Viewer MOD

Edited by - leatherlips on 28 October 2006 18:53:05
Go to Top of Page

TastyNutz
Junior Member

USA
251 Posts

Posted - 29 October 2006 :  12:17:13  Show Profile  Visit TastyNutz's Homepage
I've had similar reports. It doesn't happen everytime though, so they usually try until it works.


PowerQuad Disability Support Forum
Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 16 March 2007 :  13:31:27  Show Profile
Is ASPChat Free to use ?

If yes, can anyone guide me up with the link for the MOD.
Go to Top of Page

Andy Humm
Average Member

United Kingdom
908 Posts

Posted - 23 March 2007 :  16:56:50  Show Profile
Regarding using the smiley icons if you enter url in the chat message ie http://www.xxx.com
it displays a smiley image in the message area where the first:/ appears http/ww.xxx.com

I have changed my code to allow urls to be posted without smiley's being inserted
File:
Chatroom.asp
find line 65
<td align="center" height="20" width="20"><a href="Javascript:postmessage.AddSmileyIcon(':/');"><img border="0" hspace="10" src="smilies/on_11.gif"></a></td>
amend to read
<td align="center" height="20" width="20"><a href="Javascript:postmessage.AddSmileyIcon(':-');"><img border="0" hspace="10" src="smilies/on_11.gif"></a></td>

functions_chat.asp
find line 140
strMessage = Replace(strMessage, ":/", "<img src=smilies/on_11.gif align=absmiddle>")

amend to read
strMessage = Replace(strMessage, ":-", "<img src=smilies/on_11.gif align=absmiddle>")

Go to Top of Page

kolucoms6
Average Member

845 Posts

Posted - 24 March 2007 :  03:04:12  Show Profile
Sorry to jump in between these discussions, I just found a Tag Board which I am using instead of Chat application.

Just to share with you guys..here it goes..

www.cbox.ws ( I am no way related with this)

Regards,
David
Go to Top of Page

thermal_seeker
Junior Member

United Kingdom
430 Posts

Posted - 17 September 2007 :  12:15:11  Show Profile
quote:
Originally posted by Pull My Finger

quote:
Originally posted by TastyNutz

Your fix works great, but you should incorporate the tweak that Shaggy posted to remove the annoying trailing comma.

Thanks TN...
I did just that (added Shaggy change you posted)on the inc_chat.asp file I use for my live site. As for the inc_chat.asp that I linked to in my last post I left that as is so others can add the change you posted.


This is for the future a few weeks down the road when people read this thread...



In my last post I posted a "View New inc_chat.asp" link. That link is linking to the inc-chat.asp file in a temp folder on my server. Files that I put in that temp folder are files I keep on server for about 2 weeks.

The "View New inc_chat.asp" link at the end of this post is linking to the inc_chat.asp file I use on my live site and won't get deleted. That inc_chat.asp file has My personal text changes that I use for my site. You will have to edit line 1 that has My domain address to your domain address. Plus edit My personal text changes to how you like it.

My personal changes will look like this
No members logged-on--> Who's in the Live Chat Room? [ Nobody in Chat ]
1 member logged-on--> Who's in the Live Chat Room? PMF
3 members logged-on--> Who's in the Live Chat Room? PMF | Tom | Mike

Link (Source Viewer) of inc_chat.asp that is being used for my live site..........
View New inc_chat.asp



does anyone have a copy of this new file???
that link doesn't seem to work

Dave


No good at coding, but I can plough a field !!

Edited by - thermal_seeker on 17 September 2007 12:15:49
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 18 January 2008 :  12:13:36  Show Profile  Visit NiteOwl's Homepage
Does anyone have a copy of the inc_chat.asp that was mentioned above? or a sample of that file?

-=NiteOwl=-
Go to Top of Page

mdelcour2000
Junior Member

United States
133 Posts

Posted - 20 January 2008 :  13:27:47  Show Profile  Visit mdelcour2000's Homepage
I found this link: http://www.aspchatnow.com/ however, for some reason the file is corrupt or missing. It says it's downloading a Zip File, but all I get when I download is a downloaded link to the same thing.

http://lacledeforum.com/

"Never get so busy doing the work of the kingdom that you forget who the King is"
Go to Top of Page

NiteOwl
Junior Member

Canada
403 Posts

Posted - 20 January 2008 :  13:37:06  Show Profile  Visit NiteOwl's Homepage
got one from leatherlips that worked great! thanks

-=NiteOwl=-
Go to Top of Page
Page: of 6 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.43 seconds. Powered By: Snitz Forums 2000 Version 3.4.07