It's worth bearing in mind the distinction between $user and $visitor; $visitor is always the record for the current logged in user, $user is the record being processed (e.g. message author, member list, list of online users, etc.).

Active member

Thank you, but I need another pointer as I am still lost. L
ooking at phpmyadmin, I know I need thehomepage
field, from the
xf_user_profile
table
but I need another baby step to identify what this would be called in the xenforo syntax.

I see I can print the user who posted the photo's linked username by using:
{xen:helper username, $user}<xen:username user="$media" />
on the xengallery_media_view template.
(not sure if the above is the correct or ideal syntax but it seems to work.)

Following the second tutorial, I don't know where to begin in terms of the variablename to test for to match the above table and column using the {xen:helper dump, $variablename} to see if variablename is available.

Active member

OK, used {xen:helper dump, $media} to dump the variables available on the xengallery_media_view template
and it seems I can access {$media.homepage} which is the user's homepage who added the media. So I lucked out and it's easy. Thanks!

I'm not up to speed at all on the xenforo syntax obviously, so need to get up to speed rapidly Thank you for the help and tutorials you've provided!