php forum
php mysql forum
php mysql smarty
 
Topic Options
#317138 - 06/01/08 07:27 PM Give users a shiny color for EK soccer
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 299
Loc: The Netherlands

   Give users a shiny color for EK soccer to Del.icio.us Add to del.icio.us
  Digg Give users a shiny color for EK soccer Digg it
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 laugh

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

Top
#317142 - 06/02/08 02:02 AM Re: Give users a shiny color for EK soccer [Re: blaaskaak]
jgeoff Offline
Power User

Registered: 04/05/01
Posts: 93
Loc: NJ

You mean "football" don't you? wink
_________________________
GangsterBB.NET (Ver. 7.3)
2007 Content Rulez Contest - Honorable Mention
UBB.classic 6.7.2 - RIP
Browser: Firefox 2.0

Top
#317145 - 06/02/08 05:29 AM Re: Give users a shiny color for EK soccer [Re: jgeoff]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 299
Loc: The Netherlands
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 smile
_________________________

Top
#317146 - 06/02/08 10:20 AM Re: Give users a shiny color for EK soccer [Re: blaaskaak]
sirdude Moderator Offline
Bada bing!
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
..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:
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#317147 - 06/02/08 11:08 AM Re: Give users a shiny color for EK soccer [Re: sirdude]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 299
Loc: The Netherlands
ehw, no laugh

The click the link, they become orange. Nothing more, nothing less laugh

Code:
	$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__);
_________________________

Top
#317151 - 06/02/08 12:34 PM Re: Give users a shiny color for EK soccer [Re: blaaskaak]
sirdude Moderator Offline
Bada bing!
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
where's the linky poo™ ? :shrug:
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#317153 - 06/02/08 01:44 PM Re: Give users a shiny color for EK soccer [Re: sirdude]
Gizmo Administrator Online   shocked
Wizard

Registered: 01/10/00
Posts: 5122
Loc: Portland, OR, USA
Yeh... more linky poo, less shrug...
_________________________
UBB.Dev - Where you too can render your UBB install completely useless...
UGN Security, Elite Web Gamers & VNC Web Design Owner

Top
#317154 - 06/02/08 02:14 PM Re: Give users a shiny color for EK soccer [Re: Gizmo]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 299
Loc: The Netherlands
No linky pooh yet, like I said, I doubt if anyone is interested laugh
_________________________

Top
#317156 - 06/02/08 03:16 PM Re: Give users a shiny color for EK soccer [Re: blaaskaak]
sirdude Moderator Offline
Bada bing!
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
i prefer

set USER_NAME_COLOR = '#'.substr(0,6,md5('Yarp'.rand(0,69)));
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#317157 - 06/02/08 03:35 PM Re: Give users a shiny color for EK soccer [Re: sirdude]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 299
Loc: The Netherlands
i prefer

set USER_NAME_COLOR = $backgroundcolor where yarpie=true

wink
_________________________

Top
#317165 - 06/04/08 11:11 AM Re: Give users a shiny color for EK soccer [Re: blaaskaak]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2574
Loc: England
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 wink at the moment - but expanding all the time....)

Top
#317166 - 06/04/08 12:00 PM Re: Give users a shiny color for EK soccer [Re: Ian_W]
sirdude Moderator Offline
Bada bing!
Enthusiast

Registered: 11/08/03
Posts: 439
Loc: SoCal
Euro 2008 ? prolly the dutchies do Euro Kup :hihi: instead of Cup..

just a wild ass guess wink
_________________________

A taxpayer voting for Obama is like a chicken voting for Colonel Sanders.

Top
#317168 - 06/04/08 07:52 PM Re: Give users a shiny color for EK soccer [Re: sirdude]
blaaskaak Offline
Member

Registered: 02/25/07
Posts: 299
Loc: The Netherlands
EK=Europees Kampioenschap...

European Championship...

Whatever, we got about a 100 orange names now on our forums laugh
_________________________

Top
#317170 - 06/05/08 05:20 PM Re: Give users a shiny color for EK soccer [Re: blaaskaak]
Ian_W Global Moderator Offline
Veteran

Registered: 02/22/02
Posts: 2574
Loc: England
Hope you do well in Euro 2008 smile
_________________________
Fans Focus - Focusing on Fans of Sport

(Okay - mainly football (the British variety wink at the moment - but expanding all the time....)

Top


Moderator:  sirdude 
Who's Online
0 Registered (), 41 Guests and 8 Spiders online.
Key: Admin, Global Mod, Mod
Shout Box

Latest Posts
Blogs, love em or hate em?
by AllenAyres
Today at 02:05 PM
What do you use to edit the files
by Ian_W
10/05/08 03:33 PM
BeyondCompare v3.00
by Ian_W
10/05/08 03:32 PM
Glossy Black Theme with Image Reflection
by Gizmo
10/05/08 02:17 PM
ShareThis
by Gizmo
09/28/08 05:06 AM
[7.3] Viewing MySQL logfiles made easier
by AllenAyres
09/27/08 09:57 PM
Looking for a simple upload script
by Murphdog
09/26/08 08:45 PM
New Mods
[7.3] Viewing MySQL logfiles made easier
by blaaskaak
09/24/08 05:39 PM
[7.3] Language file checker
by blaaskaak
09/09/08 12:56 AM
[7.3.1] add search to showmembers page
by blaaskaak
09/07/08 04:50 AM
Multiple Identity Detector
by
12/30/06 06:39 PM
Newest Members
pisa666, ghengis317, NitroX, Dogan, EliYah-
13345 Registered Users
Top Posters Last 30 Days
AllenAyres 18
blaaskaak 12
FREAK1 7
Mike L_dup1 4
Chris Bale 4
Ian_W 4
tackaberry 4

 

 

 
fusionbb message board php hacks