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

Home » FUDforum Development » Plugins and Code Hacks » adding a 'simple' thing to FUD
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: adding a 'simple' thing to FUD [message #20302 is a reply to message #20286] Thu, 07 October 2004 09:40 Go to previous message
johed802 is currently offline  johed802   Sweden
Messages: 24
Registered: September 2004
Karma:
Junior Member
Hi!

I'm thinking.. since I can't do my reply the usual way (using add_reply (...) ), I might try to do it in an "unsafe" way. Maybe I should just insert into the msg table and adjust it a bit. The big problem is I don't know exactly how to write the body of the msg on disc. I saw this code in the file imsg_edt.inc.t:
$file_id = write_body($this->body, $length, $offset);

I think i know what $length is, but what is $offset? How do you calculate this variable? Is this related to the foff field in the msg table in the DB?

thnx
/Johan
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message icon10.gif
Read Message icon5.gif
Read Message
Read Message icon5.gif
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: New script: fudbox.php
Next Topic: How do I get error messages?
Goto Forum:
  

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

Current Time: Fri Sep 27 14:05:45 GMT 2024

Total time taken to generate the page: 0.05402 seconds