How to add this??

by Mr_Joker - 27-06-2015, 03:09 AM
YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
32
Credits:
349
Reputation:
3
2 Years of Service
#1
OP
Posted: 27-06-2015, 03:09 AM
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
We are!
Posts:
1,044
Joined:
Jan 2015
Likes:
108
Credits:
1,914
Reputation:
25
2 Years of Service
#2
Posted: 27-06-2015, 03:11 AM
PHP Code:
<if $post ['uid'] == 1 then>{$post['usertitle']} <br> <span style="color: red;">Administrator</span><else>{$post['usertitle']}</if> 
لا إله إلا الله‎
Posts:
6,328
Joined:
Jan 2015
Likes:
301
Credits:
363
Reputation:
162
2 Years of Service
#3
Posted: 27-06-2015, 03:20 AM (This post was last modified: 27-06-2015, 03:20 AM by linkzy.)
(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- Best forever .. | v4hl - ;) | Addicted | Senpai | Nyan | Sensei | H | fdigl |
[Image: gZD4Fba.png]

YouR JuSt G4Y
Posts:
879
Joined:
Feb 2015
Likes:
32
Credits:
349
Reputation:
3
2 Years of Service
#4
OP
Posted: 27-06-2015, 03:39 AM (This post was last modified: 27-06-2015, 03:57 AM by Mr_Joker.)
(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
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)