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
Enthusiast

Registered: 02/25/07
Posts: 329
Loc: The Netherlands
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: 97
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
Enthusiast

Registered: 02/25/07
Posts: 329
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 Offline
Enthusiast

Registered: 11/08/03
Posts: 490
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:
_________________________

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

Registered: 02/25/07
Posts: 329
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 Offline
Enthusiast

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

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

Wizard

Registered: 01/10/00
Posts: 5354
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 & Development President
UBB.Threads: My UBBSkins, UBB.Sitemaps

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

Registered: 02/25/07
Posts: 329
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 Offline
Enthusiast

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

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

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

Registered: 02/25/07
Posts: 329
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 Offline

Veteran

Registered: 02/22/02
Posts: 2575
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 Offline
Enthusiast

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

just a wild ass guess wink
_________________________

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

Registered: 02/25/07
Posts: 329
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 Offline

Veteran

Registered: 02/22/02
Posts: 2575
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 
Latest Posts
[7.2.1] - Naked shoutbox
by bellaonline
05/05/12 05:00 PM
[7.x] Stop Forum Spam Integration v0.4
by bellaonline
05/05/12 03:53 PM
Shout Box

(Views)Popular Topics
Known public proxy servers 1689885
Integrated Index Page (IIP) 5.3.1 555705
Finished-[6.5.2] Games Arcade Deluxe v1.9 501236
Integrated Index Page (IIP) 5.1.1 415112
TLD Bv2.1 Released - Threads Links Directory 396822
[6.0x] Who's Online 4.0.0 [Finished] 389412
Finished-[6.5.1] Integrated Index Page (IIP) 6.5 330423
Q & A 298663
Slash UBB 266936
[6.3.x] [beta] Hit Hack 2.0 227970
Forum Stats
13621 Members
59 Forums
37191 Topics
295716 Posts

Max Online: 686 @ 06/28/07 07:04 AM

 

 

 
fusionbb message board php hacks