|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
Okay, I'll post this as a suggestion, even though I have it al coded up but I don't think I really need to share this code  We offer our users to get a shiny orange username, just a silly option for those who want to lighten up their forumname during the EK soccer 2008. If anyone else wants this, drop a line.
|
|
|
|
Joined: Apr 2001
Posts: 96
Power User
|
Power User
Joined: Apr 2001
Posts: 96 |
You mean "football" don't you? 
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
yeah, that one. Isn't that one called soccer in the US? Whatever, 11 guys on one side, 11 on the other, chasing a ball. Silly, I know 
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
..eh -- you mean to just extend html->user_color to be fully group based and have optional colors for each group?
or to go full out and have a 'group image' option too, so the board does it automagically ?
:shrug:
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
ehw, no  The click the link, they become orange. Nothing more, nothing less  $html = new html;
// Check the referer if (!$config['DISABLE_REFERER_CHECK']) { $html -> check_refer(); }
// -------------------------------------------------- // Let's make things orange
$userid = $user['USER_ID']; $query = " update {$config['TABLE_PREFIX']}USER_PROFILE set USER_NAME_COLOR = '#F37924' where USER_ID = ? "; $dbh -> do_placeholder_query($query,array($userid),__LINE__,__FILE__);
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
where's the linky poo™ ? :shrug:
|
|
|
|
Joined: Jan 2000
Posts: 5,834 Likes: 20
UBBDev Owner Time Lord
|
UBBDev Owner Time Lord
Joined: Jan 2000
Posts: 5,834 Likes: 20 |
Yeh... more linky poo, less shrug...
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
No linky pooh yet, like I said, I doubt if anyone is interested 
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
i prefer
set USER_NAME_COLOR = '#'.substr(0,6,md5('Yarp'.rand(0,69)));
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
i prefer set USER_NAME_COLOR = $backgroundcolor where yarpie=true 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
as we are not in it - I will not be adding this to our football forums LOL
What is EK btw?
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
|
Joined: Nov 2003
Posts: 482
Enthusiast
|
Enthusiast
Joined: Nov 2003
Posts: 482 |
Euro 2008 ? prolly the dutchies do Euro Kup :hihi: instead of Cup.. just a wild ass guess 
|
|
|
|
Joined: Feb 2007
Posts: 329
Yarp™
|
Yarp™
Joined: Feb 2007
Posts: 329 |
EK=Europees Kampioenschap... European Championship... Whatever, we got about a 100 orange names now on our forums 
|
|
|
|
Joined: Feb 2002
Posts: 2,286
Veteran
|
Veteran
Joined: Feb 2002
Posts: 2,286 |
Hope you do well in Euro 2008 
Fans Focus - Focusing on Fans of Sport (Okay - mainly football (the British variety at the moment - but expanding all the time....)
|
|
|
Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.
Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
|
|
Posts: 1,157
Joined: July 2001
|
|
Forums63
Topics37,575
Posts293,931
Members13,823
|
Most Online6,139 Sep 21st, 2024
|
|
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
|
|
|
|