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/Code)
 Forum Code editor
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 4

slemieux
Junior Member

USA
234 Posts

Posted - 11 August 2000 :  22:32:09  Show Profile
I just put everything up to test with SQL 7 before I update my real forums and I to have a problem, not sure where it lies yet but now in topic.asp and forum.asp after the inc_jump_to.asp I get

Microsoft VBScript runtime error '800a000d'
Type mismatch: 'getNewMemberNumber'
/sqlforum/inc_functions.asp, line 1969

Works fine with Access so I am betting it must be a ordering problem. Not sure but maybe these two are related, you know how great these error mesages can be.

Scott LeMieux
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 12 August 2000 :  05:09:27  Show Profile  Send Lord Maverick an ICQ Message
This is harder than I thought. Have now compared my inc_functions.asp with the dwnl from slemieux, and I've noticed these differences that i can't explain. Dont know if this helps anyone, but I think I might have spotted some lines that are buggy in peoples inc_functions.asp (at least mine were!), and something buggy in slemieux files. Anyway, here is what I found:

95 if fYN = "yes" or fYN = "1" or fYN = 1 then '**
158 fString = replace(fString, "</font id=Lucida Console>", "[/font=Lucida Console]", 1, -1, 1)
586 ChkBadWords(fString) ' this was commented out in the file from slemieux
612 slemieux dwnl: if strAllowForumCode = "1" and fField_Type <> "signature" then
612 my file: end if
if strAllowForumCode = "1" then

1686 if Request.Cookies("User")("Name") <> "" or ChkAccountReg() = "1" then 'commented out in the file from slemieux
1739 slemieux dwnl: case 3 '## Either Password or Allowed
1739 my file: case 3, 7 '## Either Password or Allowed

1820-1822 'else
' doNotLoggedInForm
'end if (commented out in slemieux file and not in mine)

2011 </form></p>" ' note the " at the end - this is a bug

If you do a search in inc_config.asp for "centre" you will find that two places. It think this should say "center"...

BTW, have'nt tried if my new file works as I'm awaiting some comments on this one. Note that the line numbering above is to slemieux dwnl'ed inc_functions.asp.



Edited by - Lord Maverick on 12 August 2000 05:10:08
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 12 August 2000 :  05:30:45  Show Profile
99.99999% of the time it's probably a bug in my inc_functions.asp. I am redoing it and testing it on SQL 7 as we speak. Basically all that should have been added is extra colors and fonts. I probably copied to much over to the new inc_functions when I upgraded to 3.0.

I have this running on my live forum now, so it will get a good work out in the next day and people will let me know what crops up pretty quickly!

Scott LeMieux
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 12 August 2000 :  16:02:04  Show Profile  Send Lord Maverick an ICQ Message
I don't think I'm able to have this feature working unless someone could provide the necessary changes in the code for inc_functions.asp. When comparing my file with slemieux' I find code that is both added as well as deleted compared to mine. This makes the job difficult as I'm getting errors all the way, and I'm not sure whether the code causing the error is something necessary for the forum code or not.

If there is anyone out there knowing what I have to change in inc_config.asp, that would help me alot! I think this is the coolest addition I've seen to this forum yet, so I'd really like to have this functioning.

BTW, Richard Kinser, thank you for all your help. I'm sure I'll use your tip with the HTTP error 405, as soon as I'm having the inc_functions.asp in place.

Go to Top of Page

John
Junior Member

USA
427 Posts

Posted - 12 August 2000 :  16:46:28  Show Profile
Yes I'm working on private messages... it's a pretty easy thing too <img src=icon_smile.gif border=0 align=middle>

Should be done as soon as I have some time to work on it <img src=icon_smile.gif border=0 align=middle>

<center><font size=4>
<b><font color=red>John</font id=red> <font color=blue>Miller</font id=blue></b></font id=size4>
<font size=1>Snitz Moderator & Coder <img src=icon_smile_big.gif border=0 align=middle>

<b>Website</b>: http://jmiller.madnessnet.com
<b>E-mail</b>: johnmillerjr@home.com
<b>AIM</b>: John Miller 2004
<b>Yahoo</b>: johnmiller2004
<b>ICQ</b>: 49005230

<font color=blue>For I am not ashamed of the gospel, for it is the power of God for salvation to everyone who believes</font id=blue>
<font color=red><b>Romans 1:16</b></font id=red></font id=size1></center>
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 12 August 2000 :  18:21:10  Show Profile  Send Lord Maverick an ICQ Message
BINGO!!! It finally is working on my forum. Both my errors are gone.

Slemieux provided this incredibly great code and assistance, and Richard Kinser gave med the necessary hints as to what the bugs could be. There is one seriously satisfied Norwegian here!!! If you ever should need some help in Norway, I'm all yours!!

There are some minor things I have to change though, as the code seems to have some minor bugs. Like my latest example. I used the advanced font properties, and set the font to verdana,and the post was in Times new roman but showing the font=verdana (enclosed in brackets) and /font=verdana (also encl. in brackets.)

One question: I only get this special forum code editor when posting a "New topic", not when replying to an existing. It it supposed to come up on both I think, and I problably need to insert some of the same code also another place in post.asp. Anyone know exactly where to put this?


Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 12 August 2000 :  20:37:50  Show Profile  Send Lord Maverick an ICQ Message
Everything is working now, with no errors, except for the forum code editor not showing up when "Reply to post", only when "New topic". Does anyone know where to put the missing code?



