PDA

View Full Version : Help - font color help


BlackJacket
02-02-2009, 08:10 PM
How cani have Admins font color always red? Moderators always blue? etc...

Thank you very, VERY much! :)

Dismounted
02-03-2009, 05:14 AM
Admin CP > Usergroups > Usergroup Manager > Edit Usergroup > HTML Markup. Enter the HTML to go before the name in the first box, and the HTML to go at the end in the second box. (Also click the little question mark for extra hints.)

BlackJacket
02-03-2009, 10:37 AM
Admin CP > Usergroups > Usergroup Manager > Edit Usergroup > HTML Markup. Enter the HTML to go before the name in the first box, and the HTML to go at the end in the second box. (Also click the little question mark for extra hints.)

Thanks Dismounted. I will check this out now. :)

--------------- Added 1233664971 at 1233664971 ---------------

Does this change the font color etc... when that specific usergroup makes a post? Would their text be red or blue etc...

Thanks again!

Dismounted
02-04-2009, 07:21 AM
Oh, I thought you meant username colours. To do that, you must edit the postbit(_legacy) template, and use conditionals to change the text colour according to the usergroup. Place the conditionals around the message variable.

BlackJacket
02-04-2009, 09:41 PM
Oh, I thought you meant username colours. To do that, you must edit the postbit(_legacy) template, and use conditionals to change the text colour according to the usergroup. Place the conditionals around the message variable.

Im a noob when it comes to that. Could you show me?

Thank you very, VERY much! :)

--------------- Added 1233845644 at 1233845644 ---------------

http://i531.photobucket.com/albums/dd353/BorderlineMoose/RANDOM/bump2.jpg

--------------- Added 1233845691 at 1233845691 ---------------

errr this auto merge is getting annoying. :(

How come it auto merges sometimes, but others it will make a new post?

Lynne
02-05-2009, 04:08 PM
searching "color" "titles only" gives me this thread - https://vborg.vbsupport.ru/showthread.php?t=200924&highlight=color

BlackJacket
02-05-2009, 04:36 PM
searching "color" "titles only" gives me this thread - https://vborg.vbsupport.ru/showthread.php?t=200924&highlight=color

I had searched before but i didnt find it. :(

For future reference -
Find in postbit_Legacy -
<!-- message -->
<div id="post_message_$post[postid]">
$ad_location[ad_showthread_firstpost_start]
$post[message]
</div>
<!-- / message -->

Replace This -

<div id="post_message_$post[postid]">


With this -

<if condition="is_member_of($post, 6)">
<div id="post_message_$post[postid]" style="color: red; font-weight: bold;">
<else />
<if condition="is_member_of($post, 7)">
<div id="post_message_$post[postid]" style="color: orange;">
<else />
<div id="post_message_$post[postid]" style="color: black;">
</if>
</if>

You can change the number to any group you want And change the colors and font-weight to whatever you want unless you really want bold red text for your administrators and orange text for your moderators!

Thanks Lynne for the help! :)

Lynne
02-05-2009, 05:09 PM
You can change the number to any group you want.

And change the colors and font-weight to whatever you want unless you really want bold red text for your administrators and orange text for your moderators!