inherit
First Contributor
66253
0
Mar 18, 2024 11:09:20 GMT -8
aRMY83
2,925
December 2005
army83
|
Post by aRMY83 on Jan 10, 2017 13:03:46 GMT -8
The following modification to the User Profile will indicate that the member account is either disabled or banned:
Go to Admin > Themes > Layout Templates > User Profile and look for: (line 3 or so)
<h1>View Profile - $[user.name] ($[user.username])</h1>
and add this:
{if $[user.account_disabled]} Account Disabled{/if} {if $[user.is_banned]} Member Banned{/if}
right after </h1> (leave space)
It should then look like this:
<h1>View Profile - $[user.name] ($[user.username])</h1> {if $[user.account_disabled]} Account Disabled{/if} {if $[user.is_banned]} Member Banned{/if}
Here is an example if you would like to add explanations to Disabled / Banned accounts:
Caution: Before making any modifications to any templates, do a Ctrl + A + C and then Ctrl + V and save to notepad. It's a good practice to get into when modifying any template.
|
|