Skip to:

Re: BP 1.1.3: Display non-member comments in site-wide activity stream?

Boone Gorges


The problem with this project is that one of the crucial pieces of data stored with activity items is the user_id, and for non-logged-in-users there is obviously no user_id. So you have to fake it somehow.

One thought is to have a plugin create a dummy user. All comments from non-logged-in users will be assigned to that user. Then filter the activity content on the way out to detect that user’s ID and rewrite the activity item with the correct commenter name/email address.

It’s something I’ve been mulling over for a little while, and I will tackle it when I get a few spare hours. If anyone else wants to make it happen, that would be cool too :)

Skip to toolbar