Implemented Visitor extra with code event.

Liam W

Well-known member
We can currently add additional relations to fetch with the visitor entity by extending the User repository.

It would be less faff, and less chance for breakages, if there was a code event to do this :)

Liam
 
Last edited:

Jake B.

Well-known member
The visitor object just uses the User entity IIRC, so you can add any relations to the User entity and they'll be available, unless you're talking about something else :p

Never mind, just reread it :)
 

Mike

XenForo developer
Staff member
I've added a visitor_extra_with to the getVisitorWith method in the User repo, so that should sort this.
 
Top