WordPress Plugin – Radio Station

Radio Station - WordPress Plug-in
Description

This Page is for Archival Purposes Only. Development of the Radio Station Plugin has been taken over by Tony Zeoli.

Radio Station is a plugin to run a radio station’s website. It’s functionality is based on Drupal 6’s Station plugin, reworked for use in WordPress. The plugin includes the ability to associate users with “shows” (schedulable blocks of time that contain a description, and other meta information), and generate playlists associated with those shows. The plugin contains a widget to display the currently on-air DJ with a link to the DJ’s show and current playlist. A schedule of all shows can also be generated.


Downloads

WordPress Repo: http://wordpress.org/extend/plugins/radio-station/

Direct Downloads:

Final Release: Version 2.1.3 – 12/8/2015


Contributors: kionae
Donate link: http://www.nlb-creations.com/donate
Tags: dj, music, playlist, radio, scheduling
Requires at least: 3.3.1
Tested up to: 4.3.1
Stable tag: trunk


Installation

  1. Upload plugin .zip file to the /wp-content/plugins/ directory and unzip.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Give any users who need access to the plugin the role of “DJ”. Only DJ and administrator roles have administrative access.
  4. Create shows and set up shifts.
  5. Add playlists to your shows.

Tags: , , ,

268 Comments to "WordPress Plugin – Radio Station"

  1. David says:

    I really like your plugin; however, when I delete a show from the calendar it still remains on the master schedule. Any idea of how to fix this?

    • Nikki Blight says:

      I’m not quite sure what calendar you’re talking about. The shows aren’t scheduled by calendar date. As soon as you delete one of the schedules on the show edit page, that time slot is no longer available to the master schedule, so the show won’t appear in that time slot.

      If there is more than one schedules attached to a show, then yes, it will continue to appear on the master schedule until those schedules are removed.

  2. Monty says:

    in upcomming shows i have one show that is at 10 pm and the widget shows it as upcomming no matter what time is it, hwre can i control that?

  3. Alex says:

    hi,
    i would like to know how to change the display to 24 hours. in the program code, I found a section:
    switch to 24-hour time
    but I do not know how I tcan activate it.
    Also would be interested if it is possible to remove am/pm in because we are a German webradio 🙂

  4. Becca says:

    I really like this plug in, thanks!

    I am however having a couple of issues…

    I want to display the current ‘on air’ show. However using
    (and corresponding attributes) in my template doesn’t work. It just shows a blank space where that info should be.

    The other thing is we want the master schedule to start at 7am rather than midnight. I altered the display times, which worked, sort of. But doing this obviously then displays that day’s early morning (midnight-7am) after the rest of the day. Is there any quick way to get round this?

    Thanks!

    • Nikki Blight says:

      Probably the easiest way to shorten the master schedule would be to hide the unneeded table rows with the css display: none; attribute. I can look into adding the appropriate ids to make that possible.

      • Becca says:

        Thanks Nikki. It’s not that I don’t want to display them as we still have shows through the night, it’s that we’d prefer to show the start of the schedule at 7am that day and show the things after midnight at the end of the day.

  5. Becca says:

    Sorry, it removed my php code. I’m using do_shortcode(‘[dj-widget]’);

    • Nikki Blight says:

      That’s a mistake in my documentation, apparently. The do_shortcode() function has to be echoed. Try this instead:
      echo do_shortcode(‘[dj-widget]‘);

  6. Becca says:

    Works perfectly! I should’ve thought about the echo. Thank you so much.

  7. Great plugin!
    However when I click on a show, the page always generates a 404 error. I’ve tried copying single-show into my theme directory (along with all the others for good measure).
    Any suggestions?

  8. Alex says:

    thanks for the endorsement to the newer version.

    now I have more problems
    the widget should be show, if none show and dj is given, the defaultdj, but here it shows the selected time.12 or 24 hour.
    with the short code it does work in a post but not in the sidebar

    The second problem is that our schedule attaches after the input of the first show, the second show right of the table.
    here you can see what i mean:
    http://wrncloud.com/sendeplan/
    user and pass are demo!

    I hope you can understand me.

    • Nikki Blight says:

      The widget will be fixed in the next version (which will be available later today).

      I’m not sure what’s going on with the schedule, but I’m guessing that it’s a bug in the table generation script. I’ll look into it.

  9. Louise says:

    issue with 12:00 & 0:00
    dj commencement time 0:00 (am) – to work with on air widget but to work with the master schedule has to be 12:00am
    therefore have to start 11:59 previous day

  10. Gerrit Hurkens says:

    Hello Nikki,

    Great work! Good plugin.

    It seems that only the widgets don’t show a scheduled show anymore. I have assigned a DJ to a current on air show and activated that show (of course shifts were added).
    The show comes up in the master schedule,but doesn’t in the widgets (coming up and current onair)
    What am i doing wrong?

    • Nikki Blight says:

      Version 1.3.6 fixes an issue with shows that run overnight and into the next morning.

      Can you let me know if that fixes the problem you’re seeing? And if not, can you tell me what times you’re scheduling the show for so I can try to recreate it on my own site?

      • Gerrit Hurkens says:

        Thanks Nikki for your fast response! It works now! Great work!

        May I add something to the wish list?

        A selectable option in the widget to display the DJ who runs the show.

        Don’t make a run for it, but woould be nice to have that added. I Also altered the master schedule php code so that is won’t display the shownames as links, for I am using separate pages with independant layouts to do that.

        Great work Nikki, the plugin runs great and saves a lot of work!

  11. Sergio says:

    It´s a great plugin and I will implement it in the page I am making for a costumer, however this page is in Spanish and it would be great to implement multi language support for upcoming releases.
    meanwile I would try to translate .php files messages by myself.

    Thanks.

  12. Scott says:

    Thanks for the great plugin – just trying to implement it! from your FAQ’s —

    “Why don’t any users show up in the DJs list on the Show edit page?

    You did remember to assign the DJ role to the users you want to be DJs, right?”

    Yes, I did this, tried adding more users with the role, etc… but I am missing something here.

    • Nikki Blight says:

      I’m not sure what’s going on, then. Can you let me know what version of WordPress and any other plugins you’re using? I’ll see if I can reproduce what you’re experiencing.

  13. Liz says:

    Hi Nikki. I have echo do_shortcode(‘[show_link]’); in my header.php and it is not displaying the current show. Just [show_link]. Is this still a valid shortcode?

    • Nikki Blight says:

      ‘show_link’ is actually an attribute of the [dj-widget] and [dj-coming-up-widget] shortcodes. You would use it like this:

      [dj-widget show_link="1"]

  14. John says:

    Great plugin! However, after adding users with the role of ‘DJ’ they do not show up in the DJ List under Edit Shows. I’m using WordPress 3.5.2

    Any clue?

  15. Ram says:

    Hello, Same problem with DJ’s for me. I cannot add them to show pages. They do not display in the list in the admin area.

    I have checked and doubled checked, 2 users are assigned DJ roles.

    I have checked the user role setting by using the members plugin that you recommend, all seems well there.

    I have tried to assign all different roles to see if it was assigned to another role by mistake, no joy

    I have de and reactivated my plugins in various orders then tested, no luck.

    I am using TML – theme my login. your radio station plugin, and the members plugin you recommend.

    WP 3.5.2

    Any thoughts?

    • Nikki Blight says:

      I’ve been trying for awhile now to recreate this issue on my own test sites, and thus far have been unsuccessful.

      So, since I’m not quite sure what’s causing the problem (and since not everyone who uses the plugin is experiencing it), I’ve created a test version of the plugin to try and rule out the must likely culprits.

      If you’re experiencing this issue, please try downloading and installing this version of the plugin and let me know if it fixes it or not.

      http://nlb-creations.com/wordpress/wp-content/uploads/2013/02/radio-station1.3.8.test_.zip

      • Ram says:

        Hello, I just tried the new, test version. Unfortunatly no luck with this.

        I deleted the old then reinstalled the test version. Tried to add existing users to an existing show and then to a new show. Then I tried adding new users to both old and new shows.

        Would it help if I give you admin access to the site so you can see what might be different?

      • Ram says:

        and Thank you for looking into it!!

  16. Johnny says:

    I think in order to re create the problems, other plugins play a big part in it. I notice it happening to me but I have some bulky plugins like woocommerce that are probably playing a role in the conflict

  17. Nikki Blight says:

    Anyone who was experience a problem with seeing the list of DJs in the add/edit show page:

    Version 1.3.9 will hopefully fix this issue. I traced the problem (with some much needed help from commenter Ram above who let me poke around on his site to see what was going on) back to the WordPress table prefix.

    Long story short, if you installed WordPress using a non-default table prefix (s4fh81_ instead of wp_, for the sake of example), information that is usually stored in the usermeta table with the key “wp_capabilities” ends up stored under the key “s4fh81_capabilities”… something I was not aware of until now. 🙂

    • Ram says:

      Hi Nikki,

      I have just upgraded to 1.3.9, all working now, thank you very much!

      That was a really professional response and solution for a plugin you are providing for free, I’m very impressed!

  18. John says:

    Awesome. Good work Nikki!

  19. Ram says:

    And if that wasn’t enough….

    WordPress 3.6 Oscar upgrade has now made it not work again. 🙁

  20. Mike says:

    Hi Nikki,

    Awesome plugin. One issue though. I cannot get template/css files to load from the theme directory. I went over the radio-station.php file and the get_stylesheet_directory_uri function seems to be correct but templates/css are still loading from the plugin templates folder.

    I’ve tried on a local and a live install using multiple themes and child themes and cannot get anything to load except from the plugin folder.

    I haven’t seen any reported issues so hopefully you can shed some light on this. Thanks again for an outstanding plugin.

    • Nikki Blight says:

      Can you let me know what version of WordPress you’re using?

      • Mike says:

        Tested with both 3.5.2 and 3.6.

        • Nikki Blight says:

          Version 1.4.1 should fix this issue.

          • Mike says:

            Thanks Nikki. Updated to 1.4.1. Now when I place a CSS file in the theme directory it does not load the plugin directory version BUT it will not use the theme directory version. In short, the override is working now but for some reason the stylesheet is not being called up. Remove the theme directory version and the plugin directory version loads fine again.

          • Nikki Blight says:

            1.4.2 fixes it. The override was working correctly, but the url to the file in the theme directory had a typo in it. 🙂

  21. Mike says:

    Just noticed one more minor bug. The master schedule displays only 24-hour time format regardless of shortcode. I set the individual shows to display in 12-hour format and they display that way on the schedule. The timeslots on the schedule are in 24-hour format though.

    Nothing major. I could set the shows to display in 24-hour format in necessary. Just want to keep everything the same.

  22. FPRN says:

    Hi Nikki,
    I just started using your plugin but I cannot figure out how to get the template to display am/pm hours, only 24 hr days.

    • Nikki Blight says:

      I’ll add an example of how to do this in the next update. In the mean time, to add this to the single-show.php template file, you would use this code:



  23. santiago says:

    queria saber si se puede hacer una traduccion al español de plogin radio station

  24. seynx says:

    Please i need a tutorial, i do not understand how to work this plugin..please help

  25. FPRN says:

    Hi, even after the update, I am still not able to change the hour format to 12 with the shortcode. One other question. Is there, or will there be in the future, a way to color code the time blocks to make it easier to pick out the same shows airing throughout the week?

  26. Mike says:

    Hi Nikki. I have not been able to add any custom radio capabilities to any role. I’ve tried with both the Members and the User Role Editor plugins. Even adding capabilities to the default DJ role has no effect.

    Example: I created a new user role so that I can have a user with editing access for all shows but without giving an admin role. I enabled all radio station capabilities to the new role but did not have anything but read access to shows.

    • Nikki Blight says:

      WordPress 3.6 apparently broke some of my permissions code. It should be fixed in version 1.4.4.

      • Mike says:

        Been testing all morning, WP 3.6 and 1.4.4 of the plugin and all seems fixed.

        The site it is live on is http://ndbmedia.net if you’d like to check it out. It’s not a single radio station but a group of internet radio shows so I had to adapt it. The only issue I’m struggling with is having more than one show in a single timeslot on the schedule doesn’t work. Probably use a calendar plugin and enter the show times manualy.

        Thanks again, Nikki.

  27. Fausto says:

    Last version sucks.
    downloaded, installed .. then: “Warning: opendir(/web/htdocs/www.taxicattolica23.it/home/wordpress//wp-content/plugins/radio-station/tmp/): failed to open dir: No such file or directory in /web/htdocs/www.taxicattolica23.it/home/wordpress/wp-content/plugins/1.4.5/radio-station.php on line 232 Warning: readdir() expects parameter 1 to be resource, boolean given in /web/htdocs/www.taxicattolica23.it/home/wordpress/wp-content/plugins/1.4.5/radio-station.php on line 233 Warning: closedir() expects parameter 1 to be resource, boolean given in /web/htdocs/www.taxicattolica23.it/home/wordpress/wp-content/plugins/1.4.5/radio-station.php on line 239
    Export Playlists”

    • Nikki Blight says:

      It sounds like either your download was corrupted and didn’t get fully installed, or your site’s file permissions aren’t allowing access to the radio-station/tmp directory.

  28. Hi Nikki,

    I was wondering if there is a way to display a list of show of a specific genre, like with a shortcode, perhaps?

    [list-shows genre=”news”]

    Thanks, and great plugin!

  29. Fantastic work saved me so much time. I have a query regarding the Hosted by on the show profile page. There is nothing displaying beside this, I was wondering should it be displaying the DJ’s name?

  30. Guy says:

    Hai,
    Thanks for the great plugin. I still have a problem with a show from 00:00 am till 01:00 on monday. If I put it from 12:00 am till 01:00 it doesn’t show up in the now playing dj widget/shortcode but I can also not select 00:00 am. Get my point. Thanks in advance.
    Guy

Nikki Blight – Web/PHP Developer