Edited by - Lord Maverick on 12 August 2000 20:39:48
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 12 August 2000 :  20:57:05  Show Profile  Send Lord Maverick an ICQ Message
I've noticed one feature in this forum that should have been changed. When you post a New topic, and forget to fill out the Subject field, you get a message that there is no text in the subject of the topic. But when you go back to the subject through the link at the bottom of this error side, everything you have written is whiped out. This is not the case with the original Snitz v.3.0 forum. I think this is an important feature to change to avoid angry users who misses long post...

Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 13 August 2000 :  02:41:16  Show Profile
Yahoo! Glad to here you fiqured it out. I went back through and redid everything in inc_functions.asp to see if I could fix the problem I was having with inc_jump_to.asp on MS SQL7 and a private forum but without success. Can you email me your inc_functions so I can compare the two and see if what you found fixes my problem too. slemieux@thepercussionist.com

Also Not sure why it's not showing up on your reply. The new code should go right after this block of code:
<pre id=code><font face=courier size=2 id=code>
<%
if Request.QueryString("method") = "Edit" or _
Request.QueryString("method") = "URL" or _
Request.QueryString("method") = "EditURL" or _
Request.QueryString("method") = "Forum" or _
Request.QueryString("method") = "EditForum" or _
Request.QueryString("method") = "EditTopic" or _
Request.QueryString("method") = "Reply" or _
Request.QueryString("method") = "ReplyQuote" or _
Request.QueryString("method") = "Topic" or _
Request.QueryString("method") = "TopicQuote" then
%>
</font id=code></pre id=code>


Scott LeMieux

Edited by - slemieux on 13 August 2000 02:45:46
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 14 August 2000 :  04:22:09  Show Profile  Send Lord Maverick an ICQ Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>Yahoo! Glad to here you fiqured it out. I went back through and redid everything in inc_functions.asp to see if I could fix the problem I was having with inc_jump_to.asp on MS SQL7 and a private forum but without success. Can you email me your inc_functions so I can compare the two and see if what you found fixes my problem too. slemieux@thepercussionist.com
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Sure man, the file is sent.

BTW, the reason for the forum code editor not showing up was a result of my own error. I'd put the code in post.asp in the wrong line. Now it shows up on both "New reply" and "New topic". The text is also not whiped out when having forgotten to fill out the subject line.

BTW Slemieux, do you have the code for the polls, messagebay voice and rating in a final version that is working OK?

Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 15 August 2000 :  13:31:37  Show Profile  Send Lord Maverick an ICQ Message
Hmmm...
When using this on Netscape 6.0 (release 2) some strange things are happening. (Haven't tested it on any other Netscape version). Everything is duplicated when clicking. For example when hitting the "B" for bold I get (b)(/b)(b)(/b) - of course with brackets around, not parenthesis. The same thing happens when hitting I(talics) or U(nderline). Also when clicking smilies or translator it opens two identical windows..., but when clicking on the smily in one window it doesn't get duplicated in the code editor.

When opening the spellchecker the window pops up, but it is not getting connected to spellchecker.net (the window is all white).

Any tips for these strange bugs?



Edited by - Lord Maverick on 15 August 2000 13:33:05
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 15 August 2000 :  14:11:00  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
I ran into this earlier when I decided to combine the two includes into one module. I got the double forum codes because it is picking up the the javascript AND the onclick property. What I ended up doing was adding code around the javascript link to ignore it for IE. I think there will need to be a check of the version before setting the Netscape flag. Setting the IE flag would be proper in that instance....

Dave Maxwell
--------------
Self Certified Snitz Bug Swatter <img src=icon_smile_big.gif border=0 align=middle>
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 15 August 2000 :  15:20:40  Show Profile  Send Lord Maverick an ICQ Message
Good to see somebody else also have experienced this bug.

Could you please specify how you actually solved this in the coding. I'm not very experienced with javascript.

Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 15 August 2000 :  15:46:43  Show Profile
Yes the version check should be revamped! I did it rather quickly and it is not very complete. I also have done no testing with Netscape 6 (downloaded it a long time ago and had to many bugs - but I guess it's august now and I should check it out)

On my way to download<img src=icon_smile.gif border=0 align=middle>

Scott LeMieux
Go to Top of Page

davemaxwell
Access 2000 Support Moderator

USA
3020 Posts

Posted - 16 August 2000 :  07:54:31  Show Profile  Visit davemaxwell's Homepage  Send davemaxwell an AOL message  Send davemaxwell an ICQ Message  Send davemaxwell a Yahoo! Message
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
Could you please specify how you actually solved this in the coding. I'm not very experienced with javascript.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

I only fixed it for IE (since I haven't gotten around to downloading the NS6 beta yet. If you could go to your admin section under the server information page and tell me what is listed for <b>HTTP_USER_AGENT</b> (should be in the first box), I can tell you what you need to change for it to work....

Dave Maxwell
--------------
Self Certified Snitz Bug Swatter <img src=icon_smile_big.gif border=0 align=middle>
Go to Top of Page
Page: of 4 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.12 seconds. Powered By: Snitz Forums 2000 Version 3.4.07