Enable Realtime Post Views Counter on New Plus UI V2.6.1

RTG Network
Enable Realtime Post Views Counter on New Plus UI V2.6.1
Most welcome As you know, Plus UI recently released Plus UI New v2.6.1 which comes with more features if compared with Plus UI v2.5.1. Realtime Views Counter has been added in the Lastest Version, which shows the realtime views of your Blog Posts with the help of Firebase Database. If you would like to enable it on your Blog, follow these simple steps to get started. Note that it will not work in Plus UI older versions. Make sure you get the lastest template update. Requirements Firebase Account Plus UI New v2.6.1 Template Enabling Views Count Step 1 : First of all create a project in Firebase. Step 2 : Create Database for your Project. Step 3 : Paste the following rules: 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() &&…

Post a Comment