Author |
Topic |
sr_erick
Senior Member
USA
1318 Posts |
Posted - 28 September 2005 : 17:07:44
|
Nice! Strange though, mine says #4 even though throughout each sorting I have one 2, three 3's and one 5. How does that get 4? < |
Erick Snowmobile Fanatics
|
|
|
MarkJH
Senior Member
United Kingdom
1722 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 28 September 2005 : 19:51:39
|
-gary, off subject, but how did you create the image showing the rank using ASP? I had to use ASP.NET with the GDI to create the one presently in my signature which shows what I am listening too.< |
|
|
|
SiSL
Average Member
Turkey
671 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 28 September 2005 : 20:04:09
|
quote: Originally posted by SiSL
I believe it is direction.
oh, so you don't think it is a single dynamic image but multiple images with a redirect? that wouldn't sound like something -gary would do, though I could be wrong.< |
|
|
|
SiSL
Average Member
Turkey
671 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 28 September 2005 : 20:20:09
|
quote: Originally posted by SiSL
Ofcourse it may be dynamic image, however, passing this code to many places (to our signatures here for example) may load server cpu more than expected, well at least my image API does. If not, I would like to learn the secret as well :)
the signature that I use here is something I created using .NET/GDI. It is part of a feature on my forum that 40+ other members actively use and the hit against my database to read the tables and create the image is not that bad. the only reason I asked how he did it is because I noticed the .asp extension and unless he is using a component to do this with, I just doubt that he has individual images for the individual rankings.
PS. Just noticed, you're the guy that bumped me down from position #5 to #6 < |
|
Edited by - dayve on 28 September 2005 20:21:19 |
|
|
SiSL
Average Member
Turkey
671 Posts |
|
dayve
Forum Moderator
USA
5820 Posts |
Posted - 28 September 2005 : 21:49:52
|
quote: Originally posted by SiSL
What I would like to know if there is more "easier" on CPU way to do this.
Yes there is. It is why I use .NET with the GDI over any server component.< |
|
|
|
Shaggy
Support Moderator
Ireland
6780 Posts |
Posted - 29 September 2005 : 06:25:09
|
Thanks for all your work on this, Gary, it's looking great
< |
Search is your friend “I was having a mildly paranoid day, mostly due to the fact that the mad priest lady from over the river had taken to nailing weasels to my front door again.” |
|
|
Riccardo
New Member
86 Posts |
Posted - 29 September 2005 : 06:52:27
|
Microsoft JET Database Engine error '80004005'
The changes you requested to the table were not successful because they would create duplicate values in the index, primary key, or relationship. Change the data in the field or fields that contain duplicate data, remove the index, or redefine the index to permit duplicate entries and try again.
/stats/register.asp, line 33
this is the error i get after inserting the url to Snitzstats.asp on my forum..and submitted..
?????< |
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
|
Edited by - Riccardo on 29 September 2005 07:05:30 |
|
|
OneWayMule
Dev. Team Member & Support Moderator
Austria
4969 Posts |
|
Riccardo
New Member
86 Posts |
|
Riccardo
New Member
86 Posts |
Posted - 29 September 2005 : 10:44:07
|
well it seems to work! i'm on the rankings..at 35th position!!< |
http://www.peperonciniamoci.it peppers and peppers and peppers (working on an international version)
|
|
|
-gary
Development Team Member
406 Posts |
Posted - 29 September 2005 : 10:45:45
|
Rank images are static files. The rank.asp file checks for your current rank and redirects to the appropriate image. I could do dynamic images, but without some kind of caching in place this page alone would've required 16 DB hits and 16 image generations. I'm all for taking 15 minutes of Photoshop time to save an unknown number of CPU requests on a production server along with the expense of creating an object to draw the image and tearing it down again for each request. This was a 10 minute hack, so it will get a bit more sophisticated in the future.
The rank images are based solely on number of total posts and fall in line with the default sort on the main page.
The register error is because that URL has already been registered. If the forum isn't showing up on the stats page, it's because the server has had a problem retrieving the page. Timeout, 404 or a problem with the client script. It will keep trying until it gets it. Registration management and error checking is non-existent at this point.
DB type is being pulled in 1.0. I'm still working on the individual stats and that will be one of the things reported. I'm also working on cumulative stats for all forums and DB's will be represented by some sort of percentage graph.< |
KawiForums.com
|
|
|
Topic |
|