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

Home » FUDforum » FUDforum Suggestions » NNTP suggestion
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: NNTP suggestion [message #16462 is a reply to message #16089] Fri, 30 January 2004 20:57 Go to previous messageGo to previous message
Squeebee is currently offline  Squeebee   Canada
Messages: 110
Registered: November 2003
Karma:
Senior Member
Ok I think I got it, the apply_custom_replace function was blowing away the email header. By changing the order of the routines it now works:

        if (!$emsg->from_email || !$emsg->from_name) {
                $msg_post->poster_id = 0;
        } else {
                $msg_post->poster_id = match_user_to_post($emsg->from_email, $emsg->from_name, $mlist->mlist_opt & 64, $emsg->user_id);
        }

        $msg_post->body = apply_custom_replace($emsg->body);

/* for anonymous users prefix 'contact' link */
        if (!$msg_post->poster_id) {
                if ($frm->forum_opt & 16) {
                        $msg_post->body = "[b]Originally posted by:[/b] [email=" . $emsg->from_email . "]" . (!empty($emsg->from_name) ? $emsg->from_name : '') . "[/email]\n\n" . $msg_post->body;
                } else {

                        $msg_post->body = "Originally posted by: ".str_replace('@', '@', $emsg->from_email)."\n\n".$msg_post->body;
                }
        }
[Message index]
 
Read Message
Read Message
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: Attach mangled sig to mailing list postings
Next Topic: Alternative registration pr. cell phone?
Goto Forum:
  

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

Current Time: Mon Jul 08 12:24:15 GMT 2024

Total time taken to generate the page: 0.04271 seconds