Previous Thread
Next Thread
Print Thread
Hop To
#132608 01/27/2000 8:58 PM
Anonymous
Unregistered
Anonymous
Unregistered
The daily emails of new postings would be better if a summary of the contents was at the start of the email which simply lists the contents by the subject line. This way a reader can scan through a list and see if any items interest them.

In addition, when someone first signs up to a board's daily email list are all the historic mails sent with the first one? It would be better if the administrator (or the user) could set a limit (for example, the last 20 posts) for their first digest.


Simon Wolf,
Webmaster,
Access All Areas

Anonymous
Unregistered
Anonymous
Unregistered
I think I have found the solution to the first suggestion (I can't test it yet because I need to configure the script further for my VServer!)...

Below the section that sarts with:
# ------------------------------------------------------
# Only send out an email if there are posts for the day
if($postrows > 0){


Insert ...
# --------------------------------------------------------
# Now we cycle through the posts and append to the headers
my ($Number,$PPosted,$PUsername,$PIP,$PSubject,$PBody);
for (my $l =0; $l < $postrows; $l ) {
($Number,$PPosted,$PUsername,$PIP,$PSubject,$PBody) = $stk -> fetchrow_array;
$message = $message . "$lang{'SUBJECT_TEXT'}:\n";
$message = $message . " - $PSubject\n";
}
$message = $message . "\n";
$message = $message . "$seperator$seperator\n";


And then continue with ...
# --------------------------------------------------------
# Now we cycle through the posts and append to the message


This should work!
Simon Wolf,
Webmaster,
Access All Areas


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Slow Queries - Any Ideas?
by BellaOnline - 10/16/2026 4:34 PM
Selling a Forum?
by ECNet - 10/10/2026 10:54 AM
PHP 8 bug in membermanage.tmpl
by phoenix011235 - 09/08/2026 7:47 PM
Who's Online Now
3 members (BellaOnline, Gizmo, 1 invisible), 199 guests, and 123 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Ride safe!
Ride safe!
by Morgan, December 7
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 8.1.0
(Snapshot build 20260527)