Title: Predefined variable/parameter for usename not working?
Last modified: July 14, 2024

---

# Predefined variable/parameter for usename not working?

 *  [stephunique](https://wordpress.org/support/users/stephunique/)
 * (@stephunique)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/predefined-variable-parameter-for-usename-not-working/)
 * Hello
 * I have Ari Stream Quiz 1.3.4 and WordPress 6.5.5. I saw this support thread someone
   else posted about using a predefined variable for a username: [https://wordpress.org/support/topic/personalized-e-mail-with-username/](https://wordpress.org/support/topic/personalized-e-mail-with-username/)
 * Now, although logging in to do a quiz is not mentioned in your plugin description
   or documentation, I assume that since a username variable is available, Ari Stream
   Quiz must support logged out and logged in users, since guest users don’t have
   a username.
 * I tried the variable as stated, which was:
 *     ```wp-block-code
       {$user:name}
       ```
   
 * I tried that by doing a test quiz when I was logged in as an admin, and then 
   sent the result to myself via email and used the username variable in the email.
   But instead of the username, I just got literally,
 * “{$user:name}”, like “{$user:name} got 2 out of 3”.
 * So then I tried adding another curly bracket to either end of the variable since
   the other variables in the plugin have two curly brackets and not one like the
   one above from the link. So I used this:
 *     ```wp-block-code
       {{$user:name}}
       ```
   
 * That also didn’t work, but this time it just displayed a blank space where the
   username should be, so for example, instead of “John got 2 out of 3″, it said”
   got 2 out of 3″ (with two spaces since one space is the username and one space
   is the space between words).
 * Is this variable not supported anymore? It is not listed in the “Ari Stream Quiz-
   > Settings -> Sharing” parameters section. The thread I mentioned is only a month
   ago and I see this plugin was last updated 2 months ago so thought it should 
   be supported?

The topic ‘Predefined variable/parameter for usename not working?’ is closed to 
new replies.

 * ![](https://ps.w.org/ari-stream-quiz/assets/icon.svg?rev=1525802)
 * [ARI Stream Quiz - WordPress Quizzes Builder](https://wordpress.org/plugins/ari-stream-quiz/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ari-stream-quiz/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ari-stream-quiz/)
 * [Active Topics](https://wordpress.org/support/plugin/ari-stream-quiz/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ari-stream-quiz/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ari-stream-quiz/reviews/)

## Tags

 * [plugin](https://wordpress.org/support/topic-tag/plugin/)
 * [variable](https://wordpress.org/support/topic-tag/variable/)

 * 0 replies
 * 1 participant
 * Last reply from: [stephunique](https://wordpress.org/support/users/stephunique/)
 * Last activity: [1 year, 10 months ago](https://wordpress.org/support/topic/predefined-variable-parameter-for-usename-not-working/)
 * Status: not resolved