Linux 软件免费装

Integrate Firebase

开发者 hanthuy
更新时间 2024年12月5日 06:22
捐献地址: 去捐款
PHP版本: 5.2.4 及以上
WordPress版本: 6.7.1
版权: GPLv2 or later
版权网址: 版权信息

标签

firebase

下载

0.3.2 0.4.0 0.5.2 0.7.0 0.8.0 0.9.0 0.2.2 0.3.0 0.3.1 0.5.1 0.9.1 0.9.2 0.9.3 0.2.1 0.5.0 0.10.0

详情介绍:

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 version. Links

安装:

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.

屏幕截图:

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

升级注意事项:

Please use github issues when submitting your logs. Please do not post to the forums.

常见问题:

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 . 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]");

更新日志:

0.10.0 0.9.3 0.9.2 0.9.1 0.9.0 0.8.0 0.7.0 0.6.1 0.6.0 0.5.3 0.5.2 0.5.1 0.5.0 0.4.0 0.3.2 0.3.1 0.3.0 0.2.2 0.2.1 0.2.0 0.1.0