Jump to the post that solved this thread.
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 7 Years, 10 Months, 1 Week ago Change User Title for admin/mods only
#1
Solved: 7 Years, 10 Months, 1 Week ago Information 
Hey guys,

I'd like to change the font-color of the user titel of moderators/admin/super admin..

[attachment=31146]
#2
Solved: 7 Years, 10 Months, 1 Week ago
In postbit template find:

{$post['usertitle']}<br /> and replace with this one!

<if in_array($post['usergroup'], array('3', '4', '6')) then>
<span style="font-size: 20px;">{$post['usertitle']}</span><br /><else>{$post['usertitle']}<br />
</if>

Edit font-size and user group!


Or
<if $post['usergroup'] == 3 then>
<if $post['usergroup'] == 3 || $post['usergroup'] == 4 || $post['usergroup'] == 6 then>
#3
Solved: 7 Years, 10 Months, 1 Week ago
Hey marcus,

Worked for super mod, but didn't change for moderators.
Also, Is it possible to give "Administrator" a diff color/style?
#4
Solved: 7 Years, 10 Months, 1 Week ago
Admin Panel >> Users & Groups >> Groups >> edit required group (admin / super Mod / Mod) >> Default User Title

Default User Title field accepts regualr html format codes. for eg. for Super Moderators :
<span style="color: #CC00CC;"><strong>Super Moderator</strong></span>
#5
Solved: 7 Years, 10 Months, 1 Week ago
Oh I didn't even try that.. Thought it didn't support HTML Big Grin

Thankies!
#6
Solved: 7 Years, 10 Months, 1 Week ago
(2014-03-05, 02:47 PM).m. Wrote: Admin Panel >> Users & Groups >> Groups >> edit required group (admin / super Mod / Mod) >> Default User Title

Default User Title field accepts regualr html format codes. for eg. for Super Moderators :
<span style="color: #CC00CC;"><strong>Super Moderator</strong></span>

The problem is that when they change their default user title it will no longer work!

You need to use template conditional that will always maintain font size!
Jump to the post that solved this thread.


Forum Jump:


Users browsing this thread: 1 Guest(s)