Maranatha im still waiting for that code that you was suppose to give me , i dont know what happen my friend maybe you forgot or you are to busy . Anyway thank you i guess is when you get the chance ...
Hey, I'm really sorry, friend! I've been concentrating on other things the last couple of days, and to be honest, I just plain forgot.
OK, here are the two sections of code you'll need to put rating ability on the Browse page and the Listen page. Placement is important! For the Browse page, you need to insert this code just below the ///CONFIGURATION PANEL section....
////////Equalizer Panel For BrowserPanel////
$panel(Equalizer,Peakmeter,18,420,212,32,)
/////////////////////////////////////////////
///CODE ADDED TO MAKE RATINGS ON BROWSER PAGE/////
//////////////////////////////////////////////
// rating images
$ifequal(%rating%,1,
$button(820,70,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(820,70,0,0,34,24,
$ifgreater(%rating%,1,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:1,)
)
$ifequal(%rating%,2,
$button(840,70,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(840,70,0,0,34,24,
$ifgreater(%rating%,2,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:2,)
)
$ifequal(%rating%,3,
$button(860,70,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(860,70,0,0,34,24,
$ifgreater(%rating%,3,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:3,)
)
$ifequal(%rating%,4,
$button(880,70,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(880,70,0,0,34,24,
$ifgreater(%rating%,4,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:4,)
)
$ifequal(%rating%,5,
$button(900,70,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(900,70,0,0,34,24,
$ifgreater(%rating%,5,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:5,)
)
This is for the Listen page, and it is inserted right after the //////////// LEFT PANEL BUTTONS //////////// section.....
////////Equalizer Panel For ArtPanel////
$panel(Equalizer,Peakmeter,400,635,212,32,)
/////////////////////////////////////////////
///CODE ADDED TO MAKE RATINGS ON ART PAGE/////
//////////////////////////////////////////////
// rating images
$ifequal(%rating%,1,
$button(467,95,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(467,95,0,0,34,24,
$ifgreater(%rating%,1,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:1,)
)
$ifequal(%rating%,2,
$button(487,95,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(487,95,0,0,34,24,
$ifgreater(%rating%,2,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:2,)
)
$ifequal(%rating%,3,
$button(507,95,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(507,95,0,0,34,24,
$ifgreater(%rating%,3,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:3,)
)
$ifequal(%rating%,4,
$button(527,95,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(527,95,0,0,34,24,
$ifgreater(%rating%,4,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:4,)
)
$ifequal(%rating%,5,
$button(547,95,0,0,34,24,c:\Program Files\foobar20002\images\stars\star-on.png,,TAG:SET:Rating,),
$button(547,95,0,0,34,24,
$ifgreater(%rating%,5,c:\Program Files\foobar20002\images\stars\star-on.png,c:\Program Files\foobar20002\images\stars\star-off.png)
,,TAG:SET:Rating:5,)
)
You'll have to change the c:\Program Files\foobar20002\images\stars\ section of each line to point to where you store the star.png images on your computer.
That's pretty much it, and if you have any more questions, just let me know. I'm very happy to help!