![]() |
Home Community Mys-Script Creative Off-Topic |
|
![]() |
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
![]()
Okay, you know that if a user is an Administrator, an image of a star would appear next to their username on the profile.php and profile.php?user=XXX?
I have been trying to do something extremely similar >.>, but failed... so how would you do that with a different icon for banned members? I have no knowledge of PHP, but I can modify stuff, and I have tried to do so...
__________________
Regards, ...the CSS lovin' cookie monster... ~C.Maestro ![]() ![]() ___________________ I'd like to think I'm good at CSS&HTML, so if you need help with designing templates and stuff, feel free to 'come at me bro' with the questions. Haha, also if you need help with installing the Mysidia Adoptables Script, please check out my guide here! |
#2
|
|||
|
|||
![]() PHP Code:
|
#3
|
||||
|
||||
![]()
Could this be used on other users groups too?
|
#4
|
|||
|
|||
![]()
Yes, just change the number from that code to the usergroup's number you desired.
|
#5
|
|||
|
|||
![]()
Whut? o-o PHP Geniuses saves the day xD
Thank you Fadill :3
__________________
Regards, ...the CSS lovin' cookie monster... ~C.Maestro ![]() ![]() ___________________ I'd like to think I'm good at CSS&HTML, so if you need help with designing templates and stuff, feel free to 'come at me bro' with the questions. Haha, also if you need help with installing the Mysidia Adoptables Script, please check out my guide here! |
#6
|
|||
|
|||
![]()
Wait....
Where exactly does the code: Code:
if($usergroup == 5){ // Default banned usergroup for Mys is 5 (RA == 7) $userdisp = "<img src='path/to/image.ext'> ".$usersname.""; } else{ $userdisp = $usersname; } And what would the code for it to show on the profile.php page? And where would it go? o-o... Sorry for all these questions. And I do believe I posted in the wrong section, does this thread need to be moved to "Questions and Supports"?
__________________
Regards, ...the CSS lovin' cookie monster... ~C.Maestro ![]() ![]() ___________________ I'd like to think I'm good at CSS&HTML, so if you need help with designing templates and stuff, feel free to 'come at me bro' with the questions. Haha, also if you need help with installing the Mysidia Adoptables Script, please check out my guide here! |
![]() |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Profile Bio Box | Kyttias | Questions and Supports | 4 | 12-22-2014 10:55 PM |
Resize Profile? | AlexC | Questions and Supports | 2 | 05-07-2013 11:09 PM |
A Little Problem with the Profile | Abronsyth | Questions and Supports | 1 | 01-29-2013 06:38 PM |
Profile Add-Ons :3 | PTGigi | Mys v1.1.x Mods | 9 | 02-17-2011 02:48 PM |
Last 10 visitors to your profile! | Hall of Famer | Other Chat | 8 | 01-21-2011 05:20 PM |
What's New? |
What's Hot? |
What's Popular? |