What's new
Xen Factory

Register today to become a member! Once signed in, you'll be able to start purchasing our products, ask questions, request support and suggest new ideas!

  • This area is dedicated to the support of our xF1 add-ons. For xF2, please use the dedicated area: HERE.

Bug Fixed Profile tab Map is only being shown for self

Kirby

New Member
Condition in templates and xfa_map_member_view_panes and xfa_map_member_view_tab

Code:
<xen:if is="({$user.xfa_map_allow_profile_map} || {$user.user_id} == {$visitor.user_id}) && {$xenOptions.xfa_map_enable_profile_tab}">

As xfa_map_allow_profile_map does not exist in xf_user and does not seem to be generated this will only be true if the user views his own profile.
 
Fixed on my dev forum

You can replace

xfa_map_allow_profile_map

by

xfa_map_allow_position_map
 

From bespoke add-on development to complex integrations and specialized enhancements, we offer a range of XenForo development services designed to help your community thrive.

Start discussing your needs
Back
Top
Cart