MyBB Support

How to add this??

Submitted by Mr_Joker, , Thread ID: 5108

Thread Closed
27-06-2015, 03:09 AM
#1
Right let me explain this properly just so you guys don't get confused or anything...

I'd like to know how can i do this like Example this user has 2 titles one which is custom User Title which can be edited through user CP another title is Administrator in red how can i do that please? Have 2 titles Admin and my custom title...

PREVIEW:
http://prntscr.com/7lslkb



A little help with this will be appreciated!

Thank You Smile

RE: How to add this??

#2
PHP Code:
<if $post ['uid'] == 1 then>{$post['usertitle']} <br> <span style="color: red;">Administrator</span><else>{$post['usertitle']}</if> 

RE: How to add this??

This post was last modified: 27-06-2015, 03:20 AM by linkzy
#3
27-06-2015, 03:11 AM
Akay Wrote:
PHP Code:
<if $post ['uid'] == 1 then>{$post['usertitle']} <br> <span style="color: red;">Administrator</span><else>{$post['usertitle']}</if> 

But what if they want it in all users ?
Is it possible
| A | v4hl| Addicted | Senpai | Sui | Sensei | H | fdigl |


RE: How to add this??

OP
This post was last modified: 27-06-2015, 03:57 AM by Mr_Joker
#4
27-06-2015, 03:11 AM
Akay Wrote:
PHP Code:
<if $post ['uid'] == 1 then>{$post['usertitle']} <br> <span style="color: red;">Administrator</span><else>{$post['usertitle']}</if> 

I want it for Staff members and other groups please?

linkzy
Found a way actually.....

Add this in postbit classic...
{$usergroup['title']}<br />

Then go Users & Groups > Groups > Administrators >

Edit Title *
To > <span style="color: #FF0000;">Administrators</span>

Done Smile

Users browsing this thread: 2 Guest(s)