XF 1.5 User messaging improvements and welcome contact

The ability to Email Users from the Admin CP based on user search criteria has been part of XenForo since its very first release. In XenForo 1.5 we have enhanced this and added some additional ways of contacting your users.

Alert Users
1.webp


Using the same search criteria that can be used to email users, you can now mass send Alerts to your users. By default, an alert will appear to be from your own account. Alternatively you can leave this blank (a default avatar is shown instead) or enter the valid username of another user.

Most alerts sent on the forum have at least one "PopupLinkItem" link. The purpose of this is so that when the alert is clicked, it is that particular link which is navigated to, e.g. if you click on a watched thread alert, it will take you to the new post in that thread. We can do that with "Alert Users" too. Although you can use HTML to insert as many links as you need, if you populate the URL and title field, you can then use the {link} placeholder in the alert body which will automatically add the popup link. If you provide a link and that placeholder isn't used, it will be appended to the alert text automatically.

You can, of course, test the alert before sending which will send it to your own account.

2.webp


Message Users
3.webp


Similar to Email Users and the new Alert Users, there is now a similar interface to start conversations with matching users in bulk.

A conversation will be started by the named user with each of the users matching the criteria. To avoid your Inbox being filled with many conversations, you can choose to leave the conversation as soon as it is sent.

To preview a Conversation before it is started, there is a Preview button on the confirm page:

4.webp


Deferred Sending
A slight improvement which affects Email Users and the two new methods of contacting users is that we now pass the process of sending to a Deferred task. This should be more reliable and in case something goes wrong it should also be possible to resume from where it left off.

To a certain extent, the deferred tasks may also be reusable by developers for other tasks.

Basic Phrase Support
You may have spotted it in the screenshots above for Message Users and Alert Users. We now support a very basic phrase syntax in all three of our contact user systems:
Code:
{phrase:phrase_title}
This isn't as advanced as the phrase system used in templates, it doesn't support the use of named parameters in phrases, for example. It will, however, allow you to create basic phrases which should make it easier to contact users on a multi-lingual board.

New User Welcome
A popular suggestion we are implementing in XenForo 1.5 introduces the ability to welcome newly registered users to your forum.

In User Registration Options there are now two ways to do this:
5.webp


The interface for sending the welcome contacts should look somewhat familiar to the Email/Message Users interfaces.

6.webp

One key difference for the welcome message, is that you can opt to start a welcome conversation with more users in addition to the new user. For example, you may wish to start a conversation with the new user and include some key staff members in the conversation too. The first named user will be the starter of the conversation, subsequent users will be additional recipients. In the example above, XenForo is the conversation starter, but Chris D would be a participant in the conversation alongside the new user.

Once the new user is created (after the user_state becomes "valid"), they will receive the welcome message and, if applicable, an email notifying them a conversation has been started with them.

The conversation starter and the additional recipients (not including the new user) will not receive the conversation email alert and the conversation will be marked as read.

The welcome email interface is a little more self explanatory.
7.webp


Both of these methods also support the new basic phrase syntax mentioned above.

That's it for today's look at XenForo 1.5 :)
 
Yes, alerting everybody would be possible, but bear in mind it also has the same criteria as the current Email Users function so you could do something like send an alert to everyone in user group X, for example.
 
Yes, alerting everybody would be possible, but bear in mind it also has the same criteria as the current Email Users function so you could do something like send an alert to everyone in user group X, for example.
I'm just wondering how much stress it will have on the server now though to alert everybody, especially if you have thousands / millions of users.
 
It's passed off to a deferred task so it is done in small batches until everyone is alerted. It will take time, potentially, but it won't cause a lot of stress.
 
Probably not for 1.5, no. But step 1 would be to show your support on a suggestion thread or create one if one doesn't already exist.
 
@Chris D once you improve a mass mailing, it may take some time to add the option for mass email with a basic XenForo email template (in addition to plain-text and html)?
 
Really, really nice implementation of all these features.

In my board's vB3 days, I used the new user welcome email to encourage people to post in a special "introduce yourself" forum, and it really drove engagement and helped break the ice. I can't wait to set that up again and hopefully it will help out other xenforo boards as well. :)
 
Summary of all new features: (XF 1.5) (32 Features up to date)


