Crypto Portfolio Tracker is a plugin, which allows your website visitors to create and track their own cryptocurrency portfolios.
Crypto Portfolio Tracker is a plugin, which allows your website visitors to create and track their own cryptocurrency portfolios.
The plugin uses Google Firebase to store user portfolios and optionally authenticate users. Please follow these steps to set up a Firebase application:
{ "rules": { "users": { "$uid": { "portfolios": { ".read": "$uid == auth.uid", ".write": "$uid == auth.uid", "$pid": { ".read": "$uid == auth.uid || root.child('shared-portfolios/' + $pid).exists()", ".write": "$uid == auth.uid" } }, "transactions": { "$pid": { ".read": "$uid == auth.uid || root.child('shared-portfolios/' + $pid).exists()", ".write": "$uid == auth.uid" } } } }, "shared-portfolios": { "$pid": { ".read": true, ".write": "data.val() == null && newData.val() == auth.uid || data.val() == auth.uid && newData.val() == null" } } } }You should see a message that rules are successfully published.
The plugin pulls cryptocurrencies market data from CryptoCompare API. Sign up with CryptoCompare and obtain a FREE API key.
Firebase authentication allows the plugin to identify users of the Crypto Portfolio Tracker plugin - either explicitly or implicitly. This is required for mapping stored user portfolios to specific user accounts, so that when a user visits your website again portfolios that the user created earlier can be loaded from the realtime database.
When Firebase authentication is enabled users will be required to log in or sign up before creating any portfolios. Please note that this authentication is different from the native WordPress authentication, so even if user is logged in to your WordPress website separate authentication against Firebase will still be required.
When Firebase authentication is disabled users will be automatically authenticated using anonymous accounts when first accessing the app. Their sessions will be stored in a browser and remain active until browser cache / local data is cleared.
You can manage all users accounts by going to Firebase console, choosing your Firebase app and clicking Authentication in the main menu.
In the Firebase console click Authentication in the main menu and then switch to Templates tab. Choose Password Reset from the list of templates and customize it as needed.
The plugin is WPML compatible, which means that you can use any WordPress translation plugin (such as Loco Translate for instance) to translate text strings from English into any other language.
In case of any issues or questions please submit a support ticket at https://support.financialplugins.com.