Not a bug  member_card hooks

Jeremy P

Well-known member
The template hooks in "member_card" do not include the $user variable as a parameter.

While this may not technically be considered a bug, it does severely impact the practical use of the hook, as you would think most links placed here are user-specific.

Jeremy P

Well-known member
Hmm, well nevermind I suppose.

as suggested elsewhere to get the params available to the template.

Not sure if actual <xen:hook> params were intended for something else, but if not I would argue $user would be a useful addition here.


XenForo developer
Staff member
Params are only passed when you can't figure out what's applicable without them. Basically that means when the hook is within a loop.