News:

Create A Forum Installed

Author Topic: [help] Name crowns  (Read 547 times)

0 Members and 1 Guest are viewing this topic.

Offline ryanh2633

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Combination Level 2 Karma Good
[help] Name crowns
« on: August 17, 2012, 05:46:58 pm »
ok guys, thanks so much for reading as i need help. How do i add a crown next to forum names? like an owner crown next to my name on my profile?


example here:


http://prntscr.com/dybr0


Any help would be greatly appreciated, thanks a bunch guys!

Share on Facebook Share on Twitter


Offline Seldom Fail

  • Global Moderator
  • *****
  • Posts: 207
  • Karma: 30
  • Gender: Male
    • View Profile

Badges: (View All)
Karma Good Karma Bad Level 5
Re: [help] Name crowns
« Reply #1 on: August 17, 2012, 05:57:43 pm »
I think this might accomplish what you're after: Membergroup Image
<--- Donate to CreateAForum! :D

Jeremiah 33:3

Offline ryanh2633

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Combination Level 2 Karma Good
Re: [help] Name crowns
« Reply #2 on: August 17, 2012, 06:03:11 pm »
Thank you very much but i have another question, on the online list it shows my name as the color i want it to be but when i go to my profile it isnt? heres examples:


http://prntscr.com/dyclq << thats the color i want but on my profile it looks like this:


http://prntscr.com/dycno << thats the problem, sorry to bust your balls but i need help :/ thank you very very much seldom




Offline Seldom Fail

  • Global Moderator
  • *****
  • Posts: 207
  • Karma: 30
  • Gender: Male
    • View Profile

Badges: (View All)
Karma Good Karma Bad Level 5
Re: [help] Name crowns
« Reply #3 on: August 17, 2012, 06:08:10 pm »
Changing it in the online list doesn't change it for the whole forum. For that you'd need another code.

Code: [Select]
<script>
function color_group_name() {
//Created by Agent Moose (smcodes.smfforfree3.com)
var group = new Array()
group[group.length] = ["Newbie","orange"]
group[group.length] = ["MEMBER GROUP","COLOR"]

for(f=0;f<group.length;f++){
$("div.smalltext").each(function() {
if(this.innerHTML.match(group[f][0])){
this.innerHTML = this.innerHTML.replace(group[f][0],"<font color='" + group[f][1] + "'>" + group[f][0] + "</font>");
};});};}
color_group_name();
</script>

This one should work. Just change "newbie" to "administrator" or whatever group you want to change, and then put that color in place of "orange". Hex color codes also work there.
<--- Donate to CreateAForum! :D

Jeremiah 33:3

Offline ryanh2633

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
    • View Profile

Badges: (View All)
Combination Level 2 Karma Good
Re: [help] Name crowns
« Reply #4 on: August 17, 2012, 06:11:28 pm »
thank you so much man your a life saver!

 

Related Topics

  Subject / Started by Replies Last post
1 Replies
569 Views
Last post November 04, 2012, 05:04:40 pm
by aIURbliS
4 Replies
935 Views
Last post December 06, 2012, 12:16:07 am
by terrel8125