Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

I'm working on a site running WordPress along with a vBulletin forum. The user base is registered on vBulletin. I need to allow users to appear logged in on WordPress as well for the sole purpose of posting comments with their forum user.

The user must not be replicated on WordPress, so every solution involving the creation of users in the WordPress database is not applicable.

Users recognized in this way need not have any admin or publishing privileges, only the ability to comment so that their comment appears under their forum username.

I had written a simple plugin which was working on an older version, but it's not working anymore with the most recent version of WordPress (3.3.2 at the moment). That solution relied on overriding the pluggable functions wp_validate_auth_cookie and get_userdata.

What are the correct steps to take in order to implement this functionality?

share|improve this question
    
Which version of WordPress did you have the plugin working for? –  icc97 Apr 26 '12 at 12:44
    
I can't recall what version was running when it worked, but I think it was in the 3.1 branch –  Matteo Riva Apr 26 '12 at 12:52
    
You could go down the route of using OpenID –  icc97 Apr 26 '12 at 12:58
add comment

2 Answers

Have you tried Disqus?

They have a plugin that essentially "hijacks" the WP comments function and allows anonymous posting I am fairly certain that it will sync with the user database if they want to post as their WP username.

I have not used it yet but it's on my todo list to implement so unfortunately I can't run you through an install.

share|improve this answer
add comment

There should be no problem with any normal WordPress-vBulletin bridge which syncs user data between the two platforms. Just make sure that synced users have the default role of "Subscriber". This allows them to only post comments, and not to create or edit posts.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.