News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Change Custom User Title colour?

Started by phpMyTony, December 26, 2008, 10:29:42 PM

Previous topic - Next topic

phpMyTony

Is there any way to do this? I have seen on a vbulletin board that somebody done this before, the admin done it.

sAce


Acans

Username or custom title, maybe BBC or HTML work in the custom title, try it, if not ask in SMF coding or something, is this for everybody or one member
"The Book of Arantor, 17:3-5
  And I said unto him, thy database query shalt always be sent by the messenger of $smcFunc
  And $smcFunc shall protect you against injections and evil
  And so it came to pass that mysql_query was declared deprecated and even though he says he is not
  dead yet, the time was soon to come to pass when mysql_query shall be gone and no more

phpMyTony

I'd want this for everybody. Also, BB Code doesn't work..

Kermit

how about this  ::)

in Display.template.php

Code (find) Select

// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
', $message['member']['title'], '<br />';


Code (replace with) Select

// Show the member's custom title, if they have one.
if (isset($message['member']['title']) && $message['member']['title'] != '')
echo '
<font color="red">', $message['member']['title'], '</font><br />';


<font color="red">

it's up to you
My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

phpMyTony

Would that change everybody who has a custom title, to red?

Kermit

My Mods
Please don't PM/mail me for support,unless i invite you
Formerly known as Duncan85
Quote
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

A. Einstein

phpMyTony


xB420WA

the color only red or we can change it?

Kindred

Mod specific questions should be asked in the support topic for that mod.
Слaва
Украинi

Please do not PM, IM or Email me with support questions.  You will get better and faster responses in the support boards.  Thank you.

"Loki is not evil, although he is certainly not a force for good. Loki is... complicated."

Advertisement: