Some questions [message #6331] |
Tue, 08 October 2002 13:13 |
valiant
Messages: 80 Registered: September 2002 Location: Zurich
Karma: 0
|
Member |
|
|
Hi there
I'm working into your forum and there are a few thing that at least "surprised" me a little bit.
1. You're saving all message bodies in the msg_1 file, right?
As a seperator between the messages you use "<br />".
Probably you wanted lower traffic to the mysql db.
Where can I find the functions which write and read to this file?
2. You save the messages in HTML, right? And you parse them for smilies and other tags before saving, replace it by HTML and then you save it.
Do you have functions to translate HTML->FUD and FUD->HTML ?
thanks - andy
|
|
|
Re: Some questions [message #6332 is a reply to message #6331] |
Tue, 08 October 2002 13:15 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
No I don't there is NO separator between messages. They are read using file offsets. This implementation is WAY faster then MySQL not to mention being more memory effecient.
If you want to change this, look into imsg_edt.inc.t and fileio.inc.t
Yes, functions to convert HTML->FUD and FUD->HTML exist inside post_proc.inc.t
FUDforum Core Developer
[Updated on: Tue, 08 October 2002 13:16] Report message to a moderator
|
|
|
|