(The question is: If all these features in XF 1.5, so what is XF 2.0 exactly!!!).

  1. Responsive admin control panel
  2. Profile post comments can now be reported
  3. Soft deleting profile post comments
  4. They can be undeleted (if soft deleted)
  5. The Ability to like profile post comments
  6. The Ability to search profile post comments
  7. They also appear in the news feed
  8. They can be approved/unapproved
  9. Profile post comments have always been subject to spam checks, but now they have support for the moderation queue rather than blocked completely.
  10. Moderator actions on profile post comments are now logged in the Moderator Log
  11. Warnings can be issued on comments
  12. And you can trigger the spam cleaner from a comment and the comments can be soft deleted (and restored) via the spam clean process.
  13. Ability to disable trophies globally
  14. Threads with the latest posts in the sidebar
  15. Independent language selector for the Admin CP
  16. Resend a user's email confirmation from the Admin CP
  17. Additional Moderator Log logging
  18. Bulk add-on toggle
  19. Two-Step Verification
  20. Password andEmail Change Notifications
  21. PasswordReset Process Changed
  22. Notices: Displaying an image
  23. Notices: Visibility options
  24. Notices: Floating notices
  25. Notices: Guest dismissal
  26. Notices: Resetting notices
  27. Thread Tagging
  28. Alert Users
  29. Message Users
  30. Deferred Sending
  31. Basic Phrase Support for msgs and alerts
  32. New User Welcome
 
It's passed off to a deferred task so it is done in small batches until everyone is alerted. It will take time, potentially, but it won't cause a lot of stress.
Can you choose the batch amounts? Most shared servers only allow 500 emails per hour. Or am I off track on what this does exactly.
 
If you're going to be sending bulk emails you really need to be on a hosting plan that allows it.

It breaks them down into batches so that they can be sent without sucking up all your resources and without triggering various server limits.

There's no way to control the batch size though.
 
The deferred task is more of a technical change. It's a relatively minor change in terms of how it works for an end user. The main benefit relates to resumeability if something goes wrong (browser crash, lost connection, etc). It isn't designed to be a "background" process -- it runs like the cache rebuilds.
 
With @Jon W's mod, I just send a bulk email to all users (50K+).... when i hit sent it goes instantly. No other intervention is needed as far as I am aware.

@Mike, would the front end cron / deferred trigger also get the mail flowing or would manually hitting the admin run-deferred route speed up the mail sends?
 
The main benefit relates to resumeability if something goes wrong (browser crash, lost connection, etc).

I use an external STMP server to send XenForo transactional emails. Sometimes I get logged a server error like "connection to the server lost" or "connection refused". With the new deferred system are those emails going to be retried instead of being discarded?
 
Summary of all new features: (XF 1.5) (32 Features up to date)


(The question is: If all these features in XF 1.5, so what is XF 2.0 exactly!!!).

  1. Responsive admin control panel
  2. Profile post comments can now be reported
  3. Soft deleting profile post comments
  4. They can be undeleted (if soft deleted)
  5. The Ability to like profile post comments
  6. The Ability to search profile post comments
  7. They also appear in the news feed
  8. They can be approved/unapproved
  9. Profile post comments have always been subject to spam checks, but now they have support for the moderation queue rather than blocked completely.
  10. Moderator actions on profile post comments are now logged in the Moderator Log
  11. Warnings can be issued on comments
  12. And you can trigger the spam cleaner from a comment and the comments can be soft deleted (and restored) via the spam clean process.
  13. Ability to disable trophies globally
  14. Threads with the latest posts in the sidebar
  15. Independent language selector for the Admin CP
  16. Resend a user's email confirmation from the Admin CP
  17. Additional Moderator Log logging
  18. Bulk add-on toggle
  19. Two-Step Verification
  20. Password andEmail Change Notifications
  21. PasswordReset Process Changed
  22. Notices: Displaying an image
  23. Notices: Visibility options
  24. Notices: Floating notices
  25. Notices: Guest dismissal
  26. Notices: Resetting notices
  27. Thread Tagging
  28. Alert Users
  29. Message Users
  30. Deferred Sending
  31. Basic Phrase Support for msgs and alerts
  32. New User Welcome
Yep... this will sure bring down my "installed add-ons" total :)
 
(The question is: If all these features in XF 1.5, so what is XF 2.0 exactly!!!).
I have posted this before but from a software standpoint, a first point release doesn't necessarily mean it will have all of the same features from the previous version.

A first point release is primarily related to structural and underlying code changes, although in most cases the feature set would be the same, if not greater.
 
Top Bottom