2014-12-18, 09:26 PM
2014-12-18, 09:51 PM
It's not an error, you can't use HTML in usertitles. Well, you can, but it's escaped.
2014-12-18, 10:36 PM
what do I need to use, give me an example please
2014-12-18, 11:29 PM
As I said above, you can't use HTML, it will be output as escaped plain text.
You need to use a plugin like this: http://mybbsource.com/mods.php?act=view&id=63 to enable HTML (not recommended).
You need to use a plugin like this: http://mybbsource.com/mods.php?act=view&id=63 to enable HTML (not recommended).
2014-12-19, 01:17 AM
I was working in version 1.6.16 but not working 1.8.3
2014-12-19, 02:33 AM
^ that facility removed from MyBB 1.8.x to prevent some vulnerability
2014-12-19, 06:35 AM
Follow the easy instructions below.
1. First of all, get this plugin (Allows you to have PHP in templates, which will help you out to get this custom usertitle).
Link: http://mybbhacks.zingaburga.com/showthread.php?tid=260
2. Install & activate it.
3. Go to "ACP > Templates & Style > choose the template you are currently using > Post Bit Templates > postbit (or postbit_classic [ONLY IF YOU ARE USING CLASSIC MODE!])
4. Find
replace that with
After it's done, it should look like this (In threads, posts, postbit..)
![[Image: qxmxPhu.png]](https://camo.mybb.com/53bb9255dfac2c4fb0a4452ba9c74cb761b60639/687474703a2f2f692e696d6775722e636f6d2f71786d785068752e706e67)
Where it says "UIDHERE" replace that with your UID, and where it says "Custom usertitle" change that to whatever usertitle you want.
Feel free to change the color as well.
1. First of all, get this plugin (Allows you to have PHP in templates, which will help you out to get this custom usertitle).
Link: http://mybbhacks.zingaburga.com/showthread.php?tid=260
2. Install & activate it.
3. Go to "ACP > Templates & Style > choose the template you are currently using > Post Bit Templates > postbit (or postbit_classic [ONLY IF YOU ARE USING CLASSIC MODE!])
4. Find
{$post['usertitle']}
replace that with
<if $post['uid'] == UIDHERE then><i style="color: #F64EC1;font-style: normal;font-size: 13px;"><i>Custom usertitle</i><else>{$post['usertitle']}</if>
After it's done, it should look like this (In threads, posts, postbit..)
Where it says "UIDHERE" replace that with your UID, and where it says "Custom usertitle" change that to whatever usertitle you want.
Feel free to change the color as well.
2014-12-19, 06:58 AM
^ template conditionals plugin is preferred than php in templates to avoid any mischief activities by other admins