MyBB Community Forums
Custom User Title - Printable Version

+- MyBB Community Forums (https://community.mybb.com)
+-- Forum: 1.8 Support (https://community.mybb.com/forum-175.html)
+--- Forum: General Support (https://community.mybb.com/forum-176.html)
+--- Thread: Custom User Title (/thread-171297.html)



Custom User Title - ljervis - 2015-05-31

I would like to create a custom user title that only the moderators can edit and is based on rank within the company. I would like it displayed as an image (one I'll create) rather than text. I would prefer it in place of the current user title that is generated based on number of posts or the user group default. However, in addition to these user titles would be acceptable. How do I make this happen?


RE: Custom User Title - Ben - 2015-06-01

I don't think HTML will be accepted into user titles as they are made for plain text.


RE: Custom User Title - Sazze - 2015-06-01

<if $post ['usergroup'] == 3 then><img src="#"><else>{$post['usertitle']}</if>


RE: Custom User Title - Ben - 2015-06-01

(2015-06-01, 03:10 PM)Akay Wrote: <if $post ['usergroup'] == 3 then><img src="#"><else>{$post['usertitle']}</if>

Quote:I would like to create a custom user title that only the moderators can edit and is based on rank within the company.



RE: Custom User Title - ljervis - 2015-06-01

Akay and Ben C, where do I put this code? I'm an absolute novice!


RE: Custom User Title - Ben - 2015-06-01

With that code moderators will not be able to edit it. The administrator will manually have to edit it in the templates of the ACP.