# Mentionables

**URL:** https://meta.discourse.org/t/mentionables/192948
**Category:** Plugin
**Tags:** pavilion
**Created:** [June 7, 2021, 6:00am UTC](https://meta.discourse.org/t/mentionables/192948 "2021-06-07T06:00:11Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [June 7, 2021, 6:00am UTC](https://meta.discourse.org/t/mentionables/192948/1 "2021-06-07T06:00:11Z")

</div>

The Mentionables plugin lets you establish a custom mention dataset. Custom mentions work the same as @users or #categories, but use data external to discourse, including linking to external urls.

#### Composer & Final Post view

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/f/0/7f03d57263d737cf57c4b5eb2f1c1bc2f3b3e5a8.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/6/9/669882c3249690ec3ddc001be0085048031b2304.png)

This is just perfect for sets of Affiliate links. You can use Amazon or any other provider for that matter.

#### Administration View

 ![Screen Shot 2021-06-07 at 3.36.19 PM](https://global.discourse-cdn.com/meta/original/3X/2/1/215a9424e7b592ed130702189173f0f3396170b2.png)

#### Example Source

> **[Mentionables Plugin Test Data](https://docs.google.com/spreadsheets/d/1hg1zPmZjlUWPB4vdGTIMHr4a9jlZzYLnVgmCKBIatQY/edit)**
>
> This Sheet is private

Currently google sheets is the only supported data source, however the plugin is designed to support any source. If you’d like to add a new source, please [contact us](mailto:contact@thepavilion.io).

🖥 [**Get the code**](https://github.com/paviliondev/discourse-mentionables)

📄 [**Read the documentation**](https://coop.pavilion.tech/docs?ascending=false&category=120&solved=false)

🐛 [**Report a bug**](https://coop.pavilion.tech/w/bug-report/)

Not sure how to install a plugin? [Follow the steps here](https://meta.discourse.org/t/install-plugins-in-discourse/19157).

---

<div class="post-metadata">

### Author: ![Joshua\_Kogan](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/joshua_kogan/32/127595_2.png) [@Joshua\_Kogan](https://meta.discourse.org/u/Joshua_Kogan)
#### Post date: [October 15, 2021, 9:29pm UTC](https://meta.discourse.org/t/mentionables/192948/2 "2021-10-15T21:29:18Z")

</div>

Can topics be filtered by mentionables? I was thinking of creating a US state dataset, so each post can be related to a state.

---

<div class="post-metadata">

### Author: ![angus](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/angus/32/341715_2.png) [@angus](https://meta.discourse.org/u/angus)
#### Post date: [October 18, 2021, 7:31am UTC](https://meta.discourse.org/t/mentionables/192948/3 "2021-10-18T07:31:36Z")

</div>

Not currently. How are you thinking the filter would work in an abstract sense? You can estabilsh any external dataset as a mentionables set. Perhaps you can use an additional column in the data that informs how posts with custom mentionable data would be ordered. Then you’d also need to deal with situations where mutiple mentions were made in the same post. If you scoped out the feature in some detail in an abstract sense we could get a sense of how much it would take to implement it.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [November 3, 2021, 5:52pm UTC](https://meta.discourse.org/t/mentionables/192948/4 "2021-11-03T17:52:19Z")

</div>

Originally name was optional and could be derived from og tags - this was lost during a refactor.

I’ve pushed a fix: [make name optional again · paviliondev/discourse-mentionables@a7007b2 (github.com)](https://github.com/paviliondev/discourse-mentionables/commit/a7007b2632a4b87946faa7fe40f2b34e0def7431)

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [January 24, 2023, 7:05pm UTC](https://meta.discourse.org/t/mentionables/192948/5 "2023-01-24T19:05:45Z")

</div>

OK I’ve completed a couple of PR’s for this which get things back up and running:

[https://github.com/paviliondev/discourse-mentionables/pull/8](https://github.com/paviliondev/discourse-mentionables/pull/8)

Moves the API to Google’s official API, dropping an intermediary gem (and a few others) and adding CI so things should be a bit more reliable going forward.

Please note the breaking changes to settings:

- mentionables\_google\_spreadsheet\_url: “URL of the Google spreadsheet”

becomes:

- mentionables\_google\_spreadsheet\_id: “ID of the Google spreadsheet”

- mentionables\_google\_worksheet\_gids: “Restrict Google spreadsheet import to worksheet GIDs. If empty, all worksheets will be imported.”

becomes:

- mentionables\_google\_worksheet\_names: “Names of in-scope source worksheets (tabs)”

And there is a new setting:

- mentionables\_google\_worksheet\_max\_row: “Maximum number of rows scanned”

This fixes the front end (whilst adding tests)

[https://github.com/paviliondev/discourse-mentionables/pull/9](https://github.com/paviliondev/discourse-mentionables/pull/9)

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [May 2, 2023, 10:35am UTC](https://meta.discourse.org/t/mentionables/192948/6 "2023-05-02T10:35:33Z")

</div>

> [@angus](#):
>
> 📄 [**Read the documentation**](https://discourse.pluginmanager.org/c/discourse-mentionables)

Seems like a dead end…

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [May 2, 2023, 10:43am UTC](https://meta.discourse.org/t/mentionables/192948/7 "2023-05-02T10:43:38Z")

</div>

Thank you for reporting that, I have updated the link.

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [May 2, 2023, 11:55am UTC](https://meta.discourse.org/t/mentionables/192948/8 "2023-05-02T11:55:11Z")

</div>

Why is this so technically? Im not even able to set it up and work.

If there were a upload button for the spreadsheet it would have been available for an avg user user like me.

Or a online form editor. This is, sadly, way too advance.

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [May 2, 2023, 1:11pm UTC](https://meta.discourse.org/t/mentionables/192948/9 "2023-05-02T13:11:43Z")

</div>

I partly agree with you. This plugin was indeed built for a pretty technical audience. But only the setup is quite hard, after that, the opposite.

In fact, it tries to use a familiar editor by leveraging the power of Google Sheets.

Once it has been setup, any non-technical person can use the plugin in a much easier way than having to upload a file.

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 2, 2023, 1:40pm UTC](https://meta.discourse.org/t/mentionables/192948/10 "2023-05-02T13:40:09Z")

</div>

It’s not suitable for @frold’s use case I suspect which is to present a financial graph rendered by a third party site. Mentionables is not intended for such a use case.

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [May 2, 2023, 4:03pm UTC](https://meta.discourse.org/t/mentionables/192948/11 "2023-05-02T16:03:07Z")

</div>

if someone would guide via the chat they are welcome to contact me.

I dont think its safe to share the codes via the public forum…

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 2, 2023, 4:18pm UTC](https://meta.discourse.org/t/mentionables/192948/12 "2023-05-02T16:18:47Z")

</div>

@frold there’s no code here for sharing third party graphs. This plugin is not going to help you. It’s purely designed to permit sites to allow users to search and recall from a list of products as grey bubbles that are links to each products page.

---

<div class="post-metadata">

### Author: ![frold](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/frold/32/82547_2.png) [@frold](https://meta.discourse.org/u/frold)
#### Post date: [May 2, 2023, 4:40pm UTC](https://meta.discourse.org/t/mentionables/192948/13 "2023-05-02T16:40:59Z")

</div>

> [@merefield](#):
>
> there’s no code here for sharing third party graphs

Okay - I thought it would insert a link into the post.

This url could be to an image, I thought

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [May 2, 2023, 4:50pm UTC](https://meta.discourse.org/t/mentionables/192948/14 "2023-05-02T16:50:46Z")

</div>

> [@frold](#):
>
> Okay - I thought it would insert a link into the post.

it does.

> [@frold](#):
>
> This url could be to an image, I thought

No, it’s just a boring description in a grey bubble 😅

A single additional screenshot would be helpful here I guess 🙂

 ![image](https://global.discourse-cdn.com/meta/original/4X/7/f/0/7f03d57263d737cf57c4b5eb2f1c1bc2f3b3e5a8.png)

 ![image](https://global.discourse-cdn.com/meta/original/4X/6/6/9/669882c3249690ec3ddc001be0085048031b2304.png)

This is just perfect for sets of Affiliate links.

Updated the OP.

---

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [October 4, 2023, 4:12pm UTC](https://meta.discourse.org/t/mentionables/192948/15 "2023-10-04T16:12:05Z")

</div>

Before I go through the setup and config – would an appropriate use-case for mentionables be in writing of Topics which are drafts of legal documents which need to be able to include references to laws and cases, where the connected “mentionables” spreadsheet contains a collection of relevant legal references and case law?

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [October 4, 2023, 4:16pm UTC](https://meta.discourse.org/t/mentionables/192948/16 "2023-10-04T16:16:49Z")

</div>

That’s sounds like a strong possibility. If you have nice pictures of dusty old books that would help 😉

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [October 4, 2023, 4:17pm UTC](https://meta.discourse.org/t/mentionables/192948/17 "2023-10-04T16:17:43Z")

</div>

One day I’ve been meaning to add alternative snippets for the same item accessed by pressing + additional times.

---

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [October 4, 2023, 4:50pm UTC](https://meta.discourse.org/t/mentionables/192948/18 "2023-10-04T16:50:45Z")

</div>

OK here are my settings (I’m using the Test Data Google Sheet provided in the setup instructions), and the error I am getting… (apparently the plugin is broken, and the developer requires a fee? Which is fine, of course, just FYI!)

 ![Screenshot 2023-10-04 104850](https://global.discourse-cdn.com/meta/original/4X/c/6/a/c6afd0c0e5c17c6b842240e3a8c165ed30541e42.png)

 ![Screenshot 2023-10-04 104312](https://global.discourse-cdn.com/meta/original/4X/8/c/8/8c8e1b7e539c775eae8fd9de1ed461dafa9a573f.png)

Any help would be much appreciated!

---

<div class="post-metadata">

### Author: ![merefield](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/merefield/32/176214_2.png) [@merefield](https://meta.discourse.org/u/merefield)
#### Post date: [October 5, 2023, 8:31am UTC](https://meta.discourse.org/t/mentionables/192948/19 "2023-10-05T08:31:33Z")

</div>

It’s still working, make sure your private key starts: `-----BEGIN PRIVATE KEY----` and ends `-----END PRIVATE KEY-----`

 ![image](https://global.discourse-cdn.com/meta/original/4X/1/a/1/1a18e0c1019c8661b61853767266171d4125cda6.png)

---

<div class="post-metadata">

### Author: ![RGJ](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/rgj/32/523185_2.png) [@RGJ](https://meta.discourse.org/u/RGJ)
#### Post date: [October 5, 2023, 8:38am UTC](https://meta.discourse.org/t/mentionables/192948/20 "2023-10-05T08:38:32Z")

</div>

> [@denvergeeks](#):
>
> apparently the plugin is broken, and the developer requires a fee

No, it’s working - and free. Why did you think that?

[Next page](https://meta.discourse.org/t/mentionables/192948.md?page=2)
