dalenguyen / firebase-wordpress-plugin

A plugin that helps to integrate Firebase to WordPress
https://firebase-wordpress-docs.readthedocs.io
GNU General Public License v2.0
111 stars 31 forks source link

Not logged in message #5

Closed rickmgithub closed 6 years ago

rickmgithub commented 6 years ago

Can I first say, thank you for this plugin. If you keep developing this I think you are onto something very powerful and profitable for you. Great start!

One thing I would really like right now is a short code to show content if you are not logged in. So exactly the same way as it shows content if you are but the opposite. This way we can have a message saying something like "Login to see the rest of the page" if they are not logged in.

This would be my first request.

The second request would be some message which said "sorry those login details were not correct" or similar when someone entered the wrong login details.

Great stuff so far though!

dalenguyen commented 6 years ago

Hi @rmidson, thanks for making the request. I think these do make sense, and I will work to update it :)

rickmgithub commented 6 years ago

Superb! Looking forward to testing. Thanks.

dalenguyen commented 6 years ago

Hi @rmidson, please update to version 0.5.0 and try the error handling shortcode with show content to a user who is not logged in.

rickmgithub commented 6 years ago

Great stuff! Works really well! I will put it to the test.

rickmgithub commented 6 years ago

Hi. Been trying it. It's great.

Just one thought. In the same way as the signout button disappears when you sign out, can the login form disappear when you login succesfully?

I tried putting [firebase_show_not_login] around the [firebase_login] shortcode just in case to see if it would only appear when a user was logged out but that didn't seem to be a solution.

Great work.

dalenguyen commented 6 years ago

Hi @rmidson, you're right. I will update it in the next release. Please keep using, review, spread and request more features ;)

dalenguyen commented 6 years ago

Hi @rmidson, please update the plugin to version 0.5.1 in order to hide the login form. If you have another request, you can create a new ticket for it. Thanks ;)