{"id":86381,"date":"2018-05-28T21:52:51","date_gmt":"2018-05-28T21:52:51","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/firebase-for-wordpress\/"},"modified":"2024-12-04T22:22:51","modified_gmt":"2024-12-04T22:22:51","slug":"integrate-firebase","status":"publish","type":"plugin","link":"https:\/\/fr-ca.wordpress.org\/plugins\/integrate-firebase\/","author":14072340,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.10.0","stable_tag":"0.10.0","tested":"6.7.5","requires":"4.0.0","requires_php":"5.2.4","requires_plugins":null,"header_name":"Integrate Firebase","header_author":"dalenguyen","header_description":"Firebase WordPress is a plugin that helps to integrate Firebase features to WordPress","assets_banners_color":"","last_updated":"2024-12-04 22:22:51","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.paypal.me\/DaleNguyen","header_plugin_uri":"https:\/\/github.com\/dalenguyen\/firebase-wordpress-plugin","header_author_uri":"http:\/\/dalenguyen.me","rating":5,"author_block_rating":0,"active_installs":600,"downloads":27718,"num_ratings":20,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":{"0.10.0":{"tag":"0.10.0","author":"hanthuy","date":"2024-12-04 22:22:51"},"0.2.1":{"tag":"0.2.1","author":"hanthuy","date":"2018-05-28 21:52:38"},"0.2.2":{"tag":"0.2.2","author":"hanthuy","date":"2018-05-29 15:11:00"},"0.3.0":{"tag":"0.3.0","author":"hanthuy","date":"2018-07-02 22:58:37"},"0.3.1":{"tag":"0.3.1","author":"hanthuy","date":"2018-07-18 02:16:54"},"0.3.2":{"tag":"0.3.2","author":"hanthuy","date":"2018-07-18 02:43:35"},"0.4.0":{"tag":"0.4.0","author":"hanthuy","date":"2018-07-18 03:37:49"},"0.5.0":{"tag":"0.5.0","author":"hanthuy","date":"2018-08-05 01:27:57"},"0.5.1":{"tag":"0.5.1","author":"hanthuy","date":"2018-08-11 13:06:26"},"0.5.2":{"tag":"0.5.2","author":"hanthuy","date":"2019-03-30 16:56:33"},"0.7.0":{"tag":"0.7.0","author":"hanthuy","date":"2020-08-19 01:29:18"},"0.8.0":{"tag":"0.8.0","author":"hanthuy","date":"2021-01-31 16:22:35"},"0.9.0":{"tag":"0.9.0","author":"hanthuy","date":"2022-01-30 22:09:41"},"0.9.1":{"tag":"0.9.1","author":"hanthuy","date":"2022-01-30 22:14:18"},"0.9.2":{"tag":"0.9.2","author":"hanthuy","date":"2024-04-21 13:42:18"},"0.9.3":{"tag":"0.9.3","author":"hanthuy","date":"2024-09-07 02:51:07"}},"upgrade_notice":{"":"<p>Please use <a href=\"https:\/\/github.com\/dalenguyen\/firebase-wordpress-plugin\/issues\">github issues<\/a> when submitting your logs.  Please do not post to the forums.<\/p>"},"ratings":{"1":0,"2":0,"3":0,"4":0,"5":20},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.10.0","0.2.1","0.2.2","0.3.0","0.3.1","0.3.2","0.4.0","0.5.0","0.5.1","0.5.2","0.7.0","0.8.0","0.9.0","0.9.1","0.9.2","0.9.3"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2465952,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2465952,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2465952,"resolution":"3","location":"assets","locale":""}},"screenshots":{"1":"After activating the plugin, you need enter Firebase credentials under Setting &gt; Firebase.","2":"Please enter collection names in order to show the data from Real Time Database"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[14432],"plugin_category":[],"plugin_contributors":[157255],"plugin_business_model":[],"class_list":["post-86381","plugin","type-plugin","status-publish","hentry","plugin_tags-firebase","plugin_contributors-hanthuy","plugin_committers-hanthuy"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/integrate-firebase.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/integrate-firebase\/assets\/screenshot-1.png?rev=2465952","caption":"After activating the plugin, you need enter Firebase credentials under Setting &gt; Firebase."},{"src":"https:\/\/ps.w.org\/integrate-firebase\/assets\/screenshot-2.png?rev=2465952","caption":"Please enter collection names in order to show the data from Real Time Database"},{"src":"https:\/\/ps.w.org\/integrate-firebase\/assets\/screenshot-3.png?rev=2465952","caption":""}],"raw_content":"<!--section=description-->\n<p>The Firebase for WordPress Plugin will help a Firebase user to login to your WordPress interface - not to WordPress dashboard - from Firebase authentication. You can show user info and display data that is only available to your Firebase users.<\/p>\n\n<p>If you want a secured implementation, with much more features, check the <a href=\"https:\/\/firebase.dalenguyen.me\/\">Interate Firebase PRO<\/a> version.<\/p>\n\n<h4>Links<\/h4>\n\n<ul>\n<li><a href=\"https:\/\/github.com\/dalenguyen\/firebase-wordpress-plugin\">Github project page<\/a><\/li>\n<li><a href=\"https:\/\/github.com\/dalenguyen\/firebase-wordpress-plugin\/blob\/master\/CHANGELOG.md\">View CHANGELOG<\/a><\/li>\n<\/ul>\n\n<!--section=installation-->\n<p>If installing the plugin from wordpress.org:<\/p>\n\n<ol>\n<li>Upload the entire <code>\/integrate-firebase<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory.<\/li>\n<li>Activate Integrate Firebase Plugin through the 'Plugins' menu in WordPress.<\/li>\n<li>Profit.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt id='what%20can%20i%20do%20with%20this%20integrate%20firebase%20plugin%3F'><h3>What can I do with this Integrate Firebase plugin?<\/h3><\/dt>\n<dd><p>At version 0.6.1, the user can integrate Firebase authentication to WordPress. That means you can:<\/p>\n\n<ul>\n<li>Log in, log out and show custom data only to logged in users.<\/li>\n<li>Get Real Time and Firestore database in Dashboard<\/li>\n<li>Show realtime database on frontend after users log in<\/li>\n<\/ul><\/dd>\n<dt id='how%20can%20i%20put%20a%20shortcode%20in%20a%20widget%20or%20wordpress%20editor%3F'><h3>How can I put a shortcode in a widget or WordPress editor?<\/h3><\/dt>\n<dd><p>The example in this guide only shows you how to put in a PHP file. If you want to put the shortcode inside a widget or editor. You can simply do this:<\/p>\n\n<blockquote>\n  <p>[firebase_login][\/firebase_login]<\/p>\n<\/blockquote><\/dd>\n<dt id='how%20can%20i%20add%20a%20login%20form%20to%20wordpress%3F'><h3>How can I add a login form to WordPress?<\/h3><\/dt>\n<dd><p>After adding Firebase credentials from Settings &gt; Firebase. You can add login form through shortcodes:<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[firebase_login]\");<\/p>\n<\/blockquote>\n\n<p>If you want to create your own form. Please start with *<\/p>\n\n<p>&lt;<\/p>\n\n<p>form id='login-form'&gt;*. For submit button, you have to add 'firebase-form-submit' as an ID.<\/p><\/dd>\n<dt id='how%20can%20i%20show%20user%20info%20after%20login%3F'><h3>How can I show user info after login?<\/h3><\/dt>\n<dd><p>You can add a shortcode to show user's info<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[firebase_greetings]\");<\/p>\n<\/blockquote><\/dd>\n<dt id='how%20can%20i%20show%20error%20when%20a%20user%20cannot%20login%3F'><h3>How can I show error when a user cannot login?<\/h3><\/dt>\n<dd><p>You can show error message when a user cannot login by using a shortcode<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[firebase_login_error class=\"your-optional-CSS-class-name\"][\/firebase_login_error]\");<\/p>\n<\/blockquote><\/dd>\n<dt id='how%20can%20i%20show%20data%20for%20a%20not%20logged%20in%20user%3F'><h3>How can I show data for a not logged in user?<\/h3><\/dt>\n<dd><p>You can put your data as an HTML code inside a shortcode<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[firebase_show_not_login class=\"your-optional-CSS-class-name\"]YOUR HTML CODE[\/firebase_show_not_login]\");<\/p>\n<\/blockquote><\/dd>\n<dt id='how%20can%20i%20hide%20or%20show%20data%20for%20a%20logged%20in%20user%3F'><h3>How can I hide or show data for a logged in user?<\/h3><\/dt>\n<dd><p>You can put your data as an HTML code inside a shortcode<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[firebase_show class=\"your-optional-CSS-class-name\"]YOUR HTML CODE[\/firebase_show]\");<\/p>\n<\/blockquote><\/dd>\n<dt id='how%20can%20i%20show%20realtime%20database%20for%20a%20logged%20in%20user%3F'><h3>How can I show realtime database for a logged in user?<\/h3><\/dt>\n<dd><p>You can put your data as an HTML code inside a shortcode. Realtime data will be shown as a table with an id #if-realtime.<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[realtime class=\"your-optional-CSS-class-name\" collection_name=\"string\" document_name=\"string\"]\");<\/p>\n<\/blockquote><\/dd>\n<dt id='how%20can%20i%20log%20out%3F'><h3>How can I log out?<\/h3><\/dt>\n<dd><p>This is a shortcode for log out button.<\/p>\n\n<blockquote>\n  <p>echo do_shortcode(\"[firebase_logout]\");<\/p>\n<\/blockquote><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.10.0<\/h4>\n\n<ul>\n<li>update tested version<\/li>\n<li>feedback from wordfence<\/li>\n<\/ul>\n\n<h4>0.9.3<\/h4>\n\n<ul>\n<li>update css wording<\/li>\n<\/ul>\n\n<h4>0.9.2<\/h4>\n\n<ul>\n<li>test support for WP v6.5.2<\/li>\n<\/ul>\n\n<h4>0.9.1<\/h4>\n\n<ul>\n<li>Fix support WP version<\/li>\n<\/ul>\n\n<h4>0.9.0<\/h4>\n\n<ul>\n<li>Bump support version to WordPress v5.9<\/li>\n<\/ul>\n\n<h4>0.8.0<\/h4>\n\n<ul>\n<li>Updated firebase packages to 8.2.5<\/li>\n<li>Moved scripts to the end of body tag<\/li>\n<\/ul>\n\n<h4>0.7.0<\/h4>\n\n<ul>\n<li>Fixed add_options_page error<\/li>\n<li>Preformated data before showing in dashboard<\/li>\n<li>Delegated button style to WordPress<\/li>\n<li>Updated firebase package to 7.18.0<\/li>\n<\/ul>\n\n<h4>0.6.1<\/h4>\n\n<ul>\n<li>Removed hide realtime table script<\/li>\n<\/ul>\n\n<h4>0.6.0<\/h4>\n\n<ul>\n<li>Show realtime data publicly<\/li>\n<\/ul>\n\n<h4>0.5.3<\/h4>\n\n<ul>\n<li>Update firebase scripts<\/li>\n<\/ul>\n\n<h4>0.5.2<\/h4>\n\n<ul>\n<li>Show realtime database after login<\/li>\n<\/ul>\n\n<h4>0.5.1<\/h4>\n\n<ul>\n<li>Hide login form after logging in<\/li>\n<\/ul>\n\n<h4>0.5.0<\/h4>\n\n<ul>\n<li>Add shortcode to display when not login<\/li>\n<li>Add error handling shortcode<\/li>\n<\/ul>\n\n<h4>0.4.0<\/h4>\n\n<ul>\n<li>Added Firestore database support in Dashboard<\/li>\n<\/ul>\n\n<h4>0.3.2<\/h4>\n\n<ul>\n<li>Fixed firebase show shortcode<\/li>\n<\/ul>\n\n<h4>0.3.1<\/h4>\n\n<ul>\n<li>Fixed get firebase credentials<\/li>\n<\/ul>\n\n<h4>0.3.0<\/h4>\n\n<ul>\n<li>Added about information<\/li>\n<li>Added Real Time database support in Dashboard<\/li>\n<\/ul>\n\n<h4>0.2.2<\/h4>\n\n<ul>\n<li>Fixed readme typos<\/li>\n<\/ul>\n\n<h4>0.2.1<\/h4>\n\n<ul>\n<li>Change plugin name<\/li>\n<li>Update logout shortcode<\/li>\n<\/ul>\n\n<h4>0.2.0<\/h4>\n\n<ul>\n<li>Add scripts &amp; styles<\/li>\n<li>Allow to show and hide data after login<\/li>\n<\/ul>\n\n<h4>0.1.0<\/h4>\n\n<ul>\n<li>Started the project and add authentication method<\/li>\n<\/ul>","raw_excerpt":"Integrate Firebase is a plugin that helps to integrate Firebase features to WordPress","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/86381","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=86381"}],"author":[{"embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/hanthuy"}],"wp:attachment":[{"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=86381"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=86381"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=86381"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=86381"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=86381"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/fr-ca.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=86381"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}