Skip to main content

Plugin Key Basics

What are plugin keys

Plugin keys give you the ability to store data on ProBoards' servers related to users, threads, posts, conversations, and messages.

When to use a plugin key

Plugin keys should be used when you want to store data that you can access later. Here are some examples of scenarios that can benefit from using a plugin key:

  • Create a "Like" system (v6: Phoenix comes with one for posts, but you could create one for Threads, Conversations, etc)
  • Storing user preferences. For example, you could have a plugin that collapses / expands categories. A plugin key could store the user's preference to have a category expanded or collapsed.

How to use plugin keys

var test = "This is JavaScript!";
console.log(test);