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

Home » FUDforum Development » Bug Reports » Optional custom headers not being set in db or sent in email
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Optional custom headers not being set in db or sent in email [message #19586] Sun, 08 August 2004 23:20 Go to next message
newnumbertwo is currently offline  newnumbertwo   United States
Messages: 38
Registered: June 2004
Karma: 0
Member
I'm using FudForum 2.6.4 under Fedora Core2.

When I edit a mailing list rule to set an optional custom header, it is not set in the additional_headers column of fud26_mlist upon form submission.

Additionally, when this is added to the table manually, it will appear in the optional custom headers field on the admmlist.php page, but will disappear from the additional_headers column if the form is submitted.

Also, after setting this header manually and posting a message to the associated forum, my optional custom header is not sent with the email. In this case, I'm trying to send an Approved header to approve all posts from fudforum to my mailman mailing list.
Re: Optional custom headers not being set in db or sent in email [message #19587 is a reply to message #19586] Mon, 09 August 2004 00:01 Go to previous messageGo to next message
newnumbertwo is currently offline  newnumbertwo   United States
Messages: 38
Registered: June 2004
Karma: 0
Member
This may already be fixed in CVS, but I was able to get around the problem of sending the additional custom headers by changing this:

        if (is_array($additional_headers)) {
                $header .= implode("\n", $additional_headers);
        }

to this:

        if (is_array($additional_headers)) {
                $header .= implode("\n", $additional_headers);
        } elseif ($additional_headers) {
                $header .= $additional_headers."\n";
        }


in FUDforum/include/mlist_post.inc
Re: Optional custom headers not being set in db or sent in email [message #19593 is a reply to message #19587] Mon, 09 August 2004 10:46 Go to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma: 0
Senior Member
Administrator
Core Developer
Fixed in CVS.

FUDforum Core Developer
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: icq can't send a message
Next Topic: reindex db
Goto Forum:
  

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

Current Time: Fri Nov 22 07:53:06 GMT 2024

Total time taken to generate the page: 0.02376 seconds