Things to Note

This guide states the things to note like Admin Access, Custom Code, Notes, Paid API and others.

Admin Rights

☝
Note: Most of the template content is directly pulled from the database. Please do not delete an entire Data Thing unless you are sure of what you are doing. However, feel free to delete any template content you prefer.
For security purposes, Daty has limited rights for potential customers. Meaning, you will not be able to use the admin features at its fullest until you purchase the template and enable admin rights.
The restricted elements on the dashboard page for clicking is the β€œDelete" button.
If you have already purchased the template, you can simply change the following Conditional of the element in order to gain full access to dashboard features.
Image without caption
An additional limitation is set on the dashboard_new page via the Variables datatype AccessRights field.
If a demo user with admin rights gets to this page, he will not be able to access the page or do any manipulations because of the conditions on edit/delete actions.
Under the Data tab click the icon in the Editor, go to the Data Type Variables and look for the the AccessRights field with the Yes/No boolean type.
Image without caption
To enable the editing rights set the value to yes, so the admin user will be able to manage the platform, deleting users, articles, and groups on the dashboard_new page.
Image without caption
☝
Note: Remember to hit the SAVE button.
The dashboard_new page has buttons with admin restriction conditions in the workflow which are locked when AccessRights is no.
If you have already purchased the template, you can simply delete the following Conditional of these elements in order to gain full access to dashboard features:
  1. Find other variants of the Delete buttons workflow which has the condition "Search for Variables: first item's Access_rights is "no" and delete if you don't need it.
Image without caption
βœ…
Congrats: You have successfully granted the admin rights. Now, you can test the admin page and use its features to the fullest.
Also, delete the warning group that says to check the template's documentation:
1. Locate the "Group wrapper" and delete it:
Image without caption

API Webhooks

Daty is using Backend workflows for some important features: extend and cancel subscriptions.
πŸ’‘
Tip: To learn more about API Webhooks and how to use them in Bubble, click here and here.
They can be located in the Backend workflows tab in your editor:
Image without caption
The responsible endpoints for updating and canceling a subscription are the following:
  • unsubscribe - unsubscribes the user from the current plan.
Image without caption
  • user - extend the currently subscribed plan and adds 35 more super likes.
Image without caption
☝
Note: be sure to indicate your own created subscription plan ID in the conditional field

Hidden Design Elements

πŸ’‘
Tip: Initially, on some pages, design elements in Bubble Editor might be hidden.
Here is an example of how to unhide πŸ‘€ them:
Image without caption

Embedded Notes in Bubble Editor

This template comes with explicit Notes for Database fields, Option sets and their fields, and Privacy rules, which will guide you through the modification process.
In order to preview a Note of any data type or field, click on the πŸ’¬ icon.
Image without caption

Powered by Notaku