Can anyone help me with a variation of the above please?
What I want to do is display the reason a user was banned under the word 'Banned' in the postbit.
I created a new plugin and inserted kh99's code. I assigned this plugin to the hook postbit_display_complete and made it active.
Then in the postbit template I inserted the code
Code:
<if condition="$bbuserinfo[banned_reason_text]"><div class="smallfont">$bbuserinfo[banned_reason_text]</div></if>
just below where user titles are displayed. Yet the reason the user was banned does not display. Any ideas why not, please?