DIR Return Create A Forum - Home
---------------------------------------------------------
Create A Forum - Support Forums
HTML https://support.createaforum.com
---------------------------------------------------------
*****************************************************
DIR Return to: General Support
*****************************************************
#Post#: 5747--------------------------------------------------
[help] Name crowns
DIR By: ryanh2633
Date: August 17, 2012, 12:46 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:
HTML http://prntscr.com/dybr0
Any help would be greatly appreciated, thanks a bunch guys!
#Post#: 5751--------------------------------------------------
Re: [help] Name crowns
DIR By: Jaron
Date: August 17, 2012, 12:57 pm
---------------------------------------------------------
I think this might accomplish what you're after: Membergroup
Image
HTML http://support.createaforum.com/create-a-forum-codes-and-support/(code)-membergroup-image/msg686/#msg686
#Post#: 5754--------------------------------------------------
Re: [help] Name crowns
DIR By: ryanh2633
Date: August 17, 2012, 1:03 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:
HTML http://prntscr.com/dyclq
<< thats the color i want but on my
profile it looks like this:
HTML http://prntscr.com/dycno
<< thats the problem, sorry to bust
your balls but i need help :/ thank you very very much seldom
#Post#: 5755--------------------------------------------------
Re: [help] Name crowns
DIR By: Jaron
Date: August 17, 2012, 1:08 pm
---------------------------------------------------------
Changing it in the online list doesn't change it for the whole
forum. For that you'd need another code.
--- Code ---
<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>
--- End Code ---
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.
#Post#: 5756--------------------------------------------------
Re: [help] Name crowns
DIR By: ryanh2633
Date: August 17, 2012, 1:11 pm
---------------------------------------------------------
thank you so much man your a life saver!
*****************************************************
Page 1 of 1