Previous Thread
Next Thread
Print Thread
Hop To
Joined: Mar 2017
Posts: 2
C
stranger
stranger
C Offline
Joined: Mar 2017
Posts: 2
Looked through the Control panel but don't find a setting for what gets sent out when a thread or forum is followed.

it looks like the entire new post is sent, including any pictures. This can be a large email, and anyway I'd rather the notification was just the title and first X words/characters of the post in the email, rather than the entire content.

Is there a setting for that ? or a customization that someone has already done?

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
Emails are sent to users if they enable "Should anything added to your Follow Lists be emailed to you" in their profile Preferences.

Attached images (and other files) are not displayed, but are listed at the bottom of the email, within the "Post Attachments" section. They are not displayed inline for emails, since this could be a security issue if an attachment is shared to someone who does not have forum access, or who has had their access revoked.

Though, if an image is inlined within the post, it will be displayed within the email, just as an linked item from an external website is displayed.

If you wanted to edit the template directly, so the post content is truncated at a certain length, the files are:
templates/default/email_html.tpl
templates/default/email_text.tpl

Find this string:
{$posts[ind].body}

Replace it with this:
{$posts[ind].body|truncate:400}


This will truncate the post to 400 characters. This will also truncate post content for an emailed post or group of posts, and possibly other features.

This is not an advised feature thats part of the UBB.threads software. This is a custom modification. So if it breaks a stock feature on your forum, you'd be responsible for causing it.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)