Jump to content

WPI v5.0.1


Recommended Posts


Oh snap. I had forgotten to check to see if the user had enabled the timer before displaying the stop sign. The way it was before, it would display the stop sign onclick on the body regardless of whether or not the timer was enabled. Oopsies. It should be fine now. If anyone happened to use my old script, check my post again and use the fixed one.

Edited by Dumpy Dooby
Link to comment
Share on other sites

just noticed that the audio player embeds mplayer2, but the volume value is 68.

I guess this was supposed to be 68%, but the mplayer2 works like this:

1 (50%) - 0 (100%).

so, a value of 0 for the volume var will make it 100% actually.

Oh, and btw, I don't think the player is embeded 100% correctly. Shouldn't it have an object tag?

Just asking because I'm not sure ... I know it can be omitted, but I think it is cooler to have it included correctly.

Edited by sadicq
Link to comment
Share on other sites

This is a mod which will display your programs although conditions are not met (even gcond is evaluated).

The only difference between the items with false conditions and the ones with true ones is a small text displayed in front of the false ones like this: [False Cond] displayed in red.

The purpose: if you used more than one DVD for one isntall you know you'll find this useful ...

you can slect for install apps that are not on the curent dvd, but at the same time you know which ones really are ...

Edits:

File: Wpiscripts\boxes.js

Find

// We only display things that pass condition tests, unless we are in debug mode.

before, add

var conditionfailed = 0;

Find

debug("Condition failed: " + c + " -- not rendering " + prog[i], 1);
continue;

replace with

debug("Condition failed: " + c + " -- not rendering " + prog[i], 1);
conditionfailed = 1;

Find

if (DoGray)

before, add

if (conditionfailed == 1)
txt += '<font class="conditionfailed">[False Cond]</font>';

File: Themes\ThemeName\wpi.css

Add this at the end:

.conditionfailed
{
font-family: arial;
font-weight: bold;
color : #FF0000;
font-size : 8pt;
margin-left: 5px;
margin-top: 10px;
margin-bottom: 50px;
}

The result can be seen here:

untitled49ow.th.png

Edited by sadicq
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...