News:

SMF 2.1.6 has been released! Take it for a spin! Read more.

Main Menu

Links to post in Daily Digest mail

Started by rkumbhar, November 25, 2011, 12:09:49 PM

Previous topic - Next topic

rkumbhar

Hello,
How to show links to the post in the Daily digest that the members receive.
Currently they are receiving the list of post and replies, but don't see any links to the post.

Can anyone help me with this?

Regards

ApplianceJunk

What is Daily Digest?
Is this part of SMF 2.0 or a add on?

Oldiesmann

Quote from: ApplianceJunk on November 25, 2011, 01:48:12 PM
What is Daily Digest?
Is this part of SMF 2.0 or a add on?

It's a new feature of SMF 2.0 - users can choose to receive new topic/post notifications as a daily or weekly digest.

I'll have to look at the code that generates those emails and see if there's an easy way to include the links in there. Since SMF already includes the other details, it shouldn't be too hard to include the links as well.

Oldiesmann

Just a quick update on this before I head off to work... It should be doable, but unfortunately it's not quite as simple as I'd originally hoped. SMF loads all the data into a huge array, then goes through the array building the message body line by line, using PHP's sprintf() function to insert the appropriate data into the appropriate locations of the language strings.

I'll take another good look at it over the coming days and see what I can come up with. I will likely end up packaging everything up as a mod to save you the hassle of having to edit code :)

rkumbhar

Sure Oldiesmann
We are waiting for your mod to release.
It would be of great help to many forum owners like us.

Let us know when you do so.

Thanks in advance,

Advertisement: