So, time for an update and time for some new features to the ever popular Bouncy Radio Center v8.
Radio DJ Application
The new DJ Application page takes away the extra work load involved with getting new DJ’s involved with your radio by allowing members to fill in a form providing information on the radio show they want to broadcast and a link to a demo of there work.
The form is protected from guests meaning only registered members of your forum can apply to be a radio DJ. Admin also have 3 methods to be informed of new applications, any combination of the 3 options may be used. The first option is to create a topic in a specified forum containing the applicants information. The second option is for a PM to be sent to a specified member ID, for example if you have 1 person who deals with radio DJ’s you can have information from the application sent to them in a Personal Message. The third and final option is to have a copy of the application emailed to a specific email address.
The new application page also includes some protection to help prevent any problems or malicious use. First of all if any of the form data is failed to be submitted when the application response page is accessed you will receive an error message. Three rules are used in this function to check form data is submitted before anything else is processed.
As you can see above, the first "IF" Statement sets a global rule for the function, this basically says that if this page is accessed without the submit button being clicked on the application page then display the error message "no_form"data". This then results in nothing else in the function being processed. If the submit button has been clicked then the function moves on to the next 2 "IF" statements. The first checks to see if the user has submitted information about there show, if not an error is returned stating information was missing. If they have provided show information the next rule is checked, which ensures the applicant submitted a demo URL. If all these rules are correctly applied upon submission the form data is then passed onto the rest of the function which checks which of the 3 Notification methods are selected and then passes on the form data to them functions.
Initially I set up a CAPTCHA on the form, but this was proving to be more work than it was actually worth. Due to the fact only registered members can submit applications it wasn’t really needed as any members abusing the system could be warned / banned / suspended using IP.Boards built in admin system.
New PHP Powered TUNE IN Links
So a big part of the Bouncy Radio Center people were having problems with was the tune in links and the files edits and setup involved with them. Also there was an issue with .htaccess files and some tune in links not launching in the desired player. This proved to be one of the biggest problems people were having and generated a lot of traffic in our support department at Bouncyservers. To achieve this I simply create a new set of cases in the radio switch, and then created functions for tune in link. Functions are short and simple, and also allowed me to remove some of the admin settings reducing clutter, remove some now code from the main radio function file and the global file.
In addition to this, users no longer have to edit any files to get there tune in links working properly, no .htaccess file is needed and no additional MIME types need to be set on the server. This has also opened up new capabilities. For instance I should now be able to get the radio center to monitor and display which members are tuned in. This was before a very difficult process, because it involved grabbing IP addresses from the SHOUTcast server, then comparing them to IP Addresses in the forums online list. This however would not of been 100% accurate as some members could be using the same IP address.
Well at the rate I am currently working, we could see a release of Bouncy Radio Center 8.1 tonight, followed shortly by a new icon pack for dark Skins. I’m currently working on a few other features such as the above mentioned online list, having another look at AJAX functionality for the radio panel and display.
I also have some other things planned for the radio center which may not be implemented until a later version. This includes a whole new admin section within the forum, to provide admin’s and DJ’s with complete management over there schedule, DJ’s and so on. I am also looking into creating a whole new schedule system, the current schedule page isn’t to friendly to skins with short fixed widths. The code involved with the schedule is also VERY tedious! as I say these may come in a later release.
You can check out the progress of the radio center’s current development at any time over at the BouncyBootlegs Radio Center.
If you have any questions, suggestions or comments, please feel free to leave a comment in this article and i will be sure to check them out.
Bouncy Radio Center v8.1 will be free to all Bouncy Radio Center 8 license holders with an Active License. This also apply’s for all new icon packs.