Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Community Forums
 Community Discussions (All other subjects)
 Project Dolphin - Team Broken Machine
 New Topic  Topic Locked
 Printer Friendly
Previous Page | Next Page
Author Previous Topic Topic Next Topic
Page: of 23

snaayk
Senior Member

USA
1061 Posts

Posted - 23 September 2002 :  17:34:03  Show Profile  Visit snaayk's Homepage  Send snaayk an AOL message  Send snaayk an ICQ Message  Send snaayk a Yahoo! Message
quote:
Originally posted by dayve

have you seen the top ten snaayk? I would say it's an impossible task.



nah. I for one say that all team members rewrite evey page in the Snitz application: twice. Once with response.writes, once without.

All in favor??
Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  18:18:47  Show Profile
quote:
Originally posted by snaayk

nah. I for one say that all team members rewrite evey page in the Snitz application: twice. Once with response.writes, once without.

All in favor??


Uh, no.

Go to Top of Page

Gremlin
General Help Moderator

New Zealand
7528 Posts

Posted - 23 September 2002 :  18:26:22  Show Profile  Visit Gremlin's Homepage
quote:
Originally posted by BWJM

OK, who's online that knows ASP.net? dayve? I can't seem to include a Function or Sub at the bottom of my script like I used to in regular ASP. dayve, if you're online, hop on AIM and ring me up please


.NET functions look something like this (copied from my stats script)

    Private Function GetColorPalette() As ColorPalette
        ' Make a new Bitmap object to get its Palette.
        Dim bitmap As Bitmap = New Bitmap(1, 1, PixelFormat.Format8bppIndexed)
        Dim palette As ColorPalette = bitmap.Palette   ' Grab the palette
        bitmap.Dispose()
        Return palette              ' Send the palette back
    End Function

Kiwihosting.Net - The Forum Hosting Specialists
Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  18:52:24  Show Profile
I saw that already... I tried just appending that function at the bottom of my script and it bailed because it won't allow functions within a sub or something. I don't have any Subs or Functions in this script already. It just starts with commands right from the top.

Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  19:37:21  Show Profile
quote:
Originally posted by BWJM

Yes, my script is counting total keys, not total keys contributed. The way around this may be very difficult.



Ah, another insurmountable obstacle overcome! What joy it brings to happily report that my stats report now delivers high quality, real-time information including real team totals, not the total of all keys typed by team members.

Transparency may require a total code rewrite... something I'm not terribly thrilled to attempt to implement so I think I'll stick with the blue on white with a black border.

Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  20:47:16  Show Profile
Alright... I'm about to release a stable version! This will be FULLY CUSTOMIZABLE in that all colours, alignment, bold, each line, will be controlled by parameters in the URL. All have defaults (including the UserID) so you can't screw up. I'm just putting the finishing touches on the parameter parsing and should be done within a half hour.

NB: Transparency is not available. Future version. Maybe.

Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  21:32:13  Show Profile
Project Dolphin Statistics Image Display v0.99 (Beta)

Author: BWJM (bwjm @ intelogic.net)

This file will query a website to obtain statistics about a specified user for the Project Dolphin keypress counting project and output the statistics as a GIF image.

Inputs: (All Optional)
- UserID (integer - Project Dolphin UserID)
- FontSize (integer - Font Size in Pts)
- Bold (boolean - True or False)
- Align (string - Left, Center or Right)
- TeamName (boolean - Display Team Name Line)
- MemberName (boolean - Display Member Name Line)
- Since (boolean - Display Since Date Line)
- TotalKeys (boolean - Display Total Keys Line)
- TeamContribution (boolean - Display Team Contribution)
- Average (boolean - Display Average Keys Per Day Line)
- Ranks (boolean - Display User and Team Ranks Line)
- TeamTotal (boolean - Display Team Total Line)
- FontColour (string - Font Colour)
- BgColour (string - Background Colour)
- EdgeColour (string - Border Colour)

Outputs:
- Graphical Image (in GIF format)

Example:
<IMG src="projectdolphin.aspx?Bold=True&UserID=24763&TeamContribution=False&Ranks=False&EdgeColour=DarkBlue&BgColour=White" border="0" alt="Join Team Broken Machine!">

Notes:


Credit goes to dayve for creating the initial version of this script that this version was spawned from. Thanks!

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 23 September 2002 :  21:50:37  Show Profile  Visit dayve's Homepage
LOL, you gave us everything but the code ;)

Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  22:04:56  Show Profile
lol - The code is available upon request and will be emailed to those who have already requested it.

Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 23 September 2002 :  23:12:11  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
hummm

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page

BWJM
Junior Member

Canada
193 Posts

Posted - 23 September 2002 :  23:32:08  Show Profile
Just a couple examples here:



Both stats displays are running from the exact same script but using different parameters.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 September 2002 :  00:43:24  Show Profile  Visit dayve's Homepage
quote:
Originally posted by BWJM

lol - The code is available upon request and will be emailed to those who have already requested it.



thank you sir, impressive ;)

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 September 2002 :  01:13:16  Show Profile  Visit dayve's Homepage
is the latency in displaying the image due to the way it gets the Team Totals? so the bigger
the team the longer the Team Total takes? they should really make it easier to get that number.
I like your code structure, some pretty impressive code tactics ... thanks.

Go to Top of Page

dayve
Forum Moderator

USA
5820 Posts

Posted - 24 September 2002 :  01:53:46  Show Profile  Visit dayve's Homepage
I decided to cheat to get the team totals easier. thought of it after Richard told me about
ASPTear but I used the XML object instead. Seems full proof, I have tried it with a bunch of
other teams and the results were fast and perfect every time

Broken Machine Grand Total

I am going to see if there is a cleaner way of doing this but for now it works.

This script basically reads the total from this page:

http://project-dolphin.net/cgi-bin/browse.cgi?mode=team-look&step=look-this-team&TeamID=1839

I almost wonder if it would be quicker to use this: InStrRev( ) , that way I can read
from the end of the file first where the grand total resides.


Edited by - dayve on 24 September 2002 01:57:39
Go to Top of Page

redbrad0
Advanced Member

USA
3725 Posts

Posted - 24 September 2002 :  08:29:56  Show Profile  Visit redbrad0's Homepage  Send redbrad0 an AOL message
dayve, you trying to make this the longest topic every

Brad
Oklahoma City Online Entertainment Guide
Oklahoma Event Tickets
Go to Top of Page
Page: of 23 Previous Topic Topic Next Topic  
Previous Page | Next Page
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.31 seconds. Powered By: Snitz Forums 2000 Version 3.4.07