# 将 %{first name} 变量添加到 BCC 插件

**URL:** https://meta.discourse.org/t/add-first-name-variable-to-bcc-plugin/297599
**Category:** Feature
**Tags:** bcc
**Created:** [2023年三月27日 17:40 UTC](https://meta.discourse.org/t/add-first-name-variable-to-bcc-plugin/297599 "2023-03-27T17:40:54Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![nathank](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nathank/32/290039_2.png) [@nathank](https://meta.discourse.org/u/nathank)
#### Post date: [2023年十一月1日 00:19 UTC](https://meta.discourse.org/t/add-first-name-variable-to-bcc-plugin/297599/2 "2023-11-01T00:19:51Z")

</div>

> [@cogdog](#):
>
> 占位符确实有效，尽管我不太明白如何在实际应用中通过全名或用户名进行个性化设置。如果能如愿，我希望使用 `%{name}` 这样的第一个词来按名字称呼（是的，这其中存在一些挑战）。

我完全同意，并且在以下链接中提出了同样的要求：

> [@Add %{name} variable to BCC plugin](https://meta.discourse.org/t/improving-the-placeholders-for-the-bcc-plugin/186861/5):
>
> You are awesome! I’ll kick the tires once it is merged. Hey, I realised something else that was wrong with my Name suggestion above - we actually need Firstname. Do you reckon it is possible to just use the first word of the string? I could do that in Excel but no idea in Ruby!!!

---

_[View the full topic](https://meta.discourse.org/t/add-first-name-variable-to-bcc-plugin/297599)._
