View previous topic :: View next topic |
Author |
Message |
Beecham
Wind In The Grass
Joined: 20 May 2005
Post Count: 988
Location: Zexen Forest
33221 Potch
75 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 3:44 pm Post subject: Stats Bar (of changing colors!) [formerly "V:?"] |
|
|
Not sure if this goes here or in error report, since I'm not sure if it's a feature or an error ;) But I'm getting a thick, light blue band across the left column in a post, just under the member's avatar. The only thing on this band is a bold V: and nothing else. I'm sort of confused.
This is the code for the part of the band with the V:, on the off chance it's important.
Code: |
<table bgcolor="#45557A" width=100%>
<tr>
<td><font size=-2><b></b></font></td>
<td><font size=-2></font></td>
<td></td>
<td><font size=-2><b>V:</b></font></td>
<td><font size=-2></font></td>
</tr>
[...]
</table>
|
There're four more trs exactly like this one, except that this is the only one that has the V: in it. Everything else is the same.
I assume code works like quote in that you don't get soldiers for text inside; if I'm wrong, I'll switch that to a quote box. This is the first time I'm using it :)
EDIT: Well, since this turned out to be a feature and we know what we're discussing now, an appropriate title would be nice. So, here it is! ;)
Last edited by Beecham on Tue Mar 01, 2005 11:13 am; edited 2 times in total |
|
Back to top |
|
|
Ayreon
Universal Migrators
Joined: 22 Feb 2005
Post Count: 181
Location: Nowhere
7311 Potch
0 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 3:49 pm Post subject: |
|
|
Yeah,i think the admin is experimenting with the stats,because 5 minutes ago i saw the stats tags and the V:.Anyhoo,i dont think this is an error. :wink: _________________
''Sail away to Avalon.......'' |
|
Back to top |
|
|
Beecham
Wind In The Grass
Joined: 20 May 2005
Post Count: 988
Location: Zexen Forest
33221 Potch
75 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 4:25 pm Post subject: |
|
|
Hey yeah, stats are going into it. Wow, we all seem to have karma as if we joined at unix time 0, baby. Mad freaking karma for us! *does a lil jig* |
|
Back to top |
|
|
Barbarossa Rugner
The Golden Mercenaries
Joined: 12 Oct 2004
Post Count: 744
5684690 Potch
15000 Soldiers
650 Nation Points
|
Posted: Mon Feb 28, 2005 4:45 pm Post subject: |
|
|
Hmm, strange. It is cool, but it kind of dominates our left column. _________________
The Rune on my Sword, the Dragon King Sword, is protected against any form of magic, Even the rune of the Gate - Barbarossa Rugner |
|
Back to top |
|
|
Axiose
Altruistic Apparitions
Joined: 24 May 2004
Post Count: 19502
100019091 Potch
0 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 5:51 pm Post subject: |
|
|
It's just a test at the moment, I'm sure SARS will tidy it up or change the layout later once he gets the coding perfected on it. _________________
[Axiose] [Fliktor] |
|
Back to top |
|
|
Solitude
Fallen Angels
Joined: 09 Jul 2004
Post Count: 2881
Location: Blight's Bay
495 Potch
125 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 7:58 pm Post subject: |
|
|
Yeah he will probably make the box black instead of blue to give it a cleaner look. Then it won't be so dominating. |
|
Back to top |
|
|
Vextor
Joined: 09 Mar 2004
Post Count: 12081
Location: Hell
11324811 Potch
23689 Soldiers
160 Nation Points
|
Posted: Mon Feb 28, 2005 8:04 pm Post subject: |
|
|
Yeah, it sure is dominating. I'll have to work on it a bit.
Getting the stats to work somehow took longer than I thought do to a careless error in the code.
It looks ugly especially because the size doesn't fit with the avatar. It seems to be about 140 pixels wide and that is sucky. I also want to clean the junk on the lower portion so that everything fits nice and tightly. |
|
Back to top |
|
|
Beecham
Wind In The Grass
Joined: 20 May 2005
Post Count: 988
Location: Zexen Forest
33221 Potch
75 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 8:24 pm Post subject: |
|
|
Not sure if this is important or not, but I just noticed that the box sometimes has numbers off by one from the profile. Do they perhaps round differently? |
|
Back to top |
|
|
Vextor
Joined: 09 Mar 2004
Post Count: 12081
Location: Hell
11324811 Potch
23689 Soldiers
160 Nation Points
|
Posted: Mon Feb 28, 2005 8:35 pm Post subject: |
|
|
Yeah, that's what I'm thinking. However, I havn't been able to pinpoint where exactly the rounding is off. |
|
Back to top |
|
|
Marshmallow
Shikigami
Joined: 19 May 2004
Post Count: 1085
Location: Saintler Port
203358 Potch
110 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 9:17 pm Post subject: |
|
|
Just a thought, but abbreviating Level and Karma would help to consolidate the stat box a bit. Lvl, Krm/ Kma something along those lines. I doubt anybody would mind. |
|
Back to top |
|
|
Beecham
Wind In The Grass
Joined: 20 May 2005
Post Count: 988
Location: Zexen Forest
33221 Potch
75 Soldiers
0 Nation Points
|
Posted: Mon Feb 28, 2005 9:48 pm Post subject: |
|
|
Perhaps Lvl: and Kar:, respectively. Krm and Kma look sort of confusing, though I do agree with you that appreviations would help.
Perhaps also a fixed font? So the letters line up and you don't need an extra TD? Not sure if that'd actually help any, but it might make it look neater. |
|
Back to top |
|
|
Vextor
Joined: 09 Mar 2004
Post Count: 12081
Location: Hell
11324811 Potch
23689 Soldiers
160 Nation Points
|
Posted: Mon Feb 28, 2005 11:28 pm Post subject: |
|
|
What's a fixed font? |
|
Back to top |
|
|
KoRnholio
Joined: 23 May 2004
Post Count: 16777215
Location: Scarlet Moon Empire
0 Potch
0 Soldiers
0 Nation Points
|
Posted: Tue Mar 01, 2005 12:49 am Post subject: |
|
|
I think he means a fixed-width font, like Courier New. So all of the stats would take up the same amount of space, except I guess for HP because it is only two letters.
Are you sure a feature like this isn't going to soon slow down the boards? More db calls for each thread has got to be taxing on the system. |
|
Back to top |
|
|
Beecham
Wind In The Grass
Joined: 20 May 2005
Post Count: 988
Location: Zexen Forest
33221 Potch
75 Soldiers
0 Nation Points
|
Posted: Tue Mar 01, 2005 2:13 am Post subject: |
|
|
Precisely what I meant by a fixed font. Sorry, Kornholio's right, the actual name is fixed width font. I tend to call them fixed and variable fonts, because I'm too lazy to say width :) |
|
Back to top |
|
|
Vextor
Joined: 09 Mar 2004
Post Count: 12081
Location: Hell
11324811 Potch
23689 Soldiers
160 Nation Points
|
Posted: Tue Mar 01, 2005 4:29 am Post subject: |
|
|
There's no added DB calls for this feature, because the calculation script exists right in the viewtopic.php. Stats are not stiored in the database at all. If that was the case, the board will grind to a halt! |
|
Back to top |
|
|
|
|