Viewing unknown page - link to the page?

Stuart Wright

Well-known member
Licensed customer
Some addons, including our own editorial system are lacking when it comes to completing the information needed to avoid the above error.
Is it technically possible to link the above text through to the actual page? If so, could we do it please?
The us admin can track down the culprit?
 
Upvote 0
This is something which each add-on developer needs to implement.

For example, I did it for my own add-on:

upload_2014-1-30_21-17-21.webp
 
It's not technically possible to link to the page - the URL isn't stored.
 
But the controller and action is, @Stuart Wright, so to debug this, get the user's ID, then look them up with this query:

Code:
SELECT user.user_id, user.username, activity.controller_name,
activity.controller_action, activity.view_state
FROM xf_session_activity AS activity
LEFT JOIN xf_user AS user ON
    (user.user_id = activity.user_id)
WHERE user.user_id = 9999

That should return something like this:

upload_2014-1-30_21-42-39.webp

It would be awesome if this information was available in the front end somewhere (maybe in debug mode only on the member card).
 
Back
Top Bottom