View Single Post
  #8  
Old 24th December 2016, 15:37
TLO TLO is offline
Senior Member
 
Join Date: May 2009
United Kingdom
Posts: 35
Default
Quote:
Originally Posted by BamBam0077 View Post
The -2 is just there because I removed UC_UPLOADER but wanted to keep it in code. just change the number to french fries and chilli dip it wouldn't make a difference would it?

I am not being rude I am just saying, I am sorry for coming out as rude as I do, it is just me and if people don't like then i am sorry your mum cuddled you till you were 100yrs old.

I never took credit for someone else work I took credit for this concept only:
PHP Code:
   if ($user['class'] > UC_TEAM_LEADER) :
    
      
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #1d3fca, 0px 0px 6px #1d3fca;font-weight:bold; color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';
    
    elseif (
$user['class'] == UC_TEAM_LEADER):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #1d3fca;font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    
      
    elseif (
$user['class'] == UC_SYSOP):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #'.get_user_class_color($user['class']).';font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    

    elseif (
$user['class'] == UC_ADMINISTRATOR):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #F00, 0px 0px 6px #F00;font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    

    elseif (
$user['class'] == UC_MODERATOR):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #008800, 0px 0px 6px #003e00;font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    
    
    elseif (
$user['class'] == UC_FORUM_MODERATOR):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #'.get_user_class_color($user['class']).';font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    

    elseif (
$user['class'] == UC_SITE_EDITOR):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #'.get_user_class_color($user['class']).';font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    

    elseif (
$user['class'] == UC_VIP):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #'.get_user_class_color($user['class']).';font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    
    
    elseif (
$user['class'] == UC_COM_VIP):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #'.get_user_class_color($user['class']).';font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    

    elseif (
$user['class'] == UC_POWER_USER):
     
        
$username '<span style="background: repeat-x scroll 0% 0% transparent;text-shadow: 0px 0px 5px #'.get_user_class_color($user['class']).', 0px 0px 6px #'.get_user_class_color($user['class']).';font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    

    elseif (
$user['class'] == UC_USER):
     
        
$username '<span style="font-weight:bold;color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    
    
//else :    

       // $username = '<span style="font-weight:bold; color:#'.get_user_class_color($user['class']).';">'.htmlspecialchars($user['username']).'&nbsp;</span>';    
    
endif; 
it just makes the usernames glow a little bit and gives people an fresh idea I know a few people that wanted this concept years ago but I didn't have the knowledge of php like I do today, I have learned a lot thanks BigJoos I know I have been an clown and a massive dick in the past maybe one day just one day we could shake hands like proper man, I should have know better and you did teach me which I will always be grateful for man, thanks & sorry might not cut it but never the less I am trying here.

@DND man I am sorry I thought you were having a dig at me, I apologize. Your right it is like TBDev/U232/etc most code is recycled no offense intended to these engines.

Maybe one day Ill stop shooting before I go on a rapid fire, one day I never said it would be today

Peace,
Enjoy & Again Sorry!
Maybe one day you'll be more open to paying the right people the right respect, instead of using excuses why you're so rude and constantly stealing other peoples hard work and calling it your own. We all lift code from everywhere but don't claim its ours. I don't say much here but I have seen your work here and other places and it never changes!
Reply With Quote