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

 All Forums
 Snitz Forums 2000 MOD-Group
 MOD Add-On Forum (W/O Code)
 Snittzy Chat Problems
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

dooza
New Member

69 Posts

Posted - 09 April 2003 :  09:32:42  Show Profile
Hi there,
http://www.snitzbitz.com/mods/details.asp?Version=3.4&mid=99 is the Mod I am having problems with.

I am having problems with this piece of code thats added:

"// TMPJ's Snitzzy Chat" & vbNewLine & _
"function openChat() { var MainWindow = window.open (""chat/default.asp?Name=""" & strDBNTUserName & """, "","toolbar=no,location=no,menubar=no,scrollbars=yes,width=800,height=600,top=100,left=100,resizeable=yes,status=no"");" & vbNewLine & _
"}" & vbNewLine & _

It causes this to happen:

Microsoft VBScript compilation error '800a0401'
Expected end of statement
/forum/inc_header.asp, line 256
"function openChat() { var MainWindow = window.open (""chat/default.asp?Name=""" & strDBNTUserName & """, "","toolbar=no,location=no,menubar=no,scrollbars=yes,width=800,height=600,top=100,left=100,resizeable=yes,status=no"");" & vbNewLine & _

The arrows point to the beginning of toolbar=no

I am upgrading a working forum so have taken that piece of code out for the forum to work, its here: http://www.djpages.com/forum.

I have tried to get support from http://www.magicorange.tk but there isnt a page there. Any help would be really appreciated.

Dooza

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  09:44:10  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Try this:
"function openChat() { var MainWindow = window.open (""chat/default.asp?Name=""" & strDBNTUserName & """, """",""toolbar=no,location=no,menubar=no,scrollbars=yes,width=800,height=600,top=100,left=100,resizeable=yes,status=no"");" & vbNewLine & _
"}" & vbNewLine & _

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  09:57:11  Show Profile
Almost, the page loads but with an error pop up.

Line: 24
Char: 77
Error: Expected ")"
Code: "0"

The Chat link hasnt appeared either, but at least the forum loads now.

http://www.djpages.com/forum/inc_header.txt for anyone who wants to have a peep.

Cheers,

Dooza
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  10:01:30  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
This should work...

"function openChat() { var MainWindow = window.open (""chat/default.asp?Name=" & strDBNTUserName & """, """",""toolbar=no,location=no,menubar=no,scrollbars=yes,width=800,height=600,top=100,left=100,resizeable=yes,status=no"");" & vbNewLine & _
"}" & vbNewLine & _



My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz

Edited by - OneWayMule on 09 April 2003 10:50:09
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  10:34:39  Show Profile
First impressions were good, the first page was error free but still didnt have a Chat link. So I tried the admin area, and I got this pop up error:

Line: 24
Char: 84
Expected: ")"
Code: "0"

The pop ups in admin dont work anymore, but they did before. Maybe I made a mistake somewhere else?
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  10:41:39  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Could you post a link to your forum please?

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  10:46:10  Show Profile
http://www.djpages.com/forum/
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  10:50:57  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
I'Ve edited the code above (the one with ), please copy+paste again...

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  11:06:32  Show Profile
Hi OneWayMule,
Nice one for getting rid of the error messages, any idea why the Chat links dont appear?
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  11:26:27  Show Profile
An odd thing: if you visit my forum (http://www.djpages.com/forum) and dont login you get the chat link, but when it is clicked on, the pop up window appears and then closes again. If you then login you dont get the link. Very odd.
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  11:32:12  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
in inc_header.asp find this code (line 484):

	if strDBNTUserName = "" then


and change it to

	if strDBNTUserName <> "" then



Did you follow the installation instructions from Corrections.htm?

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz

Edited by - OneWayMule on 09 April 2003 11:32:57
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  11:36:30  Show Profile
Almost there now, the link shows, it opens the pop up, you click login and it closes :(

Would I be correct in saying that this mod isnt as ready as I thought it was?

Corrections.htm? Nope, it didnt seem obvious if I should, but now that you have told me to I will.

Cheers,

Dooza

Edited by - dooza on 09 April 2003 11:41:16
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  11:54:37  Show Profile
Now that I made that one change to Corrections.htm it still doesnt work :( Most of them were already covered in the installation instructions. I also added the global.asa to the Forum and Chat folders, as I only had it in the root. Maybe a restart of IIS is needed?
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  12:03:16  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Umm... I just registered - and I'm in the chat!

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
Go to Top of Page

dooza
New Member

69 Posts

Posted - 09 April 2003 :  12:08:01  Show Profile
I made one final change and it worked :)

Nice one for helping!

Steve
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 09 April 2003 :  12:17:16  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Pheew! You're welcome!

My MODs:
Birthdays - Custom Policy - F.A.Q. Administration - Forum Rules - Guestbook
Links Manager - MyOwnGoogle - Profile Views - Search Log - WebSearch

Useful stuff:
Forum and MOD Installation - MOD Installation Guide - Snitz v3.4.05 Readme - Free ASP Hosts - Support Snitz
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.32 seconds. Powered By: Snitz Forums 2000 Version 3.4.07