Simple Facebook Connect
[resolved] how hide comment box until authentication? (2 posts)

  1. nathanthompson
    Posted 3 years ago #

    Hi Otto (and anyone else!)

    Great plugins, currently using FB & TW versions but I have hacked into the comment box to use it for a charity that want to have users share a message after they have donated, and post what is essentially a version of a comment after being authenticated by wither FB or TW.

    The issue I have is the comment box is ever present, and allows users to post a comment without authentication.

    If I make it that comments have to be registered, it seems the plugins, while they authenticate you, they don't completely register you in the WP system.

    What I was looking for was a hook of some kind that was returned when the user is authenticated by either plugin that I could use to display the comment box, like...

    if authenticated, show comment form, else hide.

    Hope this makes sense?!




  2. Samuel Wood (Otto)
    WordPress.org Tech Dude
    Plugin Author

    Posted 3 years ago #

    SFC doesn't have any real way to do this. You'd need to write your own JS code for that sort of thing.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic