Support Forum

Event trace by user?

AN Ann
Ann
Member

Is there any facility to enable an event trace by user – a means of knowing what particular topics are being looked at?

7 Answers

New Answer

KV kvr28
kvr28
Member

Ann, there is a whose online plugin that you can see in action at the bottom of the forum here under see all online activity

https://simple-press.com/downloads/whos-online-plugin/

we also use the visitor maps plugin for wordpress, it is pretty useful for seeing where things are getting linked from on the forums and it keeps a log that you can look through

https://wordpress.org/plugins/visitor-maps/

IK Ike
Ike
Member

Thanks kvr,

I use the visitor map plugin myself on another site and it’s great. Although it doesn’t let you specifically search by user and see a list of what they’ve been looking at, it does give you a good idea as kvr has said of who has been on and what page they’ve been looking at. Well worth a download!

YS Yellow Swordfish
Yellow Swordfish
Member

It’s possible that our Event Log plugin – with a custom action applied – might cater for this but I am unsure without talking it over with @mr-papa first  who wrote the plugin.

MP Mr Papa
Mr Papa
Member

yes, the who’s online plugin will show you which user is visiting which topic…

not sure I follow the question about event logging plugin? not sure how its related to users visiting topics… but @yellow-swordfish mentions custom action…  that plugin can log any wordpress, including simple press, action that gets fired…  the log is only viewable by sp admins in the admin…

YS Yellow Swordfish
Yellow Swordfish
Member

So – if the forum admin wanted to take a look at what topics their users looked at then could the Event Logger be set up to show that? Not ideal perhaps but would it be doable? On page load perhaps? And it would need to include the user ID of the user…

MP Mr Papa
Mr Papa
Member

so you want a complete history of topics visited by user?   not sure using the event logger would really give you what is wanted, but some level is achievable…

would require using custom hook which does not log any data… but does let you provide a callback function so you can log/save whatever data you want with the action…  so if the custom callback function was provided, you could probably save the fact that a topic was viewed (would need to think about which hooks to use) and by which user…

but it would just be thrown into the log with other events logged… sorted by time and would not be searchable…