Title: Comments and user authentication
Last modified: August 21, 2016

---

# Comments and user authentication

 *  [1cookie](https://wordpress.org/support/users/1cookie/)
 * (@1cookie)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/comments-and-user-authentication/)
 * hi
    I’d like to allow/disallow users to make comments on my blog based on a condition
   they are actively registered and logged in to a VBulletin website – one I host
   say. I was thinking some kind of cookie authentication.
 *     ```
       if ( !isset($_COOKIE["VB_userid"])) {
        // You need to be logged in to VBulletin to post comments.
        // Disable comments form.
       } else { // Show comments form}
       ```
   
 * It’s a starting point although I doubt if it will be this simple in real terms.
   Could you give me any pointers as where to start.

The topic ‘Comments and user authentication’ is closed to new replies.

## Tags

 * [cookies](https://wordpress.org/support/topic-tag/cookies/)
 * [vbulletin](https://wordpress.org/support/topic-tag/vbulletin/)

 * 0 replies
 * 1 participant
 * Last reply from: [1cookie](https://wordpress.org/support/users/1cookie/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/comments-and-user-authentication/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
