MyBB Support

How to add this??

Submitted by Mr_Joker, , Thread ID: 5108

Thread Closed
Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
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??

Akay
We are!
Level:
0
Reputation:
28
Posts:
946
Likes:
109
Credits:
2.05K
27-06-2015, 03:11 AM
#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??

linkzy
No pressure, no diamonds
Level:
0
Reputation:
181
Posts:
5.34K
Likes:
341
Credits:
54
27-06-2015, 03:20 AM
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??

Mr_Joker
YouR JuSt G4Y
Level:
0
Reputation:
3
Posts:
795
Likes:
51
Credits:
493
OP
27-06-2015, 03:39 AM
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: 1 Guest(s)