Ben Sabic
01/24/2025, 11:51 AMBen Sabic
01/24/2025, 11:51 AMben
01/27/2025, 11:53 AMChatbase
01/27/2025, 11:53 AMben
01/28/2025, 10:17 AMChatbase
01/28/2025, 10:17 AMhtml
<div data-bb-access="permissions|!view:paid">
This works because:
- permissions|!view:paid
specifically targets users who do NOT have the pro permission (view:paid
)
- The !
operator before view:paid
means "does not have this permission"
- This will show the content to both free members (who don't have the paid permission) and non-members
- Pro members (who have the view:paid
permission) will not see this content
This is commonly used for things like upgrade prompts or content that should only be shown to free/non-members. For example:
html
<div data-bb-access="permissions|!view:paid">Upgrade to pro to access this feature</div>
ben
01/28/2025, 4:04 PMChatbase
01/28/2025, 4:04 PMben
02/06/2025, 9:42 AMChatbase
02/06/2025, 9:42 AMben
02/06/2025, 9:43 AMben
02/06/2025, 10:11 AMChatbase
02/06/2025, 10:11 AMben
03/19/2025, 8:19 PMChatbase
03/19/2025, 8:19 PM