Add userbanner to account preferences

Splicho

Synapse-Themes.cc Owner
Staff member
Moderator
Collaborate
Registered
Joined
Jan 21, 2022
Messages
839
Points
153

Reputation:

Hello,

This time i need your help, anyone know how tf do I add the userbanner in account wrapper / preferences page?

Like here:

nrmsMr2.png


I have tried adding
HTML:
<xf:userbanners user="{$xf.visitor}" />
<xf:userbanners user="$user" tag="div" class="message-userBanner" itemprop="jobTitle" />

after <xf:macro template="custom_fields_macros" name="custom_fields_edit" arg-type="users" arg-group="preferences" arg-set="{$xf.visitor.Profile.custom_fields}" />

in account_preferences template

None of them work, anyone got any idea?
 
Top