Forums

[Plugin: wavr] Hide wavr if user is not signed in? (3 posts)

  1. xintron
    Member
    Posted 2 years ago #

    Is it possible to hide the wavr if the user is not signed in on their google-account and therefor won't have access to wave?

    http://wordpress.org/extend/plugins/wavr/

  2. lucascaro
    Member
    Posted 2 years ago #

    Hi and thanks for being interested on the plugin!
    I don't think that's part of the embed api. Anyways there must be a way to do it with some javascript.
    I guess it could show a link to google wave's login page if the user is not connected.
    I'll have this in mind for the next release (and if someone knows a way to do it I'l be more than happy to include it on wavr).

  3. xintron
    Member
    Posted 2 years ago #

    I looked into it and it seems that there's no good way to check if the user is logged in to Google Wave or not. You can see if the user is logged in to a google account, but not if that account has access to wave. Hopefully it'll be added together with the other checks (you can see if user has calendar, docs etc).

    Currently the loginpage IS shown, but it looks weird without a scrollbar if you set your wavr-window smaller than what's needed on the google wave login page.

    One thought I had was to check the loaded content for the login-form but that's another problem, javascript don't usually let you do that (from what I know there are ways to get around this).

    Anyways, would be glad to help if you need a hand in your project. But for my own needs I won't add wavr to my blog, not unless I can hide the output if the user has no access.

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags