We wanted to be able to show panels in CTools Panels Pages for users who had unlocked an achievement. For example showing a user an image of the unlocked badge, or some other special messaging, on pages that were meant for "achievers".
Attached is a patch that adds the two required CTools hooks, and a plugin file that creates the access ("visibility") control.
| Comment | File | Size | Author |
|---|---|---|---|
| achievements_ctools-access.patch | 2.72 KB | torgospizza |
Comments
Comment #2
torgospizzaAnd here's what the config form looks like:

The list of available achievements are in a select list, allowing the admin to choose which achievement must be unlocked in order to view the pane content.