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

Lord Maverick
New Member

Norway
92 Posts

Posted - 18 August 2000 :  13:15:47  Show Profile  Send Lord Maverick an ICQ Message
davemaxwell,

The forum code editor is working without bugs in IE, but thanks alot for your offer to help. So the only BUG in this mod is the duplication that happens in Netscape 6.0.

Anyone having the forum code editor working without this duplication in Netscape 6.0?

Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 18 August 2000 :  14:06:30  Show Profile  Visit gor's Homepage
If so, could I please get the code then ?
That way I could add it to version 3.1 <img src=icon_smile.gif border=0 align=middle>


<center><b>Pierre Gorissen </b>
<font color=purple><font size=1>I'm a fulltime workaholic back from vacation...</font id=size1></font id=purple></center>
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 18 August 2000 :  17:55:27  Show Profile
OK Got it <img src=icon_smile.gif border=0 align=middle> Looks like Mozilla is getting better!!

In inc_code.asp at the very top replace everything before the first <SCRIPT LANGUAGE="JavaScript"> with

<pre id=code><font face=courier size=2 id=code>
<%
Dim Var
Set Var = Request.ServerVariables
Dim ua
ua = Var("HTTP_USER_AGENT")
Dim AnyIE, IE5, IE4, IE3, AnyNetscape, Netscape3, Netscape4, Netscape5, Netscape6
AnyIE = False
IE5 = False
IE4 = False
AnyNetscape = False
Netscape3 = False
Netscape4 = False
Netscape6 = False

if Instr (ua, "MSIE") then
AnyIE = True
if Instr(ua, "MSIE 5.") then
IE5 = True
elseif Instr(ua, "IE 4.") then
IE4 = True
elseif Instr(ua, "IE 3.") then
IE3 = True
end if
end if
if Instr(ua, "Mozilla") and Instr(ua, "compatible") = 0 then
AnyNetscape = true
if Instr(ua, "Mozilla/5") then
Netscape6 = True
elseif Instr(ua, "Mozilla/4") then
Netscape4 = True
elseif Instr(ua, "Mozilla/3") then
Netscape3 = True
end if
end if
%>
</font id=code></pre id=code>

Then in Post.asp search for:
<% if AnyIE and strAllowForumCode = "1" then %>
Replace both occurences with
<% if IE5 or IE4 or Netscape6 and strAllowForumCode = "1" then %>

Then replace:
<% if AnyNetscape and strAllowForumCode = "1" then %>
with: (only happens once)
<% if Netscape4 or Netscape3 and strAllowForumCode = "1" then %>

I haven't tested this with Netscape 3 but I am told it works.

This may not be the most graceful way but it works <img src=icon_smile.gif border=0 align=middle>


Scott LeMieux

Edited by - slemieux on 18 August 2000 18:02:30

<font color=green><font size=1>Edited by Richard to fix problems with code not showing correctly.</font id=size1></font id=green>

Edited by - Richard Kinser on 21 January 2001 20:36:12
Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 18 August 2000 :  19:59:04  Show Profile  Send Lord Maverick an ICQ Message
slemieux,

Thnx for the code - it has removed all the doubling in Netscape 6.0 and seems to work nicely <img src=icon_smile_big.gif border=0 align=middle>. I've checked it with the Preview Release 2 of Netscape 6.0.

I've also done some checking on the Spellchecker and it seems like spellchecker.net doesn't support NS 6.0 yet - take a look at this.<img src=icon_smile_sad.gif border=0 align=middle>

Another warning - seems like there are quite a few bugs in Netscape 6.0 as I'm from time to time getting all kind of weird things happening on my board (gif's not showing sometimes, default.asp not showing all the forums, not able to delete when typing in a new post etc.). But that's not a coding problem for Snitz, and I guess we will just have to wait for a more stable version of NS 6.0 (P.R. 105!).<img src=icon_smile_dissapprove.gif border=0 align=middle>


Go to Top of Page

achagoury
Starting Member

USA
29 Posts

Posted - 24 August 2000 :  09:23:39  Show Profile  Visit achagoury's Homepage
Hi Maverick,

Thanks for all your inputs. I have been having the same problems with this mode as you guys... I have been reding you post and making adjustments but I am still receiving this error:

<font color=red>ADODB.Connection.1 error '80004005'

Too few parameters. Expected 1. </font id=red>

I have changed the inc_code.asp, the post.asp as told by slemieux. However I have not changed the inc_functions.asp as you suggested there were bugs.
Could you either e-mail me the Inc_functions.asp or post it here?

Thanks,

Achagoury

inc_functions.asp, line 1304

<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
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
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

Go to Top of Page

Lord Maverick
New Member

Norway
92 Posts

Posted - 24 August 2000 :  14:21:49  Show Profile  Send Lord Maverick an ICQ Message
achagoury,

