Riseup44 wrote:If anyone can show me where exactly to start in the code and I could just copy and paste something in that one of you that are really great at this could come up with I could gladly do so.. Going with what was said and shown earlier I was starting at the line of the code where it says
[measureNetOut] and I added in what was posted but like i said it flashed between Kb and B/s but i was looking for Mbps. Maybe I am not reading things correctly or just not understanding all of this but if there is anyone who has the patience to try and help me figure this out it will be very much appreciated. You all rock, thanks for your time.
OK, I think you are misunderstanding what you are seeing, but you are getting close. If you made the change exactly as I posted, then you WILL see the numbers flashing and bouncing around. This is because this skin is "auto-scaling" the network speeds you are seeing. That means if your speed is 100 kbps, it will show that, if it is 10 Mbps, then it will show that. From your posting, it appears you want it to show megabits/sec
all the time. So if your speed is 100 kbps, you want it to say 0.1 Mbps, right? The skin does not do that now, so you will need to make more changes.
If this is the case, you will want to turn the AutoScale feature OFF. You will next need create two "Calc" measures to calculate the network up/down speeds in Mbps. The result of these calculations will be what you will display.
Add the following Calc measures. You can add them below the existing [measureNetIn] and [measureNetOut] measures:
Code: Select all
[calcNetIn]
Measure=Calc
Formula=(measureNetIn / 1048576)
[calcNetOut]
Measure=Calc
Formula=(measureNetOut / 1048576)
Find and change the two existing display meters that show the network in/out values, as follows:
[meterUploadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=
calcNetOut
X=200
Y=0r
W=190
H=14
Text=
%1 Mbps
NumOfDecimals=1
AutoScale=
0
[meterDownloadValue]
Meter=String
MeterStyle=styleRightText
MeasureName=
calcNetIn
X=200
Y=0r
W=190
H=14
Text=
%1 Mbps
NumOfDecimals=1
AutoScale=
0
Once you've made the additions and changes, you should see your network speeds displayed at a constant rate of megabits per second. I did not test the code above, so it may need adjustments.
Check out
these skins if you want another suite to check out, but this suite does not display fixed up/down rates either.