icon Learn how to get the most out of Surmunity - read our forum tips here! | Welcome! Please register to access all of our features.

» Surpass Web Hosting Forums » Discussions » Coding and Programming » Server Load button upgrade, what cha thing? xD

Reply
 
LinkBack Thread Tools Search this Thread Rate Thread
Old March 17th, 2008, 4:04 AM   #1 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
Server Load button upgrade, what cha think? xD

I know this is probably GD lib abuse, but I figure I'd try it out... I'm hoping like hell it don't use up too many resources. I'll find out later I guess.... anyways, I'm here to show it off, what ya'll think?!?! =D

I started off using ya'lls generic:


and I upgraded it to sexy!:


I dunno where I found the generic, but I'mma shave what I did. I just ripped some code from the generic and slapped it in. xD


serverload2.0.zip | Download 204kb
Credits? No idea.... <_<

Quote:
Files included are
svrloadimg_resources/arial.ttf
svrloadimg_resources/background.png
svrloadimg_resources/load_meter.png
svrloadimg_resources/load_meter_block.png
serverload2.0.php
psd.psd


EDIT::::: The title, I made a typo =( It's saposed to say "what cha think?" not "what cha thing?"
__________________
HD.C
I am addicted to LINUX.

Last edited by Gamer.Saga; March 17th, 2008 at 4:15 AM.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 7:03 AM   #2 (permalink)
minor deity
Super #1
 
Bigjohn's Avatar
 
Joined in Apr 2004
Lives in Georgia
Hosted on XEON
7,229 posts
Gave thanks: 19
Thanked 91 times
ahh, when one types bad grammer on purpose, who's to worry?

Very cool, by the way... very very cool.
__________________
Proud to be a Surmunity Mod!
XEON PASS60 PASS61
Make a fundamental difference!
My Sites:
Curious about Brewing Beer? Join the community!
>>>>> Some Change is GOOD! Keep your paycheck! Support the Fair Tax
Get into an Art museum
Victorian London
It's your brain -ON WEB - mybrainhost.com (under development)
What SHOULD Government do? Much Less than it Does!
Bigjohn is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 9:12 AM   #3 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
Quote:
Originally Posted by Bigjohn View Post
ahh, when one types bad grammer on purpose, who's to worry?

Very cool, by the way... very very cool.


Making fun of my "grammar". I was tired. I was right there at par with a drunk.

Thank you, by the way.... thank you very much. ^_^
__________________
HD.C
I am addicted to LINUX.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 9:36 AM   #4 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
Looks nice. Do the colors change for the bar thing?

This is what I have (I don't use it in my sig though)



Hmmm...
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 9:39 AM   #5 (permalink)
wgm
Registered User
Super #1
 
Joined in Mar 2005
Lives in Washougal, WA
1,284 posts
Gave thanks: 23
Thanked 39 times
Very nice, is the quote random added text or you have to update file to say something else.
wgm is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 3:15 PM   #6 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
Quote:
Originally Posted by twirp View Post
Looks nice. Do the colors change for the bar thing?

This is what I have (I don't use it in my sig though)



Hmmm...
Nah, the bar doesn't change color. It only does the "green bar" crap that was in the original. I didn't have any pretty orange or red gradients. I like your load banner, btw. ^_^

Quote:
Originally Posted by William View Post
Very nice, is the quote random added text or you have to update file to say something else.
It's drawn on by the image GD.
__________________
HD.C
I am addicted to LINUX.

Last edited by Gamer.Saga; March 17th, 2008 at 3:22 PM.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 5:29 PM   #7 (permalink)
DemonicAngel
Super #1
 
twirp's Avatar
 
Joined in Aug 2004
Lives in Wherever The World Takes Me
Hosted on Pass76
1,769 posts
Gave thanks: 24
Thanked 32 times
Quote:
Originally Posted by Gamer.Saga View Post
Nah, the bar doesn't change color. It only does the "green bar" crap that was in the original. I didn't have any pretty orange or red gradients. I like your load banner, btw. ^_^
Okay, I see, it increases and decreases the number of block things. I saw it when it was at a high load... I thought red blocks would go over it >.<

Thanks Is that because of how it looks or because it's been stuck at 0.00?
__________________
You wear Vans so high school kids will think that you can skate. He wears Vans because he can skate. TwiRp wears Vans because they were on sale. Pass76 wants Vans.
twirp is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 5:45 PM   #8 (permalink)
php, wha?!
Comfy Contributor
 
Gamer.Saga's Avatar
 
Joined in Feb 2008
117 posts
Gave thanks: 3
Thanked 4 times
Quote:
Originally Posted by twirp View Post
Okay, I see, it increases and decreases the number of block things. I saw it when it was at a high load... I thought red blocks would go over it >.<

Thanks Is that because of how it looks or because it's been stuck at 0.00?
Well, I made a red block, but it looked ugly on green, so I deleted it and just did the green load variable, I figured a high load would be obvious when all 10 blocks are across the image. I imagine it wouldn't be hard to make it put in orange and red blocks. I never seen the server go into the red, so I wasn't all too worried about it being a feature. I just kinda did this to know how easily I could layer images with the image GD.

lol, because it's stuck at 0.00. I'm uber jealous! xD
__________________
HD.C
I am addicted to LINUX.
Gamer.Saga is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Old March 17th, 2008, 6:05 PM   #9 (permalink)
Race Surpass
Super #1
 
MarkRH's Avatar
 
Joined in Jul 2006
Lives in Oklahoma City, OK
Hosted on sh102
1,176 posts
Gave thanks: 18
Thanked 85 times
I've seen mine go red. That does look cool by the way. I think the server load script is the most accessed php script on my site... why I didn't go too fancy with it. Although, I could make a fancier one to display on my actual website.

I do show the server load on my forum and gallery but I just output a text value and do not use GD... to save on resources.
MarkRH is offline  
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On