FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » FUDforum Suggestions » Some questions
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Some questions [message #6331] Tue, 08 October 2002 13:13 Go to next message
valiant is currently offline  valiant   Switzerland
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 Go to previous messageGo to next message
Ilia is currently offline  Ilia   Canada
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

Re: Some questions [message #6340 is a reply to message #6332] Tue, 08 October 2002 13:48 Go to previous message
valiant is currently offline  valiant   Switzerland
Messages: 80
Registered: September 2002
Location: Zurich
Karma: 0
Member
thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: NNTP as backend
Next Topic: Tree View features
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Sat Nov 23 13:26:29 GMT 2024

Total time taken to generate the page: 0.02288 seconds