Who viewed questions ?

3.74K viewsGeneral
0

Hi. To enable the social aspect of my site, I’d like to be able to show which users (those logged in) have viewed questions posted.

Any pointers on how this could work ?

 

Thanks

0

Hello,

You need to enable views logging first. Use this filter:

https://github.com/anspress/anspress/blob/master/includes/views.php#L60

Then you can fetch user IDs from DB for specific post.

You are viewing 1 out of 1 answers, click here to view all answers.