Advertise Here

Author Topic: Colored letters in a subject  (Read 2684 times)

0 Members and 1 Guest are viewing this topic.

Offline Mike1140

  • SMF For Free Newbie
  • *
  • Posts: 7
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Colored letters in a subject
« on: September 13, 2009, 09:41:12 am »
Forum Url: http://allmightygamers.smfforfree3.com
Hey I run a cod5 clan And I wold like to be able to Modify there letter and Put accepted in green and Rejected in red. Have tried it and it does not work???
Mike

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: Colored letters in a subject
« Reply #1 on: September 13, 2009, 09:43:15 am »
Hi Mike.

For red, use:
[color=red]TEXT HERE[/color]
Which will give you:
TEXT HERE

For green, use:
[color=green]TEXT HERE[/color]
Which will give you:
TEXT HERE


Offline Mike1140

  • SMF For Free Newbie
  • *
  • Posts: 7
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: Colored letters in a subject
« Reply #2 on: September 13, 2009, 09:45:33 am »
tried this i want this in Subject which is not working. Thank you other ideas?

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: Colored letters in a subject
« Reply #3 on: September 13, 2009, 09:49:05 am »
tried this i want this in Subject which is not working. Thank you other ideas?

Oh! In the subject area, not in the body area, sorry about that.

Yea you can't use coding in the subject itself, so there's no way to do this.

Offline Mike1140

  • SMF For Free Newbie
  • *
  • Posts: 7
    • View Profile

  • Total Badges: 5
    Badges: (View All)
    Topic Starter Level 1 First Post Second year Anniversary One year Anniversary
Re: Colored letters in a subject
« Reply #4 on: September 13, 2009, 11:46:44 am »
Ok have they thought about doing this

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: Colored letters in a subject
« Reply #5 on: September 13, 2009, 01:08:19 pm »
Would be nice, wouldn't it.  I am sure that if it was possible or easy SMF would have it available by now.


And I Play:  Mafia-Mandemz

Offline Andrew

  • Helpers
  • *
  • Posts: 2060
  • Andrew at your service
    • View Profile
    • Alabama Weather Prediction

  • Total Badges: 32
    Badges: (View All)
    10 Poll Votes Level 6 Eighth year Anniversary Seventh year Anniversary Sixth year Anniversary
Re: Colored letters in a subject
« Reply #6 on: September 13, 2009, 01:15:23 pm »
Heh, the only way I could make a topic colored is if I use the change username across board code and put my name in the topic, that would color it.

Oh! That gives me an idea!

Mike1140: Add this to your footers:
Code: [Select]
<script>
function name_across_board() {
//Created by Agent Moose (smcodes.smfforfree3.com)
$(function() {
var vfour = new Array()
vfour[vfour.length] = ["Rejected","","red","<b>"]
vfour[vfour.length] = ["Accepted","","green","<b>"]

for(f=0;f<vfour.length;f++){
$("a").each(function() {
if(this.innerHTML.match(vfour[f][0])){this.innerHTML = this.innerHTML.replace(vfour[f][0],"<font color='"+vfour[f][2]+"'>"+vfour[f][3]+vfour[f][(vfour[f][1] != "" ? 1 : 0)]+"</font>");};
});};});}
name_across_board();
</script>

That code is originally designed to change a username color, but it will also color the subject

So in a topic you can put Accepted or Rejected, and after you post it, it will color it. :)

Offline LaundryLady

  • Helpers
  • *
  • Posts: 3253
  • Internet Challenged
    • View Profile

  • Total Badges: 26
    Badges: (View All)
    Seventh year Anniversary Sixth year Anniversary Search Poll Voter Level 5
Re: Colored letters in a subject
« Reply #7 on: September 13, 2009, 01:26:59 pm »
Slick!! Sybil said you were a smart cookie, Andrew.


And I Play:  Mafia-Mandemz

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
909 Views
Last post December 18, 2006, 01:55:16 pm
by Crasy
2 Replies
1570 Views
Last post March 20, 2007, 06:48:40 pm
by BigHoncho
32 Replies
4408 Views
Last post March 31, 2007, 01:47:10 pm
by simply sibyl
0 Replies
532 Views
Last post September 15, 2009, 07:58:33 pm
by simply sibyl
9 Replies
3719 Views
Last post June 06, 2010, 10:24:31 pm
by SMF For Free