Title: Integrate Firebase
Author: Dale Nguyen
Published: <strong>28 Tháng 5, 2018</strong>
Last modified: 4 Tháng 12, 2024

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/integrate-firebase.svg)

# Integrate Firebase

 Bởi [Dale Nguyen](https://profiles.wordpress.org/hanthuy/)

[Tải về](https://downloads.wordpress.org/plugin/integrate-firebase.0.10.0.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/integrate-firebase/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/integrate-firebase/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/integrate-firebase/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/integrate-firebase/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/integrate-firebase/)

## Mô tả

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.

If you want a secured implementation, with much more features, check the [Interate Firebase PRO](https://firebase.dalenguyen.me/)
version.

#### Links

 * [Github project page](https://github.com/dalenguyen/firebase-wordpress-plugin)
 * [View CHANGELOG](https://github.com/dalenguyen/firebase-wordpress-plugin/blob/master/CHANGELOG.md)

## Ảnh màn hình

[⌊After activating the plugin, you need enter Firebase credentials under Setting
> Firebase.⌉⌊After activating the plugin, you need enter Firebase credentials under
Setting > Firebase.⌉[

After activating the plugin, you need enter Firebase credentials under Setting >
Firebase.

[⌊Please enter collection names in order to show the data from Real Time Database⌉⌊
Please enter collection names in order to show the data from Real Time Database⌉[

Please enter collection names in order to show the data from Real Time Database

[[

## Cài đặt

If installing the plugin from wordpress.org:

 1. Upload the entire `/integrate-firebase` directory to the `/wp-content/plugins/`
    directory.
 2. Activate Integrate Firebase Plugin through the ‘Plugins’ menu in WordPress.
 3. Profit.

## Hỏi đáp

### What can I do with this Integrate Firebase plugin?

At version 0.6.1, the user can integrate Firebase authentication to WordPress. That
means you can:

 * Log in, log out and show custom data only to logged in users.
 * Get Real Time and Firestore database in Dashboard
 * Show realtime database on frontend after users log in

### How can I put a shortcode in a widget or WordPress editor?

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:

> [firebase_login][/firebase_login]

### How can I add a login form to WordPress?

After adding Firebase credentials from Settings > Firebase. You can add login form
through shortcodes:

> echo do_shortcode(“[firebase_login]”);

If you want to create your own form. Please start with *

<

form id=’login-form’>*. For submit button, you have to add ‘firebase-form-submit’
as an ID.

### How can I show user info after login?

You can add a shortcode to show user’s info

> echo do_shortcode(“[firebase_greetings]”);

### How can I show error when a user cannot login?

You can show error message when a user cannot login by using a shortcode

> echo do_shortcode(“[firebase_login_error class=”your-optional-CSS-class-name”][/
> firebase_login_error]”);

### How can I show data for a not logged in user?

You can put your data as an HTML code inside a shortcode

> echo do_shortcode(“[firebase_show_not_login class=”your-optional-CSS-class-name”]
> YOUR HTML CODE[/firebase_show_not_login]”);

### How can I hide or show data for a logged in user?

You can put your data as an HTML code inside a shortcode

> echo do_shortcode(“[firebase_show class=”your-optional-CSS-class-name”]YOUR HTML
> CODE[/firebase_show]”);

### How can I show realtime database for a logged in user?

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.

> echo do_shortcode(“[realtime class=”your-optional-CSS-class-name” collection_name
> =”string” document_name=”string”]”);

### How can I log out?

This is a shortcode for log out button.

> echo do_shortcode(“[firebase_logout]”);

## Đánh giá

![](https://secure.gravatar.com/avatar/6b71c6f264d14bf680da6acaa6e05ac5beb74e8ad5a31779b9f1406e0804d237?
s=60&d=retro&r=g)

### 󠀁[Great plugin, even better support](https://wordpress.org/support/topic/great-plugin-even-better-support-156/)󠁿

 [deanclarke55](https://profiles.wordpress.org/deanclarke55/) 31 Tháng 3, 2022

Easy to use, great documentation and very responsive. I connected a WordPress site
to Firebase to use as a CMS for my FlutterFlow app – job done.

![](https://secure.gravatar.com/avatar/a3efd271668cbb94569e96b2236ed45b27e40e9402193a79b242ee43a025a3b3?
s=60&d=retro&r=g)

### 󠀁[Greate for Firebase and awesome customer service](https://wordpress.org/support/topic/greate-for-firebase-and-awesome-customer-service/)󠁿

 [daniel0random](https://profiles.wordpress.org/daniel0random/) 26 Tháng 2, 2022

With this plugin the integration of firebase is really super easy. The setup takes
only a few minutes and you can start. Works perfectly and very fast. But the best
thing is the product support! Dale is incredibly helpful and has helped more very
well with my problem. Even with individual requirements he helps quickly.

![](https://secure.gravatar.com/avatar/27352ef88a9b81c5eaf5f27a71dfaf1346b90b06931328fd682257ebbf62f766?
s=60&d=retro&r=g)

### 󠀁[Great for Firebase integration](https://wordpress.org/support/topic/great-for-firebase-integration/)󠁿

 [marosh](https://profiles.wordpress.org/marosh/) 28 Tháng 7, 2021

This seems to be the only plugin that offers great functionality when integrating
Firebase services with WordPress. Offers many features and is being updated on a
regular basis adding new features. Thanks for support!

![](https://secure.gravatar.com/avatar/026c8af196dc5611ab3502267b8fdbab4cdec6ecf5efa80d0f714a000f20064a?
s=60&d=retro&r=g)

### 󠀁[Excellent customer service](https://wordpress.org/support/topic/excellent-customer-service-185/)󠁿

 [neptunotech](https://profiles.wordpress.org/neptunotech/) 15 Tháng 3, 2021

Great Work, excellent customer service

![](https://secure.gravatar.com/avatar/b551084fde53178f1051cfea413134f7d5ce342efaf5388c2e76ac1159365d26?
s=60&d=retro&r=g)

### 󠀁[Easy to use and amazing support](https://wordpress.org/support/topic/easy-to-use-and-amazing-support-8/)󠁿

 [Myum](https://profiles.wordpress.org/myum/) 25 Tháng 2, 2021

Fast integration between WP and FB to share users tables. As long as I register 
to WP, the new user is created in both systems, WP and FB. Dale gave me full support
to configure the plugin, so you can trust that if you have any problem the developer
is there to help you to fix it.

![](https://secure.gravatar.com/avatar/3cd5102f02a274af3362843794cc077859d14bde3eeb9a2f1159cef7421950e5?
s=60&d=retro&r=g)

### 󠀁[The Man Behind the Product](https://wordpress.org/support/topic/the-man-behind-the-product/)󠁿

 [aboyinmidair](https://profiles.wordpress.org/aboyinmidair/) 27 Tháng 1, 2021

First off, this product is amazing. I've managed to use wordpress, which Im extremely
comfortable with and love, to build a site that allows users to access their app
data on web. Second, Dale is unbelievably helpful when it comes installation. The
installation process is straight forward but I had a minor oversight. With speedy
replies, Dale helped me and was extremely hands on while trying to tackle my issue.

 [ Đọc tất cả 20 đánh giá ](https://wordpress.org/support/plugin/integrate-firebase/reviews/)

## Người đóng góp & Lập trình viên

“Integrate Firebase” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ Dale Nguyen ](https://profiles.wordpress.org/hanthuy/)

[Dịch “Integrate Firebase” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/integrate-firebase)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/integrate-firebase/), check
out [SVN repository](https://plugins.svn.wordpress.org/integrate-firebase/), hoặc
theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/integrate-firebase/)
qua [RSS](https://plugins.trac.wordpress.org/log/integrate-firebase/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

#### 0.10.0

 * update tested version
 * feedback from wordfence

#### 0.9.3

 * update css wording

#### 0.9.2

 * test support for WP v6.5.2

#### 0.9.1

 * Fix support WP version

#### 0.9.0

 * Bump support version to WordPress v5.9

#### 0.8.0

 * Updated firebase packages to 8.2.5
 * Moved scripts to the end of body tag

#### 0.7.0

 * Fixed add_options_page error
 * Preformated data before showing in dashboard
 * Delegated button style to WordPress
 * Updated firebase package to 7.18.0

#### 0.6.1

 * Removed hide realtime table script

#### 0.6.0

 * Show realtime data publicly

#### 0.5.3

 * Update firebase scripts

#### 0.5.2

 * Show realtime database after login

#### 0.5.1

 * Hide login form after logging in

#### 0.5.0

 * Add shortcode to display when not login
 * Add error handling shortcode

#### 0.4.0

 * Added Firestore database support in Dashboard

#### 0.3.2

 * Fixed firebase show shortcode

#### 0.3.1

 * Fixed get firebase credentials

#### 0.3.0

 * Added about information
 * Added Real Time database support in Dashboard

#### 0.2.2

 * Fixed readme typos

#### 0.2.1

 * Change plugin name
 * Update logout shortcode

#### 0.2.0

 * Add scripts & styles
 * Allow to show and hide data after login

#### 0.1.0

 * Started the project and add authentication method

## Meta

 *  Phiên bản **0.10.0**
 *  Cập nhật lần cuối **2 năm trước**
 *  Số lượt cài đặt **500+**
 *  Phiên bản WordPress ** 4.0.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **6.7.8**
 *  Phiên bản PHP ** 5.2.4 hoặc cao hơn **
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/integrate-firebase/)
 * Thẻ
 * [firebase](https://vi.wordpress.org/plugins/tags/firebase/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/integrate-firebase/advanced/)

## Đánh giá

 5 trên 5 sao.

 *  [  20 5-star reviews     ](https://wordpress.org/support/plugin/integrate-firebase/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/integrate-firebase/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/integrate-firebase/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/integrate-firebase/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/integrate-firebase/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/integrate-firebase/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/integrate-firebase/reviews/)

## Những người đóng góp

 *   [ Dale Nguyen ](https://profiles.wordpress.org/hanthuy/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/integrate-firebase/)

## Ủng hộ

Bạn có muốn hỗ trợ vào sự phát triển của plugin này?

 [ Ủng hộ plugin này ](https://www.paypal.me/DaleNguyen)