Site Links
Home
Features
Documentation
Pricing & Order
Members Area
Support Options
UBBDev.com
UBBWiki.com
Who's Online Now
4 registered members (Simon_UK, SD, dimaninc, JAISP), 59 guests, and 413 spiders.
Key: Admin, Global Mod, Mod
Member Spotlight
Morgan
Morgan
Sweden
Posts: 518
Joined: June 2006
Show All Member Profiles 
Top Posters(30 Days)
isaac 20
Gizmo 14
FREAK 11
M4TT 10
JSM 3
Morgan 3
Ruben 3
whk 2
mmkk 2
Latest Photos
My buddha beads.
Rendered Walls
Multi-Screen wallpaper
Stockholm Metro
Coffee & Cocoa related
Previous Thread
Next Thread
Print Thread
Limit content of FollowedThread Notification #260036
04/12/17 04:40 PM
04/12/17 04:40 PM
Joined: Mar 2017
Posts: 2
C
Catsailor_com Offline OP
stranger
Catsailor_com  Offline OP
stranger
C
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?

Express Hosting
Express Hosting "We are the official hosting company of UBB.threads. Ask us about our free migration services to migrate your UBB.threads installation."
Re: Limit content of FollowedThread Notification [Re: Catsailor_com] #260041
04/13/17 02:20 PM
04/13/17 02:20 PM
Joined: Apr 2004
Posts: 1,004
California
isaac Offline
UBB.threads Developer
isaac  Offline
UBB.threads Developer
Joined: Apr 2004
Posts: 1,004
California
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.


Shout Box
Today's Birthdays
No Birthdays
Recent Topics
I want to update forum but can't find license
by dimaninc. 11/23/17 10:51 AM
Thumbs Up/Rate Individual Posts
by M4TT. 11/22/17 01:11 PM
setting options for member spotlight
by mmkk. 11/21/17 03:10 AM
Avatar (Stock) Resizing
by M4TT. 11/17/17 05:33 PM
Weird Issue
by FREAK. 11/16/17 11:52 PM
Forum Statistics
Forums36
Topics35,009
Posts190,509
Members12,043
Most Online978
Jun 24th, 2007
Random Image
Powered by UBB.threads™ PHP Forum Software 7.6.1
(Snapshot build 20171106)