I've sent you the inc_functions.asp. One thing you should note is that I have a forum that is totally translated to Norwegian, so you will need to change the text in inc_functions.asp. This is not a big problem (in fact the same thing I'm doing the other way around with any mods). I would recommend you to do a ExamDiff so you quickly see the differces between your and my file, for example by using this program.

You should also know that I've included several other mods to this forum, so its not a "clean" inc_functions.asp based on the Snitz. The mods included are printer-friendly-version, paging, statistics, last post and archiver.




Go to Top of Page

Hellspimp
Starting Member

11 Posts

Posted - 26 August 2000 :  19:29:57  Show Profile  Send Hellspimp an ICQ Message
Man I am having the Line 1304 error

This is irritating me, is thier a way to fix this?
please help!!!!!!


Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 11 September 2000 :  15:37:07  Show Profile  Visit gor's Homepage
A "basic" version of the Forum Code editor has been added to Version 3.1 Beta 4

<b>Pierre Gorissen </b><img src="http://www.homepages.hetnet.nl/~pgoris01/burnout.gif" border=0>
<font color=purple><font size=1>A fool learns from experience... a wise man learns from others...</font id=size1></font id=purple>
Go to Top of Page

AliasMoze
New Member

USA
55 Posts

Posted - 12 September 2000 :  03:26:49  Show Profile  Visit AliasMoze's Homepage
Egads, you guys rule. this is the coolest, by far the coolest, add on I've seen. With the mods, this forum easily kills UBB. The Private Message, the editor, aaaagggh. I gotta upgrade now.

Anyone having problems using this mod with an Access database?

AliasMoze
"That activates my hilarity unit."
Go to Top of Page

gor
Retired Admin

Netherlands
5511 Posts

Posted - 12 September 2000 :  03:29:04  Show Profile  Visit gor's Homepage
<BLOCKQUOTE id=quote><font size=1 face="Verdana, Arial, Helvetica" id=quote>quote:<hr height=1 noshade id=quote>
The Private Message, the editor, aaaagggh. I gotta upgrade now.
<hr height=1 noshade id=quote></BLOCKQUOTE id=quote></font id=quote><font face="Verdana, Arial, Helvetica" size=2 id=quote>

FYI, Private Messages are not in Beta 4 !

<b>Pierre Gorissen </b><img src="http://www.homepages.hetnet.nl/~pgoris01/burnout.gif" border=0>
<font color=purple><font size=1>A fool learns from experience... a wise man learns from others...</font id=size1></font id=purple>
Go to Top of Page

AliasMoze
New Member

USA
55 Posts

Posted - 12 September 2000 :  03:31:33  Show Profile  Visit AliasMoze's Homepage
Gor, man you're fast.
Is the PM availble in the mods from Slemieux? Is the polling available in either of them? I love those features.

AliasMoze
"That activates my hilarity unit."
Go to Top of Page

slemieux
Junior Member

USA
234 Posts

Posted - 20 September 2000 :  19:09:08  Show Profile
Sorry for the long delay <img src=icon_smile.gif border=0 align=middle> When you get busy time just flies!!!

Just want to make sure everyone knows the files included in the zip were for the original final release. Everything has changed a bit. If you haven't installed this yet your going to need to grab the code out of those files.

In inc_functions.asp it is primarily fonts and colors that need to be added. in post.asp search for IECODE.asp in the download and make the appropriate changes in the new post.asp.

AliasMoze,
I just posted the who's online and will post the private messages tonight <img src=icon_smile.gif border=0 align=middle>

Scott LeMieux
Go to Top of Page

Frodoger
Starting Member

Germany
42 Posts

Posted - 17 November 2000 :  11:39:00  Show Profile
how can i add this to a 3.1 sr2 forum ???
because there are no line in the post asp like this:

Approx. Line 447 look for
<%
if Request.QueryString("method") = "Edit" or _
Request.QueryString("method") = "URL" or _
Request.QueryString("method") = "EditURL" or _

....

i have some problems to implement this addon/mod in my forum.


Go to Top of Page

RichardKinser
Snitz Forums Admin

USA
16655 Posts

Posted - 17 November 2000 :  12:24:18  Show Profile
This mod is included in v3.1sr2 (you already have it).
Go to Top of Page

infinity
New Member

New Zealand
90 Posts

Posted - 20 November 2000 :  15:10:12  Show Profile  Visit infinity's Homepage
Hi people.
Just got back from some time away... catching up on the latest Snitz developments...
Tell me, what exactly does this particular mod do?
Also, where is it at bug wise? I see quite a plethora of posts about fixing this issue and that etc...

Some clarification would be greatly appreciated...

Thanks,

Infinity

Life is but a dream... and that dream is Here and Now. Therefore, Be here Now.
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