PDA

View Full Version : Closing KP Request Line [1 month VIP to whoever answers]



Xarea
29-08-2008, 01:01 PM
I'm using KP RC2. I've also got an Auto DJ system (powered by CentovaCast).

When the Auto DJ is on, i'd like the request line to sort of.. close, for example:

Sorry
You cannot send a request until a live DJ is on air.

How would I go about doing this?

Flisker
29-08-2008, 01:06 PM
IT would be using the radio stats to find whos on then closing for example

require_once("radio_stats.php");
if($scname == "Auto DJ") {
echo "Sorry closed";
}else{
request line here...
}

not exact code but its quite simple really.

Xarea
29-08-2008, 02:05 PM
If you can do it for me Flisk (the code), i'll buy you VIP ^_^.

Fehm
29-08-2008, 02:15 PM
Goodluck with this and the code in #2 is pretty helpful, i wont use it cus im not like that but

Goodluck hope yo usort it

Xarea
29-08-2008, 03:06 PM
Bump, please....

Excellent1
29-08-2008, 03:12 PM
The code above is the actual code, where it says request here.. include your request file. Basically PHP is checking to see if the autodj is on, if this is true (if) then they get "Sorry, blah blah" if this is false (else) then they can continue to send requests.

Want to hide these adverts? Register an account for free!