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

Home » FUDforum » How To » Forum attachments going out over the mailing list
Show: Today's Messages :: Polls :: Message Navigator
Switch to threaded view of this topic Create a new topic Submit Reply
Forum attachments going out over the mailing list [message #23900] Mon, 04 April 2005 21:15 Go to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
I prefer not to allow attachments on the mailing lists assigned to the various forums. If an attachment is posted on the forum, the demime add-on to majordomo will strip it when the message goes out over the mailing list(s).

Is there any way for the forum to send a link to the attachment as part of the message that goes out over the mailing list instead of the attachment itself?
Re: Forum attachments going out over the mailing list [message #23913 is a reply to message #23900] Tue, 05 April 2005 14: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
There is no such option.

You can however modify the attachment handling functionality by editing the mail_list_post() function inside mlist_post.inc


FUDforum Core Developer
Re: Forum attachments going out over the mailing list [message #24043 is a reply to message #23913] Mon, 11 April 2005 06:40 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Tue, 05 April 2005 07:15


You can however modify the attachment handling functionality by editing the mail_list_post() function inside mlist_post.inc

I don't find "mail_list_post" in the mlist_post.inc document. I do find a line (30) with "allow_mlist_attch". If I deleted that entry, would attachments not go out over the mailing lists?

Thanks.
Re: Forum attachments going out over the mailing list [message #24044 is a reply to message #24043] Mon, 11 April 2005 06:43 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
BobB wrote on Sun, 10 April 2005 23:40


I don't find "mail_list_post" in the mlist_post.inc document.


Oops, I was looking at m_list.inc.

Under "function mail_list_post", I have "$attch=null, $attach_mime=null,". What are the options here?

Thanks again.
Re: Forum attachments going out over the mailing list [message #24047 is a reply to message #24044] Mon, 11 April 2005 12:47 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
Inside the function there is a conditional expression that says:
if (is_array($attch)) {

simply make it always fail and attachments will never be put into the e-mail.


FUDforum Core Developer
Re: Forum attachments going out over the mailing list [message #24079 is a reply to message #24047] Thu, 14 April 2005 00:40 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Well, when the new FUD system goes "live", I'll try allowing attachments on the mailing list and see if there are any problems.
Thanks.
Re: Forum attachments going out over the mailing list [message #26752 is a reply to message #24047] Tue, 09 August 2005 07:30 Go to previous messageGo to next message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Mon, 11 April 2005 07:47

Inside the function there is a conditional expression that says:
if (is_array($attch)) {

simply make it always fail and attachments will never be put into the e-mail.


How do you make it always fail?
Re: Forum attachments going out over the mailing list [message #26755 is a reply to message #26752] Tue, 09 August 2005 14:05 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
if (!1)

FUDforum Core Developer
Re: Forum attachments going out over the mailing list [message #26758 is a reply to message #26755] Tue, 09 August 2005 18:30 Go to previous message
BobB is currently offline  BobB   United States
Messages: 165
Registered: April 2005
Location: Tucson, AZ
Karma: 0
Senior Member
Ilia wrote on Tue, 09 August 2005 09:05

if (!1)


It works! Thanks!
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Turn off Private Messaging for mailing list users
Next Topic: Bulk Subscribe
Goto Forum:
  

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

Current Time: Fri Sep 20 08:51:31 GMT 2024

Total time taken to generate the page: 0.02091 seconds