Previous Thread
Next Thread
Print Thread
Rate Thread
Joined: Feb 2007
Posts: 329
B
Yarp™
OP Offline
Yarp™
B
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 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.

Sponsored Links
Joined: Apr 2001
Posts: 96
Power User
Offline
Power User
Joined: Apr 2001
Posts: 96

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
Joined: Feb 2007
Posts: 329
B
Yarp™
OP Offline
Yarp™
B
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 smile

Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
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
B
Yarp™
OP Offline
Yarp™
B
Joined: Feb 2007
Posts: 329
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__);

Sponsored Links
Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
Joined: Nov 2003
Posts: 482
where's the linky poo™ ? :shrug:

Joined: Jan 2000
Posts: 5,819
Likes: 16
UBBDev / UBBWiki Owner
Time Lord
Offline
UBBDev / UBBWiki Owner
Time Lord
Joined: Jan 2000
Posts: 5,819
Likes: 16
Yeh... more linky poo, less shrug...


UBB.Dev - Putting Dev into UBB.threads
Company: VNC Web Services - UBB.threads Scripts and Scripting, Install and Upgrade Services, Site and Server Maintenance.
Forums: A Gardeners Forum, Scouters World, and UGN Security
UBB.Threads: My UBB Themes, My UBB Scripts
Joined: Feb 2007
Posts: 329
B
Yarp™
OP Offline
Yarp™
B
Joined: Feb 2007
Posts: 329
No linky pooh yet, like I said, I doubt if anyone is interested laugh

Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
Joined: Nov 2003
Posts: 482
i prefer

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

Joined: Feb 2007
Posts: 329
B
Yarp™
OP Offline
Yarp™
B
Joined: Feb 2007
Posts: 329
i prefer

set USER_NAME_COLOR = $backgroundcolor where yarpie=true

wink

Sponsored Links
Joined: Feb 2002
Posts: 2,286
Veteran
Offline
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 wink at the moment - but expanding all the time....)
Joined: Nov 2003
Posts: 482
S
Enthusiast
Offline
Enthusiast
S
Joined: Nov 2003
Posts: 482
Euro 2008 ? prolly the dutchies do Euro Kup :hihi: instead of Cup..

just a wild ass guess wink

Joined: Feb 2007
Posts: 329
B
Yarp™
OP Offline
Yarp™
B
Joined: Feb 2007
Posts: 329
EK=Europees Kampioenschap...

European Championship...

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

Joined: Feb 2002
Posts: 2,286
Veteran
Offline
Veteran
Joined: Feb 2002
Posts: 2,286
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....)

Link Copied to Clipboard
Donate Today!
Donate via PayPal

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.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
Bill B
Bill B
Issaquah, WA
Posts: 87
Joined: December 2001
Forum Statistics
Forums63
Topics37,558
Posts293,857
Members13,848
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,819
Greg Hard 4,625
Top Posters(30 Days)
Top Likes Received
isaac 70
Gizmo 16
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2022 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Snapshot build 20220120)
Responsive Width:

PHP: 7.3.29 Page Time: 0.017s Queries: 43 (0.007s) Memory: 0.8597 MB (Peak: 0.9326 MB) Data Comp: Zlib Server Time: 2022-01-27 05:35:33 UTC
Valid HTML 5 and Valid CSS