Plus UI 2.6.1 & Plus UI 2.6.2 Realtime Post Views Counter
Plus UI 2.6 Realtime Post Views Counter Realtime Views Counter has been added in Plus UI 2.6.1 & Plus UI 2.6.2, which shows the Realtime views of your Blog Posts with the help of Firebase Database. To enable it on your Blog, follow these simple steps: Step 1 : create a project in Firebase Type your project name Click on Continue Select Default account for firebase and click on Create project Step 2 : Create Database for your Project. Click on Build section then open Realtime database Click on Create Database Click on Next Click on Enable Step 3 : Open rules section and paste the following code For Single Blog: {
"rules": {
".read": true,
"BlogID_0000000000000000000": {
".read": true,
"$post_id": {
".write": "newData.exists() && (data.exists() ? newData.val() == data.val() + 1 : newData.val() == 1)",
".validate": "newData.isNumber() && newData.val() % 1 === 0.0 && newData.val() <= 99999999…