Re: Change Admin text under avatar
Posted by
GregChapman on
Aug 09, 2018; 3:49pm
URL: https://support.nabble.com/Change-Admin-text-under-avatar-tp7601206p7601211.html
I have just tried making this macro edit and, without testing thoroughly, it appears to work:
<override_macro name="avatar_label" parameters="condition" dot_parameter="label">
<n.if.condition>
<then>
<div class="avatar-label weak-color"><img src="http://support.nabble.com/file/n7601206/admin-1.png"/></div>
</then>
</n.if.condition>
</override_macro>
Note: I just used the URL of the image in your post to replace the code
<n.label/>
in the original macro. What I did is extremely crude as, should you have any banned users, they'll come up with the Administrator image as well. The trouble is I'm not confident of my ability to write the if/then code to make sure it displays "Banned User" when it should!
If you can work out how to do that, let me know!
Also, as the avatars are only 100px wide, I reckon your image is over-large for the space available!
Volunteer Helper - but recommending that users move off the platform!
Once the admin for GregHelp now deleted.