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 :)
 
So XF is "Sherlocking" a few add-ons. That label comes from Apple adding features to OS X that compete with third-party software. It dates back to the days when Apple enhanced a search app, Sherlock, with features "borrowed" from a third-party alternative known as Watson.
 
What happens if the user registers through Facebook and his/her email is invalid, but the users state is "valid" by default on Facebook Login/registration (since they don't need to confirm their account via email); so is this Facebook user would go straight to waiting for email confirmation state due to a bounced email (due to an email sent to the new user upon a new PM received)? But the user can't really change its email without setting up a password first, which would probably make the user to leave the forum due to all the hassle he/she needs to go through in order to have their account active on the forum.
 
The scenario you have described can happen anyway. How long can a user actually go before they receive an email? In most default set ups, they will get their first email as soon as they receive a reply to a thread they are watching, or a conversation from a member.

It should be a rare enough occurrence to not worry about it. If you do worry about it, it may just have to be a feature you don't enable (bear in mind it is disabled by default).
 
The scenario you have described can happen anyway. How long can a user actually go before they receive an email? In most default set ups, they will get their first email as soon as they receive a reply to a thread they are watching, or a conversation from a member.

It should be a rare enough occurrence to not worry about it. If you do worry about it, it may just have to be a feature you don't enable (bear in mind it is disabled by default).
I've made an add-on that fixes this situation. This is not rare at all on mid/big boards. I get at least 20-30 users/week with email problems from Facebook. And there is a greater chance that they would fix the problem and go through the hassle if they opened a thread/replied to a thread than if they just registered and few seconds later were placed in waiting for confirmation state. The worst part in this scenario is that there are no real direction to the user what he/she should do to fix the problem (i.e set up an email and plug in a password in order to do so); it's just says that the email is not working and replace the email. But there is no email to replace since a password should be configured first and so on.
 
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

This is a huge improvement for sending out batch emails.
 
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?

I'm talking about these errors:

sefvdd.webp


Is the deferred system able to deal with these?
 
@Chris D any chance you could add a preview function for the welcome PC? Ideally I'd like to have it everywhere where we can combine text, code etc. in the ACP of course, but I remember what a PITA it was coming up with a welcome PM in vB with no preview and having to constantly resort to the clunky workaround of previewing the content in a forum thread. Would be a very welcome improvement if we could preview directly in XF.
 
@Chris D any chance you could add a preview function for the welcome PC? Ideally I'd like to have it everywhere where we can combine text, code etc. in the ACP of course, but I remember what a PITA it was coming up with a welcome PM in vB with no preview and having to constantly resort to the clunky workaround of previewing the content in a forum thread. Would be a very welcome improvement if we could preview directly in XF.
Post a suggestion thread in the first instance :)
 
Beta 1 comment:

When trying to enable the options to open a welcome conversation and send welcome emails, I get this when saving the settings:

"Please enter at least one valid recipient"

Where? I see no such option.
 
Top Bottom