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
 Split Topic MOD - Forum Code Breaks Up
 New Topic  Topic Locked
 Printer Friendly
Next Page
Author Previous Topic Topic Next Topic
Page: of 2

Ranko
Junior Member

400 Posts

Posted - 15 December 2004 :  21:23:08  Show Profile
Well I just tested it on a clean 3,4,05 and when I split a topic it turns all the forum code into html for the first post only. Which is kinda irritating, because the <> get converted to html.

Anyone? What did I do?

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 15 December 2004 :  22:23:06  Show Profile
You have an example? Did you make any changes?

Support Snitz Forums
Go to Top of Page

Ranko
Junior Member

400 Posts

Posted - 16 December 2004 :  06:37:42  Show Profile
I made a clean install, and followed instructions the first time; the second time I copy / pasted the changed files (as the read me said it was OK). Right now I have Snitz 3.4.05 and the Split mod with the problem.
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 16 December 2004 :  08:13:23  Show Profile  Visit MarcelG's Homepage
yep, I've got the very same 'problem'.
Example: http://www.oxle.com/topic.asp?TOPIC_ID=1836

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 16 December 2004 08:14:55
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 16 December 2004 :  08:39:30  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
Find the following code in post_info.asp (approx. line 1035):
	strSql = strSql & ", '" & ChkString(Reply_Message, "message") & "'"

and replace it with the following code:
	strSql = strSql & ", '" & Reply_Message & "'"

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

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 16 December 2004 :  08:48:33  Show Profile  Visit MarcelG's Homepage
even though we (maven and I) found it at the exact same moment, I'd like to say : THANKS
Works as a charm.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 17 December 2004 :  14:27:47  Show Profile  Visit MarcelG's Homepage
Recalling my previous message ; this is NOT working....
This is working as long as the R_MESSAGE does not contain any illegal characters that mess up the SQL statement....
For instance a text like this could mess it up.
quote:
I'd like to say thank you...

This gives this error:
Syntax error (missing operator) in query expression ''I'd like to say thank you...', '0', 18, '20041217201101', 18, 0, '20041217201101', 1, '84.30.8.125', 0, 1, 1, 0, 0)'.

portfolio - linkshrinker - oxle - twitter
Go to Top of Page

MarcelG
Retired Support Moderator

Netherlands
2625 Posts

Posted - 17 December 2004 :  14:42:04  Show Profile  Visit MarcelG's Homepage
Found a working solution, but I guess it can be done nicer:
on top of making the change onewaymule suggests, replace this line:
Reply_Message = rsSplit("R_MESSAGE")
by this line:
Reply_Message = chkString(Trim(CleanCode(rsSplit("R_MESSAGE"))),"message")

portfolio - linkshrinker - oxle - twitter

Edited by - MarcelG on 17 December 2004 14:47:07
Go to Top of Page

OneWayMule
Dev. Team Member & Support Moderator

Austria
4969 Posts

Posted - 17 December 2004 :  22:15:24  Show Profile  Visit OneWayMule's Homepage  Send OneWayMule an ICQ Message
You're correct, Marcel.
I don't know a better method, we'll have to do it that way.

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

modifichicci
Average Member

Italy
787 Posts

Posted - 18 December 2004 :  11:08:58  Show Profile  Visit modifichicci's Homepage
If I have in the message a code such as Higlight or Big (calling a script ) I haven't the right message just the code written with the first option
strSql = strSql & ", '" & ChkString(Reply_Message, "message") & "'"
an error with the second option
strSql = strSql & ", '" & Reply_Message & "'"
and an error of
Type mismatch: 'CleanCode'

/forumlang/test/post_info.asp, line 1239
with the third option
Reply_Message = chkString(Trim(CleanCode(rsSplit("R_MESSAGE"))),"message")

That is a little inconvenient, but .... What can I do?

Ernia e Laparocele
Forum di Ernia e Laparocele
Acces - MySql Migration Tutorial
Adamantine forum
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 18 December 2004 :  18:40:18  Show Profile  Visit golfmann's Homepage
ok, my problem is with the split.asp page..
Table widths are off and it seems to choke on a post with a double quote in it, sending the rest of the posts under it into a mess.
Screen capture:


Any ideas?
Marcel, I put your sidebar mod in this page in hopes it would help the main setup. It DID somewhat

Other than that (and I went ahead and made those changes above), it seems to work great and is a much needed mod.

Thank you and HELP if possible

Edited by - golfmann on 18 December 2004 18:42:06
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 18 December 2004 :  19:34:06  Show Profile
It's not supposed to be parsing the forum code. It supposed to be showing the forum code. What changes did you make to that file?

Support Snitz Forums
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 18 December 2004 :  20:01:32  Show Profile  Visit golfmann's Homepage
I made no changes to your code in split.

Shows fine (normal) in the threads with no quoted posts.

(I assume you're talking to me)
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 18 December 2004 :  20:09:13  Show Profile  Visit golfmann's Homepage
Well I just tested it on a new thread with 1 and 2 quotes...
Worked fine!


So it's something funky on my end, I guess...

Scratch that. I did the multi-quotes using another name and it went goofy again
Try something like this and see if it happens to you:


Great mod! Sorry to sling the unanswerables at you Lol

I'll keep working with it and maybe see something later

Edited by - golfmann on 18 December 2004 20:21:27
Go to Top of Page

golfmann
Junior Member

United States
450 Posts

Posted - 18 December 2004 :  21:09:12  Show Profile  Visit golfmann's Homepage
This is way above my paygrade, but could it have something to do with the truncating?
Go to Top of Page

Davio
Development Team Member

Jamaica
12217 Posts

Posted - 19 December 2004 :  00:37:10  Show Profile
Golfmann, the quote is not supposed to be parsed. It suppose to show [quote]blah blah[/quote] and not converting the forum code into html.

Post a link to a txt version of your split.asp file.

Support Snitz Forums
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.5 seconds. Powered By: Snitz Forums 2000 Version 3.4.07