How to include ALL of text in email notifications to those subscribed to a topic? [message #31787] |
Thu, 18 May 2006 03:44  |
|
Good afternoon!
Can someone please clarify this for me:
When a member of a message board replies to a post, an email notification is sent to those who are subscribed to that topic.
What setting in what section of the the ACP allows me to make sure that the email notification includes ALL of the message? i.e. all the text of the message board post.
Thanks.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
[Updated on: Thu, 18 May 2006 03:56] Report message to a moderator
|
|
|
|
Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #31809 is a reply to message #31806] |
Fri, 19 May 2006 06:11   |
|
Ilia wrote on Fri, 19 May 2006 13:00 | There is no such option.
|
Hmm ... maybe I haven't explained the issue well enough.
Here is a screenshot of the email notification I just received from you. It does not include the text of your reply:

But here is a screenshot of an email notification I received from one of the sites I have set up to test and get familiar with FUDForum:

See? It includes the complete text of the reply AND replicates all the formatting.
This is what I like.
However, I don't know why the test site delivers the email notifications in this way - including all of the text and formatting - on my old FUDForum test site, but it doesn't do it on my new FUDForum discussion board.
Any thoughts on this?
Thanks for your help.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
|
|
|
|
Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #31835 is a reply to message #31810] |
Sat, 20 May 2006 00:08   |
|
Ilia wrote on Sat, 20 May 2006 00:00 | To enable what you are seeing from the other site you need to enable the full-body notification option. It is an option inside the e-mail sub-section of the forum settings.
|
Aha! I found it.
ACP >> [Under "Email Settings"] >> Notify W/Body: Include the message body and subject inside the email notification. [Set to "Yes"]
Thanks.
Now I have a further, related question.
Margaret writes a post on the message board.
Ronald replies to it.
At this point, a "full-body notification" is sent to Margaret. (Unless Margaret had unticked the checkbox called "Post Notification: Notify me when someone replies to this message.")
But Mikhail receives nothing. He is a subscriber on the message board, but because he has not been part of the above exchange, he is not subscribed to the topic and therefore receives nothing.
On one of my message boards I would like ALL registered users to receive "full-body notifications" of ALL posts.
As Margaret and Ronald are discussing a topic, Mikhail and all forum members receives "full-body notifications" of ALL the discussions.
In broad terms, how can this be done please?
What type of alteration would be needed to the FUDForum script? Which file would need to be examined and altered to allow this behavior?
Thank you for any suggestions and directions.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
|
|
|
|
|
Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #31854 is a reply to message #31852] |
Sun, 21 May 2006 00:30   |
|
Ilia wrote on Sun, 21 May 2006 05:44 | To notify users on all messages you need to adjust the notification code inside imsg_edt.inc.t to make the forum subscription act as a subscription to all the topics inside the forum as well.
|
Sorry to bother you again but where do I find imsg_edt.inc.t ?
I've gone into my ACP
Under "General Management" I click on "File Manager"
But I don't know where to go next.
Thanks for your help.
CelebrateCapitalism.ORG
"Why? Because I own my life!"
* * * * * * * * * * * * * * * * *
phpBB? Invision Power Board? vBulletin?
Yes, all excellent. But The FUD is my favorite! Try it now @ http://FUDForum.org
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #33287 is a reply to message #33279] |
Wed, 23 August 2006 17:09   |
ky@smi
 Messages: 27 Registered: June 2006
Karma: 0
|
Junior Member |
|
|
Hi Ilia,
I've been going through the /*handle notifications */ code in approve() and comparing the EGW version with the fudforum2 version. As far as I can figure setting the "All Message Forum Notification" forces execution of the /*send new thread notifications to forum subscribers*/ for new threads and sets $notify_type to 'frm', so creating a new thread should notify all users of the forum. The problem I come to is that the EGW version only seems to send notifications to one user...whomever comes out first in the SQL query. I can't seem to get lists of users notified, even though all 4 users that I am testing with have different email addresses and are subscribed to the forum.
I'm also having problems seeing how the PHP and SQL execute... . I'm pretty new to this stuff. So I put in a debug line that writes a file:
file_put_contents("to.txt",sprintf("notify_type: %s\nto: %s\n",$notify_type,$to['EMAIL']));
to see the list...and I get one address, when there should be 4 or 5...and only one user, the user with the email that comes up in the to.txt file gets notified. The notify type is ok..it shows "frm". I tried the same trick in the full version, and I get a list of users out. I had not modified the SQL code but only added the debug line and only created a new thread in the forum.
Any ideas?
|
|
|
|
|
|
|
|
|
|
|
Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #33387 is a reply to message #33386] |
Tue, 29 August 2006 15:10   |
ky@smi
 Messages: 27 Registered: June 2006
Karma: 0
|
Junior Member |
|
|
Hi Again,
My new problem is that I'm having problems with the headers going to mail(). If I include
mail($to, $subj, str_replace("\r", "", $body), "From: ".$from."\nErrors-To: ".$from."\nReturn-Path: ".$from."\nX-Mailer: FUDforum v".$GLOBALS['FORUM_VERSION'].$header.$bcc);
I cannot see the email because of an error in the header. If I strip the header to only the BCC,
mail($to, $subj, str_replace("\r", "", $body), $bcc);
then none of the MIME works, but I can read the email.
|
|
|
Re: How to include ALL of text in email notifications to those subscribed to a topic? [message #33390 is a reply to message #33387] |
Tue, 29 August 2006 17:50   |
ky@smi
 Messages: 27 Registered: June 2006
Karma: 0
|
Junior Member |
|
|
ky@smi wrote on Tue, 29 August 2006 17:10 | Hi Again,
My new problem is that I'm having problems with the headers going to mail(). If I include
mail($to, $subj, str_replace("\r", "", $body), "From: ".$from."\nErrors-To: ".$from."\nReturn-Path: ".$from."\nX-Mailer: FUDforum v".$GLOBALS['FORUM_VERSION'].$header.$bcc);
I cannot see the email because of an error in the header. If I strip the header to only the BCC,
mail($to, $subj, str_replace("\r", "", $body), $bcc);
then none of the MIME works, but I can read the email.
|
I guess I should quantify the error I'm getting. My email client says "Empty or Malformed message". It seems to skip the plain text and html message and directly transfer encodes with BASE64.
|
|
|