My Code Monkey had a go at rewriting the Radio DJ request script

(Loosely based on a basic concept request script coded by another member of the Radio DJ community)

We’ve added more .css functionality to the website script.

NEW Radio DJ Request Page

Its a simple but effective way to let listeners request songs which then land in the “Request Plugin” in RadioDJ

Key:
Unavailable Means the track/artist has recently played

Select Song Means the song/artist is available for request

You can search by Artist, Title, Page numbers or also by choosing some Random songs

You can change the colours of the buttons/layout by editing the .css in main.css Open it with any good text editor, You will need to know your HEX codes

If you don’t like the sticky header remove the section around line 48.

The RadioDJ request plugin is in the disabled plugins directory move the .dll and .xml files to the plugins directory in RadioDJ and restart the program

.

You will need some knowledge of how to connect the script to your MySQL server. Its no more difficult than other website scripts that are available for RadioDJ.

Download the Script Here

$dataip = "127.0.0.1"; // Your external IP address
$database = "admin_radiodj"; // Your RadioDJ Databse name
$username = "admin_radiodj";  // Your database user name
$userpass = "Mysupersecretpassword"; // Your database password

That is mainly all you should have to change apart from timezone

You need to correctly set your Time Zone in the script to match that of your server time.

$timezone = "Europe/London"; // Your time zone

Find out your Time Zone here

Once you fill in your MySQL server information and external IP address and you’ve allowed the ports through your router/firewall then you should be good to start receiving requests from your website.

Upload the required files to your website or server once you’ve edited your connection details in config.php

You can embed the script into any webpage using a PHP require statement.

<?php require('index.php'); ?>

Important: This script won’t work if you have a website host that blocks connections on port 3306, You change or use alternative ports at your OWN RISK don’t blame us if your website host suspends your account.

This script is provided as-is and without warranty, you modify/change it at your own risk, don’t blame us if you break something. We cannot help you with installation/connection issues that is up to you to iron out with your website host, This is a basic request template & is a starting point for you to code your website around, Support may be limited.

There may (or may not) be future updates.

This script is for entertainment purposes only!

(Tested working on Apache 2.2 & PHP 7.2 3rd August 2018)

P.S: If you like this script and would like to make a donation towards the developers time then you can do so by going to PayPal.

Donate with PayPal

Last updated on: 8th August 2018
at 12:43 PM Europe/London

  Translate