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

 All Forums
 Community Forums
 Code Support: ASP (Non-Forum Related)
 ConquerChat modifications
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Ryan
Average Member

USA
858 Posts

Posted - 25 September 2003 :  21:39:04  Show Profile  Visit Ryan's Homepage
I am editing the default.asp in the conquer chat script. I am making it so that it automatically redirects you to the default.asp page of the forum.
If I can get that accomplished I will then add a link right below the inc_header.asp to Join Chat (Members Only). However I will make it so that that link in only displayed if you are registered. You will then click on the link to the chat room. Since you came from the default.asp page of the forum you will not be redirected back there. Catch on to what I am saying?
Please look at the txt of the default.asp of the ConquerChat and tell me where to make the correct redirect modifications.
Thanks!
http://www.thepoultrylink.com/txtfiles/default.txt

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help

weeweeslap
Senior Member

USA
1077 Posts

Posted - 26 September 2003 :  02:01:03  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
why not edit inc.config.asp
the very last line there says:
Const LOGGED_OUT_PAGE = "default.asp"
that is when exiting what page to go to, if you want it to your forum default.asp page just tell it so, if the chat opens in a window, make a logout.asp file which will close the chat window when they log out.
here's my logout.asp page that closes the window.

<%

' 
' $Id: logged.out.asp,v 1.2 MOD 03/18/2003 02:30:20 kid Exp $
' 
' 
' @author Kid Danger kiddanger@kiddanger.com
' 

Option Explicit

%>
<!-- #include file="inc.common.asp" -->
<html>

<head>
<title><%= APPLICATION_NAME %></title>
<link rel="stylesheet" type="text/css" href="css/chat.css">
<script>self.close()</script>
</head>
<body>
</body>
</html>

I got that code to close the window right from theill.com forum for conquer chat mods and it works fine, also to allow only members to view the chat link use this code:

if strDBNTUserName <> "" then
Response.Write "                        <tr>" & vbCrLf
Response.Write "                          <td width=""100%"" class=""navleft"" nowrap>  <a href=""javascript:openChat()"" class=""navleft"">Chat</a>  </td>" & vbCrLf
Response.Write "                        </tr>" & vbCrLf

which you will need to add this following function snippet code where the jscript functions for window openings are defined in inc_header.asp

		"function openChat() { var MainWindow = window.open('../forum/chat/default.asp?username=""" & strDBNTUserName & """&mode=userLogin','','toolbar=no,location=no,menubar=no,scrollbars=yes,width=800,height=650,top=100,left=100,resizable=yes,status=no');" & vbNewLine & _
		"}" & vbNewLine & _


that's what I use on my forum,
check it out
http://www.weeweeslap.com
you'll need to register and login to see the chat link in the main menu. I am also using the latest version of conquer mod, not the conquer chat code that was distributed here as a mod. But you can add the autologin username to the new version as well by adding the line of code the one distributed here did.
WWS

coaster crazy
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 26 September 2003 :  11:32:24  Show Profile  Visit Ryan's Homepage
Could you give me a download link to the current chat room you use? (one with all your modifications)

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 26 September 2003 :  16:41:08  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
hmmmmmmm
lol
I could, but I do have A LOT of secret stuff that I added in the files that can compromise security. Give me some time to filter out the stuff and I'll post a dl link for you to dl my modded chat.
I'll have it out maybe tomorrow or Sunday ok.
WWS

coaster crazy
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 26 September 2003 :  18:21:58  Show Profile  Visit Ryan's Homepage
Sure. I'm not paying you so it is on your own time. Thanks!

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

n8pbm
Junior Member

USA
212 Posts

Posted - 27 September 2003 :  11:46:42  Show Profile  Visit n8pbm's Homepage
I have a modified ConquerChat mod that adds a link to the header and a display to the forum. You can download it at http://www.glpuc.org/mods/Chat_Integ_V1.zip

I was developing some custom screens and creating an admin screen but that will be in the next release. Feel free to add or change to your needs.

Hope it helps

Mike
Great Lakes Pop Up Club Camping
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 27 September 2003 :  16:14:43  Show Profile  Visit Ryan's Homepage
If they do not access the site through the inc_header.asp are they redirected to the default of the forum?

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

n8pbm
Junior Member

USA
212 Posts

Posted - 28 September 2003 :  00:51:12  Show Profile  Visit n8pbm's Homepage
Currently the mod in the zip file does not direct you to the forum. However by changing the config file mentioned in the above post it will. This will provide a link that displays the number of users chatting and logs on the member with the forum username. It will also show who is in the chatroom. I thought it might be a good start.

Mike
Great Lakes Pop Up Club Camping
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 28 September 2003 :  00:52:06  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
http://www.weeweeslap.com/chat.zip
let me know when you've dl'ed it, has install instructions names as wwsinstall.txt I think. Let me know how it goes and if you need help, global.asa files goes into root folder, if you already have a global.asa just add what I have in mine to yours so it works. Good luck.
WWS

coaster crazy
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 28 September 2003 :  22:08:39  Show Profile  Visit Ryan's Homepage
Thanks a ton! Will let you know.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

weeweeslap
Senior Member

USA
1077 Posts

Posted - 28 September 2003 :  22:39:35  Show Profile  Visit weeweeslap's Homepage  Send weeweeslap an AOL message  Send weeweeslap a Yahoo! Message
okie dokie

coaster crazy
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 29 September 2003 :  19:42:50  Show Profile  Visit Ryan's Homepage
Works like a charm.
Only problem I see is I still want the default.asp page of the chat room to automatically redirect you to the default.asp page of the forum if you have not come to the chat room from the forum. There has got to be a way to do that...

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

n8pbm
Junior Member

USA
212 Posts

Posted - 29 September 2003 :  20:36:38  Show Profile  Visit n8pbm's Homepage
Just remove the default.asp in ConquerChat and change the config.asp file where it has Const LOGGED_OUT_PAGE = "default.asp" to whatever page you want the user to go when logged out. That way a user must log on through the forum. I think that will work for you.

Mike
Great Lakes Pop Up Club Camping
Go to Top of Page

Ryan
Average Member

USA
858 Posts

Posted - 30 September 2003 :  09:10:15  Show Profile  Visit Ryan's Homepage
Will try it.

The Poultry Link - "Serving the best of the fancy with the best of the web"
Forum Setup Help
Go to Top of Page

Astralis
Senior Member

USA
1218 Posts

Posted - 06 October 2003 :  00:48:26  Show Profile  Send Astralis a Yahoo! Message
Any updates? Can someone provide a good chat? The chat in Snitzbitz is not appropriate to install on a forum if one wants to actually use it.
Go to Top of Page

brujo
Average Member

USA
602 Posts

Posted - 08 October 2003 :  10:14:17  Show Profile  Visit brujo's Homepage
I have never had any problems with ConquerChat and integrated it well into the forum...

http://jobinthesun.com/forum/

We have it so it tells users on the forum default.asp page who is in the chat room.

best regards,

brujo
Go to Top of Page
Page: of 2 Previous Topic Topic Next Topic  
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.37 seconds. Powered By: Snitz Forums 2000 Version 3.4.07