Mysidia Adoptables Support Forum  

Home Community Mys-Script Creative Off-Topic
Go Back   Mysidia Adoptables Support Forum > Community Board > Feedback and Suggestions

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 03-20-2011, 10:57 AM
ChibiMaestro ChibiMaestro is offline
bruh
 
Join Date: Nov 2010
Location: United Kingdom
Posts: 300
Gender: Female
Credits: 36,439
ChibiMaestro is on a distinguished road
Default Star next to admin name profile.php

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!
Reply With Quote
  #2  
Old 03-20-2011, 11:59 AM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,896
fadillzzz is an unknown quantity at this point
Default

PHP Code:
    if($usergroup == 5){ // Default banned usergroup for Mys is 5 (RA == 7)
    
$userdisp "<img src='path/to/image.ext'> ".$usersname."";
    }
    else{
    
$userdisp $usersname;
    } 
Reply With Quote
  #3  
Old 03-20-2011, 12:09 PM
RoconzaArt's Avatar
RoconzaArt RoconzaArt is offline
Member
 
Join Date: Jan 2011
Location: NJ Shore (and proud of it)
Posts: 479
Gender: Female
Credits: 45,977
RoconzaArt is an unknown quantity at this point
Default

Could this be used on other users groups too?
__________________
Reply With Quote
  #4  
Old 03-20-2011, 12:13 PM
fadillzzz fadillzzz is offline
Dev Staff
 
Join Date: Jan 2010
Posts: 501
Gender: Male
Credits: 32,896
fadillzzz is an unknown quantity at this point
Default

Quote:
Originally Posted by RoconzaArt View Post
Could this be used on other users groups too?
Yes, just change the number from that code to the usergroup's number you desired.
Reply With Quote
  #5  
Old 03-20-2011, 01:01 PM
ChibiMaestro ChibiMaestro is offline
bruh
 
Join Date: Nov 2010
Location: United Kingdom
Posts: 300
Gender: Female
Credits: 36,439
ChibiMaestro is on a distinguished road
Default

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!
Reply With Quote
  #6  
Old 03-21-2011, 02:56 PM
ChibiMaestro ChibiMaestro is offline
bruh
 
Join Date: Nov 2010
Location: United Kingdom
Posts: 300
Gender: Female
Credits: 36,439
ChibiMaestro is on a distinguished road
Default

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;
    }
go? o-o I believe this is the code is to show the icon next to the user on the profile.php?user=XXX page?

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!
Reply With Quote
Reply


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
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


All times are GMT -5. The time now is 04:46 PM.

Currently Active Users: 9802 (0 members and 9802 guests)
Threads: 4,080, Posts: 32,024, 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 - 2024, vBulletin Solutions Inc.
vBCommerce I v2.0.0 Gold ©2010, PixelFX Studios
vBCredits I v2.0.0 Gold ©2010, PixelFX Studios
Emoticons by darkmoon3636