Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Mysidia Adoptables > Questions and Supports

Notices

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 04-18-2009, 06:50 PM
BMR777 BMR777 is offline
Member
 
Join Date: Jan 2011
Posts: 1,122
Gender: Male
Credits: 18,277
BMR777 is on a distinguished road
Default RE: Stars by names on Members list

Yeah, but you'll have to do a little code editing.

In profile.php find:

PHP Code:
$ccstat cancp($usersgroup);
    if(
$ccstat == "yes"){
    
$userdisp "<img src='templates/icons/star.gif'> ".$usersname."";
    }
    else{
    
$userdisp $usersname;
    } 
Replace with:

PHP Code:
if($usersgroup == 1){

// Group 1, Root Admins

$userdisp "<img src='templates/icons/star.gif'> ".$usersname."";
}
else if(
$usersgroup == 2){

// Group 2, Admins

$userdisp "<img src='templates/icons/icon.gif'> ".$usersname."";
}
else if(
$usersgroup == 3){

// Registered Members, no icon
$userdisp $usersname;

}
else if(
$usersgroup == 4){

// Another user group, and so on...

}
else{

// Usergroup is something else, show default style
$userdisp $usersname;


Hopefully you get the idea from that. :)

Brandon
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Domain Names Abronsyth Webmasters Area 4 11-28-2015 04:55 PM
Names for adoptables? tahbikat Adoptables Buzz 1 06-22-2014 12:26 PM
Allow different spelling of names SilverDragonTears Questions and Supports 10 12-31-2012 09:03 PM
Species Names Beaux Questions and Supports 5 05-09-2011 04:07 PM
So old premium members aren't premium members anymore? wilfred888 Feedback and Suggestions 3 02-19-2011 08:44 PM


All times are GMT -5. The time now is 01:36 PM.

Currently Active Users: 2570 (0 members and 2570 guests)
Threads: 4,081, Posts: 32,032, Members: 2,016
Welcome to our newest members, jolob.
BETA





What's New?

What's Hot?

What's Popular?


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636